diff --git a/client.go b/client.go new file mode 100644 index 0000000000..70cec2a7f1 --- /dev/null +++ b/client.go @@ -0,0 +1,237758 @@ +// Package netbox provides primitives to interact with the openapi HTTP API. +// +// Code generated by github.com/deepmap/oapi-codegen version v1.15.0 DO NOT EDIT. +package netbox + +import ( + "bytes" + "context" + "encoding/json" + "fmt" + "io" + "net/http" + "net/url" + "strings" + + "gopkg.in/yaml.v2" + + "github.com/oapi-codegen/runtime" +) + +// 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 { + // CircuitsCircuitTerminationsBulkDestroyWithBody request with any body + CircuitsCircuitTerminationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTerminationsBulkDestroy(ctx context.Context, body CircuitsCircuitTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsList request + CircuitsCircuitTerminationsList(ctx context.Context, params *CircuitsCircuitTerminationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsBulkPartialUpdateWithBody 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) + + // CircuitsCircuitTerminationsCreateWithBody 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) + + // CircuitsCircuitTerminationsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsRetrieve request + CircuitsCircuitTerminationsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsPartialUpdateWithBody request with any body + CircuitsCircuitTerminationsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTerminationsPartialUpdate(ctx context.Context, id int, body CircuitsCircuitTerminationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsUpdateWithBody request with any body + CircuitsCircuitTerminationsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTerminationsUpdate(ctx context.Context, id int, body CircuitsCircuitTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsPathsRetrieve request + CircuitsCircuitTerminationsPathsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTypesBulkDestroyWithBody request with any body + CircuitsCircuitTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTypesBulkDestroy(ctx context.Context, body CircuitsCircuitTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTypesList request + CircuitsCircuitTypesList(ctx context.Context, params *CircuitsCircuitTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTypesBulkPartialUpdateWithBody 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) + + // CircuitsCircuitTypesCreateWithBody 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) + + // CircuitsCircuitTypesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTypesRetrieve request + CircuitsCircuitTypesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTypesPartialUpdateWithBody request with any body + CircuitsCircuitTypesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTypesPartialUpdate(ctx context.Context, id int, body CircuitsCircuitTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTypesUpdateWithBody request with any body + CircuitsCircuitTypesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTypesUpdate(ctx context.Context, id int, body CircuitsCircuitTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsBulkDestroyWithBody request with any body + CircuitsCircuitsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitsBulkDestroy(ctx context.Context, body CircuitsCircuitsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsList request + CircuitsCircuitsList(ctx context.Context, params *CircuitsCircuitsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsBulkPartialUpdateWithBody 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) + + // CircuitsCircuitsCreateWithBody 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) + + // CircuitsCircuitsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsRetrieve request + CircuitsCircuitsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsPartialUpdateWithBody request with any body + CircuitsCircuitsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitsPartialUpdate(ctx context.Context, id int, body CircuitsCircuitsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsUpdateWithBody request with any body + CircuitsCircuitsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitsUpdate(ctx context.Context, id int, body CircuitsCircuitsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderAccountsBulkDestroyWithBody request with any body + CircuitsProviderAccountsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderAccountsBulkDestroy(ctx context.Context, body CircuitsProviderAccountsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderAccountsList request + CircuitsProviderAccountsList(ctx context.Context, params *CircuitsProviderAccountsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderAccountsBulkPartialUpdateWithBody request with any body + CircuitsProviderAccountsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderAccountsBulkPartialUpdate(ctx context.Context, body CircuitsProviderAccountsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderAccountsCreateWithBody request with any body + CircuitsProviderAccountsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderAccountsCreate(ctx context.Context, body CircuitsProviderAccountsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderAccountsBulkUpdateWithBody request with any body + CircuitsProviderAccountsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderAccountsBulkUpdate(ctx context.Context, body CircuitsProviderAccountsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderAccountsDestroy request + CircuitsProviderAccountsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderAccountsRetrieve request + CircuitsProviderAccountsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderAccountsPartialUpdateWithBody request with any body + CircuitsProviderAccountsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderAccountsPartialUpdate(ctx context.Context, id int, body CircuitsProviderAccountsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderAccountsUpdateWithBody request with any body + CircuitsProviderAccountsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderAccountsUpdate(ctx context.Context, id int, body CircuitsProviderAccountsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksBulkDestroyWithBody request with any body + CircuitsProviderNetworksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderNetworksBulkDestroy(ctx context.Context, body CircuitsProviderNetworksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksList request + CircuitsProviderNetworksList(ctx context.Context, params *CircuitsProviderNetworksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksBulkPartialUpdateWithBody 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) + + // CircuitsProviderNetworksCreateWithBody 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) + + // CircuitsProviderNetworksBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksRetrieve request + CircuitsProviderNetworksRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksPartialUpdateWithBody request with any body + CircuitsProviderNetworksPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderNetworksPartialUpdate(ctx context.Context, id int, body CircuitsProviderNetworksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksUpdateWithBody request with any body + CircuitsProviderNetworksUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderNetworksUpdate(ctx context.Context, id int, body CircuitsProviderNetworksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersBulkDestroyWithBody request with any body + CircuitsProvidersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProvidersBulkDestroy(ctx context.Context, body CircuitsProvidersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersList request + CircuitsProvidersList(ctx context.Context, params *CircuitsProvidersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersBulkPartialUpdateWithBody 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) + + // CircuitsProvidersCreateWithBody 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) + + // CircuitsProvidersBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersRetrieve request + CircuitsProvidersRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersPartialUpdateWithBody request with any body + CircuitsProvidersPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProvidersPartialUpdate(ctx context.Context, id int, body CircuitsProvidersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersUpdateWithBody request with any body + CircuitsProvidersUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProvidersUpdate(ctx context.Context, id int, body CircuitsProvidersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CoreDataFilesList request + CoreDataFilesList(ctx context.Context, params *CoreDataFilesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CoreDataFilesRetrieve request + CoreDataFilesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CoreDataSourcesBulkDestroyWithBody request with any body + CoreDataSourcesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CoreDataSourcesBulkDestroy(ctx context.Context, body CoreDataSourcesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CoreDataSourcesList request + CoreDataSourcesList(ctx context.Context, params *CoreDataSourcesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CoreDataSourcesBulkPartialUpdateWithBody request with any body + CoreDataSourcesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CoreDataSourcesBulkPartialUpdate(ctx context.Context, body CoreDataSourcesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CoreDataSourcesCreateWithBody request with any body + CoreDataSourcesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CoreDataSourcesCreate(ctx context.Context, body CoreDataSourcesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CoreDataSourcesBulkUpdateWithBody request with any body + CoreDataSourcesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CoreDataSourcesBulkUpdate(ctx context.Context, body CoreDataSourcesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CoreDataSourcesDestroy request + CoreDataSourcesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CoreDataSourcesRetrieve request + CoreDataSourcesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CoreDataSourcesPartialUpdateWithBody request with any body + CoreDataSourcesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CoreDataSourcesPartialUpdate(ctx context.Context, id int, body CoreDataSourcesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CoreDataSourcesUpdateWithBody request with any body + CoreDataSourcesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CoreDataSourcesUpdate(ctx context.Context, id int, body CoreDataSourcesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CoreDataSourcesSyncCreateWithBody request with any body + CoreDataSourcesSyncCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CoreDataSourcesSyncCreate(ctx context.Context, id int, body CoreDataSourcesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CoreJobsList request + CoreJobsList(ctx context.Context, params *CoreJobsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CoreJobsRetrieve request + CoreJobsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCableTerminationsBulkDestroyWithBody request with any body + DcimCableTerminationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCableTerminationsBulkDestroy(ctx context.Context, body DcimCableTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCableTerminationsList request + DcimCableTerminationsList(ctx context.Context, params *DcimCableTerminationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCableTerminationsBulkPartialUpdateWithBody request with any body + DcimCableTerminationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCableTerminationsBulkPartialUpdate(ctx context.Context, body DcimCableTerminationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCableTerminationsCreateWithBody request with any body + DcimCableTerminationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCableTerminationsCreate(ctx context.Context, body DcimCableTerminationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCableTerminationsBulkUpdateWithBody request with any body + DcimCableTerminationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCableTerminationsBulkUpdate(ctx context.Context, body DcimCableTerminationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCableTerminationsDestroy request + DcimCableTerminationsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCableTerminationsRetrieve request + DcimCableTerminationsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCableTerminationsPartialUpdateWithBody request with any body + DcimCableTerminationsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCableTerminationsPartialUpdate(ctx context.Context, id int, body DcimCableTerminationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCableTerminationsUpdateWithBody request with any body + DcimCableTerminationsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCableTerminationsUpdate(ctx context.Context, id int, body DcimCableTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesBulkDestroyWithBody request with any body + DcimCablesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCablesBulkDestroy(ctx context.Context, body DcimCablesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesList request + DcimCablesList(ctx context.Context, params *DcimCablesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesBulkPartialUpdateWithBody 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) + + // DcimCablesCreateWithBody 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) + + // DcimCablesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesRetrieve request + DcimCablesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesPartialUpdateWithBody request with any body + DcimCablesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCablesPartialUpdate(ctx context.Context, id int, body DcimCablesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesUpdateWithBody request with any body + DcimCablesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCablesUpdate(ctx context.Context, id int, body DcimCablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConnectedDeviceList request + DcimConnectedDeviceList(ctx context.Context, params *DcimConnectedDeviceListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortTemplatesBulkDestroyWithBody request with any body + DcimConsolePortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortTemplatesBulkDestroy(ctx context.Context, body DcimConsolePortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortTemplatesList request + DcimConsolePortTemplatesList(ctx context.Context, params *DcimConsolePortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortTemplatesBulkPartialUpdateWithBody 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) + + // DcimConsolePortTemplatesCreateWithBody 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) + + // DcimConsolePortTemplatesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortTemplatesRetrieve request + DcimConsolePortTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortTemplatesPartialUpdateWithBody request with any body + DcimConsolePortTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortTemplatesPartialUpdate(ctx context.Context, id int, body DcimConsolePortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortTemplatesUpdateWithBody request with any body + DcimConsolePortTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortTemplatesUpdate(ctx context.Context, id int, body DcimConsolePortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsBulkDestroyWithBody request with any body + DcimConsolePortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortsBulkDestroy(ctx context.Context, body DcimConsolePortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsList request + DcimConsolePortsList(ctx context.Context, params *DcimConsolePortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsBulkPartialUpdateWithBody 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) + + // DcimConsolePortsCreateWithBody 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) + + // DcimConsolePortsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsRetrieve request + DcimConsolePortsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsPartialUpdateWithBody request with any body + DcimConsolePortsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortsPartialUpdate(ctx context.Context, id int, body DcimConsolePortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsUpdateWithBody request with any body + DcimConsolePortsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortsUpdate(ctx context.Context, id int, body DcimConsolePortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsTraceRetrieve request + DcimConsolePortsTraceRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortTemplatesBulkDestroyWithBody request with any body + DcimConsoleServerPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortTemplatesBulkDestroy(ctx context.Context, body DcimConsoleServerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortTemplatesList request + DcimConsoleServerPortTemplatesList(ctx context.Context, params *DcimConsoleServerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortTemplatesBulkPartialUpdateWithBody 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) + + // DcimConsoleServerPortTemplatesCreateWithBody 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) + + // DcimConsoleServerPortTemplatesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortTemplatesRetrieve request + DcimConsoleServerPortTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortTemplatesPartialUpdateWithBody request with any body + DcimConsoleServerPortTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortTemplatesPartialUpdate(ctx context.Context, id int, body DcimConsoleServerPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortTemplatesUpdateWithBody request with any body + DcimConsoleServerPortTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortTemplatesUpdate(ctx context.Context, id int, body DcimConsoleServerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsBulkDestroyWithBody request with any body + DcimConsoleServerPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortsBulkDestroy(ctx context.Context, body DcimConsoleServerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsList request + DcimConsoleServerPortsList(ctx context.Context, params *DcimConsoleServerPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsBulkPartialUpdateWithBody 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) + + // DcimConsoleServerPortsCreateWithBody 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) + + // DcimConsoleServerPortsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsRetrieve request + DcimConsoleServerPortsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsPartialUpdateWithBody request with any body + DcimConsoleServerPortsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortsPartialUpdate(ctx context.Context, id int, body DcimConsoleServerPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsUpdateWithBody request with any body + DcimConsoleServerPortsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortsUpdate(ctx context.Context, id int, body DcimConsoleServerPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsTraceRetrieve request + DcimConsoleServerPortsTraceRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBayTemplatesBulkDestroyWithBody request with any body + DcimDeviceBayTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBayTemplatesBulkDestroy(ctx context.Context, body DcimDeviceBayTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBayTemplatesList request + DcimDeviceBayTemplatesList(ctx context.Context, params *DcimDeviceBayTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBayTemplatesBulkPartialUpdateWithBody 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) + + // DcimDeviceBayTemplatesCreateWithBody 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) + + // DcimDeviceBayTemplatesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBayTemplatesRetrieve request + DcimDeviceBayTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBayTemplatesPartialUpdateWithBody request with any body + DcimDeviceBayTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBayTemplatesPartialUpdate(ctx context.Context, id int, body DcimDeviceBayTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBayTemplatesUpdateWithBody request with any body + DcimDeviceBayTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBayTemplatesUpdate(ctx context.Context, id int, body DcimDeviceBayTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysBulkDestroyWithBody request with any body + DcimDeviceBaysBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBaysBulkDestroy(ctx context.Context, body DcimDeviceBaysBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysList request + DcimDeviceBaysList(ctx context.Context, params *DcimDeviceBaysListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysBulkPartialUpdateWithBody 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) + + // DcimDeviceBaysCreateWithBody 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) + + // DcimDeviceBaysBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysRetrieve request + DcimDeviceBaysRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysPartialUpdateWithBody request with any body + DcimDeviceBaysPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBaysPartialUpdate(ctx context.Context, id int, body DcimDeviceBaysPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysUpdateWithBody request with any body + DcimDeviceBaysUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBaysUpdate(ctx context.Context, id int, body DcimDeviceBaysUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesBulkDestroyWithBody request with any body + DcimDeviceRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRolesBulkDestroy(ctx context.Context, body DcimDeviceRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesList request + DcimDeviceRolesList(ctx context.Context, params *DcimDeviceRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesBulkPartialUpdateWithBody 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) + + // DcimDeviceRolesCreateWithBody 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) + + // DcimDeviceRolesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesRetrieve request + DcimDeviceRolesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesPartialUpdateWithBody request with any body + DcimDeviceRolesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRolesPartialUpdate(ctx context.Context, id int, body DcimDeviceRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesUpdateWithBody request with any body + DcimDeviceRolesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRolesUpdate(ctx context.Context, id int, body DcimDeviceRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesBulkDestroyWithBody request with any body + DcimDeviceTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceTypesBulkDestroy(ctx context.Context, body DcimDeviceTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesList request + DcimDeviceTypesList(ctx context.Context, params *DcimDeviceTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesBulkPartialUpdateWithBody 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) + + // DcimDeviceTypesCreateWithBody 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) + + // DcimDeviceTypesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesRetrieve request + DcimDeviceTypesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesPartialUpdateWithBody request with any body + DcimDeviceTypesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceTypesPartialUpdate(ctx context.Context, id int, body DcimDeviceTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesUpdateWithBody request with any body + DcimDeviceTypesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceTypesUpdate(ctx context.Context, id int, body DcimDeviceTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesBulkDestroyWithBody request with any body + DcimDevicesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDevicesBulkDestroy(ctx context.Context, body DcimDevicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesList request + DcimDevicesList(ctx context.Context, params *DcimDevicesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesBulkPartialUpdateWithBody 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) + + // DcimDevicesCreateWithBody 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) + + // DcimDevicesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesRetrieve request + DcimDevicesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesPartialUpdateWithBody request with any body + DcimDevicesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDevicesPartialUpdate(ctx context.Context, id int, body DcimDevicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesUpdateWithBody request with any body + DcimDevicesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDevicesUpdate(ctx context.Context, id int, body DcimDevicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesRenderConfigCreateWithBody request with any body + DcimDevicesRenderConfigCreateWithBody(ctx context.Context, id int, params *DcimDevicesRenderConfigCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDevicesRenderConfigCreate(ctx context.Context, id int, params *DcimDevicesRenderConfigCreateParams, body DcimDevicesRenderConfigCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesBulkDestroyWithBody request with any body + DcimFrontPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortTemplatesBulkDestroy(ctx context.Context, body DcimFrontPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesList request + DcimFrontPortTemplatesList(ctx context.Context, params *DcimFrontPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesBulkPartialUpdateWithBody 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) + + // DcimFrontPortTemplatesCreateWithBody 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) + + // DcimFrontPortTemplatesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesRetrieve request + DcimFrontPortTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesPartialUpdateWithBody request with any body + DcimFrontPortTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortTemplatesPartialUpdate(ctx context.Context, id int, body DcimFrontPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesUpdateWithBody request with any body + DcimFrontPortTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortTemplatesUpdate(ctx context.Context, id int, body DcimFrontPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsBulkDestroyWithBody request with any body + DcimFrontPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortsBulkDestroy(ctx context.Context, body DcimFrontPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsList request + DcimFrontPortsList(ctx context.Context, params *DcimFrontPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsBulkPartialUpdateWithBody 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) + + // DcimFrontPortsCreateWithBody 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) + + // DcimFrontPortsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsRetrieve request + DcimFrontPortsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsPartialUpdateWithBody request with any body + DcimFrontPortsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortsPartialUpdate(ctx context.Context, id int, body DcimFrontPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsUpdateWithBody request with any body + DcimFrontPortsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortsUpdate(ctx context.Context, id int, body DcimFrontPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsPathsRetrieve request + DcimFrontPortsPathsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfaceTemplatesBulkDestroyWithBody request with any body + DcimInterfaceTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfaceTemplatesBulkDestroy(ctx context.Context, body DcimInterfaceTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfaceTemplatesList request + DcimInterfaceTemplatesList(ctx context.Context, params *DcimInterfaceTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfaceTemplatesBulkPartialUpdateWithBody 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) + + // DcimInterfaceTemplatesCreateWithBody 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) + + // DcimInterfaceTemplatesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfaceTemplatesRetrieve request + DcimInterfaceTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfaceTemplatesPartialUpdateWithBody request with any body + DcimInterfaceTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfaceTemplatesPartialUpdate(ctx context.Context, id int, body DcimInterfaceTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfaceTemplatesUpdateWithBody request with any body + DcimInterfaceTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfaceTemplatesUpdate(ctx context.Context, id int, body DcimInterfaceTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesBulkDestroyWithBody request with any body + DcimInterfacesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfacesBulkDestroy(ctx context.Context, body DcimInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesList request + DcimInterfacesList(ctx context.Context, params *DcimInterfacesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesBulkPartialUpdateWithBody 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) + + // DcimInterfacesCreateWithBody 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) + + // DcimInterfacesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesRetrieve request + DcimInterfacesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesPartialUpdateWithBody request with any body + DcimInterfacesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfacesPartialUpdate(ctx context.Context, id int, body DcimInterfacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesUpdateWithBody request with any body + DcimInterfacesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfacesUpdate(ctx context.Context, id int, body DcimInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesTraceRetrieve request + DcimInterfacesTraceRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemRolesBulkDestroyWithBody request with any body + DcimInventoryItemRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemRolesBulkDestroy(ctx context.Context, body DcimInventoryItemRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemRolesList request + DcimInventoryItemRolesList(ctx context.Context, params *DcimInventoryItemRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemRolesBulkPartialUpdateWithBody request with any body + DcimInventoryItemRolesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemRolesBulkPartialUpdate(ctx context.Context, body DcimInventoryItemRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemRolesCreateWithBody request with any body + DcimInventoryItemRolesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemRolesCreate(ctx context.Context, body DcimInventoryItemRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemRolesBulkUpdateWithBody request with any body + DcimInventoryItemRolesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemRolesBulkUpdate(ctx context.Context, body DcimInventoryItemRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemRolesDestroy request + DcimInventoryItemRolesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemRolesRetrieve request + DcimInventoryItemRolesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemRolesPartialUpdateWithBody request with any body + DcimInventoryItemRolesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemRolesPartialUpdate(ctx context.Context, id int, body DcimInventoryItemRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemRolesUpdateWithBody request with any body + DcimInventoryItemRolesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemRolesUpdate(ctx context.Context, id int, body DcimInventoryItemRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemTemplatesBulkDestroyWithBody request with any body + DcimInventoryItemTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemTemplatesBulkDestroy(ctx context.Context, body DcimInventoryItemTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemTemplatesList request + DcimInventoryItemTemplatesList(ctx context.Context, params *DcimInventoryItemTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemTemplatesBulkPartialUpdateWithBody request with any body + DcimInventoryItemTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemTemplatesBulkPartialUpdate(ctx context.Context, body DcimInventoryItemTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemTemplatesCreateWithBody request with any body + DcimInventoryItemTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemTemplatesCreate(ctx context.Context, body DcimInventoryItemTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemTemplatesBulkUpdateWithBody request with any body + DcimInventoryItemTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemTemplatesBulkUpdate(ctx context.Context, body DcimInventoryItemTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemTemplatesDestroy request + DcimInventoryItemTemplatesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemTemplatesRetrieve request + DcimInventoryItemTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemTemplatesPartialUpdateWithBody request with any body + DcimInventoryItemTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemTemplatesPartialUpdate(ctx context.Context, id int, body DcimInventoryItemTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemTemplatesUpdateWithBody request with any body + DcimInventoryItemTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemTemplatesUpdate(ctx context.Context, id int, body DcimInventoryItemTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemsBulkDestroyWithBody request with any body + DcimInventoryItemsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemsBulkDestroy(ctx context.Context, body DcimInventoryItemsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemsList request + DcimInventoryItemsList(ctx context.Context, params *DcimInventoryItemsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemsBulkPartialUpdateWithBody 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) + + // DcimInventoryItemsCreateWithBody 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) + + // DcimInventoryItemsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemsRetrieve request + DcimInventoryItemsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemsPartialUpdateWithBody request with any body + DcimInventoryItemsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemsPartialUpdate(ctx context.Context, id int, body DcimInventoryItemsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemsUpdateWithBody request with any body + DcimInventoryItemsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemsUpdate(ctx context.Context, id int, body DcimInventoryItemsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsBulkDestroyWithBody request with any body + DcimLocationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationsBulkDestroy(ctx context.Context, body DcimLocationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsList request + DcimLocationsList(ctx context.Context, params *DcimLocationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsBulkPartialUpdateWithBody request with any body + DcimLocationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationsBulkPartialUpdate(ctx context.Context, body DcimLocationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsCreateWithBody request with any body + DcimLocationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationsCreate(ctx context.Context, body DcimLocationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsBulkUpdateWithBody request with any body + DcimLocationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationsBulkUpdate(ctx context.Context, body DcimLocationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsDestroy request + DcimLocationsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsRetrieve request + DcimLocationsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsPartialUpdateWithBody request with any body + DcimLocationsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationsPartialUpdate(ctx context.Context, id int, body DcimLocationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsUpdateWithBody request with any body + DcimLocationsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationsUpdate(ctx context.Context, id int, body DcimLocationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersBulkDestroyWithBody request with any body + DcimManufacturersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimManufacturersBulkDestroy(ctx context.Context, body DcimManufacturersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersList request + DcimManufacturersList(ctx context.Context, params *DcimManufacturersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersBulkPartialUpdateWithBody 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) + + // DcimManufacturersCreateWithBody 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) + + // DcimManufacturersBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersRetrieve request + DcimManufacturersRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersPartialUpdateWithBody request with any body + DcimManufacturersPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimManufacturersPartialUpdate(ctx context.Context, id int, body DcimManufacturersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersUpdateWithBody request with any body + DcimManufacturersUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimManufacturersUpdate(ctx context.Context, id int, body DcimManufacturersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBayTemplatesBulkDestroyWithBody request with any body + DcimModuleBayTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleBayTemplatesBulkDestroy(ctx context.Context, body DcimModuleBayTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBayTemplatesList request + DcimModuleBayTemplatesList(ctx context.Context, params *DcimModuleBayTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBayTemplatesBulkPartialUpdateWithBody request with any body + DcimModuleBayTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleBayTemplatesBulkPartialUpdate(ctx context.Context, body DcimModuleBayTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBayTemplatesCreateWithBody request with any body + DcimModuleBayTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleBayTemplatesCreate(ctx context.Context, body DcimModuleBayTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBayTemplatesBulkUpdateWithBody request with any body + DcimModuleBayTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleBayTemplatesBulkUpdate(ctx context.Context, body DcimModuleBayTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBayTemplatesDestroy request + DcimModuleBayTemplatesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBayTemplatesRetrieve request + DcimModuleBayTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBayTemplatesPartialUpdateWithBody request with any body + DcimModuleBayTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleBayTemplatesPartialUpdate(ctx context.Context, id int, body DcimModuleBayTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBayTemplatesUpdateWithBody request with any body + DcimModuleBayTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleBayTemplatesUpdate(ctx context.Context, id int, body DcimModuleBayTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBaysBulkDestroyWithBody request with any body + DcimModuleBaysBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleBaysBulkDestroy(ctx context.Context, body DcimModuleBaysBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBaysList request + DcimModuleBaysList(ctx context.Context, params *DcimModuleBaysListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBaysBulkPartialUpdateWithBody request with any body + DcimModuleBaysBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleBaysBulkPartialUpdate(ctx context.Context, body DcimModuleBaysBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBaysCreateWithBody request with any body + DcimModuleBaysCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleBaysCreate(ctx context.Context, body DcimModuleBaysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBaysBulkUpdateWithBody request with any body + DcimModuleBaysBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleBaysBulkUpdate(ctx context.Context, body DcimModuleBaysBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBaysDestroy request + DcimModuleBaysDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBaysRetrieve request + DcimModuleBaysRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBaysPartialUpdateWithBody request with any body + DcimModuleBaysPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleBaysPartialUpdate(ctx context.Context, id int, body DcimModuleBaysPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleBaysUpdateWithBody request with any body + DcimModuleBaysUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleBaysUpdate(ctx context.Context, id int, body DcimModuleBaysUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleTypesBulkDestroyWithBody request with any body + DcimModuleTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleTypesBulkDestroy(ctx context.Context, body DcimModuleTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleTypesList request + DcimModuleTypesList(ctx context.Context, params *DcimModuleTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleTypesBulkPartialUpdateWithBody request with any body + DcimModuleTypesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleTypesBulkPartialUpdate(ctx context.Context, body DcimModuleTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleTypesCreateWithBody request with any body + DcimModuleTypesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleTypesCreate(ctx context.Context, body DcimModuleTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleTypesBulkUpdateWithBody request with any body + DcimModuleTypesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleTypesBulkUpdate(ctx context.Context, body DcimModuleTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleTypesDestroy request + DcimModuleTypesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleTypesRetrieve request + DcimModuleTypesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleTypesPartialUpdateWithBody request with any body + DcimModuleTypesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleTypesPartialUpdate(ctx context.Context, id int, body DcimModuleTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModuleTypesUpdateWithBody request with any body + DcimModuleTypesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModuleTypesUpdate(ctx context.Context, id int, body DcimModuleTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModulesBulkDestroyWithBody request with any body + DcimModulesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModulesBulkDestroy(ctx context.Context, body DcimModulesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModulesList request + DcimModulesList(ctx context.Context, params *DcimModulesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModulesBulkPartialUpdateWithBody request with any body + DcimModulesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModulesBulkPartialUpdate(ctx context.Context, body DcimModulesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModulesCreateWithBody request with any body + DcimModulesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModulesCreate(ctx context.Context, body DcimModulesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModulesBulkUpdateWithBody request with any body + DcimModulesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModulesBulkUpdate(ctx context.Context, body DcimModulesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModulesDestroy request + DcimModulesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModulesRetrieve request + DcimModulesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModulesPartialUpdateWithBody request with any body + DcimModulesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModulesPartialUpdate(ctx context.Context, id int, body DcimModulesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimModulesUpdateWithBody request with any body + DcimModulesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimModulesUpdate(ctx context.Context, id int, body DcimModulesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsBulkDestroyWithBody request with any body + DcimPlatformsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPlatformsBulkDestroy(ctx context.Context, body DcimPlatformsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsList request + DcimPlatformsList(ctx context.Context, params *DcimPlatformsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsBulkPartialUpdateWithBody 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) + + // DcimPlatformsCreateWithBody 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) + + // DcimPlatformsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsRetrieve request + DcimPlatformsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsPartialUpdateWithBody request with any body + DcimPlatformsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPlatformsPartialUpdate(ctx context.Context, id int, body DcimPlatformsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsUpdateWithBody request with any body + DcimPlatformsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPlatformsUpdate(ctx context.Context, id int, body DcimPlatformsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsBulkDestroyWithBody request with any body + DcimPowerFeedsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerFeedsBulkDestroy(ctx context.Context, body DcimPowerFeedsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsList request + DcimPowerFeedsList(ctx context.Context, params *DcimPowerFeedsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsBulkPartialUpdateWithBody 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) + + // DcimPowerFeedsCreateWithBody 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) + + // DcimPowerFeedsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsRetrieve request + DcimPowerFeedsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsPartialUpdateWithBody request with any body + DcimPowerFeedsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerFeedsPartialUpdate(ctx context.Context, id int, body DcimPowerFeedsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsUpdateWithBody request with any body + DcimPowerFeedsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerFeedsUpdate(ctx context.Context, id int, body DcimPowerFeedsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsTraceRetrieve request + DcimPowerFeedsTraceRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletTemplatesBulkDestroyWithBody request with any body + DcimPowerOutletTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletTemplatesBulkDestroy(ctx context.Context, body DcimPowerOutletTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletTemplatesList request + DcimPowerOutletTemplatesList(ctx context.Context, params *DcimPowerOutletTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletTemplatesBulkPartialUpdateWithBody 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) + + // DcimPowerOutletTemplatesCreateWithBody 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) + + // DcimPowerOutletTemplatesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletTemplatesRetrieve request + DcimPowerOutletTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletTemplatesPartialUpdateWithBody request with any body + DcimPowerOutletTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletTemplatesPartialUpdate(ctx context.Context, id int, body DcimPowerOutletTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletTemplatesUpdateWithBody request with any body + DcimPowerOutletTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletTemplatesUpdate(ctx context.Context, id int, body DcimPowerOutletTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsBulkDestroyWithBody request with any body + DcimPowerOutletsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletsBulkDestroy(ctx context.Context, body DcimPowerOutletsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsList request + DcimPowerOutletsList(ctx context.Context, params *DcimPowerOutletsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsBulkPartialUpdateWithBody 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) + + // DcimPowerOutletsCreateWithBody 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) + + // DcimPowerOutletsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsRetrieve request + DcimPowerOutletsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsPartialUpdateWithBody request with any body + DcimPowerOutletsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletsPartialUpdate(ctx context.Context, id int, body DcimPowerOutletsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsUpdateWithBody request with any body + DcimPowerOutletsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletsUpdate(ctx context.Context, id int, body DcimPowerOutletsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsTraceRetrieve request + DcimPowerOutletsTraceRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPanelsBulkDestroyWithBody request with any body + DcimPowerPanelsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPanelsBulkDestroy(ctx context.Context, body DcimPowerPanelsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPanelsList request + DcimPowerPanelsList(ctx context.Context, params *DcimPowerPanelsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPanelsBulkPartialUpdateWithBody 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) + + // DcimPowerPanelsCreateWithBody 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) + + // DcimPowerPanelsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPanelsRetrieve request + DcimPowerPanelsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPanelsPartialUpdateWithBody request with any body + DcimPowerPanelsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPanelsPartialUpdate(ctx context.Context, id int, body DcimPowerPanelsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPanelsUpdateWithBody request with any body + DcimPowerPanelsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPanelsUpdate(ctx context.Context, id int, body DcimPowerPanelsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesBulkDestroyWithBody request with any body + DcimPowerPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortTemplatesBulkDestroy(ctx context.Context, body DcimPowerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesList request + DcimPowerPortTemplatesList(ctx context.Context, params *DcimPowerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesBulkPartialUpdateWithBody 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) + + // DcimPowerPortTemplatesCreateWithBody 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) + + // DcimPowerPortTemplatesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesRetrieve request + DcimPowerPortTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesPartialUpdateWithBody request with any body + DcimPowerPortTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortTemplatesPartialUpdate(ctx context.Context, id int, body DcimPowerPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesUpdateWithBody request with any body + DcimPowerPortTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortTemplatesUpdate(ctx context.Context, id int, body DcimPowerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsBulkDestroyWithBody request with any body + DcimPowerPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortsBulkDestroy(ctx context.Context, body DcimPowerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsList request + DcimPowerPortsList(ctx context.Context, params *DcimPowerPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsBulkPartialUpdateWithBody 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) + + // DcimPowerPortsCreateWithBody 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) + + // DcimPowerPortsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsRetrieve request + DcimPowerPortsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsPartialUpdateWithBody request with any body + DcimPowerPortsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortsPartialUpdate(ctx context.Context, id int, body DcimPowerPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsUpdateWithBody request with any body + DcimPowerPortsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortsUpdate(ctx context.Context, id int, body DcimPowerPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsTraceRetrieve request + DcimPowerPortsTraceRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsBulkDestroyWithBody request with any body + DcimRackReservationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackReservationsBulkDestroy(ctx context.Context, body DcimRackReservationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsList request + DcimRackReservationsList(ctx context.Context, params *DcimRackReservationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsBulkPartialUpdateWithBody 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) + + // DcimRackReservationsCreateWithBody 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) + + // DcimRackReservationsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsRetrieve request + DcimRackReservationsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsPartialUpdateWithBody request with any body + DcimRackReservationsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackReservationsPartialUpdate(ctx context.Context, id int, body DcimRackReservationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsUpdateWithBody request with any body + DcimRackReservationsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackReservationsUpdate(ctx context.Context, id int, body DcimRackReservationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesBulkDestroyWithBody request with any body + DcimRackRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackRolesBulkDestroy(ctx context.Context, body DcimRackRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesList request + DcimRackRolesList(ctx context.Context, params *DcimRackRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesBulkPartialUpdateWithBody 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) + + // DcimRackRolesCreateWithBody 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) + + // DcimRackRolesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesRetrieve request + DcimRackRolesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesPartialUpdateWithBody request with any body + DcimRackRolesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackRolesPartialUpdate(ctx context.Context, id int, body DcimRackRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesUpdateWithBody request with any body + DcimRackRolesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackRolesUpdate(ctx context.Context, id int, body DcimRackRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksBulkDestroyWithBody request with any body + DcimRacksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRacksBulkDestroy(ctx context.Context, body DcimRacksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksList request + DcimRacksList(ctx context.Context, params *DcimRacksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksBulkPartialUpdateWithBody 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) + + // DcimRacksCreateWithBody 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) + + // DcimRacksBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksRetrieve request + DcimRacksRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksPartialUpdateWithBody request with any body + DcimRacksPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRacksPartialUpdate(ctx context.Context, id int, body DcimRacksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksUpdateWithBody request with any body + DcimRacksUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRacksUpdate(ctx context.Context, id int, body DcimRacksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksElevationRetrieve request + DcimRacksElevationRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesBulkDestroyWithBody request with any body + DcimRearPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortTemplatesBulkDestroy(ctx context.Context, body DcimRearPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesList request + DcimRearPortTemplatesList(ctx context.Context, params *DcimRearPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesBulkPartialUpdateWithBody 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) + + // DcimRearPortTemplatesCreateWithBody 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) + + // DcimRearPortTemplatesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesRetrieve request + DcimRearPortTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesPartialUpdateWithBody request with any body + DcimRearPortTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortTemplatesPartialUpdate(ctx context.Context, id int, body DcimRearPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesUpdateWithBody request with any body + DcimRearPortTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortTemplatesUpdate(ctx context.Context, id int, body DcimRearPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsBulkDestroyWithBody request with any body + DcimRearPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortsBulkDestroy(ctx context.Context, body DcimRearPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsList request + DcimRearPortsList(ctx context.Context, params *DcimRearPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsBulkPartialUpdateWithBody 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) + + // DcimRearPortsCreateWithBody 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) + + // DcimRearPortsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsRetrieve request + DcimRearPortsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsPartialUpdateWithBody request with any body + DcimRearPortsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortsPartialUpdate(ctx context.Context, id int, body DcimRearPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsUpdateWithBody request with any body + DcimRearPortsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortsUpdate(ctx context.Context, id int, body DcimRearPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsPathsRetrieve request + DcimRearPortsPathsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRegionsBulkDestroyWithBody request with any body + DcimRegionsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRegionsBulkDestroy(ctx context.Context, body DcimRegionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRegionsList request + DcimRegionsList(ctx context.Context, params *DcimRegionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRegionsBulkPartialUpdateWithBody 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) + + // DcimRegionsCreateWithBody 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) + + // DcimRegionsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRegionsRetrieve request + DcimRegionsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRegionsPartialUpdateWithBody request with any body + DcimRegionsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRegionsPartialUpdate(ctx context.Context, id int, body DcimRegionsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRegionsUpdateWithBody request with any body + DcimRegionsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRegionsUpdate(ctx context.Context, id int, body DcimRegionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSiteGroupsBulkDestroyWithBody request with any body + DcimSiteGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSiteGroupsBulkDestroy(ctx context.Context, body DcimSiteGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSiteGroupsList request + DcimSiteGroupsList(ctx context.Context, params *DcimSiteGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSiteGroupsBulkPartialUpdateWithBody request with any body + DcimSiteGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSiteGroupsBulkPartialUpdate(ctx context.Context, body DcimSiteGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSiteGroupsCreateWithBody request with any body + DcimSiteGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSiteGroupsCreate(ctx context.Context, body DcimSiteGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSiteGroupsBulkUpdateWithBody request with any body + DcimSiteGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSiteGroupsBulkUpdate(ctx context.Context, body DcimSiteGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSiteGroupsDestroy request + DcimSiteGroupsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSiteGroupsRetrieve request + DcimSiteGroupsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSiteGroupsPartialUpdateWithBody request with any body + DcimSiteGroupsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSiteGroupsPartialUpdate(ctx context.Context, id int, body DcimSiteGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSiteGroupsUpdateWithBody request with any body + DcimSiteGroupsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSiteGroupsUpdate(ctx context.Context, id int, body DcimSiteGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesBulkDestroyWithBody request with any body + DcimSitesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSitesBulkDestroy(ctx context.Context, body DcimSitesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesList request + DcimSitesList(ctx context.Context, params *DcimSitesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesBulkPartialUpdateWithBody 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) + + // DcimSitesCreateWithBody 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) + + // DcimSitesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesRetrieve request + DcimSitesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesPartialUpdateWithBody request with any body + DcimSitesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSitesPartialUpdate(ctx context.Context, id int, body DcimSitesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesUpdateWithBody request with any body + DcimSitesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSitesUpdate(ctx context.Context, id int, body DcimSitesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisBulkDestroyWithBody request with any body + DcimVirtualChassisBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualChassisBulkDestroy(ctx context.Context, body DcimVirtualChassisBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisList request + DcimVirtualChassisList(ctx context.Context, params *DcimVirtualChassisListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisBulkPartialUpdateWithBody 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) + + // DcimVirtualChassisCreateWithBody 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) + + // DcimVirtualChassisBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisRetrieve request + DcimVirtualChassisRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisPartialUpdateWithBody request with any body + DcimVirtualChassisPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualChassisPartialUpdate(ctx context.Context, id int, body DcimVirtualChassisPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisUpdateWithBody request with any body + DcimVirtualChassisUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualChassisUpdate(ctx context.Context, id int, body DcimVirtualChassisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualDeviceContextsBulkDestroyWithBody request with any body + DcimVirtualDeviceContextsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualDeviceContextsBulkDestroy(ctx context.Context, body DcimVirtualDeviceContextsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualDeviceContextsList request + DcimVirtualDeviceContextsList(ctx context.Context, params *DcimVirtualDeviceContextsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualDeviceContextsBulkPartialUpdateWithBody request with any body + DcimVirtualDeviceContextsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualDeviceContextsBulkPartialUpdate(ctx context.Context, body DcimVirtualDeviceContextsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualDeviceContextsCreateWithBody request with any body + DcimVirtualDeviceContextsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualDeviceContextsCreate(ctx context.Context, body DcimVirtualDeviceContextsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualDeviceContextsBulkUpdateWithBody request with any body + DcimVirtualDeviceContextsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualDeviceContextsBulkUpdate(ctx context.Context, body DcimVirtualDeviceContextsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualDeviceContextsDestroy request + DcimVirtualDeviceContextsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualDeviceContextsRetrieve request + DcimVirtualDeviceContextsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualDeviceContextsPartialUpdateWithBody request with any body + DcimVirtualDeviceContextsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualDeviceContextsPartialUpdate(ctx context.Context, id int, body DcimVirtualDeviceContextsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualDeviceContextsUpdateWithBody request with any body + DcimVirtualDeviceContextsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualDeviceContextsUpdate(ctx context.Context, id int, body DcimVirtualDeviceContextsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasBookmarksBulkDestroyWithBody request with any body + ExtrasBookmarksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasBookmarksBulkDestroy(ctx context.Context, body ExtrasBookmarksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasBookmarksList request + ExtrasBookmarksList(ctx context.Context, params *ExtrasBookmarksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasBookmarksBulkPartialUpdateWithBody request with any body + ExtrasBookmarksBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasBookmarksBulkPartialUpdate(ctx context.Context, body ExtrasBookmarksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasBookmarksCreateWithBody request with any body + ExtrasBookmarksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasBookmarksCreate(ctx context.Context, body ExtrasBookmarksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasBookmarksBulkUpdateWithBody request with any body + ExtrasBookmarksBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasBookmarksBulkUpdate(ctx context.Context, body ExtrasBookmarksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasBookmarksDestroy request + ExtrasBookmarksDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasBookmarksRetrieve request + ExtrasBookmarksRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasBookmarksPartialUpdateWithBody request with any body + ExtrasBookmarksPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasBookmarksPartialUpdate(ctx context.Context, id int, body ExtrasBookmarksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasBookmarksUpdateWithBody request with any body + ExtrasBookmarksUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasBookmarksUpdate(ctx context.Context, id int, body ExtrasBookmarksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsBulkDestroyWithBody request with any body + ExtrasConfigContextsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextsBulkDestroy(ctx context.Context, body ExtrasConfigContextsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsList request + ExtrasConfigContextsList(ctx context.Context, params *ExtrasConfigContextsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsBulkPartialUpdateWithBody 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) + + // ExtrasConfigContextsCreateWithBody 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) + + // ExtrasConfigContextsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsRetrieve request + ExtrasConfigContextsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsPartialUpdateWithBody request with any body + ExtrasConfigContextsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextsPartialUpdate(ctx context.Context, id int, body ExtrasConfigContextsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsUpdateWithBody request with any body + ExtrasConfigContextsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextsUpdate(ctx context.Context, id int, body ExtrasConfigContextsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsSyncCreateWithBody request with any body + ExtrasConfigContextsSyncCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextsSyncCreate(ctx context.Context, id int, body ExtrasConfigContextsSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigTemplatesBulkDestroyWithBody request with any body + ExtrasConfigTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigTemplatesBulkDestroy(ctx context.Context, body ExtrasConfigTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigTemplatesList request + ExtrasConfigTemplatesList(ctx context.Context, params *ExtrasConfigTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigTemplatesBulkPartialUpdateWithBody request with any body + ExtrasConfigTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigTemplatesBulkPartialUpdate(ctx context.Context, body ExtrasConfigTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigTemplatesCreateWithBody request with any body + ExtrasConfigTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigTemplatesCreate(ctx context.Context, body ExtrasConfigTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigTemplatesBulkUpdateWithBody request with any body + ExtrasConfigTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigTemplatesBulkUpdate(ctx context.Context, body ExtrasConfigTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigTemplatesDestroy request + ExtrasConfigTemplatesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigTemplatesRetrieve request + ExtrasConfigTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigTemplatesPartialUpdateWithBody request with any body + ExtrasConfigTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigTemplatesPartialUpdate(ctx context.Context, id int, body ExtrasConfigTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigTemplatesUpdateWithBody request with any body + ExtrasConfigTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigTemplatesUpdate(ctx context.Context, id int, body ExtrasConfigTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigTemplatesRenderCreateWithBody request with any body + ExtrasConfigTemplatesRenderCreateWithBody(ctx context.Context, id int, params *ExtrasConfigTemplatesRenderCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigTemplatesRenderCreate(ctx context.Context, id int, params *ExtrasConfigTemplatesRenderCreateParams, body ExtrasConfigTemplatesRenderCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigTemplatesSyncCreateWithBody request with any body + ExtrasConfigTemplatesSyncCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigTemplatesSyncCreate(ctx context.Context, id int, body ExtrasConfigTemplatesSyncCreateJSONRequestBody, 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) + + // ExtrasCustomFieldChoiceSetsBulkDestroyWithBody request with any body + ExtrasCustomFieldChoiceSetsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldChoiceSetsBulkDestroy(ctx context.Context, body ExtrasCustomFieldChoiceSetsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoiceSetsList request + ExtrasCustomFieldChoiceSetsList(ctx context.Context, params *ExtrasCustomFieldChoiceSetsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoiceSetsBulkPartialUpdateWithBody request with any body + ExtrasCustomFieldChoiceSetsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldChoiceSetsBulkPartialUpdate(ctx context.Context, body ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoiceSetsCreateWithBody request with any body + ExtrasCustomFieldChoiceSetsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldChoiceSetsCreate(ctx context.Context, body ExtrasCustomFieldChoiceSetsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoiceSetsBulkUpdateWithBody request with any body + ExtrasCustomFieldChoiceSetsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldChoiceSetsBulkUpdate(ctx context.Context, body ExtrasCustomFieldChoiceSetsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoiceSetsDestroy request + ExtrasCustomFieldChoiceSetsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoiceSetsRetrieve request + ExtrasCustomFieldChoiceSetsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoiceSetsPartialUpdateWithBody request with any body + ExtrasCustomFieldChoiceSetsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldChoiceSetsPartialUpdate(ctx context.Context, id int, body ExtrasCustomFieldChoiceSetsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoiceSetsUpdateWithBody request with any body + ExtrasCustomFieldChoiceSetsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldChoiceSetsUpdate(ctx context.Context, id int, body ExtrasCustomFieldChoiceSetsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoiceSetsChoicesRetrieve request + ExtrasCustomFieldChoiceSetsChoicesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldsBulkDestroyWithBody request with any body + ExtrasCustomFieldsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldsBulkDestroy(ctx context.Context, body ExtrasCustomFieldsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldsList request + ExtrasCustomFieldsList(ctx context.Context, params *ExtrasCustomFieldsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldsBulkPartialUpdateWithBody 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) + + // ExtrasCustomFieldsCreateWithBody 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) + + // ExtrasCustomFieldsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldsRetrieve request + ExtrasCustomFieldsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldsPartialUpdateWithBody request with any body + ExtrasCustomFieldsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldsPartialUpdate(ctx context.Context, id int, body ExtrasCustomFieldsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldsUpdateWithBody request with any body + ExtrasCustomFieldsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldsUpdate(ctx context.Context, id int, body ExtrasCustomFieldsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksBulkDestroyWithBody request with any body + ExtrasCustomLinksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomLinksBulkDestroy(ctx context.Context, body ExtrasCustomLinksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksList request + ExtrasCustomLinksList(ctx context.Context, params *ExtrasCustomLinksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksBulkPartialUpdateWithBody 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) + + // ExtrasCustomLinksCreateWithBody 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) + + // ExtrasCustomLinksBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksRetrieve request + ExtrasCustomLinksRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksPartialUpdateWithBody request with any body + ExtrasCustomLinksPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomLinksPartialUpdate(ctx context.Context, id int, body ExtrasCustomLinksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksUpdateWithBody request with any body + ExtrasCustomLinksUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomLinksUpdate(ctx context.Context, id int, body ExtrasCustomLinksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDashboardDestroy request + ExtrasDashboardDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDashboardRetrieve request + ExtrasDashboardRetrieve(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDashboardPartialUpdateWithBody request with any body + ExtrasDashboardPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDashboardPartialUpdate(ctx context.Context, body ExtrasDashboardPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDashboardUpdateWithBody request with any body + ExtrasDashboardUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDashboardUpdate(ctx context.Context, body ExtrasDashboardUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesBulkDestroyWithBody request with any body + ExtrasExportTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasExportTemplatesBulkDestroy(ctx context.Context, body ExtrasExportTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesList request + ExtrasExportTemplatesList(ctx context.Context, params *ExtrasExportTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesBulkPartialUpdateWithBody 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) + + // ExtrasExportTemplatesCreateWithBody 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) + + // ExtrasExportTemplatesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesRetrieve request + ExtrasExportTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesPartialUpdateWithBody request with any body + ExtrasExportTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasExportTemplatesPartialUpdate(ctx context.Context, id int, body ExtrasExportTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesUpdateWithBody request with any body + ExtrasExportTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasExportTemplatesUpdate(ctx context.Context, id int, body ExtrasExportTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesSyncCreateWithBody request with any body + ExtrasExportTemplatesSyncCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasExportTemplatesSyncCreate(ctx context.Context, id int, body ExtrasExportTemplatesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasImageAttachmentsBulkDestroyWithBody request with any body + ExtrasImageAttachmentsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasImageAttachmentsBulkDestroy(ctx context.Context, body ExtrasImageAttachmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasImageAttachmentsList request + ExtrasImageAttachmentsList(ctx context.Context, params *ExtrasImageAttachmentsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasImageAttachmentsBulkPartialUpdateWithBody 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) + + // ExtrasImageAttachmentsCreateWithBody 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) + + // ExtrasImageAttachmentsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasImageAttachmentsRetrieve request + ExtrasImageAttachmentsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasImageAttachmentsPartialUpdateWithBody request with any body + ExtrasImageAttachmentsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasImageAttachmentsPartialUpdate(ctx context.Context, id int, body ExtrasImageAttachmentsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasImageAttachmentsUpdateWithBody request with any body + ExtrasImageAttachmentsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasImageAttachmentsUpdate(ctx context.Context, id int, body ExtrasImageAttachmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJournalEntriesBulkDestroyWithBody request with any body + ExtrasJournalEntriesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJournalEntriesBulkDestroy(ctx context.Context, body ExtrasJournalEntriesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJournalEntriesList request + ExtrasJournalEntriesList(ctx context.Context, params *ExtrasJournalEntriesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJournalEntriesBulkPartialUpdateWithBody request with any body + ExtrasJournalEntriesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJournalEntriesBulkPartialUpdate(ctx context.Context, body ExtrasJournalEntriesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJournalEntriesCreateWithBody request with any body + ExtrasJournalEntriesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJournalEntriesCreate(ctx context.Context, body ExtrasJournalEntriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJournalEntriesBulkUpdateWithBody request with any body + ExtrasJournalEntriesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJournalEntriesBulkUpdate(ctx context.Context, body ExtrasJournalEntriesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJournalEntriesDestroy request + ExtrasJournalEntriesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJournalEntriesRetrieve request + ExtrasJournalEntriesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJournalEntriesPartialUpdateWithBody request with any body + ExtrasJournalEntriesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJournalEntriesPartialUpdate(ctx context.Context, id int, body ExtrasJournalEntriesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJournalEntriesUpdateWithBody request with any body + ExtrasJournalEntriesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJournalEntriesUpdate(ctx context.Context, id int, body ExtrasJournalEntriesUpdateJSONRequestBody, 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSavedFiltersBulkDestroyWithBody request with any body + ExtrasSavedFiltersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSavedFiltersBulkDestroy(ctx context.Context, body ExtrasSavedFiltersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSavedFiltersList request + ExtrasSavedFiltersList(ctx context.Context, params *ExtrasSavedFiltersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSavedFiltersBulkPartialUpdateWithBody request with any body + ExtrasSavedFiltersBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSavedFiltersBulkPartialUpdate(ctx context.Context, body ExtrasSavedFiltersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSavedFiltersCreateWithBody request with any body + ExtrasSavedFiltersCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSavedFiltersCreate(ctx context.Context, body ExtrasSavedFiltersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSavedFiltersBulkUpdateWithBody request with any body + ExtrasSavedFiltersBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSavedFiltersBulkUpdate(ctx context.Context, body ExtrasSavedFiltersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSavedFiltersDestroy request + ExtrasSavedFiltersDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSavedFiltersRetrieve request + ExtrasSavedFiltersRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSavedFiltersPartialUpdateWithBody request with any body + ExtrasSavedFiltersPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSavedFiltersPartialUpdate(ctx context.Context, id int, body ExtrasSavedFiltersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSavedFiltersUpdateWithBody request with any body + ExtrasSavedFiltersUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSavedFiltersUpdate(ctx context.Context, id int, body ExtrasSavedFiltersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsBulkDestroyWithBody request with any body + ExtrasTagsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasTagsBulkDestroy(ctx context.Context, body ExtrasTagsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsList request + ExtrasTagsList(ctx context.Context, params *ExtrasTagsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsBulkPartialUpdateWithBody 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) + + // ExtrasTagsCreateWithBody 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) + + // ExtrasTagsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsRetrieve request + ExtrasTagsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsPartialUpdateWithBody request with any body + ExtrasTagsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasTagsPartialUpdate(ctx context.Context, id int, body ExtrasTagsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsUpdateWithBody request with any body + ExtrasTagsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasTagsUpdate(ctx context.Context, id int, body ExtrasTagsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksBulkDestroyWithBody request with any body + ExtrasWebhooksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasWebhooksBulkDestroy(ctx context.Context, body ExtrasWebhooksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksList request + ExtrasWebhooksList(ctx context.Context, params *ExtrasWebhooksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksBulkPartialUpdateWithBody 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) + + // ExtrasWebhooksCreateWithBody 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) + + // ExtrasWebhooksBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksRetrieve request + ExtrasWebhooksRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksPartialUpdateWithBody request with any body + ExtrasWebhooksPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasWebhooksPartialUpdate(ctx context.Context, id int, body ExtrasWebhooksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksUpdateWithBody request with any body + ExtrasWebhooksUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasWebhooksUpdate(ctx context.Context, id int, body ExtrasWebhooksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAggregatesBulkDestroyWithBody request with any body + IpamAggregatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAggregatesBulkDestroy(ctx context.Context, body IpamAggregatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAggregatesList request + IpamAggregatesList(ctx context.Context, params *IpamAggregatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAggregatesBulkPartialUpdateWithBody 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) + + // IpamAggregatesCreateWithBody 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) + + // IpamAggregatesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAggregatesRetrieve request + IpamAggregatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAggregatesPartialUpdateWithBody request with any body + IpamAggregatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAggregatesPartialUpdate(ctx context.Context, id int, body IpamAggregatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAggregatesUpdateWithBody request with any body + IpamAggregatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAggregatesUpdate(ctx context.Context, id int, body IpamAggregatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnRangesBulkDestroyWithBody request with any body + IpamAsnRangesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAsnRangesBulkDestroy(ctx context.Context, body IpamAsnRangesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnRangesList request + IpamAsnRangesList(ctx context.Context, params *IpamAsnRangesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnRangesBulkPartialUpdateWithBody request with any body + IpamAsnRangesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAsnRangesBulkPartialUpdate(ctx context.Context, body IpamAsnRangesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnRangesCreateWithBody request with any body + IpamAsnRangesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAsnRangesCreate(ctx context.Context, body IpamAsnRangesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnRangesBulkUpdateWithBody request with any body + IpamAsnRangesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAsnRangesBulkUpdate(ctx context.Context, body IpamAsnRangesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnRangesDestroy request + IpamAsnRangesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnRangesRetrieve request + IpamAsnRangesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnRangesPartialUpdateWithBody request with any body + IpamAsnRangesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAsnRangesPartialUpdate(ctx context.Context, id int, body IpamAsnRangesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnRangesUpdateWithBody request with any body + IpamAsnRangesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAsnRangesUpdate(ctx context.Context, id int, body IpamAsnRangesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnRangesAvailableAsnsList request + IpamAsnRangesAvailableAsnsList(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnRangesAvailableAsnsCreateWithBody request with any body + IpamAsnRangesAvailableAsnsCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAsnRangesAvailableAsnsCreate(ctx context.Context, id int, body IpamAsnRangesAvailableAsnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnsBulkDestroyWithBody request with any body + IpamAsnsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAsnsBulkDestroy(ctx context.Context, body IpamAsnsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnsList request + IpamAsnsList(ctx context.Context, params *IpamAsnsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnsBulkPartialUpdateWithBody request with any body + IpamAsnsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAsnsBulkPartialUpdate(ctx context.Context, body IpamAsnsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnsCreateWithBody request with any body + IpamAsnsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAsnsCreate(ctx context.Context, body IpamAsnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnsBulkUpdateWithBody request with any body + IpamAsnsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAsnsBulkUpdate(ctx context.Context, body IpamAsnsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnsDestroy request + IpamAsnsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnsRetrieve request + IpamAsnsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnsPartialUpdateWithBody request with any body + IpamAsnsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAsnsPartialUpdate(ctx context.Context, id int, body IpamAsnsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAsnsUpdateWithBody request with any body + IpamAsnsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAsnsUpdate(ctx context.Context, id int, body IpamAsnsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupAssignmentsBulkDestroyWithBody request with any body + IpamFhrpGroupAssignmentsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamFhrpGroupAssignmentsBulkDestroy(ctx context.Context, body IpamFhrpGroupAssignmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupAssignmentsList request + IpamFhrpGroupAssignmentsList(ctx context.Context, params *IpamFhrpGroupAssignmentsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupAssignmentsBulkPartialUpdateWithBody request with any body + IpamFhrpGroupAssignmentsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamFhrpGroupAssignmentsBulkPartialUpdate(ctx context.Context, body IpamFhrpGroupAssignmentsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupAssignmentsCreateWithBody request with any body + IpamFhrpGroupAssignmentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamFhrpGroupAssignmentsCreate(ctx context.Context, body IpamFhrpGroupAssignmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupAssignmentsBulkUpdateWithBody request with any body + IpamFhrpGroupAssignmentsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamFhrpGroupAssignmentsBulkUpdate(ctx context.Context, body IpamFhrpGroupAssignmentsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupAssignmentsDestroy request + IpamFhrpGroupAssignmentsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupAssignmentsRetrieve request + IpamFhrpGroupAssignmentsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupAssignmentsPartialUpdateWithBody request with any body + IpamFhrpGroupAssignmentsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamFhrpGroupAssignmentsPartialUpdate(ctx context.Context, id int, body IpamFhrpGroupAssignmentsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupAssignmentsUpdateWithBody request with any body + IpamFhrpGroupAssignmentsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamFhrpGroupAssignmentsUpdate(ctx context.Context, id int, body IpamFhrpGroupAssignmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupsBulkDestroyWithBody request with any body + IpamFhrpGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamFhrpGroupsBulkDestroy(ctx context.Context, body IpamFhrpGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupsList request + IpamFhrpGroupsList(ctx context.Context, params *IpamFhrpGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupsBulkPartialUpdateWithBody request with any body + IpamFhrpGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamFhrpGroupsBulkPartialUpdate(ctx context.Context, body IpamFhrpGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupsCreateWithBody request with any body + IpamFhrpGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamFhrpGroupsCreate(ctx context.Context, body IpamFhrpGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupsBulkUpdateWithBody request with any body + IpamFhrpGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamFhrpGroupsBulkUpdate(ctx context.Context, body IpamFhrpGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupsDestroy request + IpamFhrpGroupsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupsRetrieve request + IpamFhrpGroupsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupsPartialUpdateWithBody request with any body + IpamFhrpGroupsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamFhrpGroupsPartialUpdate(ctx context.Context, id int, body IpamFhrpGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamFhrpGroupsUpdateWithBody request with any body + IpamFhrpGroupsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamFhrpGroupsUpdate(ctx context.Context, id int, body IpamFhrpGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesBulkDestroyWithBody request with any body + IpamIpAddressesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpAddressesBulkDestroy(ctx context.Context, body IpamIpAddressesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesList request + IpamIpAddressesList(ctx context.Context, params *IpamIpAddressesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesBulkPartialUpdateWithBody 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) + + // IpamIpAddressesCreateWithBody 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) + + // IpamIpAddressesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesRetrieve request + IpamIpAddressesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesPartialUpdateWithBody request with any body + IpamIpAddressesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpAddressesPartialUpdate(ctx context.Context, id int, body IpamIpAddressesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesUpdateWithBody request with any body + IpamIpAddressesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpAddressesUpdate(ctx context.Context, id int, body IpamIpAddressesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpRangesBulkDestroyWithBody request with any body + IpamIpRangesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpRangesBulkDestroy(ctx context.Context, body IpamIpRangesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpRangesList request + IpamIpRangesList(ctx context.Context, params *IpamIpRangesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpRangesBulkPartialUpdateWithBody request with any body + IpamIpRangesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpRangesBulkPartialUpdate(ctx context.Context, body IpamIpRangesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpRangesCreateWithBody request with any body + IpamIpRangesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpRangesCreate(ctx context.Context, body IpamIpRangesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpRangesBulkUpdateWithBody request with any body + IpamIpRangesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpRangesBulkUpdate(ctx context.Context, body IpamIpRangesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpRangesDestroy request + IpamIpRangesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpRangesRetrieve request + IpamIpRangesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpRangesPartialUpdateWithBody request with any body + IpamIpRangesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpRangesPartialUpdate(ctx context.Context, id int, body IpamIpRangesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpRangesUpdateWithBody request with any body + IpamIpRangesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpRangesUpdate(ctx context.Context, id int, body IpamIpRangesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpRangesAvailableIpsList request + IpamIpRangesAvailableIpsList(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpRangesAvailableIpsCreateWithBody request with any body + IpamIpRangesAvailableIpsCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpRangesAvailableIpsCreate(ctx context.Context, id int, body IpamIpRangesAvailableIpsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnTerminationsBulkDestroyWithBody request with any body + IpamL2vpnTerminationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamL2vpnTerminationsBulkDestroy(ctx context.Context, body IpamL2vpnTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnTerminationsList request + IpamL2vpnTerminationsList(ctx context.Context, params *IpamL2vpnTerminationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnTerminationsBulkPartialUpdateWithBody request with any body + IpamL2vpnTerminationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamL2vpnTerminationsBulkPartialUpdate(ctx context.Context, body IpamL2vpnTerminationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnTerminationsCreateWithBody request with any body + IpamL2vpnTerminationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamL2vpnTerminationsCreate(ctx context.Context, body IpamL2vpnTerminationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnTerminationsBulkUpdateWithBody request with any body + IpamL2vpnTerminationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamL2vpnTerminationsBulkUpdate(ctx context.Context, body IpamL2vpnTerminationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnTerminationsDestroy request + IpamL2vpnTerminationsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnTerminationsRetrieve request + IpamL2vpnTerminationsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnTerminationsPartialUpdateWithBody request with any body + IpamL2vpnTerminationsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamL2vpnTerminationsPartialUpdate(ctx context.Context, id int, body IpamL2vpnTerminationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnTerminationsUpdateWithBody request with any body + IpamL2vpnTerminationsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamL2vpnTerminationsUpdate(ctx context.Context, id int, body IpamL2vpnTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnsBulkDestroyWithBody request with any body + IpamL2vpnsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamL2vpnsBulkDestroy(ctx context.Context, body IpamL2vpnsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnsList request + IpamL2vpnsList(ctx context.Context, params *IpamL2vpnsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnsBulkPartialUpdateWithBody request with any body + IpamL2vpnsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamL2vpnsBulkPartialUpdate(ctx context.Context, body IpamL2vpnsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnsCreateWithBody request with any body + IpamL2vpnsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamL2vpnsCreate(ctx context.Context, body IpamL2vpnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnsBulkUpdateWithBody request with any body + IpamL2vpnsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamL2vpnsBulkUpdate(ctx context.Context, body IpamL2vpnsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnsDestroy request + IpamL2vpnsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnsRetrieve request + IpamL2vpnsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnsPartialUpdateWithBody request with any body + IpamL2vpnsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamL2vpnsPartialUpdate(ctx context.Context, id int, body IpamL2vpnsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamL2vpnsUpdateWithBody request with any body + IpamL2vpnsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamL2vpnsUpdate(ctx context.Context, id int, body IpamL2vpnsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesBulkDestroyWithBody request with any body + IpamPrefixesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamPrefixesBulkDestroy(ctx context.Context, body IpamPrefixesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesList request + IpamPrefixesList(ctx context.Context, params *IpamPrefixesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesBulkPartialUpdateWithBody 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) + + // IpamPrefixesCreateWithBody 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) + + // IpamPrefixesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesRetrieve request + IpamPrefixesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesPartialUpdateWithBody request with any body + IpamPrefixesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamPrefixesPartialUpdate(ctx context.Context, id int, body IpamPrefixesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesUpdateWithBody request with any body + IpamPrefixesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamPrefixesUpdate(ctx context.Context, id int, body IpamPrefixesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesAvailableIpsList request + IpamPrefixesAvailableIpsList(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesAvailableIpsCreateWithBody request with any body + IpamPrefixesAvailableIpsCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamPrefixesAvailableIpsCreate(ctx context.Context, id int, body IpamPrefixesAvailableIpsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesAvailablePrefixesList request + IpamPrefixesAvailablePrefixesList(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesAvailablePrefixesCreateWithBody request with any body + IpamPrefixesAvailablePrefixesCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamPrefixesAvailablePrefixesCreate(ctx context.Context, id int, body IpamPrefixesAvailablePrefixesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsBulkDestroyWithBody request with any body + IpamRirsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRirsBulkDestroy(ctx context.Context, body IpamRirsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsList request + IpamRirsList(ctx context.Context, params *IpamRirsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsBulkPartialUpdateWithBody 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) + + // IpamRirsCreateWithBody 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) + + // IpamRirsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsRetrieve request + IpamRirsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsPartialUpdateWithBody request with any body + IpamRirsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRirsPartialUpdate(ctx context.Context, id int, body IpamRirsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsUpdateWithBody request with any body + IpamRirsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRirsUpdate(ctx context.Context, id int, body IpamRirsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesBulkDestroyWithBody request with any body + IpamRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRolesBulkDestroy(ctx context.Context, body IpamRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesList request + IpamRolesList(ctx context.Context, params *IpamRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesBulkPartialUpdateWithBody 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) + + // IpamRolesCreateWithBody 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) + + // IpamRolesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesRetrieve request + IpamRolesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesPartialUpdateWithBody request with any body + IpamRolesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRolesPartialUpdate(ctx context.Context, id int, body IpamRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesUpdateWithBody request with any body + IpamRolesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRolesUpdate(ctx context.Context, id int, body IpamRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsBulkDestroyWithBody request with any body + IpamRouteTargetsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRouteTargetsBulkDestroy(ctx context.Context, body IpamRouteTargetsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsList request + IpamRouteTargetsList(ctx context.Context, params *IpamRouteTargetsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsBulkPartialUpdateWithBody 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) + + // IpamRouteTargetsCreateWithBody 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) + + // IpamRouteTargetsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsRetrieve request + IpamRouteTargetsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsPartialUpdateWithBody request with any body + IpamRouteTargetsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRouteTargetsPartialUpdate(ctx context.Context, id int, body IpamRouteTargetsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsUpdateWithBody request with any body + IpamRouteTargetsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRouteTargetsUpdate(ctx context.Context, id int, body IpamRouteTargetsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServiceTemplatesBulkDestroyWithBody request with any body + IpamServiceTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServiceTemplatesBulkDestroy(ctx context.Context, body IpamServiceTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServiceTemplatesList request + IpamServiceTemplatesList(ctx context.Context, params *IpamServiceTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServiceTemplatesBulkPartialUpdateWithBody request with any body + IpamServiceTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServiceTemplatesBulkPartialUpdate(ctx context.Context, body IpamServiceTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServiceTemplatesCreateWithBody request with any body + IpamServiceTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServiceTemplatesCreate(ctx context.Context, body IpamServiceTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServiceTemplatesBulkUpdateWithBody request with any body + IpamServiceTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServiceTemplatesBulkUpdate(ctx context.Context, body IpamServiceTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServiceTemplatesDestroy request + IpamServiceTemplatesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServiceTemplatesRetrieve request + IpamServiceTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServiceTemplatesPartialUpdateWithBody request with any body + IpamServiceTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServiceTemplatesPartialUpdate(ctx context.Context, id int, body IpamServiceTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServiceTemplatesUpdateWithBody request with any body + IpamServiceTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServiceTemplatesUpdate(ctx context.Context, id int, body IpamServiceTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesBulkDestroyWithBody request with any body + IpamServicesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServicesBulkDestroy(ctx context.Context, body IpamServicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesList request + IpamServicesList(ctx context.Context, params *IpamServicesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesBulkPartialUpdateWithBody 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) + + // IpamServicesCreateWithBody 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) + + // IpamServicesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesRetrieve request + IpamServicesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesPartialUpdateWithBody request with any body + IpamServicesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServicesPartialUpdate(ctx context.Context, id int, body IpamServicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesUpdateWithBody request with any body + IpamServicesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServicesUpdate(ctx context.Context, id int, body IpamServicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsBulkDestroyWithBody request with any body + IpamVlanGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlanGroupsBulkDestroy(ctx context.Context, body IpamVlanGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsList request + IpamVlanGroupsList(ctx context.Context, params *IpamVlanGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsBulkPartialUpdateWithBody 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) + + // IpamVlanGroupsCreateWithBody 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) + + // IpamVlanGroupsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsRetrieve request + IpamVlanGroupsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsPartialUpdateWithBody request with any body + IpamVlanGroupsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlanGroupsPartialUpdate(ctx context.Context, id int, body IpamVlanGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsUpdateWithBody request with any body + IpamVlanGroupsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlanGroupsUpdate(ctx context.Context, id int, body IpamVlanGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsAvailableVlansList request + IpamVlanGroupsAvailableVlansList(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsAvailableVlansCreateWithBody request with any body + IpamVlanGroupsAvailableVlansCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlanGroupsAvailableVlansCreate(ctx context.Context, id int, body IpamVlanGroupsAvailableVlansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansBulkDestroyWithBody request with any body + IpamVlansBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlansBulkDestroy(ctx context.Context, body IpamVlansBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansList request + IpamVlansList(ctx context.Context, params *IpamVlansListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansBulkPartialUpdateWithBody 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) + + // IpamVlansCreateWithBody 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) + + // IpamVlansBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansRetrieve request + IpamVlansRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansPartialUpdateWithBody request with any body + IpamVlansPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlansPartialUpdate(ctx context.Context, id int, body IpamVlansPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansUpdateWithBody request with any body + IpamVlansUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlansUpdate(ctx context.Context, id int, body IpamVlansUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsBulkDestroyWithBody request with any body + IpamVrfsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVrfsBulkDestroy(ctx context.Context, body IpamVrfsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsList request + IpamVrfsList(ctx context.Context, params *IpamVrfsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsBulkPartialUpdateWithBody 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) + + // IpamVrfsCreateWithBody 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) + + // IpamVrfsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsRetrieve request + IpamVrfsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsPartialUpdateWithBody request with any body + IpamVrfsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVrfsPartialUpdate(ctx context.Context, id int, body IpamVrfsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsUpdateWithBody request with any body + IpamVrfsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVrfsUpdate(ctx context.Context, id int, body IpamVrfsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // SchemaRetrieve request + SchemaRetrieve(ctx context.Context, params *SchemaRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // StatusRetrieve request + StatusRetrieve(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactAssignmentsBulkDestroyWithBody request with any body + TenancyContactAssignmentsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactAssignmentsBulkDestroy(ctx context.Context, body TenancyContactAssignmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactAssignmentsList request + TenancyContactAssignmentsList(ctx context.Context, params *TenancyContactAssignmentsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactAssignmentsBulkPartialUpdateWithBody request with any body + TenancyContactAssignmentsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactAssignmentsBulkPartialUpdate(ctx context.Context, body TenancyContactAssignmentsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactAssignmentsCreateWithBody request with any body + TenancyContactAssignmentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactAssignmentsCreate(ctx context.Context, body TenancyContactAssignmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactAssignmentsBulkUpdateWithBody request with any body + TenancyContactAssignmentsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactAssignmentsBulkUpdate(ctx context.Context, body TenancyContactAssignmentsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactAssignmentsDestroy request + TenancyContactAssignmentsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactAssignmentsRetrieve request + TenancyContactAssignmentsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactAssignmentsPartialUpdateWithBody request with any body + TenancyContactAssignmentsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactAssignmentsPartialUpdate(ctx context.Context, id int, body TenancyContactAssignmentsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactAssignmentsUpdateWithBody request with any body + TenancyContactAssignmentsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactAssignmentsUpdate(ctx context.Context, id int, body TenancyContactAssignmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactGroupsBulkDestroyWithBody request with any body + TenancyContactGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactGroupsBulkDestroy(ctx context.Context, body TenancyContactGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactGroupsList request + TenancyContactGroupsList(ctx context.Context, params *TenancyContactGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactGroupsBulkPartialUpdateWithBody request with any body + TenancyContactGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactGroupsBulkPartialUpdate(ctx context.Context, body TenancyContactGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactGroupsCreateWithBody request with any body + TenancyContactGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactGroupsCreate(ctx context.Context, body TenancyContactGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactGroupsBulkUpdateWithBody request with any body + TenancyContactGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactGroupsBulkUpdate(ctx context.Context, body TenancyContactGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactGroupsDestroy request + TenancyContactGroupsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactGroupsRetrieve request + TenancyContactGroupsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactGroupsPartialUpdateWithBody request with any body + TenancyContactGroupsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactGroupsPartialUpdate(ctx context.Context, id int, body TenancyContactGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactGroupsUpdateWithBody request with any body + TenancyContactGroupsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactGroupsUpdate(ctx context.Context, id int, body TenancyContactGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactRolesBulkDestroyWithBody request with any body + TenancyContactRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactRolesBulkDestroy(ctx context.Context, body TenancyContactRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactRolesList request + TenancyContactRolesList(ctx context.Context, params *TenancyContactRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactRolesBulkPartialUpdateWithBody request with any body + TenancyContactRolesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactRolesBulkPartialUpdate(ctx context.Context, body TenancyContactRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactRolesCreateWithBody request with any body + TenancyContactRolesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactRolesCreate(ctx context.Context, body TenancyContactRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactRolesBulkUpdateWithBody request with any body + TenancyContactRolesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactRolesBulkUpdate(ctx context.Context, body TenancyContactRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactRolesDestroy request + TenancyContactRolesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactRolesRetrieve request + TenancyContactRolesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactRolesPartialUpdateWithBody request with any body + TenancyContactRolesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactRolesPartialUpdate(ctx context.Context, id int, body TenancyContactRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactRolesUpdateWithBody request with any body + TenancyContactRolesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactRolesUpdate(ctx context.Context, id int, body TenancyContactRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactsBulkDestroyWithBody request with any body + TenancyContactsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactsBulkDestroy(ctx context.Context, body TenancyContactsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactsList request + TenancyContactsList(ctx context.Context, params *TenancyContactsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactsBulkPartialUpdateWithBody request with any body + TenancyContactsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactsBulkPartialUpdate(ctx context.Context, body TenancyContactsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactsCreateWithBody request with any body + TenancyContactsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactsCreate(ctx context.Context, body TenancyContactsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactsBulkUpdateWithBody request with any body + TenancyContactsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactsBulkUpdate(ctx context.Context, body TenancyContactsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactsDestroy request + TenancyContactsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactsRetrieve request + TenancyContactsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactsPartialUpdateWithBody request with any body + TenancyContactsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactsPartialUpdate(ctx context.Context, id int, body TenancyContactsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyContactsUpdateWithBody request with any body + TenancyContactsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyContactsUpdate(ctx context.Context, id int, body TenancyContactsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsBulkDestroyWithBody request with any body + TenancyTenantGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantGroupsBulkDestroy(ctx context.Context, body TenancyTenantGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsList request + TenancyTenantGroupsList(ctx context.Context, params *TenancyTenantGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsBulkPartialUpdateWithBody 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) + + // TenancyTenantGroupsCreateWithBody 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) + + // TenancyTenantGroupsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsRetrieve request + TenancyTenantGroupsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsPartialUpdateWithBody request with any body + TenancyTenantGroupsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantGroupsPartialUpdate(ctx context.Context, id int, body TenancyTenantGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsUpdateWithBody request with any body + TenancyTenantGroupsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantGroupsUpdate(ctx context.Context, id int, body TenancyTenantGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsBulkDestroyWithBody request with any body + TenancyTenantsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantsBulkDestroy(ctx context.Context, body TenancyTenantsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsList request + TenancyTenantsList(ctx context.Context, params *TenancyTenantsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsBulkPartialUpdateWithBody 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) + + // TenancyTenantsCreateWithBody 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) + + // TenancyTenantsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsRetrieve request + TenancyTenantsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsPartialUpdateWithBody request with any body + TenancyTenantsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantsPartialUpdate(ctx context.Context, id int, body TenancyTenantsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsUpdateWithBody request with any body + TenancyTenantsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantsUpdate(ctx context.Context, id int, body TenancyTenantsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersConfigRetrieve request + UsersConfigRetrieve(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersGroupsBulkDestroyWithBody request with any body + UsersGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersGroupsBulkDestroy(ctx context.Context, body UsersGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersGroupsList request + UsersGroupsList(ctx context.Context, params *UsersGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersGroupsBulkPartialUpdateWithBody 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) + + // UsersGroupsCreateWithBody 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) + + // UsersGroupsBulkUpdateWithBody 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) + + // UsersGroupsPartialUpdateWithBody 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) + + // UsersGroupsUpdateWithBody 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) + + // UsersPermissionsBulkDestroyWithBody request with any body + UsersPermissionsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersPermissionsBulkDestroy(ctx context.Context, body UsersPermissionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersPermissionsList request + UsersPermissionsList(ctx context.Context, params *UsersPermissionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersPermissionsBulkPartialUpdateWithBody 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) + + // UsersPermissionsCreateWithBody 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) + + // UsersPermissionsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersPermissionsRetrieve request + UsersPermissionsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersPermissionsPartialUpdateWithBody request with any body + UsersPermissionsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersPermissionsPartialUpdate(ctx context.Context, id int, body UsersPermissionsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersPermissionsUpdateWithBody request with any body + UsersPermissionsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersPermissionsUpdate(ctx context.Context, id int, body UsersPermissionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersTokensBulkDestroyWithBody request with any body + UsersTokensBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersTokensBulkDestroy(ctx context.Context, body UsersTokensBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersTokensList request + UsersTokensList(ctx context.Context, params *UsersTokensListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersTokensBulkPartialUpdateWithBody 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) + + // UsersTokensCreateWithBody 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) + + // UsersTokensBulkUpdateWithBody 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) + + // UsersTokensProvisionCreateWithBody request with any body + UsersTokensProvisionCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersTokensProvisionCreate(ctx context.Context, body UsersTokensProvisionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersTokensDestroy request + UsersTokensDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersTokensRetrieve request + UsersTokensRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersTokensPartialUpdateWithBody request with any body + UsersTokensPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersTokensPartialUpdate(ctx context.Context, id int, body UsersTokensPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersTokensUpdateWithBody request with any body + UsersTokensUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersTokensUpdate(ctx context.Context, id int, body UsersTokensUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersUsersBulkDestroyWithBody request with any body + UsersUsersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersUsersBulkDestroy(ctx context.Context, body UsersUsersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersUsersList request + UsersUsersList(ctx context.Context, params *UsersUsersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersUsersBulkPartialUpdateWithBody 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) + + // UsersUsersCreateWithBody 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) + + // UsersUsersBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersUsersRetrieve request + UsersUsersRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersUsersPartialUpdateWithBody request with any body + UsersUsersPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersUsersPartialUpdate(ctx context.Context, id int, body UsersUsersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersUsersUpdateWithBody request with any body + UsersUsersUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersUsersUpdate(ctx context.Context, id int, body UsersUsersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterGroupsBulkDestroyWithBody request with any body + VirtualizationClusterGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterGroupsBulkDestroy(ctx context.Context, body VirtualizationClusterGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterGroupsList request + VirtualizationClusterGroupsList(ctx context.Context, params *VirtualizationClusterGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterGroupsBulkPartialUpdateWithBody 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) + + // VirtualizationClusterGroupsCreateWithBody 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) + + // VirtualizationClusterGroupsBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterGroupsRetrieve request + VirtualizationClusterGroupsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterGroupsPartialUpdateWithBody request with any body + VirtualizationClusterGroupsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterGroupsPartialUpdate(ctx context.Context, id int, body VirtualizationClusterGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterGroupsUpdateWithBody request with any body + VirtualizationClusterGroupsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterGroupsUpdate(ctx context.Context, id int, body VirtualizationClusterGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesBulkDestroyWithBody request with any body + VirtualizationClusterTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterTypesBulkDestroy(ctx context.Context, body VirtualizationClusterTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesList request + VirtualizationClusterTypesList(ctx context.Context, params *VirtualizationClusterTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesBulkPartialUpdateWithBody 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) + + // VirtualizationClusterTypesCreateWithBody 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) + + // VirtualizationClusterTypesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesRetrieve request + VirtualizationClusterTypesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesPartialUpdateWithBody request with any body + VirtualizationClusterTypesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterTypesPartialUpdate(ctx context.Context, id int, body VirtualizationClusterTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesUpdateWithBody request with any body + VirtualizationClusterTypesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterTypesUpdate(ctx context.Context, id int, body VirtualizationClusterTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersBulkDestroyWithBody request with any body + VirtualizationClustersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClustersBulkDestroy(ctx context.Context, body VirtualizationClustersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersList request + VirtualizationClustersList(ctx context.Context, params *VirtualizationClustersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersBulkPartialUpdateWithBody 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) + + // VirtualizationClustersCreateWithBody 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) + + // VirtualizationClustersBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersRetrieve request + VirtualizationClustersRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersPartialUpdateWithBody request with any body + VirtualizationClustersPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClustersPartialUpdate(ctx context.Context, id int, body VirtualizationClustersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersUpdateWithBody request with any body + VirtualizationClustersUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClustersUpdate(ctx context.Context, id int, body VirtualizationClustersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesBulkDestroyWithBody request with any body + VirtualizationInterfacesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationInterfacesBulkDestroy(ctx context.Context, body VirtualizationInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesList request + VirtualizationInterfacesList(ctx context.Context, params *VirtualizationInterfacesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesBulkPartialUpdateWithBody 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) + + // VirtualizationInterfacesCreateWithBody 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) + + // VirtualizationInterfacesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesRetrieve request + VirtualizationInterfacesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesPartialUpdateWithBody request with any body + VirtualizationInterfacesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationInterfacesPartialUpdate(ctx context.Context, id int, body VirtualizationInterfacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesUpdateWithBody request with any body + VirtualizationInterfacesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationInterfacesUpdate(ctx context.Context, id int, body VirtualizationInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesBulkDestroyWithBody request with any body + VirtualizationVirtualMachinesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationVirtualMachinesBulkDestroy(ctx context.Context, body VirtualizationVirtualMachinesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesList request + VirtualizationVirtualMachinesList(ctx context.Context, params *VirtualizationVirtualMachinesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesBulkPartialUpdateWithBody 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) + + // VirtualizationVirtualMachinesCreateWithBody 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) + + // VirtualizationVirtualMachinesBulkUpdateWithBody 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesRetrieve request + VirtualizationVirtualMachinesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesPartialUpdateWithBody request with any body + VirtualizationVirtualMachinesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationVirtualMachinesPartialUpdate(ctx context.Context, id int, body VirtualizationVirtualMachinesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesUpdateWithBody request with any body + VirtualizationVirtualMachinesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationVirtualMachinesUpdate(ctx context.Context, id int, body VirtualizationVirtualMachinesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLanGroupsBulkDestroyWithBody request with any body + WirelessWirelessLanGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLanGroupsBulkDestroy(ctx context.Context, body WirelessWirelessLanGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLanGroupsList request + WirelessWirelessLanGroupsList(ctx context.Context, params *WirelessWirelessLanGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLanGroupsBulkPartialUpdateWithBody request with any body + WirelessWirelessLanGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLanGroupsBulkPartialUpdate(ctx context.Context, body WirelessWirelessLanGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLanGroupsCreateWithBody request with any body + WirelessWirelessLanGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLanGroupsCreate(ctx context.Context, body WirelessWirelessLanGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLanGroupsBulkUpdateWithBody request with any body + WirelessWirelessLanGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLanGroupsBulkUpdate(ctx context.Context, body WirelessWirelessLanGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLanGroupsDestroy request + WirelessWirelessLanGroupsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLanGroupsRetrieve request + WirelessWirelessLanGroupsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLanGroupsPartialUpdateWithBody request with any body + WirelessWirelessLanGroupsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLanGroupsPartialUpdate(ctx context.Context, id int, body WirelessWirelessLanGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLanGroupsUpdateWithBody request with any body + WirelessWirelessLanGroupsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLanGroupsUpdate(ctx context.Context, id int, body WirelessWirelessLanGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLansBulkDestroyWithBody request with any body + WirelessWirelessLansBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLansBulkDestroy(ctx context.Context, body WirelessWirelessLansBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLansList request + WirelessWirelessLansList(ctx context.Context, params *WirelessWirelessLansListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLansBulkPartialUpdateWithBody request with any body + WirelessWirelessLansBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLansBulkPartialUpdate(ctx context.Context, body WirelessWirelessLansBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLansCreateWithBody request with any body + WirelessWirelessLansCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLansCreate(ctx context.Context, body WirelessWirelessLansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLansBulkUpdateWithBody request with any body + WirelessWirelessLansBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLansBulkUpdate(ctx context.Context, body WirelessWirelessLansBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLansDestroy request + WirelessWirelessLansDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLansRetrieve request + WirelessWirelessLansRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLansPartialUpdateWithBody request with any body + WirelessWirelessLansPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLansPartialUpdate(ctx context.Context, id int, body WirelessWirelessLansPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLansUpdateWithBody request with any body + WirelessWirelessLansUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLansUpdate(ctx context.Context, id int, body WirelessWirelessLansUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLinksBulkDestroyWithBody request with any body + WirelessWirelessLinksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLinksBulkDestroy(ctx context.Context, body WirelessWirelessLinksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLinksList request + WirelessWirelessLinksList(ctx context.Context, params *WirelessWirelessLinksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLinksBulkPartialUpdateWithBody request with any body + WirelessWirelessLinksBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLinksBulkPartialUpdate(ctx context.Context, body WirelessWirelessLinksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLinksCreateWithBody request with any body + WirelessWirelessLinksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLinksCreate(ctx context.Context, body WirelessWirelessLinksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLinksBulkUpdateWithBody request with any body + WirelessWirelessLinksBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLinksBulkUpdate(ctx context.Context, body WirelessWirelessLinksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLinksDestroy request + WirelessWirelessLinksDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLinksRetrieve request + WirelessWirelessLinksRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLinksPartialUpdateWithBody request with any body + WirelessWirelessLinksPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLinksPartialUpdate(ctx context.Context, id int, body WirelessWirelessLinksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // WirelessWirelessLinksUpdateWithBody request with any body + WirelessWirelessLinksUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + WirelessWirelessLinksUpdate(ctx context.Context, id int, body WirelessWirelessLinksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +} + +func (c *Client) CircuitsCircuitTerminationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitTerminationsBulkDestroy(ctx context.Context, body CircuitsCircuitTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) CircuitsCircuitTerminationsPathsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsPathsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitTypesBulkDestroy(ctx context.Context, body CircuitsCircuitTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) CircuitsCircuitsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitsBulkDestroy(ctx context.Context, body CircuitsCircuitsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) CircuitsProviderAccountsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderAccountsBulkDestroy(ctx context.Context, body CircuitsProviderAccountsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderAccountsList(ctx context.Context, params *CircuitsProviderAccountsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsListRequest(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) CircuitsProviderAccountsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderAccountsBulkPartialUpdate(ctx context.Context, body CircuitsProviderAccountsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderAccountsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderAccountsCreate(ctx context.Context, body CircuitsProviderAccountsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderAccountsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderAccountsBulkUpdate(ctx context.Context, body CircuitsProviderAccountsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderAccountsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderAccountsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderAccountsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderAccountsPartialUpdate(ctx context.Context, id int, body CircuitsProviderAccountsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderAccountsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderAccountsUpdate(ctx context.Context, id int, body CircuitsProviderAccountsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderAccountsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderNetworksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderNetworksBulkDestroy(ctx context.Context, body CircuitsProviderNetworksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) CircuitsProvidersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProvidersBulkDestroy(ctx context.Context, body CircuitsProvidersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) CoreDataFilesList(ctx context.Context, params *CoreDataFilesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataFilesListRequest(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) CoreDataFilesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataFilesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesBulkDestroy(ctx context.Context, body CoreDataSourcesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesList(ctx context.Context, params *CoreDataSourcesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesListRequest(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) CoreDataSourcesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesBulkPartialUpdate(ctx context.Context, body CoreDataSourcesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesCreate(ctx context.Context, body CoreDataSourcesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesBulkUpdate(ctx context.Context, body CoreDataSourcesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesPartialUpdate(ctx context.Context, id int, body CoreDataSourcesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesUpdate(ctx context.Context, id int, body CoreDataSourcesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesSyncCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesSyncCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreDataSourcesSyncCreate(ctx context.Context, id int, body CoreDataSourcesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreDataSourcesSyncCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CoreJobsList(ctx context.Context, params *CoreJobsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreJobsListRequest(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) CoreJobsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCoreJobsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCableTerminationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCableTerminationsBulkDestroy(ctx context.Context, body DcimCableTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCableTerminationsList(ctx context.Context, params *DcimCableTerminationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsListRequest(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) DcimCableTerminationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCableTerminationsBulkPartialUpdate(ctx context.Context, body DcimCableTerminationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCableTerminationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCableTerminationsCreate(ctx context.Context, body DcimCableTerminationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCableTerminationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCableTerminationsBulkUpdate(ctx context.Context, body DcimCableTerminationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCableTerminationsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCableTerminationsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCableTerminationsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCableTerminationsPartialUpdate(ctx context.Context, id int, body DcimCableTerminationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCableTerminationsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCableTerminationsUpdate(ctx context.Context, id int, body DcimCableTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCableTerminationsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCablesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCablesBulkDestroy(ctx context.Context, body DcimCablesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimConsolePortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsolePortTemplatesBulkDestroy(ctx context.Context, body DcimConsolePortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimConsolePortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsolePortsBulkDestroy(ctx context.Context, body DcimConsolePortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimConsoleServerPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsoleServerPortTemplatesBulkDestroy(ctx context.Context, body DcimConsoleServerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimConsoleServerPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsoleServerPortsBulkDestroy(ctx context.Context, body DcimConsoleServerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimDeviceBayTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceBayTemplatesBulkDestroy(ctx context.Context, body DcimDeviceBayTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimDeviceBaysBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceBaysBulkDestroy(ctx context.Context, body DcimDeviceBaysBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimDeviceRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRolesBulkDestroy(ctx context.Context, body DcimDeviceRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimDeviceTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceTypesBulkDestroy(ctx context.Context, body DcimDeviceTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimDevicesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDevicesBulkDestroy(ctx context.Context, body DcimDevicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimDevicesRenderConfigCreateWithBody(ctx context.Context, id int, params *DcimDevicesRenderConfigCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesRenderConfigCreateRequestWithBody(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) DcimDevicesRenderConfigCreate(ctx context.Context, id int, params *DcimDevicesRenderConfigCreateParams, body DcimDevicesRenderConfigCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesRenderConfigCreateRequest(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) DcimFrontPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimFrontPortTemplatesBulkDestroy(ctx context.Context, body DcimFrontPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimFrontPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimFrontPortsBulkDestroy(ctx context.Context, body DcimFrontPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimInterfaceTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInterfaceTemplatesBulkDestroy(ctx context.Context, body DcimInterfaceTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimInterfacesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInterfacesBulkDestroy(ctx context.Context, body DcimInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimInventoryItemRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemRolesBulkDestroy(ctx context.Context, body DcimInventoryItemRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemRolesList(ctx context.Context, params *DcimInventoryItemRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesListRequest(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) DcimInventoryItemRolesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemRolesBulkPartialUpdate(ctx context.Context, body DcimInventoryItemRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemRolesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemRolesCreate(ctx context.Context, body DcimInventoryItemRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemRolesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemRolesBulkUpdate(ctx context.Context, body DcimInventoryItemRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemRolesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemRolesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemRolesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemRolesPartialUpdate(ctx context.Context, id int, body DcimInventoryItemRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemRolesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemRolesUpdate(ctx context.Context, id int, body DcimInventoryItemRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemRolesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemTemplatesBulkDestroy(ctx context.Context, body DcimInventoryItemTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemTemplatesList(ctx context.Context, params *DcimInventoryItemTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesListRequest(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) DcimInventoryItemTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemTemplatesBulkPartialUpdate(ctx context.Context, body DcimInventoryItemTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemTemplatesCreate(ctx context.Context, body DcimInventoryItemTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemTemplatesBulkUpdate(ctx context.Context, body DcimInventoryItemTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemTemplatesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemTemplatesPartialUpdate(ctx context.Context, id int, body DcimInventoryItemTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemTemplatesUpdate(ctx context.Context, id int, body DcimInventoryItemTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemTemplatesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemsBulkDestroy(ctx context.Context, body DcimInventoryItemsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimLocationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsBulkDestroy(ctx context.Context, body DcimLocationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsList(ctx context.Context, params *DcimLocationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsBulkPartialUpdate(ctx context.Context, body DcimLocationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsCreate(ctx context.Context, body DcimLocationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsBulkUpdate(ctx context.Context, body DcimLocationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsPartialUpdate(ctx context.Context, id int, body DcimLocationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsUpdate(ctx context.Context, id int, body DcimLocationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimManufacturersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimManufacturersBulkDestroy(ctx context.Context, body DcimManufacturersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimModuleBayTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBayTemplatesBulkDestroy(ctx context.Context, body DcimModuleBayTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBayTemplatesList(ctx context.Context, params *DcimModuleBayTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesListRequest(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) DcimModuleBayTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBayTemplatesBulkPartialUpdate(ctx context.Context, body DcimModuleBayTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBayTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBayTemplatesCreate(ctx context.Context, body DcimModuleBayTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBayTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBayTemplatesBulkUpdate(ctx context.Context, body DcimModuleBayTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBayTemplatesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBayTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBayTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBayTemplatesPartialUpdate(ctx context.Context, id int, body DcimModuleBayTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBayTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBayTemplatesUpdate(ctx context.Context, id int, body DcimModuleBayTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBayTemplatesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBaysBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBaysBulkDestroy(ctx context.Context, body DcimModuleBaysBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBaysList(ctx context.Context, params *DcimModuleBaysListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysListRequest(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) DcimModuleBaysBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBaysBulkPartialUpdate(ctx context.Context, body DcimModuleBaysBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBaysCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBaysCreate(ctx context.Context, body DcimModuleBaysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBaysBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBaysBulkUpdate(ctx context.Context, body DcimModuleBaysBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBaysDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBaysRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBaysPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBaysPartialUpdate(ctx context.Context, id int, body DcimModuleBaysPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBaysUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleBaysUpdate(ctx context.Context, id int, body DcimModuleBaysUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleBaysUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleTypesBulkDestroy(ctx context.Context, body DcimModuleTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleTypesList(ctx context.Context, params *DcimModuleTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesListRequest(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) DcimModuleTypesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleTypesBulkPartialUpdate(ctx context.Context, body DcimModuleTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleTypesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleTypesCreate(ctx context.Context, body DcimModuleTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleTypesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleTypesBulkUpdate(ctx context.Context, body DcimModuleTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleTypesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleTypesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleTypesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleTypesPartialUpdate(ctx context.Context, id int, body DcimModuleTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleTypesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModuleTypesUpdate(ctx context.Context, id int, body DcimModuleTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModuleTypesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModulesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModulesBulkDestroy(ctx context.Context, body DcimModulesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModulesList(ctx context.Context, params *DcimModulesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesListRequest(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) DcimModulesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModulesBulkPartialUpdate(ctx context.Context, body DcimModulesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModulesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModulesCreate(ctx context.Context, body DcimModulesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModulesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModulesBulkUpdate(ctx context.Context, body DcimModulesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModulesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModulesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModulesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModulesPartialUpdate(ctx context.Context, id int, body DcimModulesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModulesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimModulesUpdate(ctx context.Context, id int, body DcimModulesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimModulesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPlatformsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPlatformsBulkDestroy(ctx context.Context, body DcimPlatformsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimPowerFeedsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerFeedsBulkDestroy(ctx context.Context, body DcimPowerFeedsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimPowerOutletTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerOutletTemplatesBulkDestroy(ctx context.Context, body DcimPowerOutletTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimPowerOutletsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerOutletsBulkDestroy(ctx context.Context, body DcimPowerOutletsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimPowerPanelsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPanelsBulkDestroy(ctx context.Context, body DcimPowerPanelsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimPowerPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPortTemplatesBulkDestroy(ctx context.Context, body DcimPowerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimPowerPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPortsBulkDestroy(ctx context.Context, body DcimPowerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimRackReservationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackReservationsBulkDestroy(ctx context.Context, body DcimRackReservationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimRackRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackRolesBulkDestroy(ctx context.Context, body DcimRackRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimRacksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRacksBulkDestroy(ctx context.Context, body DcimRacksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimRacksElevationRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksElevationRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRearPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRearPortTemplatesBulkDestroy(ctx context.Context, body DcimRearPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimRearPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRearPortsBulkDestroy(ctx context.Context, body DcimRearPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimRegionsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRegionsBulkDestroy(ctx context.Context, body DcimRegionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimSiteGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSiteGroupsBulkDestroy(ctx context.Context, body DcimSiteGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSiteGroupsList(ctx context.Context, params *DcimSiteGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsListRequest(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) DcimSiteGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSiteGroupsBulkPartialUpdate(ctx context.Context, body DcimSiteGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSiteGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSiteGroupsCreate(ctx context.Context, body DcimSiteGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSiteGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSiteGroupsBulkUpdate(ctx context.Context, body DcimSiteGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSiteGroupsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSiteGroupsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSiteGroupsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSiteGroupsPartialUpdate(ctx context.Context, id int, body DcimSiteGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSiteGroupsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSiteGroupsUpdate(ctx context.Context, id int, body DcimSiteGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSiteGroupsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSitesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSitesBulkDestroy(ctx context.Context, body DcimSitesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimVirtualChassisBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualChassisBulkDestroy(ctx context.Context, body DcimVirtualChassisBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) DcimVirtualDeviceContextsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualDeviceContextsBulkDestroy(ctx context.Context, body DcimVirtualDeviceContextsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualDeviceContextsList(ctx context.Context, params *DcimVirtualDeviceContextsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsListRequest(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) DcimVirtualDeviceContextsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualDeviceContextsBulkPartialUpdate(ctx context.Context, body DcimVirtualDeviceContextsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualDeviceContextsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualDeviceContextsCreate(ctx context.Context, body DcimVirtualDeviceContextsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualDeviceContextsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualDeviceContextsBulkUpdate(ctx context.Context, body DcimVirtualDeviceContextsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualDeviceContextsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualDeviceContextsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualDeviceContextsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualDeviceContextsPartialUpdate(ctx context.Context, id int, body DcimVirtualDeviceContextsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualDeviceContextsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualDeviceContextsUpdate(ctx context.Context, id int, body DcimVirtualDeviceContextsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualDeviceContextsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasBookmarksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasBookmarksBulkDestroy(ctx context.Context, body ExtrasBookmarksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasBookmarksList(ctx context.Context, params *ExtrasBookmarksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksListRequest(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) ExtrasBookmarksBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasBookmarksBulkPartialUpdate(ctx context.Context, body ExtrasBookmarksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasBookmarksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasBookmarksCreate(ctx context.Context, body ExtrasBookmarksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasBookmarksBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasBookmarksBulkUpdate(ctx context.Context, body ExtrasBookmarksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasBookmarksDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasBookmarksRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasBookmarksPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasBookmarksPartialUpdate(ctx context.Context, id int, body ExtrasBookmarksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasBookmarksUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasBookmarksUpdate(ctx context.Context, id int, body ExtrasBookmarksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasBookmarksUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigContextsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigContextsBulkDestroy(ctx context.Context, body ExtrasConfigContextsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) ExtrasConfigContextsSyncCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsSyncCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigContextsSyncCreate(ctx context.Context, id int, body ExtrasConfigContextsSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsSyncCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesBulkDestroy(ctx context.Context, body ExtrasConfigTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesList(ctx context.Context, params *ExtrasConfigTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesListRequest(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) ExtrasConfigTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesBulkPartialUpdate(ctx context.Context, body ExtrasConfigTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesCreate(ctx context.Context, body ExtrasConfigTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesBulkUpdate(ctx context.Context, body ExtrasConfigTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesPartialUpdate(ctx context.Context, id int, body ExtrasConfigTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesUpdate(ctx context.Context, id int, body ExtrasConfigTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesRenderCreateWithBody(ctx context.Context, id int, params *ExtrasConfigTemplatesRenderCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesRenderCreateRequestWithBody(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) ExtrasConfigTemplatesRenderCreate(ctx context.Context, id int, params *ExtrasConfigTemplatesRenderCreateParams, body ExtrasConfigTemplatesRenderCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesRenderCreateRequest(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) ExtrasConfigTemplatesSyncCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesSyncCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigTemplatesSyncCreate(ctx context.Context, id int, body ExtrasConfigTemplatesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigTemplatesSyncCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + 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) ExtrasCustomFieldChoiceSetsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoiceSetsBulkDestroy(ctx context.Context, body ExtrasCustomFieldChoiceSetsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoiceSetsList(ctx context.Context, params *ExtrasCustomFieldChoiceSetsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsListRequest(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) ExtrasCustomFieldChoiceSetsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoiceSetsBulkPartialUpdate(ctx context.Context, body ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoiceSetsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoiceSetsCreate(ctx context.Context, body ExtrasCustomFieldChoiceSetsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoiceSetsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoiceSetsBulkUpdate(ctx context.Context, body ExtrasCustomFieldChoiceSetsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoiceSetsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoiceSetsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoiceSetsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoiceSetsPartialUpdate(ctx context.Context, id int, body ExtrasCustomFieldChoiceSetsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoiceSetsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoiceSetsUpdate(ctx context.Context, id int, body ExtrasCustomFieldChoiceSetsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoiceSetsChoicesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoiceSetsChoicesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldsBulkDestroy(ctx context.Context, body ExtrasCustomFieldsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) ExtrasCustomLinksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomLinksBulkDestroy(ctx context.Context, body ExtrasCustomLinksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) ExtrasDashboardDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDashboardDestroyRequest(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) ExtrasDashboardRetrieve(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDashboardRetrieveRequest(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) ExtrasDashboardPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDashboardPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDashboardPartialUpdate(ctx context.Context, body ExtrasDashboardPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDashboardPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDashboardUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDashboardUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDashboardUpdate(ctx context.Context, body ExtrasDashboardUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDashboardUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasExportTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasExportTemplatesBulkDestroy(ctx context.Context, body ExtrasExportTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) ExtrasExportTemplatesSyncCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesSyncCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasExportTemplatesSyncCreate(ctx context.Context, id int, body ExtrasExportTemplatesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesSyncCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasImageAttachmentsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasImageAttachmentsBulkDestroy(ctx context.Context, body ExtrasImageAttachmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) ExtrasJournalEntriesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJournalEntriesBulkDestroy(ctx context.Context, body ExtrasJournalEntriesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJournalEntriesList(ctx context.Context, params *ExtrasJournalEntriesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesListRequest(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) ExtrasJournalEntriesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJournalEntriesBulkPartialUpdate(ctx context.Context, body ExtrasJournalEntriesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJournalEntriesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJournalEntriesCreate(ctx context.Context, body ExtrasJournalEntriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJournalEntriesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJournalEntriesBulkUpdate(ctx context.Context, body ExtrasJournalEntriesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJournalEntriesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJournalEntriesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJournalEntriesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJournalEntriesPartialUpdate(ctx context.Context, id int, body ExtrasJournalEntriesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJournalEntriesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJournalEntriesUpdate(ctx context.Context, id int, body ExtrasJournalEntriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJournalEntriesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + 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 int, 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) ExtrasSavedFiltersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSavedFiltersBulkDestroy(ctx context.Context, body ExtrasSavedFiltersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSavedFiltersList(ctx context.Context, params *ExtrasSavedFiltersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersListRequest(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) ExtrasSavedFiltersBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSavedFiltersBulkPartialUpdate(ctx context.Context, body ExtrasSavedFiltersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSavedFiltersCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSavedFiltersCreate(ctx context.Context, body ExtrasSavedFiltersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSavedFiltersBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSavedFiltersBulkUpdate(ctx context.Context, body ExtrasSavedFiltersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSavedFiltersDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSavedFiltersRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSavedFiltersPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSavedFiltersPartialUpdate(ctx context.Context, id int, body ExtrasSavedFiltersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSavedFiltersUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSavedFiltersUpdate(ctx context.Context, id int, body ExtrasSavedFiltersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSavedFiltersUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasTagsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasTagsBulkDestroy(ctx context.Context, body ExtrasTagsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) ExtrasWebhooksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasWebhooksBulkDestroy(ctx context.Context, body ExtrasWebhooksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) IpamAggregatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAggregatesBulkDestroy(ctx context.Context, body IpamAggregatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) IpamAsnRangesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesBulkDestroy(ctx context.Context, body IpamAsnRangesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesList(ctx context.Context, params *IpamAsnRangesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesListRequest(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) IpamAsnRangesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesBulkPartialUpdate(ctx context.Context, body IpamAsnRangesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesCreate(ctx context.Context, body IpamAsnRangesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesBulkUpdate(ctx context.Context, body IpamAsnRangesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesPartialUpdate(ctx context.Context, id int, body IpamAsnRangesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesUpdate(ctx context.Context, id int, body IpamAsnRangesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesAvailableAsnsList(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesAvailableAsnsListRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesAvailableAsnsCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesAvailableAsnsCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnRangesAvailableAsnsCreate(ctx context.Context, id int, body IpamAsnRangesAvailableAsnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnRangesAvailableAsnsCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnsBulkDestroy(ctx context.Context, body IpamAsnsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnsList(ctx context.Context, params *IpamAsnsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsListRequest(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) IpamAsnsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnsBulkPartialUpdate(ctx context.Context, body IpamAsnsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnsCreate(ctx context.Context, body IpamAsnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnsBulkUpdate(ctx context.Context, body IpamAsnsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnsPartialUpdate(ctx context.Context, id int, body IpamAsnsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAsnsUpdate(ctx context.Context, id int, body IpamAsnsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAsnsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupAssignmentsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupAssignmentsBulkDestroy(ctx context.Context, body IpamFhrpGroupAssignmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupAssignmentsList(ctx context.Context, params *IpamFhrpGroupAssignmentsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsListRequest(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) IpamFhrpGroupAssignmentsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupAssignmentsBulkPartialUpdate(ctx context.Context, body IpamFhrpGroupAssignmentsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupAssignmentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupAssignmentsCreate(ctx context.Context, body IpamFhrpGroupAssignmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupAssignmentsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupAssignmentsBulkUpdate(ctx context.Context, body IpamFhrpGroupAssignmentsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupAssignmentsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupAssignmentsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupAssignmentsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupAssignmentsPartialUpdate(ctx context.Context, id int, body IpamFhrpGroupAssignmentsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupAssignmentsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupAssignmentsUpdate(ctx context.Context, id int, body IpamFhrpGroupAssignmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupAssignmentsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupsBulkDestroy(ctx context.Context, body IpamFhrpGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupsList(ctx context.Context, params *IpamFhrpGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsListRequest(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) IpamFhrpGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupsBulkPartialUpdate(ctx context.Context, body IpamFhrpGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupsCreate(ctx context.Context, body IpamFhrpGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupsBulkUpdate(ctx context.Context, body IpamFhrpGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupsPartialUpdate(ctx context.Context, id int, body IpamFhrpGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamFhrpGroupsUpdate(ctx context.Context, id int, body IpamFhrpGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamFhrpGroupsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpAddressesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpAddressesBulkDestroy(ctx context.Context, body IpamIpAddressesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) IpamIpRangesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesBulkDestroy(ctx context.Context, body IpamIpRangesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesList(ctx context.Context, params *IpamIpRangesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesListRequest(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) IpamIpRangesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesBulkPartialUpdate(ctx context.Context, body IpamIpRangesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesCreate(ctx context.Context, body IpamIpRangesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesBulkUpdate(ctx context.Context, body IpamIpRangesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesPartialUpdate(ctx context.Context, id int, body IpamIpRangesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesUpdate(ctx context.Context, id int, body IpamIpRangesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesAvailableIpsList(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesAvailableIpsListRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesAvailableIpsCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesAvailableIpsCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpRangesAvailableIpsCreate(ctx context.Context, id int, body IpamIpRangesAvailableIpsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpRangesAvailableIpsCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnTerminationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnTerminationsBulkDestroy(ctx context.Context, body IpamL2vpnTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnTerminationsList(ctx context.Context, params *IpamL2vpnTerminationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsListRequest(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) IpamL2vpnTerminationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnTerminationsBulkPartialUpdate(ctx context.Context, body IpamL2vpnTerminationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnTerminationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnTerminationsCreate(ctx context.Context, body IpamL2vpnTerminationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnTerminationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnTerminationsBulkUpdate(ctx context.Context, body IpamL2vpnTerminationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnTerminationsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnTerminationsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnTerminationsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnTerminationsPartialUpdate(ctx context.Context, id int, body IpamL2vpnTerminationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnTerminationsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnTerminationsUpdate(ctx context.Context, id int, body IpamL2vpnTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnTerminationsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnsBulkDestroy(ctx context.Context, body IpamL2vpnsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnsList(ctx context.Context, params *IpamL2vpnsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsListRequest(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) IpamL2vpnsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnsBulkPartialUpdate(ctx context.Context, body IpamL2vpnsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnsCreate(ctx context.Context, body IpamL2vpnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnsBulkUpdate(ctx context.Context, body IpamL2vpnsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnsPartialUpdate(ctx context.Context, id int, body IpamL2vpnsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamL2vpnsUpdate(ctx context.Context, id int, body IpamL2vpnsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamL2vpnsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamPrefixesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamPrefixesBulkDestroy(ctx context.Context, body IpamPrefixesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesAvailableIpsListRequest(c.Server, id) + if err != nil { + return nil, err + } + 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 int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesAvailableIpsCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + 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 int, body IpamPrefixesAvailableIpsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesAvailableIpsCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + 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 int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesAvailablePrefixesListRequest(c.Server, id) + if err != nil { + return nil, err + } + 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 int, 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 int, 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) IpamRirsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRirsBulkDestroy(ctx context.Context, body IpamRirsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) IpamRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRolesBulkDestroy(ctx context.Context, body IpamRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) IpamRouteTargetsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRouteTargetsBulkDestroy(ctx context.Context, body IpamRouteTargetsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) IpamServiceTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServiceTemplatesBulkDestroy(ctx context.Context, body IpamServiceTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServiceTemplatesList(ctx context.Context, params *IpamServiceTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesListRequest(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) IpamServiceTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServiceTemplatesBulkPartialUpdate(ctx context.Context, body IpamServiceTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServiceTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServiceTemplatesCreate(ctx context.Context, body IpamServiceTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServiceTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServiceTemplatesBulkUpdate(ctx context.Context, body IpamServiceTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServiceTemplatesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServiceTemplatesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServiceTemplatesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServiceTemplatesPartialUpdate(ctx context.Context, id int, body IpamServiceTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServiceTemplatesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServiceTemplatesUpdate(ctx context.Context, id int, body IpamServiceTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServiceTemplatesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServicesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServicesBulkDestroy(ctx context.Context, body IpamServicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) IpamVlanGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlanGroupsBulkDestroy(ctx context.Context, body IpamVlanGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) IpamVlanGroupsAvailableVlansList(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsAvailableVlansListRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlanGroupsAvailableVlansCreateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsAvailableVlansCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlanGroupsAvailableVlansCreate(ctx context.Context, id int, body IpamVlanGroupsAvailableVlansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsAvailableVlansCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlansBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlansBulkDestroy(ctx context.Context, body IpamVlansBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) IpamVrfsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVrfsBulkDestroy(ctx context.Context, body IpamVrfsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) SchemaRetrieve(ctx context.Context, params *SchemaRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewSchemaRetrieveRequest(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) 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) TenancyContactAssignmentsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactAssignmentsBulkDestroy(ctx context.Context, body TenancyContactAssignmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactAssignmentsList(ctx context.Context, params *TenancyContactAssignmentsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsListRequest(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) TenancyContactAssignmentsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactAssignmentsBulkPartialUpdate(ctx context.Context, body TenancyContactAssignmentsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactAssignmentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactAssignmentsCreate(ctx context.Context, body TenancyContactAssignmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactAssignmentsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactAssignmentsBulkUpdate(ctx context.Context, body TenancyContactAssignmentsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactAssignmentsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactAssignmentsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactAssignmentsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactAssignmentsPartialUpdate(ctx context.Context, id int, body TenancyContactAssignmentsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactAssignmentsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactAssignmentsUpdate(ctx context.Context, id int, body TenancyContactAssignmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactAssignmentsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactGroupsBulkDestroy(ctx context.Context, body TenancyContactGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactGroupsList(ctx context.Context, params *TenancyContactGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsListRequest(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) TenancyContactGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactGroupsBulkPartialUpdate(ctx context.Context, body TenancyContactGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactGroupsCreate(ctx context.Context, body TenancyContactGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactGroupsBulkUpdate(ctx context.Context, body TenancyContactGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactGroupsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactGroupsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactGroupsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactGroupsPartialUpdate(ctx context.Context, id int, body TenancyContactGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactGroupsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactGroupsUpdate(ctx context.Context, id int, body TenancyContactGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactGroupsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactRolesBulkDestroy(ctx context.Context, body TenancyContactRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactRolesList(ctx context.Context, params *TenancyContactRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesListRequest(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) TenancyContactRolesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactRolesBulkPartialUpdate(ctx context.Context, body TenancyContactRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactRolesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactRolesCreate(ctx context.Context, body TenancyContactRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactRolesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactRolesBulkUpdate(ctx context.Context, body TenancyContactRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactRolesDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactRolesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactRolesPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactRolesPartialUpdate(ctx context.Context, id int, body TenancyContactRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactRolesUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactRolesUpdate(ctx context.Context, id int, body TenancyContactRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactRolesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactsBulkDestroy(ctx context.Context, body TenancyContactsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactsList(ctx context.Context, params *TenancyContactsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsListRequest(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) TenancyContactsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactsBulkPartialUpdate(ctx context.Context, body TenancyContactsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactsCreate(ctx context.Context, body TenancyContactsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactsBulkUpdate(ctx context.Context, body TenancyContactsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactsPartialUpdate(ctx context.Context, id int, body TenancyContactsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyContactsUpdate(ctx context.Context, id int, body TenancyContactsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyContactsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyTenantGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyTenantGroupsBulkDestroy(ctx context.Context, body TenancyTenantGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) TenancyTenantsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyTenantsBulkDestroy(ctx context.Context, body TenancyTenantsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) UsersGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UsersGroupsBulkDestroy(ctx context.Context, body UsersGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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) UsersPermissionsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UsersPermissionsBulkDestroy(ctx context.Context, body UsersPermissionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) UsersTokensBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UsersTokensBulkDestroy(ctx context.Context, body UsersTokensBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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) UsersTokensProvisionCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensProvisionCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UsersTokensProvisionCreate(ctx context.Context, body UsersTokensProvisionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensProvisionCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) UsersUsersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UsersUsersBulkDestroy(ctx context.Context, body UsersUsersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) VirtualizationClusterGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClusterGroupsBulkDestroy(ctx context.Context, body VirtualizationClusterGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) VirtualizationClusterTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClusterTypesBulkDestroy(ctx context.Context, body VirtualizationClusterTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) VirtualizationClustersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClustersBulkDestroy(ctx context.Context, body VirtualizationClustersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) VirtualizationInterfacesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationInterfacesBulkDestroy(ctx context.Context, body VirtualizationInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) VirtualizationVirtualMachinesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationVirtualMachinesBulkDestroy(ctx context.Context, body VirtualizationVirtualMachinesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) +} + +func (c *Client) WirelessWirelessLanGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLanGroupsBulkDestroy(ctx context.Context, body WirelessWirelessLanGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLanGroupsList(ctx context.Context, params *WirelessWirelessLanGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsListRequest(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) WirelessWirelessLanGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLanGroupsBulkPartialUpdate(ctx context.Context, body WirelessWirelessLanGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLanGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLanGroupsCreate(ctx context.Context, body WirelessWirelessLanGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLanGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLanGroupsBulkUpdate(ctx context.Context, body WirelessWirelessLanGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLanGroupsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLanGroupsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLanGroupsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLanGroupsPartialUpdate(ctx context.Context, id int, body WirelessWirelessLanGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLanGroupsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLanGroupsUpdate(ctx context.Context, id int, body WirelessWirelessLanGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLanGroupsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLansBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLansBulkDestroy(ctx context.Context, body WirelessWirelessLansBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLansList(ctx context.Context, params *WirelessWirelessLansListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansListRequest(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) WirelessWirelessLansBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLansBulkPartialUpdate(ctx context.Context, body WirelessWirelessLansBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLansCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLansCreate(ctx context.Context, body WirelessWirelessLansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLansBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLansBulkUpdate(ctx context.Context, body WirelessWirelessLansBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLansDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLansRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLansPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLansPartialUpdate(ctx context.Context, id int, body WirelessWirelessLansPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLansUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLansUpdate(ctx context.Context, id int, body WirelessWirelessLansUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLansUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLinksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLinksBulkDestroy(ctx context.Context, body WirelessWirelessLinksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLinksList(ctx context.Context, params *WirelessWirelessLinksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksListRequest(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) WirelessWirelessLinksBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLinksBulkPartialUpdate(ctx context.Context, body WirelessWirelessLinksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLinksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLinksCreate(ctx context.Context, body WirelessWirelessLinksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLinksBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLinksBulkUpdate(ctx context.Context, body WirelessWirelessLinksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLinksDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLinksRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLinksPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLinksPartialUpdate(ctx context.Context, id int, body WirelessWirelessLinksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLinksUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) WirelessWirelessLinksUpdate(ctx context.Context, id int, body WirelessWirelessLinksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewWirelessWirelessLinksUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +// NewCircuitsCircuitTerminationsBulkDestroyRequest calls the generic CircuitsCircuitTerminationsBulkDestroy builder with application/json body +func NewCircuitsCircuitTerminationsBulkDestroyRequest(server string, body CircuitsCircuitTerminationsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTerminationsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitTerminationsBulkDestroyRequestWithBody generates requests for CircuitsCircuitTerminationsBulkDestroy with any type of body +func NewCircuitsCircuitTerminationsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/circuits/circuit-terminations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.CableEnd != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end", runtime.ParamLocationQuery, *params.CableEnd); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableEndN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end__n", runtime.ParamLocationQuery, *params.CableEndN); err != nil { + return nil, err + } else if parsed, err := 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.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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Occupied != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "occupied", runtime.ParamLocationQuery, *params.Occupied); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.PortSpeedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port_speed__empty", runtime.ParamLocationQuery, *params.PortSpeedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.UpstreamSpeedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "upstream_speed__empty", runtime.ParamLocationQuery, *params.UpstreamSpeedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.XconnectIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id__empty", runtime.ParamLocationQuery, *params.XconnectIdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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) + } + } + } + + } + + 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewCircuitsCircuitTerminationsPathsRetrieveRequest generates requests for CircuitsCircuitTerminationsPathsRetrieve +func NewCircuitsCircuitTerminationsPathsRetrieveRequest(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("/api/circuits/circuit-terminations/%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 +} + +// NewCircuitsCircuitTypesBulkDestroyRequest calls the generic CircuitsCircuitTypesBulkDestroy builder with application/json body +func NewCircuitsCircuitTypesBulkDestroyRequest(server string, body CircuitsCircuitTypesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTypesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitTypesBulkDestroyRequestWithBody generates requests for CircuitsCircuitTypesBulkDestroy with any type of body +func NewCircuitsCircuitTypesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/circuits/circuit-types/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic CircuitsCircuitsBulkDestroy builder with application/json body +func NewCircuitsCircuitsBulkDestroyRequest(server string, body CircuitsCircuitsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitsBulkDestroyRequestWithBody generates requests for CircuitsCircuitsBulkDestroy with any type of body +func NewCircuitsCircuitsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/circuits/circuits/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CidEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid__empty", runtime.ParamLocationQuery, *params.CidEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.CommitRateEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "commit_rate__empty", runtime.ParamLocationQuery, *params.CommitRateEmpty); err != nil { + return nil, err + } else if parsed, err := 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.Contact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact", runtime.ParamLocationQuery, *params.Contact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact__n", runtime.ParamLocationQuery, *params.ContactN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group", runtime.ParamLocationQuery, *params.ContactGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group__n", runtime.ParamLocationQuery, *params.ContactGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role", runtime.ParamLocationQuery, *params.ContactRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role__n", runtime.ParamLocationQuery, *params.ContactRoleN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.InstallDateEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "install_date__empty", runtime.ParamLocationQuery, *params.InstallDateEmpty); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.ProviderAccountId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider_account_id", runtime.ParamLocationQuery, *params.ProviderAccountId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderAccountIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider_account_id__n", runtime.ParamLocationQuery, *params.ProviderAccountIdN); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.TerminationDate != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_date", runtime.ParamLocationQuery, *params.TerminationDate); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationDateEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_date__empty", runtime.ParamLocationQuery, *params.TerminationDateEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationDateGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_date__gt", runtime.ParamLocationQuery, *params.TerminationDateGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationDateGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_date__gte", runtime.ParamLocationQuery, *params.TerminationDateGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationDateLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_date__lt", runtime.ParamLocationQuery, *params.TerminationDateLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationDateLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_date__lte", runtime.ParamLocationQuery, *params.TerminationDateLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationDateN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_date__n", runtime.ParamLocationQuery, *params.TerminationDateN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewCircuitsProviderAccountsBulkDestroyRequest calls the generic CircuitsProviderAccountsBulkDestroy builder with application/json body +func NewCircuitsProviderAccountsBulkDestroyRequest(server string, body CircuitsProviderAccountsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProviderAccountsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsProviderAccountsBulkDestroyRequestWithBody generates requests for CircuitsProviderAccountsBulkDestroy with any type of body +func NewCircuitsProviderAccountsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/circuits/provider-accounts/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewCircuitsProviderAccountsListRequest generates requests for CircuitsProviderAccountsList +func NewCircuitsProviderAccountsListRequest(server string, params *CircuitsProviderAccountsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/circuits/provider-accounts/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.AccountEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account__empty", runtime.ParamLocationQuery, *params.AccountEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewCircuitsProviderAccountsBulkPartialUpdateRequest calls the generic CircuitsProviderAccountsBulkPartialUpdate builder with application/json body +func NewCircuitsProviderAccountsBulkPartialUpdateRequest(server string, body CircuitsProviderAccountsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProviderAccountsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsProviderAccountsBulkPartialUpdateRequestWithBody generates requests for CircuitsProviderAccountsBulkPartialUpdate with any type of body +func NewCircuitsProviderAccountsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/circuits/provider-accounts/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewCircuitsProviderAccountsCreateRequest calls the generic CircuitsProviderAccountsCreate builder with application/json body +func NewCircuitsProviderAccountsCreateRequest(server string, body CircuitsProviderAccountsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProviderAccountsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsProviderAccountsCreateRequestWithBody generates requests for CircuitsProviderAccountsCreate with any type of body +func NewCircuitsProviderAccountsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/circuits/provider-accounts/") + 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 +} + +// NewCircuitsProviderAccountsBulkUpdateRequest calls the generic CircuitsProviderAccountsBulkUpdate builder with application/json body +func NewCircuitsProviderAccountsBulkUpdateRequest(server string, body CircuitsProviderAccountsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProviderAccountsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsProviderAccountsBulkUpdateRequestWithBody generates requests for CircuitsProviderAccountsBulkUpdate with any type of body +func NewCircuitsProviderAccountsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/circuits/provider-accounts/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewCircuitsProviderAccountsDestroyRequest generates requests for CircuitsProviderAccountsDestroy +func NewCircuitsProviderAccountsDestroyRequest(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("/api/circuits/provider-accounts/%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 +} + +// NewCircuitsProviderAccountsRetrieveRequest generates requests for CircuitsProviderAccountsRetrieve +func NewCircuitsProviderAccountsRetrieveRequest(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("/api/circuits/provider-accounts/%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 +} + +// NewCircuitsProviderAccountsPartialUpdateRequest calls the generic CircuitsProviderAccountsPartialUpdate builder with application/json body +func NewCircuitsProviderAccountsPartialUpdateRequest(server string, id int, body CircuitsProviderAccountsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProviderAccountsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsProviderAccountsPartialUpdateRequestWithBody generates requests for CircuitsProviderAccountsPartialUpdate with any type of body +func NewCircuitsProviderAccountsPartialUpdateRequestWithBody(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("/api/circuits/provider-accounts/%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 +} + +// NewCircuitsProviderAccountsUpdateRequest calls the generic CircuitsProviderAccountsUpdate builder with application/json body +func NewCircuitsProviderAccountsUpdateRequest(server string, id int, body CircuitsProviderAccountsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProviderAccountsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsProviderAccountsUpdateRequestWithBody generates requests for CircuitsProviderAccountsUpdate with any type of body +func NewCircuitsProviderAccountsUpdateRequestWithBody(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("/api/circuits/provider-accounts/%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 calls the generic CircuitsProviderNetworksBulkDestroy builder with application/json body +func NewCircuitsProviderNetworksBulkDestroyRequest(server string, body CircuitsProviderNetworksBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProviderNetworksBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsProviderNetworksBulkDestroyRequestWithBody generates requests for CircuitsProviderNetworksBulkDestroy with any type of body +func NewCircuitsProviderNetworksBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/circuits/provider-networks/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.ServiceId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "service_id", runtime.ParamLocationQuery, *params.ServiceId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ServiceIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "service_id__empty", runtime.ParamLocationQuery, *params.ServiceIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ServiceIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "service_id__ic", runtime.ParamLocationQuery, *params.ServiceIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ServiceIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "service_id__ie", runtime.ParamLocationQuery, *params.ServiceIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ServiceIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "service_id__iew", runtime.ParamLocationQuery, *params.ServiceIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ServiceIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "service_id__isw", runtime.ParamLocationQuery, *params.ServiceIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ServiceIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "service_id__n", runtime.ParamLocationQuery, *params.ServiceIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ServiceIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "service_id__nic", runtime.ParamLocationQuery, *params.ServiceIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ServiceIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "service_id__nie", runtime.ParamLocationQuery, *params.ServiceIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ServiceIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "service_id__niew", runtime.ParamLocationQuery, *params.ServiceIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ServiceIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "service_id__nisw", runtime.ParamLocationQuery, *params.ServiceIdNisw); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic CircuitsProvidersBulkDestroy builder with application/json body +func NewCircuitsProvidersBulkDestroyRequest(server string, body CircuitsProvidersBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProvidersBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsProvidersBulkDestroyRequestWithBody generates requests for CircuitsProvidersBulkDestroy with any type of body +func NewCircuitsProvidersBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/circuits/providers/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.AsnId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asn_id", runtime.ParamLocationQuery, *params.AsnId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AsnIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asn_id__n", runtime.ParamLocationQuery, *params.AsnIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Contact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact", runtime.ParamLocationQuery, *params.Contact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact__n", runtime.ParamLocationQuery, *params.ContactN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group", runtime.ParamLocationQuery, *params.ContactGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group__n", runtime.ParamLocationQuery, *params.ContactGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role", runtime.ParamLocationQuery, *params.ContactRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role__n", runtime.ParamLocationQuery, *params.ContactRoleN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewCoreDataFilesListRequest generates requests for CoreDataFilesList +func NewCoreDataFilesListRequest(server string, params *CoreDataFilesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/core/data-files/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Hash != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "hash", runtime.ParamLocationQuery, *params.Hash); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HashEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "hash__empty", runtime.ParamLocationQuery, *params.HashEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HashIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "hash__ic", runtime.ParamLocationQuery, *params.HashIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HashIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "hash__ie", runtime.ParamLocationQuery, *params.HashIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HashIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "hash__iew", runtime.ParamLocationQuery, *params.HashIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HashIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "hash__isw", runtime.ParamLocationQuery, *params.HashIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HashN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "hash__n", runtime.ParamLocationQuery, *params.HashN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HashNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "hash__nic", runtime.ParamLocationQuery, *params.HashNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HashNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "hash__nie", runtime.ParamLocationQuery, *params.HashNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HashNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "hash__niew", runtime.ParamLocationQuery, *params.HashNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HashNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "hash__nisw", runtime.ParamLocationQuery, *params.HashNisw); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Path != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "path", runtime.ParamLocationQuery, *params.Path); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PathEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "path__empty", runtime.ParamLocationQuery, *params.PathEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PathIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "path__ic", runtime.ParamLocationQuery, *params.PathIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PathIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "path__ie", runtime.ParamLocationQuery, *params.PathIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PathIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "path__iew", runtime.ParamLocationQuery, *params.PathIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PathIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "path__isw", runtime.ParamLocationQuery, *params.PathIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PathN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "path__n", runtime.ParamLocationQuery, *params.PathN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PathNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "path__nic", runtime.ParamLocationQuery, *params.PathNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PathNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "path__nie", runtime.ParamLocationQuery, *params.PathNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PathNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "path__niew", runtime.ParamLocationQuery, *params.PathNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PathNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "path__nisw", runtime.ParamLocationQuery, *params.PathNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Size != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size", runtime.ParamLocationQuery, *params.Size); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SizeEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size__empty", runtime.ParamLocationQuery, *params.SizeEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SizeGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size__gt", runtime.ParamLocationQuery, *params.SizeGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SizeGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size__gte", runtime.ParamLocationQuery, *params.SizeGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SizeLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size__lt", runtime.ParamLocationQuery, *params.SizeLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SizeLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size__lte", runtime.ParamLocationQuery, *params.SizeLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SizeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size__n", runtime.ParamLocationQuery, *params.SizeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewCoreDataFilesRetrieveRequest generates requests for CoreDataFilesRetrieve +func NewCoreDataFilesRetrieveRequest(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("/api/core/data-files/%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 +} + +// NewCoreDataSourcesBulkDestroyRequest calls the generic CoreDataSourcesBulkDestroy builder with application/json body +func NewCoreDataSourcesBulkDestroyRequest(server string, body CoreDataSourcesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCoreDataSourcesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewCoreDataSourcesBulkDestroyRequestWithBody generates requests for CoreDataSourcesBulkDestroy with any type of body +func NewCoreDataSourcesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/core/data-sources/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewCoreDataSourcesListRequest generates requests for CoreDataSourcesList +func NewCoreDataSourcesListRequest(server string, params *CoreDataSourcesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/core/data-sources/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Tag != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag__n", runtime.ParamLocationQuery, *params.TagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewCoreDataSourcesBulkPartialUpdateRequest calls the generic CoreDataSourcesBulkPartialUpdate builder with application/json body +func NewCoreDataSourcesBulkPartialUpdateRequest(server string, body CoreDataSourcesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCoreDataSourcesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCoreDataSourcesBulkPartialUpdateRequestWithBody generates requests for CoreDataSourcesBulkPartialUpdate with any type of body +func NewCoreDataSourcesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/core/data-sources/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewCoreDataSourcesCreateRequest calls the generic CoreDataSourcesCreate builder with application/json body +func NewCoreDataSourcesCreateRequest(server string, body CoreDataSourcesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCoreDataSourcesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCoreDataSourcesCreateRequestWithBody generates requests for CoreDataSourcesCreate with any type of body +func NewCoreDataSourcesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/core/data-sources/") + 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 +} + +// NewCoreDataSourcesBulkUpdateRequest calls the generic CoreDataSourcesBulkUpdate builder with application/json body +func NewCoreDataSourcesBulkUpdateRequest(server string, body CoreDataSourcesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCoreDataSourcesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCoreDataSourcesBulkUpdateRequestWithBody generates requests for CoreDataSourcesBulkUpdate with any type of body +func NewCoreDataSourcesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/core/data-sources/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewCoreDataSourcesDestroyRequest generates requests for CoreDataSourcesDestroy +func NewCoreDataSourcesDestroyRequest(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("/api/core/data-sources/%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 +} + +// NewCoreDataSourcesRetrieveRequest generates requests for CoreDataSourcesRetrieve +func NewCoreDataSourcesRetrieveRequest(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("/api/core/data-sources/%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 +} + +// NewCoreDataSourcesPartialUpdateRequest calls the generic CoreDataSourcesPartialUpdate builder with application/json body +func NewCoreDataSourcesPartialUpdateRequest(server string, id int, body CoreDataSourcesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCoreDataSourcesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCoreDataSourcesPartialUpdateRequestWithBody generates requests for CoreDataSourcesPartialUpdate with any type of body +func NewCoreDataSourcesPartialUpdateRequestWithBody(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("/api/core/data-sources/%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 +} + +// NewCoreDataSourcesUpdateRequest calls the generic CoreDataSourcesUpdate builder with application/json body +func NewCoreDataSourcesUpdateRequest(server string, id int, body CoreDataSourcesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCoreDataSourcesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCoreDataSourcesUpdateRequestWithBody generates requests for CoreDataSourcesUpdate with any type of body +func NewCoreDataSourcesUpdateRequestWithBody(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("/api/core/data-sources/%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 +} + +// NewCoreDataSourcesSyncCreateRequest calls the generic CoreDataSourcesSyncCreate builder with application/json body +func NewCoreDataSourcesSyncCreateRequest(server string, id int, body CoreDataSourcesSyncCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCoreDataSourcesSyncCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCoreDataSourcesSyncCreateRequestWithBody generates requests for CoreDataSourcesSyncCreate with any type of body +func NewCoreDataSourcesSyncCreateRequestWithBody(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("/api/core/data-sources/%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 +} + +// NewCoreJobsListRequest generates requests for CoreJobsList +func NewCoreJobsListRequest(server string, params *CoreJobsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/core/jobs/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CompletedAfter != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "completed__after", runtime.ParamLocationQuery, *params.CompletedAfter); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CompletedBefore != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "completed__before", runtime.ParamLocationQuery, *params.CompletedBefore); err != nil { + return nil, err + } else if parsed, err := 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.CreatedAfter != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__after", runtime.ParamLocationQuery, *params.CreatedAfter); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedBefore != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__before", runtime.ParamLocationQuery, *params.CreatedBefore); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.Interval != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interval", runtime.ParamLocationQuery, *params.Interval); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IntervalEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interval__empty", runtime.ParamLocationQuery, *params.IntervalEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IntervalGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interval__gt", runtime.ParamLocationQuery, *params.IntervalGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IntervalGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interval__gte", runtime.ParamLocationQuery, *params.IntervalGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IntervalLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interval__lt", runtime.ParamLocationQuery, *params.IntervalLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IntervalLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interval__lte", runtime.ParamLocationQuery, *params.IntervalLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IntervalN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interval__n", runtime.ParamLocationQuery, *params.IntervalN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.ObjectIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__empty", runtime.ParamLocationQuery, *params.ObjectIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__gt", runtime.ParamLocationQuery, *params.ObjectIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__gte", runtime.ParamLocationQuery, *params.ObjectIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__lt", runtime.ParamLocationQuery, *params.ObjectIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__lte", runtime.ParamLocationQuery, *params.ObjectIdLte); err != nil { + return nil, err + } else if parsed, err := 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.ObjectType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type", runtime.ParamLocationQuery, *params.ObjectType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__n", runtime.ParamLocationQuery, *params.ObjectTypeN); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.Scheduled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "scheduled", runtime.ParamLocationQuery, *params.Scheduled); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ScheduledAfter != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "scheduled__after", runtime.ParamLocationQuery, *params.ScheduledAfter); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ScheduledBefore != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "scheduled__before", runtime.ParamLocationQuery, *params.ScheduledBefore); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Started != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "started", runtime.ParamLocationQuery, *params.Started); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StartedAfter != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "started__after", runtime.ParamLocationQuery, *params.StartedAfter); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StartedBefore != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "started__before", runtime.ParamLocationQuery, *params.StartedBefore); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewCoreJobsRetrieveRequest generates requests for CoreJobsRetrieve +func NewCoreJobsRetrieveRequest(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("/api/core/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 +} + +// NewDcimCableTerminationsBulkDestroyRequest calls the generic DcimCableTerminationsBulkDestroy builder with application/json body +func NewDcimCableTerminationsBulkDestroyRequest(server string, body DcimCableTerminationsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimCableTerminationsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimCableTerminationsBulkDestroyRequestWithBody generates requests for DcimCableTerminationsBulkDestroy with any type of body +func NewDcimCableTerminationsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/cable-terminations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimCableTerminationsListRequest generates requests for DcimCableTerminationsList +func NewDcimCableTerminationsListRequest(server string, params *DcimCableTerminationsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/cable-terminations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Cable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable", runtime.ParamLocationQuery, *params.Cable); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable__n", runtime.ParamLocationQuery, *params.CableN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableEnd != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end", runtime.ParamLocationQuery, *params.CableEnd); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableEndN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end__n", runtime.ParamLocationQuery, *params.CableEndN); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_id", runtime.ParamLocationQuery, *params.TerminationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_id__empty", runtime.ParamLocationQuery, *params.TerminationIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_id__gt", runtime.ParamLocationQuery, *params.TerminationIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_id__gte", runtime.ParamLocationQuery, *params.TerminationIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_id__lt", runtime.ParamLocationQuery, *params.TerminationIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_id__lte", runtime.ParamLocationQuery, *params.TerminationIdLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_id__n", runtime.ParamLocationQuery, *params.TerminationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_type", runtime.ParamLocationQuery, *params.TerminationType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_type__n", runtime.ParamLocationQuery, *params.TerminationTypeN); err != nil { + return nil, err + } else if 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 +} + +// NewDcimCableTerminationsBulkPartialUpdateRequest calls the generic DcimCableTerminationsBulkPartialUpdate builder with application/json body +func NewDcimCableTerminationsBulkPartialUpdateRequest(server string, body DcimCableTerminationsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimCableTerminationsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimCableTerminationsBulkPartialUpdateRequestWithBody generates requests for DcimCableTerminationsBulkPartialUpdate with any type of body +func NewDcimCableTerminationsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/cable-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 +} + +// NewDcimCableTerminationsCreateRequest calls the generic DcimCableTerminationsCreate builder with application/json body +func NewDcimCableTerminationsCreateRequest(server string, body DcimCableTerminationsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimCableTerminationsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimCableTerminationsCreateRequestWithBody generates requests for DcimCableTerminationsCreate with any type of body +func NewDcimCableTerminationsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/cable-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 +} + +// NewDcimCableTerminationsBulkUpdateRequest calls the generic DcimCableTerminationsBulkUpdate builder with application/json body +func NewDcimCableTerminationsBulkUpdateRequest(server string, body DcimCableTerminationsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimCableTerminationsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimCableTerminationsBulkUpdateRequestWithBody generates requests for DcimCableTerminationsBulkUpdate with any type of body +func NewDcimCableTerminationsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/cable-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 +} + +// NewDcimCableTerminationsDestroyRequest generates requests for DcimCableTerminationsDestroy +func NewDcimCableTerminationsDestroyRequest(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("/api/dcim/cable-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 +} + +// NewDcimCableTerminationsRetrieveRequest generates requests for DcimCableTerminationsRetrieve +func NewDcimCableTerminationsRetrieveRequest(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("/api/dcim/cable-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 +} + +// NewDcimCableTerminationsPartialUpdateRequest calls the generic DcimCableTerminationsPartialUpdate builder with application/json body +func NewDcimCableTerminationsPartialUpdateRequest(server string, id int, body DcimCableTerminationsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimCableTerminationsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimCableTerminationsPartialUpdateRequestWithBody generates requests for DcimCableTerminationsPartialUpdate with any type of body +func NewDcimCableTerminationsPartialUpdateRequestWithBody(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("/api/dcim/cable-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 +} + +// NewDcimCableTerminationsUpdateRequest calls the generic DcimCableTerminationsUpdate builder with application/json body +func NewDcimCableTerminationsUpdateRequest(server string, id int, body DcimCableTerminationsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimCableTerminationsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimCableTerminationsUpdateRequestWithBody generates requests for DcimCableTerminationsUpdate with any type of body +func NewDcimCableTerminationsUpdateRequestWithBody(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("/api/dcim/cable-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 +} + +// NewDcimCablesBulkDestroyRequest calls the generic DcimCablesBulkDestroy builder with application/json body +func NewDcimCablesBulkDestroyRequest(server string, body DcimCablesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimCablesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimCablesBulkDestroyRequestWithBody generates requests for DcimCablesBulkDestroy with any type of body +func NewDcimCablesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/cables/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LabelEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__empty", runtime.ParamLocationQuery, *params.LabelEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.LengthEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "length__empty", runtime.ParamLocationQuery, *params.LengthEmpty); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.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.TerminationAId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id", runtime.ParamLocationQuery, *params.TerminationAId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_type", runtime.ParamLocationQuery, *params.TerminationAType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationATypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_type__n", runtime.ParamLocationQuery, *params.TerminationATypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id", runtime.ParamLocationQuery, *params.TerminationBId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_type", runtime.ParamLocationQuery, *params.TerminationBType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_type__n", runtime.ParamLocationQuery, *params.TerminationBTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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("/api/dcim/connected-device/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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 +} + +// NewDcimConsolePortTemplatesBulkDestroyRequest calls the generic DcimConsolePortTemplatesBulkDestroy builder with application/json body +func NewDcimConsolePortTemplatesBulkDestroyRequest(server string, body DcimConsolePortTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsolePortTemplatesBulkDestroyRequestWithBody generates requests for DcimConsolePortTemplatesBulkDestroy with any type of body +func NewDcimConsolePortTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/console-port-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuletypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "moduletype_id", runtime.ParamLocationQuery, *params.ModuletypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuletypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "moduletype_id__n", runtime.ParamLocationQuery, *params.ModuletypeIdN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimConsolePortsBulkDestroy builder with application/json body +func NewDcimConsolePortsBulkDestroyRequest(server string, body DcimConsolePortsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsolePortsBulkDestroyRequestWithBody generates requests for DcimConsolePortsBulkDestroy with any type of body +func NewDcimConsolePortsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/console-ports/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.CableEnd != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end", runtime.ParamLocationQuery, *params.CableEnd); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableEndN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end__n", runtime.ParamLocationQuery, *params.CableEndN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.DeviceRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role", runtime.ParamLocationQuery, *params.DeviceRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role__n", runtime.ParamLocationQuery, *params.DeviceRoleN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id", runtime.ParamLocationQuery, *params.DeviceRoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id__n", runtime.ParamLocationQuery, *params.DeviceRoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LabelEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__empty", runtime.ParamLocationQuery, *params.LabelEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_id", runtime.ParamLocationQuery, *params.ModuleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_id__n", runtime.ParamLocationQuery, *params.ModuleIdN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.Occupied != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "occupied", runtime.ParamLocationQuery, *params.Occupied); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.RackN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack__n", runtime.ParamLocationQuery, *params.RackN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { + return nil, err + } else if parsed, err := 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.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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassis != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis", runtime.ParamLocationQuery, *params.VirtualChassis); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassisN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis__n", runtime.ParamLocationQuery, *params.VirtualChassisN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 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("/api/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 calls the generic DcimConsoleServerPortTemplatesBulkDestroy builder with application/json body +func NewDcimConsoleServerPortTemplatesBulkDestroyRequest(server string, body DcimConsoleServerPortTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortTemplatesBulkDestroyRequestWithBody generates requests for DcimConsoleServerPortTemplatesBulkDestroy with any type of body +func NewDcimConsoleServerPortTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/console-server-port-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuletypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "moduletype_id", runtime.ParamLocationQuery, *params.ModuletypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuletypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "moduletype_id__n", runtime.ParamLocationQuery, *params.ModuletypeIdN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimConsoleServerPortsBulkDestroy builder with application/json body +func NewDcimConsoleServerPortsBulkDestroyRequest(server string, body DcimConsoleServerPortsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortsBulkDestroyRequestWithBody generates requests for DcimConsoleServerPortsBulkDestroy with any type of body +func NewDcimConsoleServerPortsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/console-server-ports/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.CableEnd != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end", runtime.ParamLocationQuery, *params.CableEnd); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableEndN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end__n", runtime.ParamLocationQuery, *params.CableEndN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.DeviceRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role", runtime.ParamLocationQuery, *params.DeviceRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role__n", runtime.ParamLocationQuery, *params.DeviceRoleN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id", runtime.ParamLocationQuery, *params.DeviceRoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id__n", runtime.ParamLocationQuery, *params.DeviceRoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LabelEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__empty", runtime.ParamLocationQuery, *params.LabelEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_id", runtime.ParamLocationQuery, *params.ModuleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_id__n", runtime.ParamLocationQuery, *params.ModuleIdN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.Occupied != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "occupied", runtime.ParamLocationQuery, *params.Occupied); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.RackN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack__n", runtime.ParamLocationQuery, *params.RackN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { + return nil, err + } else if parsed, err := 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.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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassis != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis", runtime.ParamLocationQuery, *params.VirtualChassis); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassisN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis__n", runtime.ParamLocationQuery, *params.VirtualChassisN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 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("/api/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 calls the generic DcimDeviceBayTemplatesBulkDestroy builder with application/json body +func NewDcimDeviceBayTemplatesBulkDestroyRequest(server string, body DcimDeviceBayTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBayTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceBayTemplatesBulkDestroyRequestWithBody generates requests for DcimDeviceBayTemplatesBulkDestroy with any type of body +func NewDcimDeviceBayTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/device-bay-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimDeviceBaysBulkDestroy builder with application/json body +func NewDcimDeviceBaysBulkDestroyRequest(server string, body DcimDeviceBaysBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBaysBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceBaysBulkDestroyRequestWithBody generates requests for DcimDeviceBaysBulkDestroy with any type of body +func NewDcimDeviceBaysBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/device-bays/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.DeviceRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role", runtime.ParamLocationQuery, *params.DeviceRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role__n", runtime.ParamLocationQuery, *params.DeviceRoleN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id", runtime.ParamLocationQuery, *params.DeviceRoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id__n", runtime.ParamLocationQuery, *params.DeviceRoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LabelEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__empty", runtime.ParamLocationQuery, *params.LabelEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.RackN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack__n", runtime.ParamLocationQuery, *params.RackN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { + return nil, err + } else if parsed, err := 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.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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassis != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis", runtime.ParamLocationQuery, *params.VirtualChassis); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassisN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis__n", runtime.ParamLocationQuery, *params.VirtualChassisN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimDeviceRolesBulkDestroy builder with application/json body +func NewDcimDeviceRolesBulkDestroyRequest(server string, body DcimDeviceRolesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRolesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceRolesBulkDestroyRequestWithBody generates requests for DcimDeviceRolesBulkDestroy with any type of body +func NewDcimDeviceRolesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/device-roles/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.ColorEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__empty", runtime.ParamLocationQuery, *params.ColorEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.ConfigTemplateId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "config_template_id", runtime.ParamLocationQuery, *params.ConfigTemplateId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ConfigTemplateIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "config_template_id__n", runtime.ParamLocationQuery, *params.ConfigTemplateIdN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimDeviceTypesBulkDestroy builder with application/json body +func NewDcimDeviceTypesBulkDestroyRequest(server string, body DcimDeviceTypesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceTypesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceTypesBulkDestroyRequestWithBody generates requests for DcimDeviceTypesBulkDestroy with any type of body +func NewDcimDeviceTypesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/device-types/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Airflow != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "airflow", runtime.ParamLocationQuery, *params.Airflow); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AirflowN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "airflow__n", runtime.ParamLocationQuery, *params.AirflowN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DefaultPlatform != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "default_platform", runtime.ParamLocationQuery, *params.DefaultPlatform); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DefaultPlatformN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "default_platform__n", runtime.ParamLocationQuery, *params.DefaultPlatformN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DefaultPlatformId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "default_platform_id", runtime.ParamLocationQuery, *params.DefaultPlatformId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DefaultPlatformIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "default_platform_id__n", runtime.ParamLocationQuery, *params.DefaultPlatformIdN); err != nil { + return nil, err + } else if parsed, err := 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.HasFrontImage != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_front_image", runtime.ParamLocationQuery, *params.HasFrontImage); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasRearImage != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_rear_image", runtime.ParamLocationQuery, *params.HasRearImage); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModelEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__empty", runtime.ParamLocationQuery, *params.ModelEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleBays != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_bays", runtime.ParamLocationQuery, *params.ModuleBays); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.PartNumberEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__empty", runtime.ParamLocationQuery, *params.PartNumberEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UHeightEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__empty", runtime.ParamLocationQuery, *params.UHeightEmpty); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.WeightEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__empty", runtime.ParamLocationQuery, *params.WeightEmpty); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.WeightUnit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight_unit", runtime.ParamLocationQuery, *params.WeightUnit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WeightUnitN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight_unit__n", runtime.ParamLocationQuery, *params.WeightUnitN); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimDevicesBulkDestroy builder with application/json body +func NewDcimDevicesBulkDestroyRequest(server string, body DcimDevicesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDevicesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDevicesBulkDestroyRequestWithBody generates requests for DcimDevicesBulkDestroy with any type of body +func NewDcimDevicesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/devices/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Airflow != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "airflow", runtime.ParamLocationQuery, *params.Airflow); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AirflowN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "airflow__n", runtime.ParamLocationQuery, *params.AirflowN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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.AssetTagEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__empty", runtime.ParamLocationQuery, *params.AssetTagEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.ConfigTemplateId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "config_template_id", runtime.ParamLocationQuery, *params.ConfigTemplateId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ConfigTemplateIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "config_template_id__n", runtime.ParamLocationQuery, *params.ConfigTemplateIdN); err != nil { + return nil, err + } else if parsed, err := 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.Contact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact", runtime.ParamLocationQuery, *params.Contact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact__n", runtime.ParamLocationQuery, *params.ContactN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group", runtime.ParamLocationQuery, *params.ContactGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group__n", runtime.ParamLocationQuery, *params.ContactGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role", runtime.ParamLocationQuery, *params.ContactRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role__n", runtime.ParamLocationQuery, *params.ContactRoleN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.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.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.HasOobIp != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_oob_ip", runtime.ParamLocationQuery, *params.HasOobIp); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.LatitudeEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "latitude__empty", runtime.ParamLocationQuery, *params.LatitudeEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.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.LongitudeEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "longitude__empty", runtime.ParamLocationQuery, *params.LongitudeEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleBays != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_bays", runtime.ParamLocationQuery, *params.ModuleBays); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.OobIpId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "oob_ip_id", runtime.ParamLocationQuery, *params.OobIpId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OobIpIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "oob_ip_id__n", runtime.ParamLocationQuery, *params.OobIpIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ParentDeviceId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_device_id", runtime.ParamLocationQuery, *params.ParentDeviceId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ParentDeviceIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_device_id__n", runtime.ParamLocationQuery, *params.ParentDeviceIdN); err != nil { + return nil, err + } else if parsed, err := 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.PositionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "position__empty", runtime.ParamLocationQuery, *params.PositionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.PrimaryIp4Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "primary_ip4_id", runtime.ParamLocationQuery, *params.PrimaryIp4Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PrimaryIp4IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "primary_ip4_id__n", runtime.ParamLocationQuery, *params.PrimaryIp4IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PrimaryIp6Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "primary_ip6_id", runtime.ParamLocationQuery, *params.PrimaryIp6Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PrimaryIp6IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "primary_ip6_id__n", runtime.ParamLocationQuery, *params.PrimaryIp6IdN); err != nil { + return nil, err + } else if parsed, err := 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.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.SerialEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__empty", runtime.ParamLocationQuery, *params.SerialEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__ic", runtime.ParamLocationQuery, *params.SerialIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__ie", runtime.ParamLocationQuery, *params.SerialIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__iew", runtime.ParamLocationQuery, *params.SerialIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__isw", runtime.ParamLocationQuery, *params.SerialIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__n", runtime.ParamLocationQuery, *params.SerialN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__nic", runtime.ParamLocationQuery, *params.SerialNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__nie", runtime.ParamLocationQuery, *params.SerialNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__niew", runtime.ParamLocationQuery, *params.SerialNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__nisw", runtime.ParamLocationQuery, *params.SerialNisw); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.VcPositionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vc_position__empty", runtime.ParamLocationQuery, *params.VcPositionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.VcPriorityEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vc_priority__empty", runtime.ParamLocationQuery, *params.VcPriorityEmpty); err != nil { + return nil, err + } else if parsed, err := 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewDcimDevicesRenderConfigCreateRequest calls the generic DcimDevicesRenderConfigCreate builder with application/json body +func NewDcimDevicesRenderConfigCreateRequest(server string, id int, params *DcimDevicesRenderConfigCreateParams, body DcimDevicesRenderConfigCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDevicesRenderConfigCreateRequestWithBody(server, id, params, "application/json", bodyReader) +} + +// NewDcimDevicesRenderConfigCreateRequestWithBody generates requests for DcimDevicesRenderConfigCreate with any type of body +func NewDcimDevicesRenderConfigCreateRequestWithBody(server string, id int, params *DcimDevicesRenderConfigCreateParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/devices/%s/render-config/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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) + } + } + } + + } + + 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 +} + +// NewDcimFrontPortTemplatesBulkDestroyRequest calls the generic DcimFrontPortTemplatesBulkDestroy builder with application/json body +func NewDcimFrontPortTemplatesBulkDestroyRequest(server string, body DcimFrontPortTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimFrontPortTemplatesBulkDestroyRequestWithBody generates requests for DcimFrontPortTemplatesBulkDestroy with any type of body +func NewDcimFrontPortTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/front-port-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.ColorEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__empty", runtime.ParamLocationQuery, *params.ColorEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuletypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "moduletype_id", runtime.ParamLocationQuery, *params.ModuletypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuletypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "moduletype_id__n", runtime.ParamLocationQuery, *params.ModuletypeIdN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimFrontPortsBulkDestroy builder with application/json body +func NewDcimFrontPortsBulkDestroyRequest(server string, body DcimFrontPortsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimFrontPortsBulkDestroyRequestWithBody generates requests for DcimFrontPortsBulkDestroy with any type of body +func NewDcimFrontPortsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/front-ports/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.CableEnd != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end", runtime.ParamLocationQuery, *params.CableEnd); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableEndN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end__n", runtime.ParamLocationQuery, *params.CableEndN); err != nil { + return nil, err + } else if parsed, err := 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.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.ColorEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__empty", runtime.ParamLocationQuery, *params.ColorEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.DeviceRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role", runtime.ParamLocationQuery, *params.DeviceRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role__n", runtime.ParamLocationQuery, *params.DeviceRoleN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id", runtime.ParamLocationQuery, *params.DeviceRoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id__n", runtime.ParamLocationQuery, *params.DeviceRoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LabelEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__empty", runtime.ParamLocationQuery, *params.LabelEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_id", runtime.ParamLocationQuery, *params.ModuleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_id__n", runtime.ParamLocationQuery, *params.ModuleIdN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.Occupied != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "occupied", runtime.ParamLocationQuery, *params.Occupied); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.RackN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack__n", runtime.ParamLocationQuery, *params.RackN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { + return nil, err + } else if parsed, err := 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.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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassis != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis", runtime.ParamLocationQuery, *params.VirtualChassis); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassisN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis__n", runtime.ParamLocationQuery, *params.VirtualChassisN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 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("/api/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 +} + +// NewDcimInterfaceTemplatesBulkDestroyRequest calls the generic DcimInterfaceTemplatesBulkDestroy builder with application/json body +func NewDcimInterfaceTemplatesBulkDestroyRequest(server string, body DcimInterfaceTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfaceTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInterfaceTemplatesBulkDestroyRequestWithBody generates requests for DcimInterfaceTemplatesBulkDestroy with any type of body +func NewDcimInterfaceTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/interface-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.BridgeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bridge_id", runtime.ParamLocationQuery, *params.BridgeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BridgeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bridge_id__n", runtime.ParamLocationQuery, *params.BridgeIdN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuletypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "moduletype_id", runtime.ParamLocationQuery, *params.ModuletypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuletypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "moduletype_id__n", runtime.ParamLocationQuery, *params.ModuletypeIdN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PoeMode != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "poe_mode", runtime.ParamLocationQuery, *params.PoeMode); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PoeModeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "poe_mode__n", runtime.ParamLocationQuery, *params.PoeModeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PoeType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "poe_type", runtime.ParamLocationQuery, *params.PoeType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PoeTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "poe_type__n", runtime.ParamLocationQuery, *params.PoeTypeN); err != nil { + return nil, err + } else if parsed, err := 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.RfRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_role", runtime.ParamLocationQuery, *params.RfRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_role__n", runtime.ParamLocationQuery, *params.RfRoleN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimInterfacesBulkDestroy builder with application/json body +func NewDcimInterfacesBulkDestroyRequest(server string, body DcimInterfacesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfacesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInterfacesBulkDestroyRequestWithBody generates requests for DcimInterfacesBulkDestroy with any type of body +func NewDcimInterfacesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/interfaces/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.BridgeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bridge_id", runtime.ParamLocationQuery, *params.BridgeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BridgeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bridge_id__n", runtime.ParamLocationQuery, *params.BridgeIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableEnd != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end", runtime.ParamLocationQuery, *params.CableEnd); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableEndN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end__n", runtime.ParamLocationQuery, *params.CableEndN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.DeviceRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role", runtime.ParamLocationQuery, *params.DeviceRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role__n", runtime.ParamLocationQuery, *params.DeviceRoleN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id", runtime.ParamLocationQuery, *params.DeviceRoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id__n", runtime.ParamLocationQuery, *params.DeviceRoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.Duplex != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "duplex", runtime.ParamLocationQuery, *params.Duplex); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DuplexN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "duplex__n", runtime.ParamLocationQuery, *params.DuplexN); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.L2vpn != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn", runtime.ParamLocationQuery, *params.L2vpn); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.L2vpnN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn__n", runtime.ParamLocationQuery, *params.L2vpnN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.L2vpnId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn_id", runtime.ParamLocationQuery, *params.L2vpnId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.L2vpnIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn_id__n", runtime.ParamLocationQuery, *params.L2vpnIdN); err != nil { + return nil, err + } else if parsed, err := 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.LabelEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__empty", runtime.ParamLocationQuery, *params.LabelEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.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.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.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.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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_id", runtime.ParamLocationQuery, *params.ModuleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_id__n", runtime.ParamLocationQuery, *params.ModuleIdN); err != nil { + return nil, err + } else if parsed, err := 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.MtuEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mtu__empty", runtime.ParamLocationQuery, *params.MtuEmpty); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.Occupied != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "occupied", runtime.ParamLocationQuery, *params.Occupied); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.PoeMode != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "poe_mode", runtime.ParamLocationQuery, *params.PoeMode); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PoeModeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "poe_mode__n", runtime.ParamLocationQuery, *params.PoeModeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PoeType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "poe_type", runtime.ParamLocationQuery, *params.PoeType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PoeTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "poe_type__n", runtime.ParamLocationQuery, *params.PoeTypeN); err != nil { + return nil, err + } else if parsed, err := 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.RackN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack__n", runtime.ParamLocationQuery, *params.RackN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { + return nil, err + } else if parsed, err := 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.RfChannel != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel", runtime.ParamLocationQuery, *params.RfChannel); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel__n", runtime.ParamLocationQuery, *params.RfChannelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelFrequency != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel_frequency", runtime.ParamLocationQuery, *params.RfChannelFrequency); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelFrequencyEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel_frequency__empty", runtime.ParamLocationQuery, *params.RfChannelFrequencyEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelFrequencyGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel_frequency__gt", runtime.ParamLocationQuery, *params.RfChannelFrequencyGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelFrequencyGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel_frequency__gte", runtime.ParamLocationQuery, *params.RfChannelFrequencyGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelFrequencyLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel_frequency__lt", runtime.ParamLocationQuery, *params.RfChannelFrequencyLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelFrequencyLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel_frequency__lte", runtime.ParamLocationQuery, *params.RfChannelFrequencyLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelFrequencyN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel_frequency__n", runtime.ParamLocationQuery, *params.RfChannelFrequencyN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelWidth != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel_width", runtime.ParamLocationQuery, *params.RfChannelWidth); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelWidthEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel_width__empty", runtime.ParamLocationQuery, *params.RfChannelWidthEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelWidthGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel_width__gt", runtime.ParamLocationQuery, *params.RfChannelWidthGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelWidthGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel_width__gte", runtime.ParamLocationQuery, *params.RfChannelWidthGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelWidthLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel_width__lt", runtime.ParamLocationQuery, *params.RfChannelWidthLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelWidthLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel_width__lte", runtime.ParamLocationQuery, *params.RfChannelWidthLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfChannelWidthN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_channel_width__n", runtime.ParamLocationQuery, *params.RfChannelWidthN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_role", runtime.ParamLocationQuery, *params.RfRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RfRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rf_role__n", runtime.ParamLocationQuery, *params.RfRoleN); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.Speed != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "speed", runtime.ParamLocationQuery, *params.Speed); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SpeedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "speed__empty", runtime.ParamLocationQuery, *params.SpeedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SpeedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "speed__gt", runtime.ParamLocationQuery, *params.SpeedGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SpeedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "speed__gte", runtime.ParamLocationQuery, *params.SpeedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SpeedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "speed__lt", runtime.ParamLocationQuery, *params.SpeedLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SpeedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "speed__lte", runtime.ParamLocationQuery, *params.SpeedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SpeedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "speed__n", runtime.ParamLocationQuery, *params.SpeedN); err != nil { + return nil, err + } else if parsed, err := 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.TxPower != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tx_power", runtime.ParamLocationQuery, *params.TxPower); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TxPowerEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tx_power__empty", runtime.ParamLocationQuery, *params.TxPowerEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TxPowerGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tx_power__gt", runtime.ParamLocationQuery, *params.TxPowerGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TxPowerGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tx_power__gte", runtime.ParamLocationQuery, *params.TxPowerGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TxPowerLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tx_power__lt", runtime.ParamLocationQuery, *params.TxPowerLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TxPowerLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tx_power__lte", runtime.ParamLocationQuery, *params.TxPowerLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TxPowerN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tx_power__n", runtime.ParamLocationQuery, *params.TxPowerN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Vdc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vdc", runtime.ParamLocationQuery, *params.Vdc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VdcN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vdc__n", runtime.ParamLocationQuery, *params.VdcN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VdcId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vdc_id", runtime.ParamLocationQuery, *params.VdcId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VdcIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vdc_id__n", runtime.ParamLocationQuery, *params.VdcIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VdcIdentifier != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vdc_identifier", runtime.ParamLocationQuery, *params.VdcIdentifier); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VdcIdentifierN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vdc_identifier__n", runtime.ParamLocationQuery, *params.VdcIdentifierN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassis != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis", runtime.ParamLocationQuery, *params.VirtualChassis); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassisN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis__n", runtime.ParamLocationQuery, *params.VirtualChassisN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.VirtualChassisMemberId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis_member_id", runtime.ParamLocationQuery, *params.VirtualChassisMemberId); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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.Wwn != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "wwn", runtime.ParamLocationQuery, *params.Wwn); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WwnIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "wwn__ic", runtime.ParamLocationQuery, *params.WwnIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WwnIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "wwn__ie", runtime.ParamLocationQuery, *params.WwnIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WwnIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "wwn__iew", runtime.ParamLocationQuery, *params.WwnIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WwnIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "wwn__isw", runtime.ParamLocationQuery, *params.WwnIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WwnN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "wwn__n", runtime.ParamLocationQuery, *params.WwnN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WwnNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "wwn__nic", runtime.ParamLocationQuery, *params.WwnNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WwnNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "wwn__nie", runtime.ParamLocationQuery, *params.WwnNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WwnNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "wwn__niew", runtime.ParamLocationQuery, *params.WwnNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WwnNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "wwn__nisw", runtime.ParamLocationQuery, *params.WwnNisw); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 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("/api/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 +} + +// NewDcimInventoryItemRolesBulkDestroyRequest calls the generic DcimInventoryItemRolesBulkDestroy builder with application/json body +func NewDcimInventoryItemRolesBulkDestroyRequest(server string, body DcimInventoryItemRolesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemRolesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInventoryItemRolesBulkDestroyRequestWithBody generates requests for DcimInventoryItemRolesBulkDestroy with any type of body +func NewDcimInventoryItemRolesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/inventory-item-roles/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimInventoryItemRolesListRequest generates requests for DcimInventoryItemRolesList +func NewDcimInventoryItemRolesListRequest(server string, params *DcimInventoryItemRolesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/inventory-item-roles/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.ColorEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__empty", runtime.ParamLocationQuery, *params.ColorEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewDcimInventoryItemRolesBulkPartialUpdateRequest calls the generic DcimInventoryItemRolesBulkPartialUpdate builder with application/json body +func NewDcimInventoryItemRolesBulkPartialUpdateRequest(server string, body DcimInventoryItemRolesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemRolesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInventoryItemRolesBulkPartialUpdateRequestWithBody generates requests for DcimInventoryItemRolesBulkPartialUpdate with any type of body +func NewDcimInventoryItemRolesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/inventory-item-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 +} + +// NewDcimInventoryItemRolesCreateRequest calls the generic DcimInventoryItemRolesCreate builder with application/json body +func NewDcimInventoryItemRolesCreateRequest(server string, body DcimInventoryItemRolesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemRolesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInventoryItemRolesCreateRequestWithBody generates requests for DcimInventoryItemRolesCreate with any type of body +func NewDcimInventoryItemRolesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/inventory-item-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 +} + +// NewDcimInventoryItemRolesBulkUpdateRequest calls the generic DcimInventoryItemRolesBulkUpdate builder with application/json body +func NewDcimInventoryItemRolesBulkUpdateRequest(server string, body DcimInventoryItemRolesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemRolesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInventoryItemRolesBulkUpdateRequestWithBody generates requests for DcimInventoryItemRolesBulkUpdate with any type of body +func NewDcimInventoryItemRolesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/inventory-item-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 +} + +// NewDcimInventoryItemRolesDestroyRequest generates requests for DcimInventoryItemRolesDestroy +func NewDcimInventoryItemRolesDestroyRequest(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("/api/dcim/inventory-item-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 +} + +// NewDcimInventoryItemRolesRetrieveRequest generates requests for DcimInventoryItemRolesRetrieve +func NewDcimInventoryItemRolesRetrieveRequest(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("/api/dcim/inventory-item-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 +} + +// NewDcimInventoryItemRolesPartialUpdateRequest calls the generic DcimInventoryItemRolesPartialUpdate builder with application/json body +func NewDcimInventoryItemRolesPartialUpdateRequest(server string, id int, body DcimInventoryItemRolesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemRolesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimInventoryItemRolesPartialUpdateRequestWithBody generates requests for DcimInventoryItemRolesPartialUpdate with any type of body +func NewDcimInventoryItemRolesPartialUpdateRequestWithBody(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("/api/dcim/inventory-item-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 +} + +// NewDcimInventoryItemRolesUpdateRequest calls the generic DcimInventoryItemRolesUpdate builder with application/json body +func NewDcimInventoryItemRolesUpdateRequest(server string, id int, body DcimInventoryItemRolesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemRolesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimInventoryItemRolesUpdateRequestWithBody generates requests for DcimInventoryItemRolesUpdate with any type of body +func NewDcimInventoryItemRolesUpdateRequestWithBody(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("/api/dcim/inventory-item-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 +} + +// NewDcimInventoryItemTemplatesBulkDestroyRequest calls the generic DcimInventoryItemTemplatesBulkDestroy builder with application/json body +func NewDcimInventoryItemTemplatesBulkDestroyRequest(server string, body DcimInventoryItemTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInventoryItemTemplatesBulkDestroyRequestWithBody generates requests for DcimInventoryItemTemplatesBulkDestroy with any type of body +func NewDcimInventoryItemTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/inventory-item-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimInventoryItemTemplatesListRequest generates requests for DcimInventoryItemTemplatesList +func NewDcimInventoryItemTemplatesListRequest(server string, params *DcimInventoryItemTemplatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/inventory-item-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.ComponentId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_id", runtime.ParamLocationQuery, *params.ComponentId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_id__empty", runtime.ParamLocationQuery, *params.ComponentIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_id__gt", runtime.ParamLocationQuery, *params.ComponentIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_id__gte", runtime.ParamLocationQuery, *params.ComponentIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_id__lt", runtime.ParamLocationQuery, *params.ComponentIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_id__lte", runtime.ParamLocationQuery, *params.ComponentIdLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_id__n", runtime.ParamLocationQuery, *params.ComponentIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_type", runtime.ParamLocationQuery, *params.ComponentType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_type__n", runtime.ParamLocationQuery, *params.ComponentTypeN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LabelEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__empty", runtime.ParamLocationQuery, *params.LabelEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.PartIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__empty", runtime.ParamLocationQuery, *params.PartIdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewDcimInventoryItemTemplatesBulkPartialUpdateRequest calls the generic DcimInventoryItemTemplatesBulkPartialUpdate builder with application/json body +func NewDcimInventoryItemTemplatesBulkPartialUpdateRequest(server string, body DcimInventoryItemTemplatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemTemplatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInventoryItemTemplatesBulkPartialUpdateRequestWithBody generates requests for DcimInventoryItemTemplatesBulkPartialUpdate with any type of body +func NewDcimInventoryItemTemplatesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/inventory-item-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 +} + +// NewDcimInventoryItemTemplatesCreateRequest calls the generic DcimInventoryItemTemplatesCreate builder with application/json body +func NewDcimInventoryItemTemplatesCreateRequest(server string, body DcimInventoryItemTemplatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemTemplatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInventoryItemTemplatesCreateRequestWithBody generates requests for DcimInventoryItemTemplatesCreate with any type of body +func NewDcimInventoryItemTemplatesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/inventory-item-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 +} + +// NewDcimInventoryItemTemplatesBulkUpdateRequest calls the generic DcimInventoryItemTemplatesBulkUpdate builder with application/json body +func NewDcimInventoryItemTemplatesBulkUpdateRequest(server string, body DcimInventoryItemTemplatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemTemplatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInventoryItemTemplatesBulkUpdateRequestWithBody generates requests for DcimInventoryItemTemplatesBulkUpdate with any type of body +func NewDcimInventoryItemTemplatesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/inventory-item-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 +} + +// NewDcimInventoryItemTemplatesDestroyRequest generates requests for DcimInventoryItemTemplatesDestroy +func NewDcimInventoryItemTemplatesDestroyRequest(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("/api/dcim/inventory-item-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 +} + +// NewDcimInventoryItemTemplatesRetrieveRequest generates requests for DcimInventoryItemTemplatesRetrieve +func NewDcimInventoryItemTemplatesRetrieveRequest(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("/api/dcim/inventory-item-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 +} + +// NewDcimInventoryItemTemplatesPartialUpdateRequest calls the generic DcimInventoryItemTemplatesPartialUpdate builder with application/json body +func NewDcimInventoryItemTemplatesPartialUpdateRequest(server string, id int, body DcimInventoryItemTemplatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemTemplatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimInventoryItemTemplatesPartialUpdateRequestWithBody generates requests for DcimInventoryItemTemplatesPartialUpdate with any type of body +func NewDcimInventoryItemTemplatesPartialUpdateRequestWithBody(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("/api/dcim/inventory-item-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 +} + +// NewDcimInventoryItemTemplatesUpdateRequest calls the generic DcimInventoryItemTemplatesUpdate builder with application/json body +func NewDcimInventoryItemTemplatesUpdateRequest(server string, id int, body DcimInventoryItemTemplatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemTemplatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimInventoryItemTemplatesUpdateRequestWithBody generates requests for DcimInventoryItemTemplatesUpdate with any type of body +func NewDcimInventoryItemTemplatesUpdateRequestWithBody(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("/api/dcim/inventory-item-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 +} + +// NewDcimInventoryItemsBulkDestroyRequest calls the generic DcimInventoryItemsBulkDestroy builder with application/json body +func NewDcimInventoryItemsBulkDestroyRequest(server string, body DcimInventoryItemsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInventoryItemsBulkDestroyRequestWithBody generates requests for DcimInventoryItemsBulkDestroy with any type of body +func NewDcimInventoryItemsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/inventory-items/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.AssetTagEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__empty", runtime.ParamLocationQuery, *params.AssetTagEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.ComponentId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_id", runtime.ParamLocationQuery, *params.ComponentId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_id__empty", runtime.ParamLocationQuery, *params.ComponentIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_id__gt", runtime.ParamLocationQuery, *params.ComponentIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_id__gte", runtime.ParamLocationQuery, *params.ComponentIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_id__lt", runtime.ParamLocationQuery, *params.ComponentIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_id__lte", runtime.ParamLocationQuery, *params.ComponentIdLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_id__n", runtime.ParamLocationQuery, *params.ComponentIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_type", runtime.ParamLocationQuery, *params.ComponentType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ComponentTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "component_type__n", runtime.ParamLocationQuery, *params.ComponentTypeN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DeviceRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role", runtime.ParamLocationQuery, *params.DeviceRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role__n", runtime.ParamLocationQuery, *params.DeviceRoleN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id", runtime.ParamLocationQuery, *params.DeviceRoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id__n", runtime.ParamLocationQuery, *params.DeviceRoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LabelEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__empty", runtime.ParamLocationQuery, *params.LabelEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.PartIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__empty", runtime.ParamLocationQuery, *params.PartIdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.RackN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack__n", runtime.ParamLocationQuery, *params.RackN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { + return nil, err + } else if parsed, err := 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.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.SerialEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__empty", runtime.ParamLocationQuery, *params.SerialEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__ic", runtime.ParamLocationQuery, *params.SerialIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__ie", runtime.ParamLocationQuery, *params.SerialIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__iew", runtime.ParamLocationQuery, *params.SerialIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__isw", runtime.ParamLocationQuery, *params.SerialIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__n", runtime.ParamLocationQuery, *params.SerialN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__nic", runtime.ParamLocationQuery, *params.SerialNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__nie", runtime.ParamLocationQuery, *params.SerialNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__niew", runtime.ParamLocationQuery, *params.SerialNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__nisw", runtime.ParamLocationQuery, *params.SerialNisw); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassis != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis", runtime.ParamLocationQuery, *params.VirtualChassis); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassisN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis__n", runtime.ParamLocationQuery, *params.VirtualChassisN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewDcimLocationsBulkDestroyRequest calls the generic DcimLocationsBulkDestroy builder with application/json body +func NewDcimLocationsBulkDestroyRequest(server string, body DcimLocationsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimLocationsBulkDestroyRequestWithBody generates requests for DcimLocationsBulkDestroy with any type of body +func NewDcimLocationsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/locations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationsListRequest generates requests for DcimLocationsList +func NewDcimLocationsListRequest(server string, params *DcimLocationsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/locations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Contact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact", runtime.ParamLocationQuery, *params.Contact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact__n", runtime.ParamLocationQuery, *params.ContactN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group", runtime.ParamLocationQuery, *params.ContactGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group__n", runtime.ParamLocationQuery, *params.ContactGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role", runtime.ParamLocationQuery, *params.ContactRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role__n", runtime.ParamLocationQuery, *params.ContactRoleN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimLocationsBulkPartialUpdateRequest calls the generic DcimLocationsBulkPartialUpdate builder with application/json body +func NewDcimLocationsBulkPartialUpdateRequest(server string, body DcimLocationsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimLocationsBulkPartialUpdateRequestWithBody generates requests for DcimLocationsBulkPartialUpdate with any type of body +func NewDcimLocationsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/locations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationsCreateRequest calls the generic DcimLocationsCreate builder with application/json body +func NewDcimLocationsCreateRequest(server string, body DcimLocationsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimLocationsCreateRequestWithBody generates requests for DcimLocationsCreate with any type of body +func NewDcimLocationsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/locations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationsBulkUpdateRequest calls the generic DcimLocationsBulkUpdate builder with application/json body +func NewDcimLocationsBulkUpdateRequest(server string, body DcimLocationsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimLocationsBulkUpdateRequestWithBody generates requests for DcimLocationsBulkUpdate with any type of body +func NewDcimLocationsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/locations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationsDestroyRequest generates requests for DcimLocationsDestroy +func NewDcimLocationsDestroyRequest(server string, id 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("/api/dcim/locations/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimLocationsRetrieveRequest generates requests for DcimLocationsRetrieve +func NewDcimLocationsRetrieveRequest(server string, id 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("/api/dcim/locations/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimLocationsPartialUpdateRequest calls the generic DcimLocationsPartialUpdate builder with application/json body +func NewDcimLocationsPartialUpdateRequest(server string, id int, body DcimLocationsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimLocationsPartialUpdateRequestWithBody generates requests for DcimLocationsPartialUpdate with any type of body +func NewDcimLocationsPartialUpdateRequestWithBody(server string, id 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("/api/dcim/locations/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationsUpdateRequest calls the generic DcimLocationsUpdate builder with application/json body +func NewDcimLocationsUpdateRequest(server string, id int, body DcimLocationsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimLocationsUpdateRequestWithBody generates requests for DcimLocationsUpdate with any type of body +func NewDcimLocationsUpdateRequestWithBody(server string, id 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("/api/dcim/locations/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimManufacturersBulkDestroyRequest calls the generic DcimManufacturersBulkDestroy builder with application/json body +func NewDcimManufacturersBulkDestroyRequest(server string, body DcimManufacturersBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimManufacturersBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimManufacturersBulkDestroyRequestWithBody generates requests for DcimManufacturersBulkDestroy with any type of body +func NewDcimManufacturersBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/manufacturers/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimManufacturersListRequest generates requests for DcimManufacturersList +func NewDcimManufacturersListRequest(server string, params *DcimManufacturersListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/manufacturers/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Contact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact", runtime.ParamLocationQuery, *params.Contact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact__n", runtime.ParamLocationQuery, *params.ContactN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group", runtime.ParamLocationQuery, *params.ContactGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group__n", runtime.ParamLocationQuery, *params.ContactGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role", runtime.ParamLocationQuery, *params.ContactRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role__n", runtime.ParamLocationQuery, *params.ContactRoleN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewDcimModuleBayTemplatesBulkDestroyRequest calls the generic DcimModuleBayTemplatesBulkDestroy builder with application/json body +func NewDcimModuleBayTemplatesBulkDestroyRequest(server string, body DcimModuleBayTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleBayTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModuleBayTemplatesBulkDestroyRequestWithBody generates requests for DcimModuleBayTemplatesBulkDestroy with any type of body +func NewDcimModuleBayTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimModuleBayTemplatesListRequest generates requests for DcimModuleBayTemplatesList +func NewDcimModuleBayTemplatesListRequest(server string, params *DcimModuleBayTemplatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-bay-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewDcimModuleBayTemplatesBulkPartialUpdateRequest calls the generic DcimModuleBayTemplatesBulkPartialUpdate builder with application/json body +func NewDcimModuleBayTemplatesBulkPartialUpdateRequest(server string, body DcimModuleBayTemplatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleBayTemplatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModuleBayTemplatesBulkPartialUpdateRequestWithBody generates requests for DcimModuleBayTemplatesBulkPartialUpdate with any type of body +func NewDcimModuleBayTemplatesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-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 +} + +// NewDcimModuleBayTemplatesCreateRequest calls the generic DcimModuleBayTemplatesCreate builder with application/json body +func NewDcimModuleBayTemplatesCreateRequest(server string, body DcimModuleBayTemplatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleBayTemplatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModuleBayTemplatesCreateRequestWithBody generates requests for DcimModuleBayTemplatesCreate with any type of body +func NewDcimModuleBayTemplatesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-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 +} + +// NewDcimModuleBayTemplatesBulkUpdateRequest calls the generic DcimModuleBayTemplatesBulkUpdate builder with application/json body +func NewDcimModuleBayTemplatesBulkUpdateRequest(server string, body DcimModuleBayTemplatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleBayTemplatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModuleBayTemplatesBulkUpdateRequestWithBody generates requests for DcimModuleBayTemplatesBulkUpdate with any type of body +func NewDcimModuleBayTemplatesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-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 +} + +// NewDcimModuleBayTemplatesDestroyRequest generates requests for DcimModuleBayTemplatesDestroy +func NewDcimModuleBayTemplatesDestroyRequest(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("/api/dcim/module-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 +} + +// NewDcimModuleBayTemplatesRetrieveRequest generates requests for DcimModuleBayTemplatesRetrieve +func NewDcimModuleBayTemplatesRetrieveRequest(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("/api/dcim/module-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 +} + +// NewDcimModuleBayTemplatesPartialUpdateRequest calls the generic DcimModuleBayTemplatesPartialUpdate builder with application/json body +func NewDcimModuleBayTemplatesPartialUpdateRequest(server string, id int, body DcimModuleBayTemplatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleBayTemplatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimModuleBayTemplatesPartialUpdateRequestWithBody generates requests for DcimModuleBayTemplatesPartialUpdate with any type of body +func NewDcimModuleBayTemplatesPartialUpdateRequestWithBody(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("/api/dcim/module-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 +} + +// NewDcimModuleBayTemplatesUpdateRequest calls the generic DcimModuleBayTemplatesUpdate builder with application/json body +func NewDcimModuleBayTemplatesUpdateRequest(server string, id int, body DcimModuleBayTemplatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleBayTemplatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimModuleBayTemplatesUpdateRequestWithBody generates requests for DcimModuleBayTemplatesUpdate with any type of body +func NewDcimModuleBayTemplatesUpdateRequestWithBody(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("/api/dcim/module-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 +} + +// NewDcimModuleBaysBulkDestroyRequest calls the generic DcimModuleBaysBulkDestroy builder with application/json body +func NewDcimModuleBaysBulkDestroyRequest(server string, body DcimModuleBaysBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleBaysBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModuleBaysBulkDestroyRequestWithBody generates requests for DcimModuleBaysBulkDestroy with any type of body +func NewDcimModuleBaysBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-bays/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimModuleBaysListRequest generates requests for DcimModuleBaysList +func NewDcimModuleBaysListRequest(server string, params *DcimModuleBaysListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-bays/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.DeviceRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role", runtime.ParamLocationQuery, *params.DeviceRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role__n", runtime.ParamLocationQuery, *params.DeviceRoleN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id", runtime.ParamLocationQuery, *params.DeviceRoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id__n", runtime.ParamLocationQuery, *params.DeviceRoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LabelEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__empty", runtime.ParamLocationQuery, *params.LabelEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.RackN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack__n", runtime.ParamLocationQuery, *params.RackN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { + return nil, err + } else if parsed, err := 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.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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassis != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis", runtime.ParamLocationQuery, *params.VirtualChassis); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassisN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis__n", runtime.ParamLocationQuery, *params.VirtualChassisN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimModuleBaysBulkPartialUpdateRequest calls the generic DcimModuleBaysBulkPartialUpdate builder with application/json body +func NewDcimModuleBaysBulkPartialUpdateRequest(server string, body DcimModuleBaysBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleBaysBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModuleBaysBulkPartialUpdateRequestWithBody generates requests for DcimModuleBaysBulkPartialUpdate with any type of body +func NewDcimModuleBaysBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-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 +} + +// NewDcimModuleBaysCreateRequest calls the generic DcimModuleBaysCreate builder with application/json body +func NewDcimModuleBaysCreateRequest(server string, body DcimModuleBaysCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleBaysCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModuleBaysCreateRequestWithBody generates requests for DcimModuleBaysCreate with any type of body +func NewDcimModuleBaysCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-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 +} + +// NewDcimModuleBaysBulkUpdateRequest calls the generic DcimModuleBaysBulkUpdate builder with application/json body +func NewDcimModuleBaysBulkUpdateRequest(server string, body DcimModuleBaysBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleBaysBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModuleBaysBulkUpdateRequestWithBody generates requests for DcimModuleBaysBulkUpdate with any type of body +func NewDcimModuleBaysBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-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 +} + +// NewDcimModuleBaysDestroyRequest generates requests for DcimModuleBaysDestroy +func NewDcimModuleBaysDestroyRequest(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("/api/dcim/module-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 +} + +// NewDcimModuleBaysRetrieveRequest generates requests for DcimModuleBaysRetrieve +func NewDcimModuleBaysRetrieveRequest(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("/api/dcim/module-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 +} + +// NewDcimModuleBaysPartialUpdateRequest calls the generic DcimModuleBaysPartialUpdate builder with application/json body +func NewDcimModuleBaysPartialUpdateRequest(server string, id int, body DcimModuleBaysPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleBaysPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimModuleBaysPartialUpdateRequestWithBody generates requests for DcimModuleBaysPartialUpdate with any type of body +func NewDcimModuleBaysPartialUpdateRequestWithBody(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("/api/dcim/module-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 +} + +// NewDcimModuleBaysUpdateRequest calls the generic DcimModuleBaysUpdate builder with application/json body +func NewDcimModuleBaysUpdateRequest(server string, id int, body DcimModuleBaysUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleBaysUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimModuleBaysUpdateRequestWithBody generates requests for DcimModuleBaysUpdate with any type of body +func NewDcimModuleBaysUpdateRequestWithBody(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("/api/dcim/module-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 +} + +// NewDcimModuleTypesBulkDestroyRequest calls the generic DcimModuleTypesBulkDestroy builder with application/json body +func NewDcimModuleTypesBulkDestroyRequest(server string, body DcimModuleTypesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleTypesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModuleTypesBulkDestroyRequestWithBody generates requests for DcimModuleTypesBulkDestroy with any type of body +func NewDcimModuleTypesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-types/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimModuleTypesListRequest generates requests for DcimModuleTypesList +func NewDcimModuleTypesListRequest(server string, params *DcimModuleTypesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-types/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModelEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__empty", runtime.ParamLocationQuery, *params.ModelEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.PartNumberEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__empty", runtime.ParamLocationQuery, *params.PartNumberEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.WeightEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__empty", runtime.ParamLocationQuery, *params.WeightEmpty); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.WeightUnit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight_unit", runtime.ParamLocationQuery, *params.WeightUnit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WeightUnitN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight_unit__n", runtime.ParamLocationQuery, *params.WeightUnitN); err != nil { + return nil, err + } else if 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 +} + +// NewDcimModuleTypesBulkPartialUpdateRequest calls the generic DcimModuleTypesBulkPartialUpdate builder with application/json body +func NewDcimModuleTypesBulkPartialUpdateRequest(server string, body DcimModuleTypesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleTypesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModuleTypesBulkPartialUpdateRequestWithBody generates requests for DcimModuleTypesBulkPartialUpdate with any type of body +func NewDcimModuleTypesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-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 +} + +// NewDcimModuleTypesCreateRequest calls the generic DcimModuleTypesCreate builder with application/json body +func NewDcimModuleTypesCreateRequest(server string, body DcimModuleTypesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleTypesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModuleTypesCreateRequestWithBody generates requests for DcimModuleTypesCreate with any type of body +func NewDcimModuleTypesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-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 +} + +// NewDcimModuleTypesBulkUpdateRequest calls the generic DcimModuleTypesBulkUpdate builder with application/json body +func NewDcimModuleTypesBulkUpdateRequest(server string, body DcimModuleTypesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleTypesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModuleTypesBulkUpdateRequestWithBody generates requests for DcimModuleTypesBulkUpdate with any type of body +func NewDcimModuleTypesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/module-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 +} + +// NewDcimModuleTypesDestroyRequest generates requests for DcimModuleTypesDestroy +func NewDcimModuleTypesDestroyRequest(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("/api/dcim/module-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 +} + +// NewDcimModuleTypesRetrieveRequest generates requests for DcimModuleTypesRetrieve +func NewDcimModuleTypesRetrieveRequest(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("/api/dcim/module-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 +} + +// NewDcimModuleTypesPartialUpdateRequest calls the generic DcimModuleTypesPartialUpdate builder with application/json body +func NewDcimModuleTypesPartialUpdateRequest(server string, id int, body DcimModuleTypesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleTypesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimModuleTypesPartialUpdateRequestWithBody generates requests for DcimModuleTypesPartialUpdate with any type of body +func NewDcimModuleTypesPartialUpdateRequestWithBody(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("/api/dcim/module-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 +} + +// NewDcimModuleTypesUpdateRequest calls the generic DcimModuleTypesUpdate builder with application/json body +func NewDcimModuleTypesUpdateRequest(server string, id int, body DcimModuleTypesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModuleTypesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimModuleTypesUpdateRequestWithBody generates requests for DcimModuleTypesUpdate with any type of body +func NewDcimModuleTypesUpdateRequestWithBody(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("/api/dcim/module-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 +} + +// NewDcimModulesBulkDestroyRequest calls the generic DcimModulesBulkDestroy builder with application/json body +func NewDcimModulesBulkDestroyRequest(server string, body DcimModulesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModulesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModulesBulkDestroyRequestWithBody generates requests for DcimModulesBulkDestroy with any type of body +func NewDcimModulesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/modules/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimModulesListRequest generates requests for DcimModulesList +func NewDcimModulesListRequest(server string, params *DcimModulesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/modules/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.AssetTagEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__empty", runtime.ParamLocationQuery, *params.AssetTagEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleBayId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_bay_id", runtime.ParamLocationQuery, *params.ModuleBayId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleBayIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_bay_id__n", runtime.ParamLocationQuery, *params.ModuleBayIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_type", runtime.ParamLocationQuery, *params.ModuleType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_type__n", runtime.ParamLocationQuery, *params.ModuleTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleTypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_type_id", runtime.ParamLocationQuery, *params.ModuleTypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleTypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_type_id__n", runtime.ParamLocationQuery, *params.ModuleTypeIdN); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.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.SerialEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__empty", runtime.ParamLocationQuery, *params.SerialEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__ic", runtime.ParamLocationQuery, *params.SerialIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__ie", runtime.ParamLocationQuery, *params.SerialIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__iew", runtime.ParamLocationQuery, *params.SerialIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__isw", runtime.ParamLocationQuery, *params.SerialIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__n", runtime.ParamLocationQuery, *params.SerialN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__nic", runtime.ParamLocationQuery, *params.SerialNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__nie", runtime.ParamLocationQuery, *params.SerialNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__niew", runtime.ParamLocationQuery, *params.SerialNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__nisw", runtime.ParamLocationQuery, *params.SerialNisw); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewDcimModulesBulkPartialUpdateRequest calls the generic DcimModulesBulkPartialUpdate builder with application/json body +func NewDcimModulesBulkPartialUpdateRequest(server string, body DcimModulesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModulesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModulesBulkPartialUpdateRequestWithBody generates requests for DcimModulesBulkPartialUpdate with any type of body +func NewDcimModulesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/modules/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimModulesCreateRequest calls the generic DcimModulesCreate builder with application/json body +func NewDcimModulesCreateRequest(server string, body DcimModulesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModulesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModulesCreateRequestWithBody generates requests for DcimModulesCreate with any type of body +func NewDcimModulesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/modules/") + 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 +} + +// NewDcimModulesBulkUpdateRequest calls the generic DcimModulesBulkUpdate builder with application/json body +func NewDcimModulesBulkUpdateRequest(server string, body DcimModulesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModulesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimModulesBulkUpdateRequestWithBody generates requests for DcimModulesBulkUpdate with any type of body +func NewDcimModulesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/modules/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimModulesDestroyRequest generates requests for DcimModulesDestroy +func NewDcimModulesDestroyRequest(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("/api/dcim/modules/%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 +} + +// NewDcimModulesRetrieveRequest generates requests for DcimModulesRetrieve +func NewDcimModulesRetrieveRequest(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("/api/dcim/modules/%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 +} + +// NewDcimModulesPartialUpdateRequest calls the generic DcimModulesPartialUpdate builder with application/json body +func NewDcimModulesPartialUpdateRequest(server string, id int, body DcimModulesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModulesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimModulesPartialUpdateRequestWithBody generates requests for DcimModulesPartialUpdate with any type of body +func NewDcimModulesPartialUpdateRequestWithBody(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("/api/dcim/modules/%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 +} + +// NewDcimModulesUpdateRequest calls the generic DcimModulesUpdate builder with application/json body +func NewDcimModulesUpdateRequest(server string, id int, body DcimModulesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimModulesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimModulesUpdateRequestWithBody generates requests for DcimModulesUpdate with any type of body +func NewDcimModulesUpdateRequestWithBody(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("/api/dcim/modules/%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 calls the generic DcimPlatformsBulkDestroy builder with application/json body +func NewDcimPlatformsBulkDestroyRequest(server string, body DcimPlatformsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPlatformsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPlatformsBulkDestroyRequestWithBody generates requests for DcimPlatformsBulkDestroy with any type of body +func NewDcimPlatformsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/platforms/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.ConfigTemplateId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "config_template_id", runtime.ParamLocationQuery, *params.ConfigTemplateId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ConfigTemplateIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "config_template_id__n", runtime.ParamLocationQuery, *params.ConfigTemplateIdN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewDcimPowerFeedsBulkDestroyRequest calls the generic DcimPowerFeedsBulkDestroy builder with application/json body +func NewDcimPowerFeedsBulkDestroyRequest(server string, body DcimPowerFeedsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerFeedsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerFeedsBulkDestroyRequestWithBody generates requests for DcimPowerFeedsBulkDestroy with any type of body +func NewDcimPowerFeedsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/power-feeds/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.AmperageEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "amperage__empty", runtime.ParamLocationQuery, *params.AmperageEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CableEnd != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end", runtime.ParamLocationQuery, *params.CableEnd); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableEndN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end__n", runtime.ParamLocationQuery, *params.CableEndN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.MaxUtilizationEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_utilization__empty", runtime.ParamLocationQuery, *params.MaxUtilizationEmpty); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.Occupied != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "occupied", runtime.ParamLocationQuery, *params.Occupied); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.VoltageEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "voltage__empty", runtime.ParamLocationQuery, *params.VoltageEmpty); err != nil { + return nil, err + } else if parsed, err := 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 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("/api/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 calls the generic DcimPowerOutletTemplatesBulkDestroy builder with application/json body +func NewDcimPowerOutletTemplatesBulkDestroyRequest(server string, body DcimPowerOutletTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerOutletTemplatesBulkDestroyRequestWithBody generates requests for DcimPowerOutletTemplatesBulkDestroy with any type of body +func NewDcimPowerOutletTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/power-outlet-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuletypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "moduletype_id", runtime.ParamLocationQuery, *params.ModuletypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuletypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "moduletype_id__n", runtime.ParamLocationQuery, *params.ModuletypeIdN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimPowerOutletsBulkDestroy builder with application/json body +func NewDcimPowerOutletsBulkDestroyRequest(server string, body DcimPowerOutletsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerOutletsBulkDestroyRequestWithBody generates requests for DcimPowerOutletsBulkDestroy with any type of body +func NewDcimPowerOutletsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/power-outlets/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.CableEnd != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end", runtime.ParamLocationQuery, *params.CableEnd); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableEndN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end__n", runtime.ParamLocationQuery, *params.CableEndN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.DeviceRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role", runtime.ParamLocationQuery, *params.DeviceRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role__n", runtime.ParamLocationQuery, *params.DeviceRoleN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id", runtime.ParamLocationQuery, *params.DeviceRoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id__n", runtime.ParamLocationQuery, *params.DeviceRoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LabelEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__empty", runtime.ParamLocationQuery, *params.LabelEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_id", runtime.ParamLocationQuery, *params.ModuleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_id__n", runtime.ParamLocationQuery, *params.ModuleIdN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.Occupied != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "occupied", runtime.ParamLocationQuery, *params.Occupied); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.RackN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack__n", runtime.ParamLocationQuery, *params.RackN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { + return nil, err + } else if parsed, err := 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.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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassis != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis", runtime.ParamLocationQuery, *params.VirtualChassis); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassisN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis__n", runtime.ParamLocationQuery, *params.VirtualChassisN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 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("/api/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 calls the generic DcimPowerPanelsBulkDestroy builder with application/json body +func NewDcimPowerPanelsBulkDestroyRequest(server string, body DcimPowerPanelsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPanelsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPanelsBulkDestroyRequestWithBody generates requests for DcimPowerPanelsBulkDestroy with any type of body +func NewDcimPowerPanelsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/power-panels/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Contact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact", runtime.ParamLocationQuery, *params.Contact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact__n", runtime.ParamLocationQuery, *params.ContactN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group", runtime.ParamLocationQuery, *params.ContactGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group__n", runtime.ParamLocationQuery, *params.ContactGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role", runtime.ParamLocationQuery, *params.ContactRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role__n", runtime.ParamLocationQuery, *params.ContactRoleN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimPowerPortTemplatesBulkDestroy builder with application/json body +func NewDcimPowerPortTemplatesBulkDestroyRequest(server string, body DcimPowerPortTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPortTemplatesBulkDestroyRequestWithBody generates requests for DcimPowerPortTemplatesBulkDestroy with any type of body +func NewDcimPowerPortTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/power-port-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.AllocatedDrawEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "allocated_draw__empty", runtime.ParamLocationQuery, *params.AllocatedDrawEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.MaximumDrawEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maximum_draw__empty", runtime.ParamLocationQuery, *params.MaximumDrawEmpty); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuletypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "moduletype_id", runtime.ParamLocationQuery, *params.ModuletypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuletypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "moduletype_id__n", runtime.ParamLocationQuery, *params.ModuletypeIdN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimPowerPortsBulkDestroy builder with application/json body +func NewDcimPowerPortsBulkDestroyRequest(server string, body DcimPowerPortsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPortsBulkDestroyRequestWithBody generates requests for DcimPowerPortsBulkDestroy with any type of body +func NewDcimPowerPortsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/power-ports/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.AllocatedDrawEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "allocated_draw__empty", runtime.ParamLocationQuery, *params.AllocatedDrawEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CableEnd != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end", runtime.ParamLocationQuery, *params.CableEnd); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableEndN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end__n", runtime.ParamLocationQuery, *params.CableEndN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.DeviceRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role", runtime.ParamLocationQuery, *params.DeviceRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role__n", runtime.ParamLocationQuery, *params.DeviceRoleN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id", runtime.ParamLocationQuery, *params.DeviceRoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id__n", runtime.ParamLocationQuery, *params.DeviceRoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LabelEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__empty", runtime.ParamLocationQuery, *params.LabelEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.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.MaximumDrawEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maximum_draw__empty", runtime.ParamLocationQuery, *params.MaximumDrawEmpty); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_id", runtime.ParamLocationQuery, *params.ModuleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_id__n", runtime.ParamLocationQuery, *params.ModuleIdN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.Occupied != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "occupied", runtime.ParamLocationQuery, *params.Occupied); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.RackN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack__n", runtime.ParamLocationQuery, *params.RackN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { + return nil, err + } else if parsed, err := 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.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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassis != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis", runtime.ParamLocationQuery, *params.VirtualChassis); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassisN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis__n", runtime.ParamLocationQuery, *params.VirtualChassisN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 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("/api/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 +} + +// NewDcimRackReservationsBulkDestroyRequest calls the generic DcimRackReservationsBulkDestroy builder with application/json body +func NewDcimRackReservationsBulkDestroyRequest(server string, body DcimRackReservationsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackReservationsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRackReservationsBulkDestroyRequestWithBody generates requests for DcimRackReservationsBulkDestroy with any type of body +func NewDcimRackReservationsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/rack-reservations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimRackRolesBulkDestroy builder with application/json body +func NewDcimRackRolesBulkDestroyRequest(server string, body DcimRackRolesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackRolesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRackRolesBulkDestroyRequestWithBody generates requests for DcimRackRolesBulkDestroy with any type of body +func NewDcimRackRolesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/rack-roles/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.ColorEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__empty", runtime.ParamLocationQuery, *params.ColorEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimRacksBulkDestroy builder with application/json body +func NewDcimRacksBulkDestroyRequest(server string, body DcimRacksBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRacksBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRacksBulkDestroyRequestWithBody generates requests for DcimRacksBulkDestroy with any type of body +func NewDcimRacksBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/racks/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.AssetTagEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__empty", runtime.ParamLocationQuery, *params.AssetTagEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.Contact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact", runtime.ParamLocationQuery, *params.Contact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact__n", runtime.ParamLocationQuery, *params.ContactN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group", runtime.ParamLocationQuery, *params.ContactGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group__n", runtime.ParamLocationQuery, *params.ContactGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role", runtime.ParamLocationQuery, *params.ContactRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role__n", runtime.ParamLocationQuery, *params.ContactRoleN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.FacilityIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__empty", runtime.ParamLocationQuery, *params.FacilityIdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxWeight != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_weight", runtime.ParamLocationQuery, *params.MaxWeight); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxWeightEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_weight__empty", runtime.ParamLocationQuery, *params.MaxWeightEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxWeightGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_weight__gt", runtime.ParamLocationQuery, *params.MaxWeightGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxWeightGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_weight__gte", runtime.ParamLocationQuery, *params.MaxWeightGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxWeightLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_weight__lt", runtime.ParamLocationQuery, *params.MaxWeightLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxWeightLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_weight__lte", runtime.ParamLocationQuery, *params.MaxWeightLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxWeightN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_weight__n", runtime.ParamLocationQuery, *params.MaxWeightN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MountingDepth != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mounting_depth", runtime.ParamLocationQuery, *params.MountingDepth); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MountingDepthEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mounting_depth__empty", runtime.ParamLocationQuery, *params.MountingDepthEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MountingDepthGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mounting_depth__gt", runtime.ParamLocationQuery, *params.MountingDepthGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MountingDepthGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mounting_depth__gte", runtime.ParamLocationQuery, *params.MountingDepthGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MountingDepthLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mounting_depth__lt", runtime.ParamLocationQuery, *params.MountingDepthLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MountingDepthLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mounting_depth__lte", runtime.ParamLocationQuery, *params.MountingDepthLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MountingDepthN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mounting_depth__n", runtime.ParamLocationQuery, *params.MountingDepthN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.OuterDepthEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_depth__empty", runtime.ParamLocationQuery, *params.OuterDepthEmpty); err != nil { + return nil, err + } else if parsed, err := 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.OuterWidthEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_width__empty", runtime.ParamLocationQuery, *params.OuterWidthEmpty); err != nil { + return nil, err + } else if parsed, err := 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.SerialEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__empty", runtime.ParamLocationQuery, *params.SerialEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__ic", runtime.ParamLocationQuery, *params.SerialIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__ie", runtime.ParamLocationQuery, *params.SerialIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__iew", runtime.ParamLocationQuery, *params.SerialIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__isw", runtime.ParamLocationQuery, *params.SerialIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__n", runtime.ParamLocationQuery, *params.SerialN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__nic", runtime.ParamLocationQuery, *params.SerialNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__nie", runtime.ParamLocationQuery, *params.SerialNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__niew", runtime.ParamLocationQuery, *params.SerialNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SerialNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial__nisw", runtime.ParamLocationQuery, *params.SerialNisw); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.StartingUnit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "starting_unit", runtime.ParamLocationQuery, *params.StartingUnit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StartingUnitEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "starting_unit__empty", runtime.ParamLocationQuery, *params.StartingUnitEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StartingUnitGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "starting_unit__gt", runtime.ParamLocationQuery, *params.StartingUnitGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StartingUnitGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "starting_unit__gte", runtime.ParamLocationQuery, *params.StartingUnitGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StartingUnitLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "starting_unit__lt", runtime.ParamLocationQuery, *params.StartingUnitLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StartingUnitLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "starting_unit__lte", runtime.ParamLocationQuery, *params.StartingUnitLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StartingUnitN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "starting_unit__n", runtime.ParamLocationQuery, *params.StartingUnitN); err != nil { + return nil, err + } else if parsed, err := 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.UHeightEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__empty", runtime.ParamLocationQuery, *params.UHeightEmpty); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.WeightEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__empty", runtime.ParamLocationQuery, *params.WeightEmpty); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.WeightUnit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight_unit", runtime.ParamLocationQuery, *params.WeightUnit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WeightUnitN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight_unit__n", runtime.ParamLocationQuery, *params.WeightUnitN); err != nil { + return nil, err + } else if parsed, err := 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewDcimRacksElevationRetrieveRequest generates requests for DcimRacksElevationRetrieve +func NewDcimRacksElevationRetrieveRequest(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("/api/dcim/racks/%s/elevation/", 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 +} + +// NewDcimRearPortTemplatesBulkDestroyRequest calls the generic DcimRearPortTemplatesBulkDestroy builder with application/json body +func NewDcimRearPortTemplatesBulkDestroyRequest(server string, body DcimRearPortTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRearPortTemplatesBulkDestroyRequestWithBody generates requests for DcimRearPortTemplatesBulkDestroy with any type of body +func NewDcimRearPortTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/rear-port-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.ColorEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__empty", runtime.ParamLocationQuery, *params.ColorEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuletypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "moduletype_id", runtime.ParamLocationQuery, *params.ModuletypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuletypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "moduletype_id__n", runtime.ParamLocationQuery, *params.ModuletypeIdN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.PositionsEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "positions__empty", runtime.ParamLocationQuery, *params.PositionsEmpty); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimRearPortsBulkDestroy builder with application/json body +func NewDcimRearPortsBulkDestroyRequest(server string, body DcimRearPortsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRearPortsBulkDestroyRequestWithBody generates requests for DcimRearPortsBulkDestroy with any type of body +func NewDcimRearPortsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/rear-ports/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.CableEnd != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end", runtime.ParamLocationQuery, *params.CableEnd); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableEndN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable_end__n", runtime.ParamLocationQuery, *params.CableEndN); err != nil { + return nil, err + } else if parsed, err := 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.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.ColorEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__empty", runtime.ParamLocationQuery, *params.ColorEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.DeviceRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role", runtime.ParamLocationQuery, *params.DeviceRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role__n", runtime.ParamLocationQuery, *params.DeviceRoleN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id", runtime.ParamLocationQuery, *params.DeviceRoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_role_id__n", runtime.ParamLocationQuery, *params.DeviceRoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LabelEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__empty", runtime.ParamLocationQuery, *params.LabelEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_id", runtime.ParamLocationQuery, *params.ModuleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_id__n", runtime.ParamLocationQuery, *params.ModuleIdN); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.Occupied != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "occupied", runtime.ParamLocationQuery, *params.Occupied); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.PositionsEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "positions__empty", runtime.ParamLocationQuery, *params.PositionsEmpty); err != nil { + return nil, err + } else if parsed, err := 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.Rack != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack", runtime.ParamLocationQuery, *params.Rack); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack__n", runtime.ParamLocationQuery, *params.RackN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { + return nil, err + } else if parsed, err := 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.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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassis != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis", runtime.ParamLocationQuery, *params.VirtualChassis); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassisN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis__n", runtime.ParamLocationQuery, *params.VirtualChassisN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 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("/api/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 calls the generic DcimRegionsBulkDestroy builder with application/json body +func NewDcimRegionsBulkDestroyRequest(server string, body DcimRegionsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRegionsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRegionsBulkDestroyRequestWithBody generates requests for DcimRegionsBulkDestroy with any type of body +func NewDcimRegionsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/regions/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Contact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact", runtime.ParamLocationQuery, *params.Contact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact__n", runtime.ParamLocationQuery, *params.ContactN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group", runtime.ParamLocationQuery, *params.ContactGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group__n", runtime.ParamLocationQuery, *params.ContactGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role", runtime.ParamLocationQuery, *params.ContactRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role__n", runtime.ParamLocationQuery, *params.ContactRoleN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewDcimSiteGroupsBulkDestroyRequest calls the generic DcimSiteGroupsBulkDestroy builder with application/json body +func NewDcimSiteGroupsBulkDestroyRequest(server string, body DcimSiteGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimSiteGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimSiteGroupsBulkDestroyRequestWithBody generates requests for DcimSiteGroupsBulkDestroy with any type of body +func NewDcimSiteGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/site-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimSiteGroupsListRequest generates requests for DcimSiteGroupsList +func NewDcimSiteGroupsListRequest(server string, params *DcimSiteGroupsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/site-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Contact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact", runtime.ParamLocationQuery, *params.Contact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact__n", runtime.ParamLocationQuery, *params.ContactN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group", runtime.ParamLocationQuery, *params.ContactGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group__n", runtime.ParamLocationQuery, *params.ContactGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role", runtime.ParamLocationQuery, *params.ContactRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role__n", runtime.ParamLocationQuery, *params.ContactRoleN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewDcimSiteGroupsBulkPartialUpdateRequest calls the generic DcimSiteGroupsBulkPartialUpdate builder with application/json body +func NewDcimSiteGroupsBulkPartialUpdateRequest(server string, body DcimSiteGroupsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimSiteGroupsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimSiteGroupsBulkPartialUpdateRequestWithBody generates requests for DcimSiteGroupsBulkPartialUpdate with any type of body +func NewDcimSiteGroupsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/site-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 +} + +// NewDcimSiteGroupsCreateRequest calls the generic DcimSiteGroupsCreate builder with application/json body +func NewDcimSiteGroupsCreateRequest(server string, body DcimSiteGroupsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimSiteGroupsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimSiteGroupsCreateRequestWithBody generates requests for DcimSiteGroupsCreate with any type of body +func NewDcimSiteGroupsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/site-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 +} + +// NewDcimSiteGroupsBulkUpdateRequest calls the generic DcimSiteGroupsBulkUpdate builder with application/json body +func NewDcimSiteGroupsBulkUpdateRequest(server string, body DcimSiteGroupsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimSiteGroupsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimSiteGroupsBulkUpdateRequestWithBody generates requests for DcimSiteGroupsBulkUpdate with any type of body +func NewDcimSiteGroupsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/site-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 +} + +// NewDcimSiteGroupsDestroyRequest generates requests for DcimSiteGroupsDestroy +func NewDcimSiteGroupsDestroyRequest(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("/api/dcim/site-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 +} + +// NewDcimSiteGroupsRetrieveRequest generates requests for DcimSiteGroupsRetrieve +func NewDcimSiteGroupsRetrieveRequest(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("/api/dcim/site-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 +} + +// NewDcimSiteGroupsPartialUpdateRequest calls the generic DcimSiteGroupsPartialUpdate builder with application/json body +func NewDcimSiteGroupsPartialUpdateRequest(server string, id int, body DcimSiteGroupsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimSiteGroupsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimSiteGroupsPartialUpdateRequestWithBody generates requests for DcimSiteGroupsPartialUpdate with any type of body +func NewDcimSiteGroupsPartialUpdateRequestWithBody(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("/api/dcim/site-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 +} + +// NewDcimSiteGroupsUpdateRequest calls the generic DcimSiteGroupsUpdate builder with application/json body +func NewDcimSiteGroupsUpdateRequest(server string, id int, body DcimSiteGroupsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimSiteGroupsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimSiteGroupsUpdateRequestWithBody generates requests for DcimSiteGroupsUpdate with any type of body +func NewDcimSiteGroupsUpdateRequestWithBody(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("/api/dcim/site-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 +} + +// NewDcimSitesBulkDestroyRequest calls the generic DcimSitesBulkDestroy builder with application/json body +func NewDcimSitesBulkDestroyRequest(server string, body DcimSitesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimSitesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimSitesBulkDestroyRequestWithBody generates requests for DcimSitesBulkDestroy with any type of body +func NewDcimSitesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/sites/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.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.AsnId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asn_id", runtime.ParamLocationQuery, *params.AsnId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AsnIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asn_id__n", runtime.ParamLocationQuery, *params.AsnIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Contact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact", runtime.ParamLocationQuery, *params.Contact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact__n", runtime.ParamLocationQuery, *params.ContactN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group", runtime.ParamLocationQuery, *params.ContactGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group__n", runtime.ParamLocationQuery, *params.ContactGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role", runtime.ParamLocationQuery, *params.ContactRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role__n", runtime.ParamLocationQuery, *params.ContactRoleN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.FacilityEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility__empty", runtime.ParamLocationQuery, *params.FacilityEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.LatitudeEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "latitude__empty", runtime.ParamLocationQuery, *params.LatitudeEmpty); err != nil { + return nil, err + } else if parsed, err := 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.LongitudeEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "longitude__empty", runtime.ParamLocationQuery, *params.LongitudeEmpty); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic DcimVirtualChassisBulkDestroy builder with application/json body +func NewDcimVirtualChassisBulkDestroyRequest(server string, body DcimVirtualChassisBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimVirtualChassisBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimVirtualChassisBulkDestroyRequestWithBody generates requests for DcimVirtualChassisBulkDestroy with any type of body +func NewDcimVirtualChassisBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/dcim/virtual-chassis/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DomainEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain__empty", runtime.ParamLocationQuery, *params.DomainEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewDcimVirtualDeviceContextsBulkDestroyRequest calls the generic DcimVirtualDeviceContextsBulkDestroy builder with application/json body +func NewDcimVirtualDeviceContextsBulkDestroyRequest(server string, body DcimVirtualDeviceContextsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimVirtualDeviceContextsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimVirtualDeviceContextsBulkDestroyRequestWithBody generates requests for DcimVirtualDeviceContextsBulkDestroy with any type of body +func NewDcimVirtualDeviceContextsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/virtual-device-contexts/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimVirtualDeviceContextsListRequest generates requests for DcimVirtualDeviceContextsList +func NewDcimVirtualDeviceContextsListRequest(server string, params *DcimVirtualDeviceContextsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/virtual-device-contexts/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Tag != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag__n", runtime.ParamLocationQuery, *params.TagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewDcimVirtualDeviceContextsBulkPartialUpdateRequest calls the generic DcimVirtualDeviceContextsBulkPartialUpdate builder with application/json body +func NewDcimVirtualDeviceContextsBulkPartialUpdateRequest(server string, body DcimVirtualDeviceContextsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimVirtualDeviceContextsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimVirtualDeviceContextsBulkPartialUpdateRequestWithBody generates requests for DcimVirtualDeviceContextsBulkPartialUpdate with any type of body +func NewDcimVirtualDeviceContextsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/virtual-device-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 +} + +// NewDcimVirtualDeviceContextsCreateRequest calls the generic DcimVirtualDeviceContextsCreate builder with application/json body +func NewDcimVirtualDeviceContextsCreateRequest(server string, body DcimVirtualDeviceContextsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimVirtualDeviceContextsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimVirtualDeviceContextsCreateRequestWithBody generates requests for DcimVirtualDeviceContextsCreate with any type of body +func NewDcimVirtualDeviceContextsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/virtual-device-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 +} + +// NewDcimVirtualDeviceContextsBulkUpdateRequest calls the generic DcimVirtualDeviceContextsBulkUpdate builder with application/json body +func NewDcimVirtualDeviceContextsBulkUpdateRequest(server string, body DcimVirtualDeviceContextsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimVirtualDeviceContextsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimVirtualDeviceContextsBulkUpdateRequestWithBody generates requests for DcimVirtualDeviceContextsBulkUpdate with any type of body +func NewDcimVirtualDeviceContextsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/dcim/virtual-device-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 +} + +// NewDcimVirtualDeviceContextsDestroyRequest generates requests for DcimVirtualDeviceContextsDestroy +func NewDcimVirtualDeviceContextsDestroyRequest(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("/api/dcim/virtual-device-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 +} + +// NewDcimVirtualDeviceContextsRetrieveRequest generates requests for DcimVirtualDeviceContextsRetrieve +func NewDcimVirtualDeviceContextsRetrieveRequest(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("/api/dcim/virtual-device-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 +} + +// NewDcimVirtualDeviceContextsPartialUpdateRequest calls the generic DcimVirtualDeviceContextsPartialUpdate builder with application/json body +func NewDcimVirtualDeviceContextsPartialUpdateRequest(server string, id int, body DcimVirtualDeviceContextsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimVirtualDeviceContextsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimVirtualDeviceContextsPartialUpdateRequestWithBody generates requests for DcimVirtualDeviceContextsPartialUpdate with any type of body +func NewDcimVirtualDeviceContextsPartialUpdateRequestWithBody(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("/api/dcim/virtual-device-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 +} + +// NewDcimVirtualDeviceContextsUpdateRequest calls the generic DcimVirtualDeviceContextsUpdate builder with application/json body +func NewDcimVirtualDeviceContextsUpdateRequest(server string, id int, body DcimVirtualDeviceContextsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimVirtualDeviceContextsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimVirtualDeviceContextsUpdateRequestWithBody generates requests for DcimVirtualDeviceContextsUpdate with any type of body +func NewDcimVirtualDeviceContextsUpdateRequestWithBody(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("/api/dcim/virtual-device-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 +} + +// NewExtrasBookmarksBulkDestroyRequest calls the generic ExtrasBookmarksBulkDestroy builder with application/json body +func NewExtrasBookmarksBulkDestroyRequest(server string, body ExtrasBookmarksBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasBookmarksBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasBookmarksBulkDestroyRequestWithBody generates requests for ExtrasBookmarksBulkDestroy with any type of body +func NewExtrasBookmarksBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/bookmarks/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasBookmarksListRequest generates requests for ExtrasBookmarksList +func NewExtrasBookmarksListRequest(server string, params *ExtrasBookmarksListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/bookmarks/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.ObjectIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__empty", runtime.ParamLocationQuery, *params.ObjectIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__gt", runtime.ParamLocationQuery, *params.ObjectIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__gte", runtime.ParamLocationQuery, *params.ObjectIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__lt", runtime.ParamLocationQuery, *params.ObjectIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__lte", runtime.ParamLocationQuery, *params.ObjectIdLte); err != nil { + return nil, err + } else if parsed, err := 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.ObjectType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type", runtime.ParamLocationQuery, *params.ObjectType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type__n", runtime.ParamLocationQuery, *params.ObjectTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type_id", runtime.ParamLocationQuery, *params.ObjectTypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type_id__empty", runtime.ParamLocationQuery, *params.ObjectTypeIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type_id__gt", runtime.ParamLocationQuery, *params.ObjectTypeIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type_id__gte", runtime.ParamLocationQuery, *params.ObjectTypeIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type_id__lt", runtime.ParamLocationQuery, *params.ObjectTypeIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type_id__lte", runtime.ParamLocationQuery, *params.ObjectTypeIdLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_type_id__n", runtime.ParamLocationQuery, *params.ObjectTypeIdN); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasBookmarksBulkPartialUpdateRequest calls the generic ExtrasBookmarksBulkPartialUpdate builder with application/json body +func NewExtrasBookmarksBulkPartialUpdateRequest(server string, body ExtrasBookmarksBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasBookmarksBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasBookmarksBulkPartialUpdateRequestWithBody generates requests for ExtrasBookmarksBulkPartialUpdate with any type of body +func NewExtrasBookmarksBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/bookmarks/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasBookmarksCreateRequest calls the generic ExtrasBookmarksCreate builder with application/json body +func NewExtrasBookmarksCreateRequest(server string, body ExtrasBookmarksCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasBookmarksCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasBookmarksCreateRequestWithBody generates requests for ExtrasBookmarksCreate with any type of body +func NewExtrasBookmarksCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/bookmarks/") + 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 +} + +// NewExtrasBookmarksBulkUpdateRequest calls the generic ExtrasBookmarksBulkUpdate builder with application/json body +func NewExtrasBookmarksBulkUpdateRequest(server string, body ExtrasBookmarksBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasBookmarksBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasBookmarksBulkUpdateRequestWithBody generates requests for ExtrasBookmarksBulkUpdate with any type of body +func NewExtrasBookmarksBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/bookmarks/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasBookmarksDestroyRequest generates requests for ExtrasBookmarksDestroy +func NewExtrasBookmarksDestroyRequest(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("/api/extras/bookmarks/%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 +} + +// NewExtrasBookmarksRetrieveRequest generates requests for ExtrasBookmarksRetrieve +func NewExtrasBookmarksRetrieveRequest(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("/api/extras/bookmarks/%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 +} + +// NewExtrasBookmarksPartialUpdateRequest calls the generic ExtrasBookmarksPartialUpdate builder with application/json body +func NewExtrasBookmarksPartialUpdateRequest(server string, id int, body ExtrasBookmarksPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasBookmarksPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasBookmarksPartialUpdateRequestWithBody generates requests for ExtrasBookmarksPartialUpdate with any type of body +func NewExtrasBookmarksPartialUpdateRequestWithBody(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("/api/extras/bookmarks/%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 +} + +// NewExtrasBookmarksUpdateRequest calls the generic ExtrasBookmarksUpdate builder with application/json body +func NewExtrasBookmarksUpdateRequest(server string, id int, body ExtrasBookmarksUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasBookmarksUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasBookmarksUpdateRequestWithBody generates requests for ExtrasBookmarksUpdate with any type of body +func NewExtrasBookmarksUpdateRequestWithBody(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("/api/extras/bookmarks/%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 calls the generic ExtrasConfigContextsBulkDestroy builder with application/json body +func NewExtrasConfigContextsBulkDestroyRequest(server string, body ExtrasConfigContextsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasConfigContextsBulkDestroyRequestWithBody generates requests for ExtrasConfigContextsBulkDestroy with any type of body +func NewExtrasConfigContextsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/extras/config-contexts/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataFileId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_file_id", runtime.ParamLocationQuery, *params.DataFileId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataFileIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_file_id__n", runtime.ParamLocationQuery, *params.DataFileIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSourceId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_source_id", runtime.ParamLocationQuery, *params.DataSourceId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSourceIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_source_id__n", runtime.ParamLocationQuery, *params.DataSourceIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSynced != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced", runtime.ParamLocationQuery, *params.DataSynced); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__empty", runtime.ParamLocationQuery, *params.DataSyncedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__gt", runtime.ParamLocationQuery, *params.DataSyncedGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__gte", runtime.ParamLocationQuery, *params.DataSyncedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__lt", runtime.ParamLocationQuery, *params.DataSyncedLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__lte", runtime.ParamLocationQuery, *params.DataSyncedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__n", runtime.ParamLocationQuery, *params.DataSyncedN); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.TagId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag_id", runtime.ParamLocationQuery, *params.TagId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TagIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag_id__n", runtime.ParamLocationQuery, *params.TagIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewExtrasConfigContextsSyncCreateRequest calls the generic ExtrasConfigContextsSyncCreate builder with application/json body +func NewExtrasConfigContextsSyncCreateRequest(server string, id int, body ExtrasConfigContextsSyncCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextsSyncCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasConfigContextsSyncCreateRequestWithBody generates requests for ExtrasConfigContextsSyncCreate with any type of body +func NewExtrasConfigContextsSyncCreateRequestWithBody(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("/api/extras/config-contexts/%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 +} + +// NewExtrasConfigTemplatesBulkDestroyRequest calls the generic ExtrasConfigTemplatesBulkDestroy builder with application/json body +func NewExtrasConfigTemplatesBulkDestroyRequest(server string, body ExtrasConfigTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasConfigTemplatesBulkDestroyRequestWithBody generates requests for ExtrasConfigTemplatesBulkDestroy with any type of body +func NewExtrasConfigTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/config-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasConfigTemplatesListRequest generates requests for ExtrasConfigTemplatesList +func NewExtrasConfigTemplatesListRequest(server string, params *ExtrasConfigTemplatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/config-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.DataFileId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_file_id", runtime.ParamLocationQuery, *params.DataFileId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataFileIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_file_id__n", runtime.ParamLocationQuery, *params.DataFileIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSourceId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_source_id", runtime.ParamLocationQuery, *params.DataSourceId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSourceIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_source_id__n", runtime.ParamLocationQuery, *params.DataSourceIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSynced != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced", runtime.ParamLocationQuery, *params.DataSynced); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__empty", runtime.ParamLocationQuery, *params.DataSyncedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__gt", runtime.ParamLocationQuery, *params.DataSyncedGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__gte", runtime.ParamLocationQuery, *params.DataSyncedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__lt", runtime.ParamLocationQuery, *params.DataSyncedLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__lte", runtime.ParamLocationQuery, *params.DataSyncedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__n", runtime.ParamLocationQuery, *params.DataSyncedN); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasConfigTemplatesBulkPartialUpdateRequest calls the generic ExtrasConfigTemplatesBulkPartialUpdate builder with application/json body +func NewExtrasConfigTemplatesBulkPartialUpdateRequest(server string, body ExtrasConfigTemplatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigTemplatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasConfigTemplatesBulkPartialUpdateRequestWithBody generates requests for ExtrasConfigTemplatesBulkPartialUpdate with any type of body +func NewExtrasConfigTemplatesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/config-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 +} + +// NewExtrasConfigTemplatesCreateRequest calls the generic ExtrasConfigTemplatesCreate builder with application/json body +func NewExtrasConfigTemplatesCreateRequest(server string, body ExtrasConfigTemplatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigTemplatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasConfigTemplatesCreateRequestWithBody generates requests for ExtrasConfigTemplatesCreate with any type of body +func NewExtrasConfigTemplatesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/config-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 +} + +// NewExtrasConfigTemplatesBulkUpdateRequest calls the generic ExtrasConfigTemplatesBulkUpdate builder with application/json body +func NewExtrasConfigTemplatesBulkUpdateRequest(server string, body ExtrasConfigTemplatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigTemplatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasConfigTemplatesBulkUpdateRequestWithBody generates requests for ExtrasConfigTemplatesBulkUpdate with any type of body +func NewExtrasConfigTemplatesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/config-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 +} + +// NewExtrasConfigTemplatesDestroyRequest generates requests for ExtrasConfigTemplatesDestroy +func NewExtrasConfigTemplatesDestroyRequest(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("/api/extras/config-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 +} + +// NewExtrasConfigTemplatesRetrieveRequest generates requests for ExtrasConfigTemplatesRetrieve +func NewExtrasConfigTemplatesRetrieveRequest(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("/api/extras/config-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 +} + +// NewExtrasConfigTemplatesPartialUpdateRequest calls the generic ExtrasConfigTemplatesPartialUpdate builder with application/json body +func NewExtrasConfigTemplatesPartialUpdateRequest(server string, id int, body ExtrasConfigTemplatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigTemplatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasConfigTemplatesPartialUpdateRequestWithBody generates requests for ExtrasConfigTemplatesPartialUpdate with any type of body +func NewExtrasConfigTemplatesPartialUpdateRequestWithBody(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("/api/extras/config-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 +} + +// NewExtrasConfigTemplatesUpdateRequest calls the generic ExtrasConfigTemplatesUpdate builder with application/json body +func NewExtrasConfigTemplatesUpdateRequest(server string, id int, body ExtrasConfigTemplatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigTemplatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasConfigTemplatesUpdateRequestWithBody generates requests for ExtrasConfigTemplatesUpdate with any type of body +func NewExtrasConfigTemplatesUpdateRequestWithBody(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("/api/extras/config-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 +} + +// NewExtrasConfigTemplatesRenderCreateRequest calls the generic ExtrasConfigTemplatesRenderCreate builder with application/json body +func NewExtrasConfigTemplatesRenderCreateRequest(server string, id int, params *ExtrasConfigTemplatesRenderCreateParams, body ExtrasConfigTemplatesRenderCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigTemplatesRenderCreateRequestWithBody(server, id, params, "application/json", bodyReader) +} + +// NewExtrasConfigTemplatesRenderCreateRequestWithBody generates requests for ExtrasConfigTemplatesRenderCreate with any type of body +func NewExtrasConfigTemplatesRenderCreateRequestWithBody(server string, id int, params *ExtrasConfigTemplatesRenderCreateParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/config-templates/%s/render/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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) + } + } + } + + } + + 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 +} + +// NewExtrasConfigTemplatesSyncCreateRequest calls the generic ExtrasConfigTemplatesSyncCreate builder with application/json body +func NewExtrasConfigTemplatesSyncCreateRequest(server string, id int, body ExtrasConfigTemplatesSyncCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigTemplatesSyncCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasConfigTemplatesSyncCreateRequestWithBody generates requests for ExtrasConfigTemplatesSyncCreate with any type of body +func NewExtrasConfigTemplatesSyncCreateRequestWithBody(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("/api/extras/config-templates/%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 +} + +// 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("/api/extras/content-types/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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) + } + } + } + + } + + if params.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// 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("/api/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 +} + +// NewExtrasCustomFieldChoiceSetsBulkDestroyRequest calls the generic ExtrasCustomFieldChoiceSetsBulkDestroy builder with application/json body +func NewExtrasCustomFieldChoiceSetsBulkDestroyRequest(server string, body ExtrasCustomFieldChoiceSetsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldChoiceSetsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomFieldChoiceSetsBulkDestroyRequestWithBody generates requests for ExtrasCustomFieldChoiceSetsBulkDestroy with any type of body +func NewExtrasCustomFieldChoiceSetsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/custom-field-choice-sets/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasCustomFieldChoiceSetsListRequest generates requests for ExtrasCustomFieldChoiceSetsList +func NewExtrasCustomFieldChoiceSetsListRequest(server string, params *ExtrasCustomFieldChoiceSetsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/custom-field-choice-sets/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.BaseChoices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "base_choices", runtime.ParamLocationQuery, *params.BaseChoices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BaseChoicesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "base_choices__n", runtime.ParamLocationQuery, *params.BaseChoicesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Choice != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "choice", runtime.ParamLocationQuery, *params.Choice); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.OrderAlphabetically != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "order_alphabetically", runtime.ParamLocationQuery, *params.OrderAlphabetically); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasCustomFieldChoiceSetsBulkPartialUpdateRequest calls the generic ExtrasCustomFieldChoiceSetsBulkPartialUpdate builder with application/json body +func NewExtrasCustomFieldChoiceSetsBulkPartialUpdateRequest(server string, body ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldChoiceSetsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomFieldChoiceSetsBulkPartialUpdateRequestWithBody generates requests for ExtrasCustomFieldChoiceSetsBulkPartialUpdate with any type of body +func NewExtrasCustomFieldChoiceSetsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/custom-field-choice-sets/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasCustomFieldChoiceSetsCreateRequest calls the generic ExtrasCustomFieldChoiceSetsCreate builder with application/json body +func NewExtrasCustomFieldChoiceSetsCreateRequest(server string, body ExtrasCustomFieldChoiceSetsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldChoiceSetsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomFieldChoiceSetsCreateRequestWithBody generates requests for ExtrasCustomFieldChoiceSetsCreate with any type of body +func NewExtrasCustomFieldChoiceSetsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/custom-field-choice-sets/") + 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 +} + +// NewExtrasCustomFieldChoiceSetsBulkUpdateRequest calls the generic ExtrasCustomFieldChoiceSetsBulkUpdate builder with application/json body +func NewExtrasCustomFieldChoiceSetsBulkUpdateRequest(server string, body ExtrasCustomFieldChoiceSetsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldChoiceSetsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomFieldChoiceSetsBulkUpdateRequestWithBody generates requests for ExtrasCustomFieldChoiceSetsBulkUpdate with any type of body +func NewExtrasCustomFieldChoiceSetsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/custom-field-choice-sets/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasCustomFieldChoiceSetsDestroyRequest generates requests for ExtrasCustomFieldChoiceSetsDestroy +func NewExtrasCustomFieldChoiceSetsDestroyRequest(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("/api/extras/custom-field-choice-sets/%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 +} + +// NewExtrasCustomFieldChoiceSetsRetrieveRequest generates requests for ExtrasCustomFieldChoiceSetsRetrieve +func NewExtrasCustomFieldChoiceSetsRetrieveRequest(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("/api/extras/custom-field-choice-sets/%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 +} + +// NewExtrasCustomFieldChoiceSetsPartialUpdateRequest calls the generic ExtrasCustomFieldChoiceSetsPartialUpdate builder with application/json body +func NewExtrasCustomFieldChoiceSetsPartialUpdateRequest(server string, id int, body ExtrasCustomFieldChoiceSetsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldChoiceSetsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasCustomFieldChoiceSetsPartialUpdateRequestWithBody generates requests for ExtrasCustomFieldChoiceSetsPartialUpdate with any type of body +func NewExtrasCustomFieldChoiceSetsPartialUpdateRequestWithBody(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("/api/extras/custom-field-choice-sets/%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 +} + +// NewExtrasCustomFieldChoiceSetsUpdateRequest calls the generic ExtrasCustomFieldChoiceSetsUpdate builder with application/json body +func NewExtrasCustomFieldChoiceSetsUpdateRequest(server string, id int, body ExtrasCustomFieldChoiceSetsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldChoiceSetsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasCustomFieldChoiceSetsUpdateRequestWithBody generates requests for ExtrasCustomFieldChoiceSetsUpdate with any type of body +func NewExtrasCustomFieldChoiceSetsUpdateRequestWithBody(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("/api/extras/custom-field-choice-sets/%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 +} + +// NewExtrasCustomFieldChoiceSetsChoicesRetrieveRequest generates requests for ExtrasCustomFieldChoiceSetsChoicesRetrieve +func NewExtrasCustomFieldChoiceSetsChoicesRetrieveRequest(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("/api/extras/custom-field-choice-sets/%s/choices/", 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 +} + +// NewExtrasCustomFieldsBulkDestroyRequest calls the generic ExtrasCustomFieldsBulkDestroy builder with application/json body +func NewExtrasCustomFieldsBulkDestroyRequest(server string, body ExtrasCustomFieldsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomFieldsBulkDestroyRequestWithBody generates requests for ExtrasCustomFieldsBulkDestroy with any type of body +func NewExtrasCustomFieldsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/extras/custom-fields/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.ChoiceSet != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "choice_set", runtime.ParamLocationQuery, *params.ChoiceSet); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChoiceSetN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "choice_set__n", runtime.ParamLocationQuery, *params.ChoiceSetN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChoiceSetId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "choice_set_id", runtime.ParamLocationQuery, *params.ChoiceSetId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChoiceSetIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "choice_set_id__n", runtime.ParamLocationQuery, *params.ChoiceSetIdN); err != nil { + return nil, err + } else if parsed, err := 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.ContentTypeIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__empty", runtime.ParamLocationQuery, *params.ContentTypeIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__gt", runtime.ParamLocationQuery, *params.ContentTypeIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__gte", runtime.ParamLocationQuery, *params.ContentTypeIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__lt", runtime.ParamLocationQuery, *params.ContentTypeIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__lte", runtime.ParamLocationQuery, *params.ContentTypeIdLte); err != nil { + return nil, err + } else if parsed, err := 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.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.ContentTypesIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__ic", runtime.ParamLocationQuery, *params.ContentTypesIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__ie", runtime.ParamLocationQuery, *params.ContentTypesIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__iew", runtime.ParamLocationQuery, *params.ContentTypesIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__isw", runtime.ParamLocationQuery, *params.ContentTypesIsw); err != nil { + return nil, err + } else if parsed, err := 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.ContentTypesNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nic", runtime.ParamLocationQuery, *params.ContentTypesNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nie", runtime.ParamLocationQuery, *params.ContentTypesNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__niew", runtime.ParamLocationQuery, *params.ContentTypesNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nisw", runtime.ParamLocationQuery, *params.ContentTypesNisw); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.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.GroupNameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__empty", runtime.ParamLocationQuery, *params.GroupNameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.IsCloneable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "is_cloneable", runtime.ParamLocationQuery, *params.IsCloneable); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SearchWeight != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "search_weight", runtime.ParamLocationQuery, *params.SearchWeight); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SearchWeightEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "search_weight__empty", runtime.ParamLocationQuery, *params.SearchWeightEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SearchWeightGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "search_weight__gt", runtime.ParamLocationQuery, *params.SearchWeightGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SearchWeightGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "search_weight__gte", runtime.ParamLocationQuery, *params.SearchWeightGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SearchWeightLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "search_weight__lt", runtime.ParamLocationQuery, *params.SearchWeightLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SearchWeightLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "search_weight__lte", runtime.ParamLocationQuery, *params.SearchWeightLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SearchWeightN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "search_weight__n", runtime.ParamLocationQuery, *params.SearchWeightN); err != nil { + return nil, err + } else if parsed, err := 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.UiVisibility != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ui_visibility", runtime.ParamLocationQuery, *params.UiVisibility); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UiVisibilityN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ui_visibility__n", runtime.ParamLocationQuery, *params.UiVisibilityN); err != nil { + return nil, err + } else if parsed, err := 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.WeightEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__empty", runtime.ParamLocationQuery, *params.WeightEmpty); err != nil { + return nil, err + } else if parsed, err := 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic ExtrasCustomLinksBulkDestroy builder with application/json body +func NewExtrasCustomLinksBulkDestroyRequest(server string, body ExtrasCustomLinksBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomLinksBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomLinksBulkDestroyRequestWithBody generates requests for ExtrasCustomLinksBulkDestroy with any type of body +func NewExtrasCustomLinksBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/extras/custom-links/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + 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.ContentTypeIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__empty", runtime.ParamLocationQuery, *params.ContentTypeIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__gt", runtime.ParamLocationQuery, *params.ContentTypeIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__gte", runtime.ParamLocationQuery, *params.ContentTypeIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__lt", runtime.ParamLocationQuery, *params.ContentTypeIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__lte", runtime.ParamLocationQuery, *params.ContentTypeIdLte); err != nil { + return nil, err + } else if parsed, err := 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.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.ContentTypesIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__ic", runtime.ParamLocationQuery, *params.ContentTypesIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__ie", runtime.ParamLocationQuery, *params.ContentTypesIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__iew", runtime.ParamLocationQuery, *params.ContentTypesIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__isw", runtime.ParamLocationQuery, *params.ContentTypesIsw); err != nil { + return nil, err + } else if parsed, err := 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.ContentTypesNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nic", runtime.ParamLocationQuery, *params.ContentTypesNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nie", runtime.ParamLocationQuery, *params.ContentTypesNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__niew", runtime.ParamLocationQuery, *params.ContentTypesNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nisw", runtime.ParamLocationQuery, *params.ContentTypesNisw); err != nil { + return nil, err + } else if parsed, err := 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.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.GroupNameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__empty", runtime.ParamLocationQuery, *params.GroupNameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.LinkText != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_text", runtime.ParamLocationQuery, *params.LinkText); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkTextIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_text__ic", runtime.ParamLocationQuery, *params.LinkTextIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkTextIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_text__ie", runtime.ParamLocationQuery, *params.LinkTextIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkTextIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_text__iew", runtime.ParamLocationQuery, *params.LinkTextIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkTextIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_text__isw", runtime.ParamLocationQuery, *params.LinkTextIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkTextN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_text__n", runtime.ParamLocationQuery, *params.LinkTextN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkTextNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_text__nic", runtime.ParamLocationQuery, *params.LinkTextNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkTextNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_text__nie", runtime.ParamLocationQuery, *params.LinkTextNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkTextNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_text__niew", runtime.ParamLocationQuery, *params.LinkTextNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkTextNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_text__nisw", runtime.ParamLocationQuery, *params.LinkTextNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkUrl != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_url", runtime.ParamLocationQuery, *params.LinkUrl); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkUrlIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_url__ic", runtime.ParamLocationQuery, *params.LinkUrlIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkUrlIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_url__ie", runtime.ParamLocationQuery, *params.LinkUrlIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkUrlIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_url__iew", runtime.ParamLocationQuery, *params.LinkUrlIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkUrlIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_url__isw", runtime.ParamLocationQuery, *params.LinkUrlIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkUrlN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_url__n", runtime.ParamLocationQuery, *params.LinkUrlN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkUrlNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_url__nic", runtime.ParamLocationQuery, *params.LinkUrlNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkUrlNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_url__nie", runtime.ParamLocationQuery, *params.LinkUrlNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkUrlNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_url__niew", runtime.ParamLocationQuery, *params.LinkUrlNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkUrlNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link_url__nisw", runtime.ParamLocationQuery, *params.LinkUrlNisw); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Weight != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight", runtime.ParamLocationQuery, *params.Weight); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WeightEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__empty", runtime.ParamLocationQuery, *params.WeightEmpty); err != nil { + return nil, err + } else if parsed, err := 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewExtrasDashboardDestroyRequest generates requests for ExtrasDashboardDestroy +func NewExtrasDashboardDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/dashboard/") + 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 +} + +// NewExtrasDashboardRetrieveRequest generates requests for ExtrasDashboardRetrieve +func NewExtrasDashboardRetrieveRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/dashboard/") + 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 +} + +// NewExtrasDashboardPartialUpdateRequest calls the generic ExtrasDashboardPartialUpdate builder with application/json body +func NewExtrasDashboardPartialUpdateRequest(server string, body ExtrasDashboardPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDashboardPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasDashboardPartialUpdateRequestWithBody generates requests for ExtrasDashboardPartialUpdate with any type of body +func NewExtrasDashboardPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/dashboard/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasDashboardUpdateRequest calls the generic ExtrasDashboardUpdate builder with application/json body +func NewExtrasDashboardUpdateRequest(server string, body ExtrasDashboardUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDashboardUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasDashboardUpdateRequestWithBody generates requests for ExtrasDashboardUpdate with any type of body +func NewExtrasDashboardUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/dashboard/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasExportTemplatesBulkDestroyRequest calls the generic ExtrasExportTemplatesBulkDestroy builder with application/json body +func NewExtrasExportTemplatesBulkDestroyRequest(server string, body ExtrasExportTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasExportTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasExportTemplatesBulkDestroyRequestWithBody generates requests for ExtrasExportTemplatesBulkDestroy with any type of body +func NewExtrasExportTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/extras/export-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + 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.ContentTypeIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__empty", runtime.ParamLocationQuery, *params.ContentTypeIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__gt", runtime.ParamLocationQuery, *params.ContentTypeIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__gte", runtime.ParamLocationQuery, *params.ContentTypeIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__lt", runtime.ParamLocationQuery, *params.ContentTypeIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__lte", runtime.ParamLocationQuery, *params.ContentTypeIdLte); err != nil { + return nil, err + } else if parsed, err := 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.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.ContentTypesIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__ic", runtime.ParamLocationQuery, *params.ContentTypesIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__ie", runtime.ParamLocationQuery, *params.ContentTypesIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__iew", runtime.ParamLocationQuery, *params.ContentTypesIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__isw", runtime.ParamLocationQuery, *params.ContentTypesIsw); err != nil { + return nil, err + } else if parsed, err := 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.ContentTypesNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nic", runtime.ParamLocationQuery, *params.ContentTypesNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nie", runtime.ParamLocationQuery, *params.ContentTypesNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__niew", runtime.ParamLocationQuery, *params.ContentTypesNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nisw", runtime.ParamLocationQuery, *params.ContentTypesNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataFileId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_file_id", runtime.ParamLocationQuery, *params.DataFileId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataFileIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_file_id__n", runtime.ParamLocationQuery, *params.DataFileIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSourceId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_source_id", runtime.ParamLocationQuery, *params.DataSourceId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSourceIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_source_id__n", runtime.ParamLocationQuery, *params.DataSourceIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSynced != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced", runtime.ParamLocationQuery, *params.DataSynced); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__empty", runtime.ParamLocationQuery, *params.DataSyncedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__gt", runtime.ParamLocationQuery, *params.DataSyncedGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__gte", runtime.ParamLocationQuery, *params.DataSyncedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__lt", runtime.ParamLocationQuery, *params.DataSyncedLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__lte", runtime.ParamLocationQuery, *params.DataSyncedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DataSyncedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "data_synced__n", runtime.ParamLocationQuery, *params.DataSyncedN); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewExtrasExportTemplatesSyncCreateRequest calls the generic ExtrasExportTemplatesSyncCreate builder with application/json body +func NewExtrasExportTemplatesSyncCreateRequest(server string, id int, body ExtrasExportTemplatesSyncCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasExportTemplatesSyncCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasExportTemplatesSyncCreateRequestWithBody generates requests for ExtrasExportTemplatesSyncCreate with any type of body +func NewExtrasExportTemplatesSyncCreateRequestWithBody(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("/api/extras/export-templates/%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 +} + +// NewExtrasImageAttachmentsBulkDestroyRequest calls the generic ExtrasImageAttachmentsBulkDestroy builder with application/json body +func NewExtrasImageAttachmentsBulkDestroyRequest(server string, body ExtrasImageAttachmentsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasImageAttachmentsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasImageAttachmentsBulkDestroyRequestWithBody generates requests for ExtrasImageAttachmentsBulkDestroy with any type of body +func NewExtrasImageAttachmentsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/extras/image-attachments/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.ObjectIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__empty", runtime.ParamLocationQuery, *params.ObjectIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__gt", runtime.ParamLocationQuery, *params.ObjectIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__gte", runtime.ParamLocationQuery, *params.ObjectIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__lt", runtime.ParamLocationQuery, *params.ObjectIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__lte", runtime.ParamLocationQuery, *params.ObjectIdLte); err != nil { + return nil, err + } else if parsed, err := 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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewExtrasJournalEntriesBulkDestroyRequest calls the generic ExtrasJournalEntriesBulkDestroy builder with application/json body +func NewExtrasJournalEntriesBulkDestroyRequest(server string, body ExtrasJournalEntriesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJournalEntriesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasJournalEntriesBulkDestroyRequestWithBody generates requests for ExtrasJournalEntriesBulkDestroy with any type of body +func NewExtrasJournalEntriesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/journal-entries/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasJournalEntriesListRequest generates requests for ExtrasJournalEntriesList +func NewExtrasJournalEntriesListRequest(server string, params *ExtrasJournalEntriesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/journal-entries/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.AssignedObjectId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id", runtime.ParamLocationQuery, *params.AssignedObjectId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__empty", runtime.ParamLocationQuery, *params.AssignedObjectIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__gt", runtime.ParamLocationQuery, *params.AssignedObjectIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__gte", runtime.ParamLocationQuery, *params.AssignedObjectIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__lt", runtime.ParamLocationQuery, *params.AssignedObjectIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__lte", runtime.ParamLocationQuery, *params.AssignedObjectIdLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__n", runtime.ParamLocationQuery, *params.AssignedObjectIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_type", runtime.ParamLocationQuery, *params.AssignedObjectType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_type__n", runtime.ParamLocationQuery, *params.AssignedObjectTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectTypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_type_id", runtime.ParamLocationQuery, *params.AssignedObjectTypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectTypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_type_id__n", runtime.ParamLocationQuery, *params.AssignedObjectTypeIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedAfter != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_after", runtime.ParamLocationQuery, *params.CreatedAfter); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedBefore != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_before", runtime.ParamLocationQuery, *params.CreatedBefore); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedBy != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by", runtime.ParamLocationQuery, *params.CreatedBy); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedByN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by__n", runtime.ParamLocationQuery, *params.CreatedByN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedById != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_id", runtime.ParamLocationQuery, *params.CreatedById); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedByIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_id__n", runtime.ParamLocationQuery, *params.CreatedByIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.KindN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "kind__n", runtime.ParamLocationQuery, *params.KindN); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewExtrasJournalEntriesBulkPartialUpdateRequest calls the generic ExtrasJournalEntriesBulkPartialUpdate builder with application/json body +func NewExtrasJournalEntriesBulkPartialUpdateRequest(server string, body ExtrasJournalEntriesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJournalEntriesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasJournalEntriesBulkPartialUpdateRequestWithBody generates requests for ExtrasJournalEntriesBulkPartialUpdate with any type of body +func NewExtrasJournalEntriesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/journal-entries/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasJournalEntriesCreateRequest calls the generic ExtrasJournalEntriesCreate builder with application/json body +func NewExtrasJournalEntriesCreateRequest(server string, body ExtrasJournalEntriesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJournalEntriesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasJournalEntriesCreateRequestWithBody generates requests for ExtrasJournalEntriesCreate with any type of body +func NewExtrasJournalEntriesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/journal-entries/") + 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 +} + +// NewExtrasJournalEntriesBulkUpdateRequest calls the generic ExtrasJournalEntriesBulkUpdate builder with application/json body +func NewExtrasJournalEntriesBulkUpdateRequest(server string, body ExtrasJournalEntriesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJournalEntriesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasJournalEntriesBulkUpdateRequestWithBody generates requests for ExtrasJournalEntriesBulkUpdate with any type of body +func NewExtrasJournalEntriesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/journal-entries/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasJournalEntriesDestroyRequest generates requests for ExtrasJournalEntriesDestroy +func NewExtrasJournalEntriesDestroyRequest(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("/api/extras/journal-entries/%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 +} + +// NewExtrasJournalEntriesRetrieveRequest generates requests for ExtrasJournalEntriesRetrieve +func NewExtrasJournalEntriesRetrieveRequest(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("/api/extras/journal-entries/%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 +} + +// NewExtrasJournalEntriesPartialUpdateRequest calls the generic ExtrasJournalEntriesPartialUpdate builder with application/json body +func NewExtrasJournalEntriesPartialUpdateRequest(server string, id int, body ExtrasJournalEntriesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJournalEntriesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasJournalEntriesPartialUpdateRequestWithBody generates requests for ExtrasJournalEntriesPartialUpdate with any type of body +func NewExtrasJournalEntriesPartialUpdateRequestWithBody(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("/api/extras/journal-entries/%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 +} + +// NewExtrasJournalEntriesUpdateRequest calls the generic ExtrasJournalEntriesUpdate builder with application/json body +func NewExtrasJournalEntriesUpdateRequest(server string, id int, body ExtrasJournalEntriesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJournalEntriesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasJournalEntriesUpdateRequestWithBody generates requests for ExtrasJournalEntriesUpdate with any type of body +func NewExtrasJournalEntriesUpdateRequestWithBody(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("/api/extras/journal-entries/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasObjectChangesListRequest generates requests for ExtrasObjectChangesList +func NewExtrasObjectChangesListRequest(server string, params *ExtrasObjectChangesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/object-changes/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.ChangedObjectIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__empty", runtime.ParamLocationQuery, *params.ChangedObjectIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__gt", runtime.ParamLocationQuery, *params.ChangedObjectIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__gte", runtime.ParamLocationQuery, *params.ChangedObjectIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__lt", runtime.ParamLocationQuery, *params.ChangedObjectIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__lte", runtime.ParamLocationQuery, *params.ChangedObjectIdLte); err != nil { + return nil, err + } else if parsed, err := 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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.ObjectReprEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr__empty", runtime.ParamLocationQuery, *params.ObjectReprEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.TimeAfter != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time_after", runtime.ParamLocationQuery, *params.TimeAfter); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TimeBefore != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time_before", runtime.ParamLocationQuery, *params.TimeBefore); err != nil { + return nil, err + } else if parsed, err := 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.UserNameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name__empty", runtime.ParamLocationQuery, *params.UserNameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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) + } + } + } + + } + + 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 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("/api/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 +} + +// NewExtrasSavedFiltersBulkDestroyRequest calls the generic ExtrasSavedFiltersBulkDestroy builder with application/json body +func NewExtrasSavedFiltersBulkDestroyRequest(server string, body ExtrasSavedFiltersBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSavedFiltersBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSavedFiltersBulkDestroyRequestWithBody generates requests for ExtrasSavedFiltersBulkDestroy with any type of body +func NewExtrasSavedFiltersBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/saved-filters/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasSavedFiltersListRequest generates requests for ExtrasSavedFiltersList +func NewExtrasSavedFiltersListRequest(server string, params *ExtrasSavedFiltersListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/saved-filters/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + 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.ContentTypeIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__empty", runtime.ParamLocationQuery, *params.ContentTypeIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__gt", runtime.ParamLocationQuery, *params.ContentTypeIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__gte", runtime.ParamLocationQuery, *params.ContentTypeIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__lt", runtime.ParamLocationQuery, *params.ContentTypeIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__lte", runtime.ParamLocationQuery, *params.ContentTypeIdLte); err != nil { + return nil, err + } else if parsed, err := 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.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.ContentTypesIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__ic", runtime.ParamLocationQuery, *params.ContentTypesIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__ie", runtime.ParamLocationQuery, *params.ContentTypesIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__iew", runtime.ParamLocationQuery, *params.ContentTypesIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__isw", runtime.ParamLocationQuery, *params.ContentTypesIsw); err != nil { + return nil, err + } else if parsed, err := 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.ContentTypesNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nic", runtime.ParamLocationQuery, *params.ContentTypesNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nie", runtime.ParamLocationQuery, *params.ContentTypesNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__niew", runtime.ParamLocationQuery, *params.ContentTypesNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nisw", runtime.ParamLocationQuery, *params.ContentTypesNisw); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.Shared != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shared", runtime.ParamLocationQuery, *params.Shared); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.Usable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "usable", runtime.ParamLocationQuery, *params.Usable); err != nil { + return nil, err + } else if parsed, err := 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.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.WeightEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__empty", runtime.ParamLocationQuery, *params.WeightEmpty); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasSavedFiltersBulkPartialUpdateRequest calls the generic ExtrasSavedFiltersBulkPartialUpdate builder with application/json body +func NewExtrasSavedFiltersBulkPartialUpdateRequest(server string, body ExtrasSavedFiltersBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSavedFiltersBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSavedFiltersBulkPartialUpdateRequestWithBody generates requests for ExtrasSavedFiltersBulkPartialUpdate with any type of body +func NewExtrasSavedFiltersBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/saved-filters/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasSavedFiltersCreateRequest calls the generic ExtrasSavedFiltersCreate builder with application/json body +func NewExtrasSavedFiltersCreateRequest(server string, body ExtrasSavedFiltersCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSavedFiltersCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSavedFiltersCreateRequestWithBody generates requests for ExtrasSavedFiltersCreate with any type of body +func NewExtrasSavedFiltersCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/saved-filters/") + 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 +} + +// NewExtrasSavedFiltersBulkUpdateRequest calls the generic ExtrasSavedFiltersBulkUpdate builder with application/json body +func NewExtrasSavedFiltersBulkUpdateRequest(server string, body ExtrasSavedFiltersBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSavedFiltersBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSavedFiltersBulkUpdateRequestWithBody generates requests for ExtrasSavedFiltersBulkUpdate with any type of body +func NewExtrasSavedFiltersBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/extras/saved-filters/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasSavedFiltersDestroyRequest generates requests for ExtrasSavedFiltersDestroy +func NewExtrasSavedFiltersDestroyRequest(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("/api/extras/saved-filters/%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 +} + +// NewExtrasSavedFiltersRetrieveRequest generates requests for ExtrasSavedFiltersRetrieve +func NewExtrasSavedFiltersRetrieveRequest(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("/api/extras/saved-filters/%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 +} + +// NewExtrasSavedFiltersPartialUpdateRequest calls the generic ExtrasSavedFiltersPartialUpdate builder with application/json body +func NewExtrasSavedFiltersPartialUpdateRequest(server string, id int, body ExtrasSavedFiltersPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSavedFiltersPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasSavedFiltersPartialUpdateRequestWithBody generates requests for ExtrasSavedFiltersPartialUpdate with any type of body +func NewExtrasSavedFiltersPartialUpdateRequestWithBody(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("/api/extras/saved-filters/%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 +} + +// NewExtrasSavedFiltersUpdateRequest calls the generic ExtrasSavedFiltersUpdate builder with application/json body +func NewExtrasSavedFiltersUpdateRequest(server string, id int, body ExtrasSavedFiltersUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSavedFiltersUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasSavedFiltersUpdateRequestWithBody generates requests for ExtrasSavedFiltersUpdate with any type of body +func NewExtrasSavedFiltersUpdateRequestWithBody(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("/api/extras/saved-filters/%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 calls the generic ExtrasTagsBulkDestroy builder with application/json body +func NewExtrasTagsBulkDestroyRequest(server string, body ExtrasTagsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasTagsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasTagsBulkDestroyRequestWithBody generates requests for ExtrasTagsBulkDestroy with any type of body +func NewExtrasTagsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/extras/tags/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.ColorEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__empty", runtime.ParamLocationQuery, *params.ColorEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.ForObjectTypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "for_object_type_id", runtime.ParamLocationQuery, *params.ForObjectTypeId); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic ExtrasWebhooksBulkDestroy builder with application/json body +func NewExtrasWebhooksBulkDestroyRequest(server string, body ExtrasWebhooksBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasWebhooksBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasWebhooksBulkDestroyRequestWithBody generates requests for ExtrasWebhooksBulkDestroy with any type of body +func NewExtrasWebhooksBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/extras/webhooks/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.CaFilePath != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ca_file_path", runtime.ParamLocationQuery, *params.CaFilePath); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CaFilePathEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ca_file_path__empty", runtime.ParamLocationQuery, *params.CaFilePathEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CaFilePathIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ca_file_path__ic", runtime.ParamLocationQuery, *params.CaFilePathIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CaFilePathIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ca_file_path__ie", runtime.ParamLocationQuery, *params.CaFilePathIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CaFilePathIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ca_file_path__iew", runtime.ParamLocationQuery, *params.CaFilePathIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CaFilePathIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ca_file_path__isw", runtime.ParamLocationQuery, *params.CaFilePathIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CaFilePathN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ca_file_path__n", runtime.ParamLocationQuery, *params.CaFilePathN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CaFilePathNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ca_file_path__nic", runtime.ParamLocationQuery, *params.CaFilePathNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CaFilePathNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ca_file_path__nie", runtime.ParamLocationQuery, *params.CaFilePathNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CaFilePathNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ca_file_path__niew", runtime.ParamLocationQuery, *params.CaFilePathNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CaFilePathNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ca_file_path__nisw", runtime.ParamLocationQuery, *params.CaFilePathNisw); err != nil { + return nil, err + } else if parsed, err := 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.ContentTypeIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__empty", runtime.ParamLocationQuery, *params.ContentTypeIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__gt", runtime.ParamLocationQuery, *params.ContentTypeIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__gte", runtime.ParamLocationQuery, *params.ContentTypeIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__lt", runtime.ParamLocationQuery, *params.ContentTypeIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__lte", runtime.ParamLocationQuery, *params.ContentTypeIdLte); err != nil { + return nil, err + } else if parsed, err := 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.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.ContentTypesIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__ic", runtime.ParamLocationQuery, *params.ContentTypesIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__ie", runtime.ParamLocationQuery, *params.ContentTypesIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__iew", runtime.ParamLocationQuery, *params.ContentTypesIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__isw", runtime.ParamLocationQuery, *params.ContentTypesIsw); err != nil { + return nil, err + } else if parsed, err := 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.ContentTypesNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nic", runtime.ParamLocationQuery, *params.ContentTypesNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nie", runtime.ParamLocationQuery, *params.ContentTypesNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__niew", runtime.ParamLocationQuery, *params.ContentTypesNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__nisw", runtime.ParamLocationQuery, *params.ContentTypesNisw); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.HttpContentType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "http_content_type", runtime.ParamLocationQuery, *params.HttpContentType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HttpContentTypeEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "http_content_type__empty", runtime.ParamLocationQuery, *params.HttpContentTypeEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HttpContentTypeIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "http_content_type__ic", runtime.ParamLocationQuery, *params.HttpContentTypeIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HttpContentTypeIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "http_content_type__ie", runtime.ParamLocationQuery, *params.HttpContentTypeIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HttpContentTypeIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "http_content_type__iew", runtime.ParamLocationQuery, *params.HttpContentTypeIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HttpContentTypeIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "http_content_type__isw", runtime.ParamLocationQuery, *params.HttpContentTypeIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HttpContentTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "http_content_type__n", runtime.ParamLocationQuery, *params.HttpContentTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HttpContentTypeNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "http_content_type__nic", runtime.ParamLocationQuery, *params.HttpContentTypeNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HttpContentTypeNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "http_content_type__nie", runtime.ParamLocationQuery, *params.HttpContentTypeNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HttpContentTypeNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "http_content_type__niew", runtime.ParamLocationQuery, *params.HttpContentTypeNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HttpContentTypeNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "http_content_type__nisw", runtime.ParamLocationQuery, *params.HttpContentTypeNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HttpMethod != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "http_method", runtime.ParamLocationQuery, *params.HttpMethod); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HttpMethodN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "http_method__n", runtime.ParamLocationQuery, *params.HttpMethodN); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.PayloadUrlEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url__empty", runtime.ParamLocationQuery, *params.PayloadUrlEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.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.SecretEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret__empty", runtime.ParamLocationQuery, *params.SecretEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret__ic", runtime.ParamLocationQuery, *params.SecretIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret__ie", runtime.ParamLocationQuery, *params.SecretIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret__iew", runtime.ParamLocationQuery, *params.SecretIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret__isw", runtime.ParamLocationQuery, *params.SecretIsw); err != nil { + return nil, err + } else if parsed, err := 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.SecretNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret__nic", runtime.ParamLocationQuery, *params.SecretNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret__nie", runtime.ParamLocationQuery, *params.SecretNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret__niew", runtime.ParamLocationQuery, *params.SecretNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret__nisw", runtime.ParamLocationQuery, *params.SecretNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SslVerification != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssl_verification", runtime.ParamLocationQuery, *params.SslVerification); err != nil { + return nil, err + } else if parsed, err := 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.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.TypeJobEnd != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type_job_end", runtime.ParamLocationQuery, *params.TypeJobEnd); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeJobStart != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type_job_start", runtime.ParamLocationQuery, *params.TypeJobStart); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewIpamAggregatesBulkDestroyRequest calls the generic IpamAggregatesBulkDestroy builder with application/json body +func NewIpamAggregatesBulkDestroyRequest(server string, body IpamAggregatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAggregatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamAggregatesBulkDestroyRequestWithBody generates requests for IpamAggregatesBulkDestroy with any type of body +func NewIpamAggregatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/ipam/aggregates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DateAddedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "date_added__empty", runtime.ParamLocationQuery, *params.DateAddedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewIpamAsnRangesBulkDestroyRequest calls the generic IpamAsnRangesBulkDestroy builder with application/json body +func NewIpamAsnRangesBulkDestroyRequest(server string, body IpamAsnRangesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAsnRangesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamAsnRangesBulkDestroyRequestWithBody generates requests for IpamAsnRangesBulkDestroy with any type of body +func NewIpamAsnRangesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/asn-ranges/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamAsnRangesListRequest generates requests for IpamAsnRangesList +func NewIpamAsnRangesListRequest(server string, params *IpamAsnRangesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/asn-ranges/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.EndEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end__empty", runtime.ParamLocationQuery, *params.EndEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end__gt", runtime.ParamLocationQuery, *params.EndGt); err != nil { + return nil, err + } else if parsed, err := 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.EndLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end__lt", runtime.ParamLocationQuery, *params.EndLt); err != nil { + return nil, err + } else if parsed, err := 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.EndN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end__n", runtime.ParamLocationQuery, *params.EndN); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.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.StartEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start__empty", runtime.ParamLocationQuery, *params.StartEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StartGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start__gt", runtime.ParamLocationQuery, *params.StartGt); err != nil { + return nil, err + } else if parsed, err := 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.StartLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start__lt", runtime.ParamLocationQuery, *params.StartLt); err != nil { + return nil, err + } else if parsed, err := 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.StartN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start__n", runtime.ParamLocationQuery, *params.StartN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewIpamAsnRangesBulkPartialUpdateRequest calls the generic IpamAsnRangesBulkPartialUpdate builder with application/json body +func NewIpamAsnRangesBulkPartialUpdateRequest(server string, body IpamAsnRangesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAsnRangesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamAsnRangesBulkPartialUpdateRequestWithBody generates requests for IpamAsnRangesBulkPartialUpdate with any type of body +func NewIpamAsnRangesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/asn-ranges/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamAsnRangesCreateRequest calls the generic IpamAsnRangesCreate builder with application/json body +func NewIpamAsnRangesCreateRequest(server string, body IpamAsnRangesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAsnRangesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamAsnRangesCreateRequestWithBody generates requests for IpamAsnRangesCreate with any type of body +func NewIpamAsnRangesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/asn-ranges/") + 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 +} + +// NewIpamAsnRangesBulkUpdateRequest calls the generic IpamAsnRangesBulkUpdate builder with application/json body +func NewIpamAsnRangesBulkUpdateRequest(server string, body IpamAsnRangesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAsnRangesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamAsnRangesBulkUpdateRequestWithBody generates requests for IpamAsnRangesBulkUpdate with any type of body +func NewIpamAsnRangesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/asn-ranges/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamAsnRangesDestroyRequest generates requests for IpamAsnRangesDestroy +func NewIpamAsnRangesDestroyRequest(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("/api/ipam/asn-ranges/%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 +} + +// NewIpamAsnRangesRetrieveRequest generates requests for IpamAsnRangesRetrieve +func NewIpamAsnRangesRetrieveRequest(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("/api/ipam/asn-ranges/%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 +} + +// NewIpamAsnRangesPartialUpdateRequest calls the generic IpamAsnRangesPartialUpdate builder with application/json body +func NewIpamAsnRangesPartialUpdateRequest(server string, id int, body IpamAsnRangesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAsnRangesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamAsnRangesPartialUpdateRequestWithBody generates requests for IpamAsnRangesPartialUpdate with any type of body +func NewIpamAsnRangesPartialUpdateRequestWithBody(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("/api/ipam/asn-ranges/%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 +} + +// NewIpamAsnRangesUpdateRequest calls the generic IpamAsnRangesUpdate builder with application/json body +func NewIpamAsnRangesUpdateRequest(server string, id int, body IpamAsnRangesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAsnRangesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamAsnRangesUpdateRequestWithBody generates requests for IpamAsnRangesUpdate with any type of body +func NewIpamAsnRangesUpdateRequestWithBody(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("/api/ipam/asn-ranges/%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 +} + +// NewIpamAsnRangesAvailableAsnsListRequest generates requests for IpamAsnRangesAvailableAsnsList +func NewIpamAsnRangesAvailableAsnsListRequest(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("/api/ipam/asn-ranges/%s/available-asns/", 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 +} + +// NewIpamAsnRangesAvailableAsnsCreateRequest calls the generic IpamAsnRangesAvailableAsnsCreate builder with application/json body +func NewIpamAsnRangesAvailableAsnsCreateRequest(server string, id int, body IpamAsnRangesAvailableAsnsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAsnRangesAvailableAsnsCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamAsnRangesAvailableAsnsCreateRequestWithBody generates requests for IpamAsnRangesAvailableAsnsCreate with any type of body +func NewIpamAsnRangesAvailableAsnsCreateRequestWithBody(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("/api/ipam/asn-ranges/%s/available-asns/", 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 +} + +// NewIpamAsnsBulkDestroyRequest calls the generic IpamAsnsBulkDestroy builder with application/json body +func NewIpamAsnsBulkDestroyRequest(server string, body IpamAsnsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAsnsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamAsnsBulkDestroyRequestWithBody generates requests for IpamAsnsBulkDestroy with any type of body +func NewIpamAsnsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/asns/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamAsnsListRequest generates requests for IpamAsnsList +func NewIpamAsnsListRequest(server string, params *IpamAsnsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/asns/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.AsnEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asn__empty", runtime.ParamLocationQuery, *params.AsnEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewIpamAsnsBulkPartialUpdateRequest calls the generic IpamAsnsBulkPartialUpdate builder with application/json body +func NewIpamAsnsBulkPartialUpdateRequest(server string, body IpamAsnsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAsnsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamAsnsBulkPartialUpdateRequestWithBody generates requests for IpamAsnsBulkPartialUpdate with any type of body +func NewIpamAsnsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/asns/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamAsnsCreateRequest calls the generic IpamAsnsCreate builder with application/json body +func NewIpamAsnsCreateRequest(server string, body IpamAsnsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAsnsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamAsnsCreateRequestWithBody generates requests for IpamAsnsCreate with any type of body +func NewIpamAsnsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/asns/") + 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 +} + +// NewIpamAsnsBulkUpdateRequest calls the generic IpamAsnsBulkUpdate builder with application/json body +func NewIpamAsnsBulkUpdateRequest(server string, body IpamAsnsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAsnsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamAsnsBulkUpdateRequestWithBody generates requests for IpamAsnsBulkUpdate with any type of body +func NewIpamAsnsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/asns/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamAsnsDestroyRequest generates requests for IpamAsnsDestroy +func NewIpamAsnsDestroyRequest(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("/api/ipam/asns/%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 +} + +// NewIpamAsnsRetrieveRequest generates requests for IpamAsnsRetrieve +func NewIpamAsnsRetrieveRequest(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("/api/ipam/asns/%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 +} + +// NewIpamAsnsPartialUpdateRequest calls the generic IpamAsnsPartialUpdate builder with application/json body +func NewIpamAsnsPartialUpdateRequest(server string, id int, body IpamAsnsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAsnsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamAsnsPartialUpdateRequestWithBody generates requests for IpamAsnsPartialUpdate with any type of body +func NewIpamAsnsPartialUpdateRequestWithBody(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("/api/ipam/asns/%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 +} + +// NewIpamAsnsUpdateRequest calls the generic IpamAsnsUpdate builder with application/json body +func NewIpamAsnsUpdateRequest(server string, id int, body IpamAsnsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAsnsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamAsnsUpdateRequestWithBody generates requests for IpamAsnsUpdate with any type of body +func NewIpamAsnsUpdateRequestWithBody(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("/api/ipam/asns/%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 +} + +// NewIpamFhrpGroupAssignmentsBulkDestroyRequest calls the generic IpamFhrpGroupAssignmentsBulkDestroy builder with application/json body +func NewIpamFhrpGroupAssignmentsBulkDestroyRequest(server string, body IpamFhrpGroupAssignmentsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamFhrpGroupAssignmentsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamFhrpGroupAssignmentsBulkDestroyRequestWithBody generates requests for IpamFhrpGroupAssignmentsBulkDestroy with any type of body +func NewIpamFhrpGroupAssignmentsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/fhrp-group-assignments/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamFhrpGroupAssignmentsListRequest generates requests for IpamFhrpGroupAssignmentsList +func NewIpamFhrpGroupAssignmentsListRequest(server string, params *IpamFhrpGroupAssignmentsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/fhrp-group-assignments/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.InterfaceIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_id__empty", runtime.ParamLocationQuery, *params.InterfaceIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_id__gt", runtime.ParamLocationQuery, *params.InterfaceIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_id__gte", runtime.ParamLocationQuery, *params.InterfaceIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_id__lt", runtime.ParamLocationQuery, *params.InterfaceIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_id__lte", runtime.ParamLocationQuery, *params.InterfaceIdLte); err != nil { + return nil, err + } else if parsed, err := 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.InterfaceType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_type", runtime.ParamLocationQuery, *params.InterfaceType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_type__n", runtime.ParamLocationQuery, *params.InterfaceTypeN); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.PriorityEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "priority__empty", runtime.ParamLocationQuery, *params.PriorityEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PriorityGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "priority__gt", runtime.ParamLocationQuery, *params.PriorityGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PriorityGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "priority__gte", runtime.ParamLocationQuery, *params.PriorityGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PriorityLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "priority__lt", runtime.ParamLocationQuery, *params.PriorityLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PriorityLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "priority__lte", runtime.ParamLocationQuery, *params.PriorityLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PriorityN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "priority__n", runtime.ParamLocationQuery, *params.PriorityN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewIpamFhrpGroupAssignmentsBulkPartialUpdateRequest calls the generic IpamFhrpGroupAssignmentsBulkPartialUpdate builder with application/json body +func NewIpamFhrpGroupAssignmentsBulkPartialUpdateRequest(server string, body IpamFhrpGroupAssignmentsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamFhrpGroupAssignmentsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamFhrpGroupAssignmentsBulkPartialUpdateRequestWithBody generates requests for IpamFhrpGroupAssignmentsBulkPartialUpdate with any type of body +func NewIpamFhrpGroupAssignmentsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/fhrp-group-assignments/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamFhrpGroupAssignmentsCreateRequest calls the generic IpamFhrpGroupAssignmentsCreate builder with application/json body +func NewIpamFhrpGroupAssignmentsCreateRequest(server string, body IpamFhrpGroupAssignmentsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamFhrpGroupAssignmentsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamFhrpGroupAssignmentsCreateRequestWithBody generates requests for IpamFhrpGroupAssignmentsCreate with any type of body +func NewIpamFhrpGroupAssignmentsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/fhrp-group-assignments/") + 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 +} + +// NewIpamFhrpGroupAssignmentsBulkUpdateRequest calls the generic IpamFhrpGroupAssignmentsBulkUpdate builder with application/json body +func NewIpamFhrpGroupAssignmentsBulkUpdateRequest(server string, body IpamFhrpGroupAssignmentsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamFhrpGroupAssignmentsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamFhrpGroupAssignmentsBulkUpdateRequestWithBody generates requests for IpamFhrpGroupAssignmentsBulkUpdate with any type of body +func NewIpamFhrpGroupAssignmentsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/fhrp-group-assignments/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamFhrpGroupAssignmentsDestroyRequest generates requests for IpamFhrpGroupAssignmentsDestroy +func NewIpamFhrpGroupAssignmentsDestroyRequest(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("/api/ipam/fhrp-group-assignments/%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 +} + +// NewIpamFhrpGroupAssignmentsRetrieveRequest generates requests for IpamFhrpGroupAssignmentsRetrieve +func NewIpamFhrpGroupAssignmentsRetrieveRequest(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("/api/ipam/fhrp-group-assignments/%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 +} + +// NewIpamFhrpGroupAssignmentsPartialUpdateRequest calls the generic IpamFhrpGroupAssignmentsPartialUpdate builder with application/json body +func NewIpamFhrpGroupAssignmentsPartialUpdateRequest(server string, id int, body IpamFhrpGroupAssignmentsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamFhrpGroupAssignmentsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamFhrpGroupAssignmentsPartialUpdateRequestWithBody generates requests for IpamFhrpGroupAssignmentsPartialUpdate with any type of body +func NewIpamFhrpGroupAssignmentsPartialUpdateRequestWithBody(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("/api/ipam/fhrp-group-assignments/%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 +} + +// NewIpamFhrpGroupAssignmentsUpdateRequest calls the generic IpamFhrpGroupAssignmentsUpdate builder with application/json body +func NewIpamFhrpGroupAssignmentsUpdateRequest(server string, id int, body IpamFhrpGroupAssignmentsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamFhrpGroupAssignmentsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamFhrpGroupAssignmentsUpdateRequestWithBody generates requests for IpamFhrpGroupAssignmentsUpdate with any type of body +func NewIpamFhrpGroupAssignmentsUpdateRequestWithBody(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("/api/ipam/fhrp-group-assignments/%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 +} + +// NewIpamFhrpGroupsBulkDestroyRequest calls the generic IpamFhrpGroupsBulkDestroy builder with application/json body +func NewIpamFhrpGroupsBulkDestroyRequest(server string, body IpamFhrpGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamFhrpGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamFhrpGroupsBulkDestroyRequestWithBody generates requests for IpamFhrpGroupsBulkDestroy with any type of body +func NewIpamFhrpGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/fhrp-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamFhrpGroupsListRequest generates requests for IpamFhrpGroupsList +func NewIpamFhrpGroupsListRequest(server string, params *IpamFhrpGroupsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/fhrp-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.AuthKey != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_key", runtime.ParamLocationQuery, *params.AuthKey); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthKeyEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_key__empty", runtime.ParamLocationQuery, *params.AuthKeyEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthKeyIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_key__ic", runtime.ParamLocationQuery, *params.AuthKeyIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthKeyIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_key__ie", runtime.ParamLocationQuery, *params.AuthKeyIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthKeyIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_key__iew", runtime.ParamLocationQuery, *params.AuthKeyIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthKeyIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_key__isw", runtime.ParamLocationQuery, *params.AuthKeyIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthKeyN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_key__n", runtime.ParamLocationQuery, *params.AuthKeyN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthKeyNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_key__nic", runtime.ParamLocationQuery, *params.AuthKeyNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthKeyNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_key__nie", runtime.ParamLocationQuery, *params.AuthKeyNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthKeyNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_key__niew", runtime.ParamLocationQuery, *params.AuthKeyNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthKeyNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_key__nisw", runtime.ParamLocationQuery, *params.AuthKeyNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_type", runtime.ParamLocationQuery, *params.AuthType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_type__n", runtime.ParamLocationQuery, *params.AuthTypeN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.GroupIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id__empty", runtime.ParamLocationQuery, *params.GroupIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id__gt", runtime.ParamLocationQuery, *params.GroupIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id__gte", runtime.ParamLocationQuery, *params.GroupIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id__lt", runtime.ParamLocationQuery, *params.GroupIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id__lte", runtime.ParamLocationQuery, *params.GroupIdLte); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.RelatedIp != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "related_ip", runtime.ParamLocationQuery, *params.RelatedIp); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewIpamFhrpGroupsBulkPartialUpdateRequest calls the generic IpamFhrpGroupsBulkPartialUpdate builder with application/json body +func NewIpamFhrpGroupsBulkPartialUpdateRequest(server string, body IpamFhrpGroupsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamFhrpGroupsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamFhrpGroupsBulkPartialUpdateRequestWithBody generates requests for IpamFhrpGroupsBulkPartialUpdate with any type of body +func NewIpamFhrpGroupsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/fhrp-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 +} + +// NewIpamFhrpGroupsCreateRequest calls the generic IpamFhrpGroupsCreate builder with application/json body +func NewIpamFhrpGroupsCreateRequest(server string, body IpamFhrpGroupsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamFhrpGroupsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamFhrpGroupsCreateRequestWithBody generates requests for IpamFhrpGroupsCreate with any type of body +func NewIpamFhrpGroupsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/fhrp-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 +} + +// NewIpamFhrpGroupsBulkUpdateRequest calls the generic IpamFhrpGroupsBulkUpdate builder with application/json body +func NewIpamFhrpGroupsBulkUpdateRequest(server string, body IpamFhrpGroupsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamFhrpGroupsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamFhrpGroupsBulkUpdateRequestWithBody generates requests for IpamFhrpGroupsBulkUpdate with any type of body +func NewIpamFhrpGroupsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/fhrp-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 +} + +// NewIpamFhrpGroupsDestroyRequest generates requests for IpamFhrpGroupsDestroy +func NewIpamFhrpGroupsDestroyRequest(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("/api/ipam/fhrp-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 +} + +// NewIpamFhrpGroupsRetrieveRequest generates requests for IpamFhrpGroupsRetrieve +func NewIpamFhrpGroupsRetrieveRequest(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("/api/ipam/fhrp-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 +} + +// NewIpamFhrpGroupsPartialUpdateRequest calls the generic IpamFhrpGroupsPartialUpdate builder with application/json body +func NewIpamFhrpGroupsPartialUpdateRequest(server string, id int, body IpamFhrpGroupsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamFhrpGroupsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamFhrpGroupsPartialUpdateRequestWithBody generates requests for IpamFhrpGroupsPartialUpdate with any type of body +func NewIpamFhrpGroupsPartialUpdateRequestWithBody(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("/api/ipam/fhrp-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 +} + +// NewIpamFhrpGroupsUpdateRequest calls the generic IpamFhrpGroupsUpdate builder with application/json body +func NewIpamFhrpGroupsUpdateRequest(server string, id int, body IpamFhrpGroupsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamFhrpGroupsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamFhrpGroupsUpdateRequestWithBody generates requests for IpamFhrpGroupsUpdate with any type of body +func NewIpamFhrpGroupsUpdateRequestWithBody(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("/api/ipam/fhrp-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 +} + +// NewIpamIpAddressesBulkDestroyRequest calls the generic IpamIpAddressesBulkDestroy builder with application/json body +func NewIpamIpAddressesBulkDestroyRequest(server string, body IpamIpAddressesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpAddressesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamIpAddressesBulkDestroyRequestWithBody generates requests for IpamIpAddressesBulkDestroy with any type of body +func NewIpamIpAddressesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/ipam/ip-addresses/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.Assigned != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned", runtime.ParamLocationQuery, *params.Assigned); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.DnsNameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name__empty", runtime.ParamLocationQuery, *params.DnsNameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.FhrpgroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fhrpgroup_id", runtime.ParamLocationQuery, *params.FhrpgroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FhrpgroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fhrpgroup_id__n", runtime.ParamLocationQuery, *params.FhrpgroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewIpamIpRangesBulkDestroyRequest calls the generic IpamIpRangesBulkDestroy builder with application/json body +func NewIpamIpRangesBulkDestroyRequest(server string, body IpamIpRangesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpRangesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamIpRangesBulkDestroyRequestWithBody generates requests for IpamIpRangesBulkDestroy with any type of body +func NewIpamIpRangesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/ip-ranges/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamIpRangesListRequest generates requests for IpamIpRangesList +func NewIpamIpRangesListRequest(server string, params *IpamIpRangesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/ip-ranges/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.EndAddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_address", runtime.ParamLocationQuery, *params.EndAddress); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.MarkUtilized != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mark_utilized", runtime.ParamLocationQuery, *params.MarkUtilized); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.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.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.StartAddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start_address", runtime.ParamLocationQuery, *params.StartAddress); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewIpamIpRangesBulkPartialUpdateRequest calls the generic IpamIpRangesBulkPartialUpdate builder with application/json body +func NewIpamIpRangesBulkPartialUpdateRequest(server string, body IpamIpRangesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpRangesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamIpRangesBulkPartialUpdateRequestWithBody generates requests for IpamIpRangesBulkPartialUpdate with any type of body +func NewIpamIpRangesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/ip-ranges/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamIpRangesCreateRequest calls the generic IpamIpRangesCreate builder with application/json body +func NewIpamIpRangesCreateRequest(server string, body IpamIpRangesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpRangesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamIpRangesCreateRequestWithBody generates requests for IpamIpRangesCreate with any type of body +func NewIpamIpRangesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/ip-ranges/") + 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 +} + +// NewIpamIpRangesBulkUpdateRequest calls the generic IpamIpRangesBulkUpdate builder with application/json body +func NewIpamIpRangesBulkUpdateRequest(server string, body IpamIpRangesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpRangesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamIpRangesBulkUpdateRequestWithBody generates requests for IpamIpRangesBulkUpdate with any type of body +func NewIpamIpRangesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/ip-ranges/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamIpRangesDestroyRequest generates requests for IpamIpRangesDestroy +func NewIpamIpRangesDestroyRequest(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("/api/ipam/ip-ranges/%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 +} + +// NewIpamIpRangesRetrieveRequest generates requests for IpamIpRangesRetrieve +func NewIpamIpRangesRetrieveRequest(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("/api/ipam/ip-ranges/%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 +} + +// NewIpamIpRangesPartialUpdateRequest calls the generic IpamIpRangesPartialUpdate builder with application/json body +func NewIpamIpRangesPartialUpdateRequest(server string, id int, body IpamIpRangesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpRangesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamIpRangesPartialUpdateRequestWithBody generates requests for IpamIpRangesPartialUpdate with any type of body +func NewIpamIpRangesPartialUpdateRequestWithBody(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("/api/ipam/ip-ranges/%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 +} + +// NewIpamIpRangesUpdateRequest calls the generic IpamIpRangesUpdate builder with application/json body +func NewIpamIpRangesUpdateRequest(server string, id int, body IpamIpRangesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpRangesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamIpRangesUpdateRequestWithBody generates requests for IpamIpRangesUpdate with any type of body +func NewIpamIpRangesUpdateRequestWithBody(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("/api/ipam/ip-ranges/%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 +} + +// NewIpamIpRangesAvailableIpsListRequest generates requests for IpamIpRangesAvailableIpsList +func NewIpamIpRangesAvailableIpsListRequest(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("/api/ipam/ip-ranges/%s/available-ips/", 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 +} + +// NewIpamIpRangesAvailableIpsCreateRequest calls the generic IpamIpRangesAvailableIpsCreate builder with application/json body +func NewIpamIpRangesAvailableIpsCreateRequest(server string, id int, body IpamIpRangesAvailableIpsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpRangesAvailableIpsCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamIpRangesAvailableIpsCreateRequestWithBody generates requests for IpamIpRangesAvailableIpsCreate with any type of body +func NewIpamIpRangesAvailableIpsCreateRequestWithBody(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("/api/ipam/ip-ranges/%s/available-ips/", 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 +} + +// NewIpamL2vpnTerminationsBulkDestroyRequest calls the generic IpamL2vpnTerminationsBulkDestroy builder with application/json body +func NewIpamL2vpnTerminationsBulkDestroyRequest(server string, body IpamL2vpnTerminationsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamL2vpnTerminationsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamL2vpnTerminationsBulkDestroyRequestWithBody generates requests for IpamL2vpnTerminationsBulkDestroy with any type of body +func NewIpamL2vpnTerminationsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/l2vpn-terminations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamL2vpnTerminationsListRequest generates requests for IpamL2vpnTerminationsList +func NewIpamL2vpnTerminationsListRequest(server string, params *IpamL2vpnTerminationsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/l2vpn-terminations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.AssignedObjectType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_type", runtime.ParamLocationQuery, *params.AssignedObjectType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_type__n", runtime.ParamLocationQuery, *params.AssignedObjectTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectTypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_type_id", runtime.ParamLocationQuery, *params.AssignedObjectTypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectTypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_type_id__n", runtime.ParamLocationQuery, *params.AssignedObjectTypeIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.L2vpn != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn", runtime.ParamLocationQuery, *params.L2vpn); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.L2vpnN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn__n", runtime.ParamLocationQuery, *params.L2vpnN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.L2vpnId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn_id", runtime.ParamLocationQuery, *params.L2vpnId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.L2vpnIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn_id__n", runtime.ParamLocationQuery, *params.L2vpnIdN); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.RegionId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "region_id", runtime.ParamLocationQuery, *params.RegionId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Site != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site", runtime.ParamLocationQuery, *params.Site); err != nil { + return nil, err + } else if parsed, err := 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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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.VlanN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan__n", runtime.ParamLocationQuery, *params.VlanN); err != nil { + return nil, err + } else if parsed, err := 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.VlanVidEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_vid__empty", runtime.ParamLocationQuery, *params.VlanVidEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanVidGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_vid__gt", runtime.ParamLocationQuery, *params.VlanVidGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanVidGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_vid__gte", runtime.ParamLocationQuery, *params.VlanVidGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanVidLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_vid__lt", runtime.ParamLocationQuery, *params.VlanVidLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanVidLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_vid__lte", runtime.ParamLocationQuery, *params.VlanVidLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanVidN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_vid__n", runtime.ParamLocationQuery, *params.VlanVidN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewIpamL2vpnTerminationsBulkPartialUpdateRequest calls the generic IpamL2vpnTerminationsBulkPartialUpdate builder with application/json body +func NewIpamL2vpnTerminationsBulkPartialUpdateRequest(server string, body IpamL2vpnTerminationsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamL2vpnTerminationsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamL2vpnTerminationsBulkPartialUpdateRequestWithBody generates requests for IpamL2vpnTerminationsBulkPartialUpdate with any type of body +func NewIpamL2vpnTerminationsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/l2vpn-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 +} + +// NewIpamL2vpnTerminationsCreateRequest calls the generic IpamL2vpnTerminationsCreate builder with application/json body +func NewIpamL2vpnTerminationsCreateRequest(server string, body IpamL2vpnTerminationsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamL2vpnTerminationsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamL2vpnTerminationsCreateRequestWithBody generates requests for IpamL2vpnTerminationsCreate with any type of body +func NewIpamL2vpnTerminationsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/l2vpn-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 +} + +// NewIpamL2vpnTerminationsBulkUpdateRequest calls the generic IpamL2vpnTerminationsBulkUpdate builder with application/json body +func NewIpamL2vpnTerminationsBulkUpdateRequest(server string, body IpamL2vpnTerminationsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamL2vpnTerminationsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamL2vpnTerminationsBulkUpdateRequestWithBody generates requests for IpamL2vpnTerminationsBulkUpdate with any type of body +func NewIpamL2vpnTerminationsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/l2vpn-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 +} + +// NewIpamL2vpnTerminationsDestroyRequest generates requests for IpamL2vpnTerminationsDestroy +func NewIpamL2vpnTerminationsDestroyRequest(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("/api/ipam/l2vpn-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 +} + +// NewIpamL2vpnTerminationsRetrieveRequest generates requests for IpamL2vpnTerminationsRetrieve +func NewIpamL2vpnTerminationsRetrieveRequest(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("/api/ipam/l2vpn-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 +} + +// NewIpamL2vpnTerminationsPartialUpdateRequest calls the generic IpamL2vpnTerminationsPartialUpdate builder with application/json body +func NewIpamL2vpnTerminationsPartialUpdateRequest(server string, id int, body IpamL2vpnTerminationsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamL2vpnTerminationsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamL2vpnTerminationsPartialUpdateRequestWithBody generates requests for IpamL2vpnTerminationsPartialUpdate with any type of body +func NewIpamL2vpnTerminationsPartialUpdateRequestWithBody(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("/api/ipam/l2vpn-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 +} + +// NewIpamL2vpnTerminationsUpdateRequest calls the generic IpamL2vpnTerminationsUpdate builder with application/json body +func NewIpamL2vpnTerminationsUpdateRequest(server string, id int, body IpamL2vpnTerminationsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamL2vpnTerminationsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamL2vpnTerminationsUpdateRequestWithBody generates requests for IpamL2vpnTerminationsUpdate with any type of body +func NewIpamL2vpnTerminationsUpdateRequestWithBody(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("/api/ipam/l2vpn-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 +} + +// NewIpamL2vpnsBulkDestroyRequest calls the generic IpamL2vpnsBulkDestroy builder with application/json body +func NewIpamL2vpnsBulkDestroyRequest(server string, body IpamL2vpnsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamL2vpnsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamL2vpnsBulkDestroyRequestWithBody generates requests for IpamL2vpnsBulkDestroy with any type of body +func NewIpamL2vpnsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/l2vpns/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamL2vpnsListRequest generates requests for IpamL2vpnsList +func NewIpamL2vpnsListRequest(server string, params *IpamL2vpnsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/l2vpns/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.Identifier != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "identifier", runtime.ParamLocationQuery, *params.Identifier); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdentifierEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "identifier__empty", runtime.ParamLocationQuery, *params.IdentifierEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdentifierGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "identifier__gt", runtime.ParamLocationQuery, *params.IdentifierGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdentifierGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "identifier__gte", runtime.ParamLocationQuery, *params.IdentifierGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdentifierLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "identifier__lt", runtime.ParamLocationQuery, *params.IdentifierLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdentifierLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "identifier__lte", runtime.ParamLocationQuery, *params.IdentifierLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdentifierN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "identifier__n", runtime.ParamLocationQuery, *params.IdentifierN); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewIpamL2vpnsBulkPartialUpdateRequest calls the generic IpamL2vpnsBulkPartialUpdate builder with application/json body +func NewIpamL2vpnsBulkPartialUpdateRequest(server string, body IpamL2vpnsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamL2vpnsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamL2vpnsBulkPartialUpdateRequestWithBody generates requests for IpamL2vpnsBulkPartialUpdate with any type of body +func NewIpamL2vpnsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/l2vpns/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamL2vpnsCreateRequest calls the generic IpamL2vpnsCreate builder with application/json body +func NewIpamL2vpnsCreateRequest(server string, body IpamL2vpnsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamL2vpnsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamL2vpnsCreateRequestWithBody generates requests for IpamL2vpnsCreate with any type of body +func NewIpamL2vpnsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/l2vpns/") + 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 +} + +// NewIpamL2vpnsBulkUpdateRequest calls the generic IpamL2vpnsBulkUpdate builder with application/json body +func NewIpamL2vpnsBulkUpdateRequest(server string, body IpamL2vpnsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamL2vpnsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamL2vpnsBulkUpdateRequestWithBody generates requests for IpamL2vpnsBulkUpdate with any type of body +func NewIpamL2vpnsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/l2vpns/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamL2vpnsDestroyRequest generates requests for IpamL2vpnsDestroy +func NewIpamL2vpnsDestroyRequest(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("/api/ipam/l2vpns/%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 +} + +// NewIpamL2vpnsRetrieveRequest generates requests for IpamL2vpnsRetrieve +func NewIpamL2vpnsRetrieveRequest(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("/api/ipam/l2vpns/%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 +} + +// NewIpamL2vpnsPartialUpdateRequest calls the generic IpamL2vpnsPartialUpdate builder with application/json body +func NewIpamL2vpnsPartialUpdateRequest(server string, id int, body IpamL2vpnsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamL2vpnsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamL2vpnsPartialUpdateRequestWithBody generates requests for IpamL2vpnsPartialUpdate with any type of body +func NewIpamL2vpnsPartialUpdateRequestWithBody(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("/api/ipam/l2vpns/%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 +} + +// NewIpamL2vpnsUpdateRequest calls the generic IpamL2vpnsUpdate builder with application/json body +func NewIpamL2vpnsUpdateRequest(server string, id int, body IpamL2vpnsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamL2vpnsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamL2vpnsUpdateRequestWithBody generates requests for IpamL2vpnsUpdate with any type of body +func NewIpamL2vpnsUpdateRequestWithBody(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("/api/ipam/l2vpns/%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 calls the generic IpamPrefixesBulkDestroy builder with application/json body +func NewIpamPrefixesBulkDestroyRequest(server string, body IpamPrefixesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamPrefixesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamPrefixesBulkDestroyRequestWithBody generates requests for IpamPrefixesBulkDestroy with any type of body +func NewIpamPrefixesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/ipam/prefixes/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Children != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "children", runtime.ParamLocationQuery, *params.Children); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChildrenEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "children__empty", runtime.ParamLocationQuery, *params.ChildrenEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChildrenGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "children__gt", runtime.ParamLocationQuery, *params.ChildrenGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChildrenGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "children__gte", runtime.ParamLocationQuery, *params.ChildrenGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChildrenLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "children__lt", runtime.ParamLocationQuery, *params.ChildrenLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChildrenLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "children__lte", runtime.ParamLocationQuery, *params.ChildrenLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChildrenN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "children__n", runtime.ParamLocationQuery, *params.ChildrenN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Depth != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "depth", runtime.ParamLocationQuery, *params.Depth); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DepthEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "depth__empty", runtime.ParamLocationQuery, *params.DepthEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DepthGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "depth__gt", runtime.ParamLocationQuery, *params.DepthGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DepthGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "depth__gte", runtime.ParamLocationQuery, *params.DepthGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DepthLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "depth__lt", runtime.ParamLocationQuery, *params.DepthLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DepthLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "depth__lte", runtime.ParamLocationQuery, *params.DepthLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DepthN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "depth__n", runtime.ParamLocationQuery, *params.DepthN); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.MarkUtilized != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mark_utilized", runtime.ParamLocationQuery, *params.MarkUtilized); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.VlanVidEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_vid__empty", runtime.ParamLocationQuery, *params.VlanVidEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanVidGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_vid__gt", runtime.ParamLocationQuery, *params.VlanVidGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanVidGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_vid__gte", runtime.ParamLocationQuery, *params.VlanVidGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanVidLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_vid__lt", runtime.ParamLocationQuery, *params.VlanVidLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanVidLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_vid__lte", runtime.ParamLocationQuery, *params.VlanVidLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanVidN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_vid__n", runtime.ParamLocationQuery, *params.VlanVidN); err != nil { + return nil, err + } else if parsed, err := 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 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("/api/ipam/prefixes/%s/available-ips/", 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 +} + +// NewIpamPrefixesAvailableIpsCreateRequest calls the generic IpamPrefixesAvailableIpsCreate builder with application/json body +func NewIpamPrefixesAvailableIpsCreateRequest(server string, id int, 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, "application/json", bodyReader) +} + +// NewIpamPrefixesAvailableIpsCreateRequestWithBody generates requests for IpamPrefixesAvailableIpsCreate with any type of body +func NewIpamPrefixesAvailableIpsCreateRequestWithBody(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("/api/ipam/prefixes/%s/available-ips/", 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 +} + +// NewIpamPrefixesAvailablePrefixesListRequest generates requests for IpamPrefixesAvailablePrefixesList +func NewIpamPrefixesAvailablePrefixesListRequest(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("/api/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("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 int, 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 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("/api/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 calls the generic IpamRirsBulkDestroy builder with application/json body +func NewIpamRirsBulkDestroyRequest(server string, body IpamRirsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRirsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRirsBulkDestroyRequestWithBody generates requests for IpamRirsBulkDestroy with any type of body +func NewIpamRirsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/ipam/rirs/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic IpamRolesBulkDestroy builder with application/json body +func NewIpamRolesBulkDestroyRequest(server string, body IpamRolesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRolesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRolesBulkDestroyRequestWithBody generates requests for IpamRolesBulkDestroy with any type of body +func NewIpamRolesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/ipam/roles/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic IpamRouteTargetsBulkDestroy builder with application/json body +func NewIpamRouteTargetsBulkDestroyRequest(server string, body IpamRouteTargetsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRouteTargetsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRouteTargetsBulkDestroyRequestWithBody generates requests for IpamRouteTargetsBulkDestroy with any type of body +func NewIpamRouteTargetsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/ipam/route-targets/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewIpamServiceTemplatesBulkDestroyRequest calls the generic IpamServiceTemplatesBulkDestroy builder with application/json body +func NewIpamServiceTemplatesBulkDestroyRequest(server string, body IpamServiceTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamServiceTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamServiceTemplatesBulkDestroyRequestWithBody generates requests for IpamServiceTemplatesBulkDestroy with any type of body +func NewIpamServiceTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/service-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamServiceTemplatesListRequest generates requests for IpamServiceTemplatesList +func NewIpamServiceTemplatesListRequest(server string, params *IpamServiceTemplatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/service-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewIpamServiceTemplatesBulkPartialUpdateRequest calls the generic IpamServiceTemplatesBulkPartialUpdate builder with application/json body +func NewIpamServiceTemplatesBulkPartialUpdateRequest(server string, body IpamServiceTemplatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamServiceTemplatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamServiceTemplatesBulkPartialUpdateRequestWithBody generates requests for IpamServiceTemplatesBulkPartialUpdate with any type of body +func NewIpamServiceTemplatesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/service-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 +} + +// NewIpamServiceTemplatesCreateRequest calls the generic IpamServiceTemplatesCreate builder with application/json body +func NewIpamServiceTemplatesCreateRequest(server string, body IpamServiceTemplatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamServiceTemplatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamServiceTemplatesCreateRequestWithBody generates requests for IpamServiceTemplatesCreate with any type of body +func NewIpamServiceTemplatesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/service-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 +} + +// NewIpamServiceTemplatesBulkUpdateRequest calls the generic IpamServiceTemplatesBulkUpdate builder with application/json body +func NewIpamServiceTemplatesBulkUpdateRequest(server string, body IpamServiceTemplatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamServiceTemplatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamServiceTemplatesBulkUpdateRequestWithBody generates requests for IpamServiceTemplatesBulkUpdate with any type of body +func NewIpamServiceTemplatesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/ipam/service-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 +} + +// NewIpamServiceTemplatesDestroyRequest generates requests for IpamServiceTemplatesDestroy +func NewIpamServiceTemplatesDestroyRequest(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("/api/ipam/service-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 +} + +// NewIpamServiceTemplatesRetrieveRequest generates requests for IpamServiceTemplatesRetrieve +func NewIpamServiceTemplatesRetrieveRequest(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("/api/ipam/service-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 +} + +// NewIpamServiceTemplatesPartialUpdateRequest calls the generic IpamServiceTemplatesPartialUpdate builder with application/json body +func NewIpamServiceTemplatesPartialUpdateRequest(server string, id int, body IpamServiceTemplatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamServiceTemplatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamServiceTemplatesPartialUpdateRequestWithBody generates requests for IpamServiceTemplatesPartialUpdate with any type of body +func NewIpamServiceTemplatesPartialUpdateRequestWithBody(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("/api/ipam/service-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 +} + +// NewIpamServiceTemplatesUpdateRequest calls the generic IpamServiceTemplatesUpdate builder with application/json body +func NewIpamServiceTemplatesUpdateRequest(server string, id int, body IpamServiceTemplatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamServiceTemplatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamServiceTemplatesUpdateRequestWithBody generates requests for IpamServiceTemplatesUpdate with any type of body +func NewIpamServiceTemplatesUpdateRequestWithBody(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("/api/ipam/service-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 +} + +// NewIpamServicesBulkDestroyRequest calls the generic IpamServicesBulkDestroy builder with application/json body +func NewIpamServicesBulkDestroyRequest(server string, body IpamServicesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamServicesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamServicesBulkDestroyRequestWithBody generates requests for IpamServicesBulkDestroy with any type of body +func NewIpamServicesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/ipam/services/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.Ipaddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ipaddress", runtime.ParamLocationQuery, *params.Ipaddress); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IpaddressN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ipaddress__n", runtime.ParamLocationQuery, *params.IpaddressN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IpaddressId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ipaddress_id", runtime.ParamLocationQuery, *params.IpaddressId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IpaddressIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ipaddress_id__n", runtime.ParamLocationQuery, *params.IpaddressIdN); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic IpamVlanGroupsBulkDestroy builder with application/json body +func NewIpamVlanGroupsBulkDestroyRequest(server string, body IpamVlanGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlanGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVlanGroupsBulkDestroyRequestWithBody generates requests for IpamVlanGroupsBulkDestroy with any type of body +func NewIpamVlanGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/ipam/vlan-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.Clustergroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "clustergroup", 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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxVid != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_vid", runtime.ParamLocationQuery, *params.MaxVid); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxVidEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_vid__empty", runtime.ParamLocationQuery, *params.MaxVidEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxVidGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_vid__gt", runtime.ParamLocationQuery, *params.MaxVidGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxVidGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_vid__gte", runtime.ParamLocationQuery, *params.MaxVidGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxVidLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_vid__lt", runtime.ParamLocationQuery, *params.MaxVidLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxVidLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_vid__lte", runtime.ParamLocationQuery, *params.MaxVidLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxVidN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_vid__n", runtime.ParamLocationQuery, *params.MaxVidN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MinVid != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "min_vid", runtime.ParamLocationQuery, *params.MinVid); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MinVidEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "min_vid__empty", runtime.ParamLocationQuery, *params.MinVidEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MinVidGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "min_vid__gt", runtime.ParamLocationQuery, *params.MinVidGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MinVidGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "min_vid__gte", runtime.ParamLocationQuery, *params.MinVidGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MinVidLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "min_vid__lt", runtime.ParamLocationQuery, *params.MinVidLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MinVidLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "min_vid__lte", runtime.ParamLocationQuery, *params.MinVidLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MinVidN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "min_vid__n", runtime.ParamLocationQuery, *params.MinVidN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.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.ScopeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "scope_id", runtime.ParamLocationQuery, *params.ScopeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ScopeIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "scope_id__empty", runtime.ParamLocationQuery, *params.ScopeIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ScopeIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "scope_id__gt", runtime.ParamLocationQuery, *params.ScopeIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ScopeIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "scope_id__gte", runtime.ParamLocationQuery, *params.ScopeIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ScopeIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "scope_id__lt", runtime.ParamLocationQuery, *params.ScopeIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ScopeIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "scope_id__lte", runtime.ParamLocationQuery, *params.ScopeIdLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ScopeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "scope_id__n", runtime.ParamLocationQuery, *params.ScopeIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ScopeType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "scope_type", runtime.ParamLocationQuery, *params.ScopeType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ScopeTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "scope_type__n", runtime.ParamLocationQuery, *params.ScopeTypeN); err != nil { + return nil, err + } else if parsed, err := 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.Sitegroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "sitegroup", runtime.ParamLocationQuery, *params.Sitegroup); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewIpamVlanGroupsAvailableVlansListRequest generates requests for IpamVlanGroupsAvailableVlansList +func NewIpamVlanGroupsAvailableVlansListRequest(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("/api/ipam/vlan-groups/%s/available-vlans/", 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 +} + +// NewIpamVlanGroupsAvailableVlansCreateRequest calls the generic IpamVlanGroupsAvailableVlansCreate builder with application/json body +func NewIpamVlanGroupsAvailableVlansCreateRequest(server string, id int, body IpamVlanGroupsAvailableVlansCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlanGroupsAvailableVlansCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamVlanGroupsAvailableVlansCreateRequestWithBody generates requests for IpamVlanGroupsAvailableVlansCreate with any type of body +func NewIpamVlanGroupsAvailableVlansCreateRequestWithBody(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("/api/ipam/vlan-groups/%s/available-vlans/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamVlansBulkDestroyRequest calls the generic IpamVlansBulkDestroy builder with application/json body +func NewIpamVlansBulkDestroyRequest(server string, body IpamVlansBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlansBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVlansBulkDestroyRequestWithBody generates requests for IpamVlansBulkDestroy with any type of body +func NewIpamVlansBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/ipam/vlans/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.AvailableOnDevice != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "available_on_device", runtime.ParamLocationQuery, *params.AvailableOnDevice); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AvailableOnVirtualmachine != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "available_on_virtualmachine", runtime.ParamLocationQuery, *params.AvailableOnVirtualmachine); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.L2vpn != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn", runtime.ParamLocationQuery, *params.L2vpn); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.L2vpnN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn__n", runtime.ParamLocationQuery, *params.L2vpnN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.L2vpnId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn_id", runtime.ParamLocationQuery, *params.L2vpnId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.L2vpnIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn_id__n", runtime.ParamLocationQuery, *params.L2vpnIdN); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.VidEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vid__empty", runtime.ParamLocationQuery, *params.VidEmpty); err != nil { + return nil, err + } else if parsed, err := 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic IpamVrfsBulkDestroy builder with application/json body +func NewIpamVrfsBulkDestroyRequest(server string, body IpamVrfsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVrfsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVrfsBulkDestroyRequestWithBody generates requests for IpamVrfsBulkDestroy with any type of body +func NewIpamVrfsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/ipam/vrfs/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.RdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd__empty", runtime.ParamLocationQuery, *params.RdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewSchemaRetrieveRequest generates requests for SchemaRetrieve +func NewSchemaRetrieveRequest(server string, params *SchemaRetrieveParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/schema/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + 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("/api/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 +} + +// NewTenancyContactAssignmentsBulkDestroyRequest calls the generic TenancyContactAssignmentsBulkDestroy builder with application/json body +func NewTenancyContactAssignmentsBulkDestroyRequest(server string, body TenancyContactAssignmentsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactAssignmentsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactAssignmentsBulkDestroyRequestWithBody generates requests for TenancyContactAssignmentsBulkDestroy with any type of body +func NewTenancyContactAssignmentsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-assignments/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewTenancyContactAssignmentsListRequest generates requests for TenancyContactAssignmentsList +func NewTenancyContactAssignmentsListRequest(server string, params *TenancyContactAssignmentsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-assignments/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.ContactId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_id", runtime.ParamLocationQuery, *params.ContactId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_id__n", runtime.ParamLocationQuery, *params.ContactIdN); err != nil { + return nil, err + } else if parsed, err := 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.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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.ObjectIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__empty", runtime.ParamLocationQuery, *params.ObjectIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__gt", runtime.ParamLocationQuery, *params.ObjectIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__gte", runtime.ParamLocationQuery, *params.ObjectIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__lt", runtime.ParamLocationQuery, *params.ObjectIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__lte", runtime.ParamLocationQuery, *params.ObjectIdLte); err != nil { + return nil, err + } else if parsed, err := 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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.PriorityN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "priority__n", runtime.ParamLocationQuery, *params.PriorityN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := 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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewTenancyContactAssignmentsBulkPartialUpdateRequest calls the generic TenancyContactAssignmentsBulkPartialUpdate builder with application/json body +func NewTenancyContactAssignmentsBulkPartialUpdateRequest(server string, body TenancyContactAssignmentsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactAssignmentsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactAssignmentsBulkPartialUpdateRequestWithBody generates requests for TenancyContactAssignmentsBulkPartialUpdate with any type of body +func NewTenancyContactAssignmentsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-assignments/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewTenancyContactAssignmentsCreateRequest calls the generic TenancyContactAssignmentsCreate builder with application/json body +func NewTenancyContactAssignmentsCreateRequest(server string, body TenancyContactAssignmentsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactAssignmentsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactAssignmentsCreateRequestWithBody generates requests for TenancyContactAssignmentsCreate with any type of body +func NewTenancyContactAssignmentsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-assignments/") + 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 +} + +// NewTenancyContactAssignmentsBulkUpdateRequest calls the generic TenancyContactAssignmentsBulkUpdate builder with application/json body +func NewTenancyContactAssignmentsBulkUpdateRequest(server string, body TenancyContactAssignmentsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactAssignmentsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactAssignmentsBulkUpdateRequestWithBody generates requests for TenancyContactAssignmentsBulkUpdate with any type of body +func NewTenancyContactAssignmentsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-assignments/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewTenancyContactAssignmentsDestroyRequest generates requests for TenancyContactAssignmentsDestroy +func NewTenancyContactAssignmentsDestroyRequest(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("/api/tenancy/contact-assignments/%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 +} + +// NewTenancyContactAssignmentsRetrieveRequest generates requests for TenancyContactAssignmentsRetrieve +func NewTenancyContactAssignmentsRetrieveRequest(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("/api/tenancy/contact-assignments/%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 +} + +// NewTenancyContactAssignmentsPartialUpdateRequest calls the generic TenancyContactAssignmentsPartialUpdate builder with application/json body +func NewTenancyContactAssignmentsPartialUpdateRequest(server string, id int, body TenancyContactAssignmentsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactAssignmentsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewTenancyContactAssignmentsPartialUpdateRequestWithBody generates requests for TenancyContactAssignmentsPartialUpdate with any type of body +func NewTenancyContactAssignmentsPartialUpdateRequestWithBody(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("/api/tenancy/contact-assignments/%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 +} + +// NewTenancyContactAssignmentsUpdateRequest calls the generic TenancyContactAssignmentsUpdate builder with application/json body +func NewTenancyContactAssignmentsUpdateRequest(server string, id int, body TenancyContactAssignmentsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactAssignmentsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewTenancyContactAssignmentsUpdateRequestWithBody generates requests for TenancyContactAssignmentsUpdate with any type of body +func NewTenancyContactAssignmentsUpdateRequestWithBody(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("/api/tenancy/contact-assignments/%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 +} + +// NewTenancyContactGroupsBulkDestroyRequest calls the generic TenancyContactGroupsBulkDestroy builder with application/json body +func NewTenancyContactGroupsBulkDestroyRequest(server string, body TenancyContactGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactGroupsBulkDestroyRequestWithBody generates requests for TenancyContactGroupsBulkDestroy with any type of body +func NewTenancyContactGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewTenancyContactGroupsListRequest generates requests for TenancyContactGroupsList +func NewTenancyContactGroupsListRequest(server string, params *TenancyContactGroupsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewTenancyContactGroupsBulkPartialUpdateRequest calls the generic TenancyContactGroupsBulkPartialUpdate builder with application/json body +func NewTenancyContactGroupsBulkPartialUpdateRequest(server string, body TenancyContactGroupsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactGroupsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactGroupsBulkPartialUpdateRequestWithBody generates requests for TenancyContactGroupsBulkPartialUpdate with any type of body +func NewTenancyContactGroupsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-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 +} + +// NewTenancyContactGroupsCreateRequest calls the generic TenancyContactGroupsCreate builder with application/json body +func NewTenancyContactGroupsCreateRequest(server string, body TenancyContactGroupsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactGroupsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactGroupsCreateRequestWithBody generates requests for TenancyContactGroupsCreate with any type of body +func NewTenancyContactGroupsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-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 +} + +// NewTenancyContactGroupsBulkUpdateRequest calls the generic TenancyContactGroupsBulkUpdate builder with application/json body +func NewTenancyContactGroupsBulkUpdateRequest(server string, body TenancyContactGroupsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactGroupsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactGroupsBulkUpdateRequestWithBody generates requests for TenancyContactGroupsBulkUpdate with any type of body +func NewTenancyContactGroupsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-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 +} + +// NewTenancyContactGroupsDestroyRequest generates requests for TenancyContactGroupsDestroy +func NewTenancyContactGroupsDestroyRequest(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("/api/tenancy/contact-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 +} + +// NewTenancyContactGroupsRetrieveRequest generates requests for TenancyContactGroupsRetrieve +func NewTenancyContactGroupsRetrieveRequest(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("/api/tenancy/contact-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 +} + +// NewTenancyContactGroupsPartialUpdateRequest calls the generic TenancyContactGroupsPartialUpdate builder with application/json body +func NewTenancyContactGroupsPartialUpdateRequest(server string, id int, body TenancyContactGroupsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactGroupsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewTenancyContactGroupsPartialUpdateRequestWithBody generates requests for TenancyContactGroupsPartialUpdate with any type of body +func NewTenancyContactGroupsPartialUpdateRequestWithBody(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("/api/tenancy/contact-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 +} + +// NewTenancyContactGroupsUpdateRequest calls the generic TenancyContactGroupsUpdate builder with application/json body +func NewTenancyContactGroupsUpdateRequest(server string, id int, body TenancyContactGroupsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactGroupsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewTenancyContactGroupsUpdateRequestWithBody generates requests for TenancyContactGroupsUpdate with any type of body +func NewTenancyContactGroupsUpdateRequestWithBody(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("/api/tenancy/contact-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 +} + +// NewTenancyContactRolesBulkDestroyRequest calls the generic TenancyContactRolesBulkDestroy builder with application/json body +func NewTenancyContactRolesBulkDestroyRequest(server string, body TenancyContactRolesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactRolesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactRolesBulkDestroyRequestWithBody generates requests for TenancyContactRolesBulkDestroy with any type of body +func NewTenancyContactRolesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-roles/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewTenancyContactRolesListRequest generates requests for TenancyContactRolesList +func NewTenancyContactRolesListRequest(server string, params *TenancyContactRolesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-roles/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewTenancyContactRolesBulkPartialUpdateRequest calls the generic TenancyContactRolesBulkPartialUpdate builder with application/json body +func NewTenancyContactRolesBulkPartialUpdateRequest(server string, body TenancyContactRolesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactRolesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactRolesBulkPartialUpdateRequestWithBody generates requests for TenancyContactRolesBulkPartialUpdate with any type of body +func NewTenancyContactRolesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-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 +} + +// NewTenancyContactRolesCreateRequest calls the generic TenancyContactRolesCreate builder with application/json body +func NewTenancyContactRolesCreateRequest(server string, body TenancyContactRolesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactRolesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactRolesCreateRequestWithBody generates requests for TenancyContactRolesCreate with any type of body +func NewTenancyContactRolesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-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 +} + +// NewTenancyContactRolesBulkUpdateRequest calls the generic TenancyContactRolesBulkUpdate builder with application/json body +func NewTenancyContactRolesBulkUpdateRequest(server string, body TenancyContactRolesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactRolesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactRolesBulkUpdateRequestWithBody generates requests for TenancyContactRolesBulkUpdate with any type of body +func NewTenancyContactRolesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contact-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 +} + +// NewTenancyContactRolesDestroyRequest generates requests for TenancyContactRolesDestroy +func NewTenancyContactRolesDestroyRequest(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("/api/tenancy/contact-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 +} + +// NewTenancyContactRolesRetrieveRequest generates requests for TenancyContactRolesRetrieve +func NewTenancyContactRolesRetrieveRequest(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("/api/tenancy/contact-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 +} + +// NewTenancyContactRolesPartialUpdateRequest calls the generic TenancyContactRolesPartialUpdate builder with application/json body +func NewTenancyContactRolesPartialUpdateRequest(server string, id int, body TenancyContactRolesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactRolesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewTenancyContactRolesPartialUpdateRequestWithBody generates requests for TenancyContactRolesPartialUpdate with any type of body +func NewTenancyContactRolesPartialUpdateRequestWithBody(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("/api/tenancy/contact-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 +} + +// NewTenancyContactRolesUpdateRequest calls the generic TenancyContactRolesUpdate builder with application/json body +func NewTenancyContactRolesUpdateRequest(server string, id int, body TenancyContactRolesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactRolesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewTenancyContactRolesUpdateRequestWithBody generates requests for TenancyContactRolesUpdate with any type of body +func NewTenancyContactRolesUpdateRequestWithBody(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("/api/tenancy/contact-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 +} + +// NewTenancyContactsBulkDestroyRequest calls the generic TenancyContactsBulkDestroy builder with application/json body +func NewTenancyContactsBulkDestroyRequest(server string, body TenancyContactsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactsBulkDestroyRequestWithBody generates requests for TenancyContactsBulkDestroy with any type of body +func NewTenancyContactsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contacts/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewTenancyContactsListRequest generates requests for TenancyContactsList +func NewTenancyContactsListRequest(server string, params *TenancyContactsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contacts/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.AddressEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__empty", runtime.ParamLocationQuery, *params.AddressEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__ic", runtime.ParamLocationQuery, *params.AddressIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__ie", runtime.ParamLocationQuery, *params.AddressIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__iew", runtime.ParamLocationQuery, *params.AddressIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__isw", runtime.ParamLocationQuery, *params.AddressIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__n", runtime.ParamLocationQuery, *params.AddressN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__nic", runtime.ParamLocationQuery, *params.AddressNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__nie", runtime.ParamLocationQuery, *params.AddressNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__niew", runtime.ParamLocationQuery, *params.AddressNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__nisw", runtime.ParamLocationQuery, *params.AddressNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.EmailEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__empty", runtime.ParamLocationQuery, *params.EmailEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.LinkEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__empty", runtime.ParamLocationQuery, *params.LinkEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__ic", runtime.ParamLocationQuery, *params.LinkIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__ie", runtime.ParamLocationQuery, *params.LinkIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__iew", runtime.ParamLocationQuery, *params.LinkIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__isw", runtime.ParamLocationQuery, *params.LinkIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__n", runtime.ParamLocationQuery, *params.LinkN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__nic", runtime.ParamLocationQuery, *params.LinkNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__nie", runtime.ParamLocationQuery, *params.LinkNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__niew", runtime.ParamLocationQuery, *params.LinkNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__nisw", runtime.ParamLocationQuery, *params.LinkNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.PhoneEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__empty", runtime.ParamLocationQuery, *params.PhoneEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__ic", runtime.ParamLocationQuery, *params.PhoneIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__ie", runtime.ParamLocationQuery, *params.PhoneIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__iew", runtime.ParamLocationQuery, *params.PhoneIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__isw", runtime.ParamLocationQuery, *params.PhoneIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__n", runtime.ParamLocationQuery, *params.PhoneN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__nic", runtime.ParamLocationQuery, *params.PhoneNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__nie", runtime.ParamLocationQuery, *params.PhoneNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__niew", runtime.ParamLocationQuery, *params.PhoneNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__nisw", runtime.ParamLocationQuery, *params.PhoneNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.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.Title != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "title", runtime.ParamLocationQuery, *params.Title); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TitleEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "title__empty", runtime.ParamLocationQuery, *params.TitleEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TitleIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "title__ic", runtime.ParamLocationQuery, *params.TitleIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TitleIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "title__ie", runtime.ParamLocationQuery, *params.TitleIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TitleIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "title__iew", runtime.ParamLocationQuery, *params.TitleIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TitleIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "title__isw", runtime.ParamLocationQuery, *params.TitleIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TitleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "title__n", runtime.ParamLocationQuery, *params.TitleN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TitleNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "title__nic", runtime.ParamLocationQuery, *params.TitleNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TitleNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "title__nie", runtime.ParamLocationQuery, *params.TitleNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TitleNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "title__niew", runtime.ParamLocationQuery, *params.TitleNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TitleNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "title__nisw", runtime.ParamLocationQuery, *params.TitleNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewTenancyContactsBulkPartialUpdateRequest calls the generic TenancyContactsBulkPartialUpdate builder with application/json body +func NewTenancyContactsBulkPartialUpdateRequest(server string, body TenancyContactsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactsBulkPartialUpdateRequestWithBody generates requests for TenancyContactsBulkPartialUpdate with any type of body +func NewTenancyContactsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contacts/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewTenancyContactsCreateRequest calls the generic TenancyContactsCreate builder with application/json body +func NewTenancyContactsCreateRequest(server string, body TenancyContactsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactsCreateRequestWithBody generates requests for TenancyContactsCreate with any type of body +func NewTenancyContactsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contacts/") + 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 +} + +// NewTenancyContactsBulkUpdateRequest calls the generic TenancyContactsBulkUpdate builder with application/json body +func NewTenancyContactsBulkUpdateRequest(server string, body TenancyContactsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyContactsBulkUpdateRequestWithBody generates requests for TenancyContactsBulkUpdate with any type of body +func NewTenancyContactsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/tenancy/contacts/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewTenancyContactsDestroyRequest generates requests for TenancyContactsDestroy +func NewTenancyContactsDestroyRequest(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("/api/tenancy/contacts/%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 +} + +// NewTenancyContactsRetrieveRequest generates requests for TenancyContactsRetrieve +func NewTenancyContactsRetrieveRequest(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("/api/tenancy/contacts/%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 +} + +// NewTenancyContactsPartialUpdateRequest calls the generic TenancyContactsPartialUpdate builder with application/json body +func NewTenancyContactsPartialUpdateRequest(server string, id int, body TenancyContactsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewTenancyContactsPartialUpdateRequestWithBody generates requests for TenancyContactsPartialUpdate with any type of body +func NewTenancyContactsPartialUpdateRequestWithBody(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("/api/tenancy/contacts/%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 +} + +// NewTenancyContactsUpdateRequest calls the generic TenancyContactsUpdate builder with application/json body +func NewTenancyContactsUpdateRequest(server string, id int, body TenancyContactsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyContactsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewTenancyContactsUpdateRequestWithBody generates requests for TenancyContactsUpdate with any type of body +func NewTenancyContactsUpdateRequestWithBody(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("/api/tenancy/contacts/%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 +} + +// NewTenancyTenantGroupsBulkDestroyRequest calls the generic TenancyTenantGroupsBulkDestroy builder with application/json body +func NewTenancyTenantGroupsBulkDestroyRequest(server string, body TenancyTenantGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyTenantGroupsBulkDestroyRequestWithBody generates requests for TenancyTenantGroupsBulkDestroy with any type of body +func NewTenancyTenantGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/tenancy/tenant-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic TenancyTenantsBulkDestroy builder with application/json body +func NewTenancyTenantsBulkDestroyRequest(server string, body TenancyTenantsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyTenantsBulkDestroyRequestWithBody generates requests for TenancyTenantsBulkDestroy with any type of body +func NewTenancyTenantsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/tenancy/tenants/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Contact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact", runtime.ParamLocationQuery, *params.Contact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact__n", runtime.ParamLocationQuery, *params.ContactN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group", runtime.ParamLocationQuery, *params.ContactGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group__n", runtime.ParamLocationQuery, *params.ContactGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role", runtime.ParamLocationQuery, *params.ContactRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role__n", runtime.ParamLocationQuery, *params.ContactRoleN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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("/api/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 calls the generic UsersGroupsBulkDestroy builder with application/json body +func NewUsersGroupsBulkDestroyRequest(server string, body UsersGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersGroupsBulkDestroyRequestWithBody generates requests for UsersGroupsBulkDestroy with any type of body +func NewUsersGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/users/groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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("/api/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("/api/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("/api/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("/api/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("/api/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("/api/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("/api/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 calls the generic UsersPermissionsBulkDestroy builder with application/json body +func NewUsersPermissionsBulkDestroyRequest(server string, body UsersPermissionsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersPermissionsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersPermissionsBulkDestroyRequestWithBody generates requests for UsersPermissionsBulkDestroy with any type of body +func NewUsersPermissionsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/users/permissions/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.CanAdd != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "can_add", runtime.ParamLocationQuery, *params.CanAdd); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CanChange != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "can_change", runtime.ParamLocationQuery, *params.CanChange); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CanDelete != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "can_delete", runtime.ParamLocationQuery, *params.CanDelete); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CanView != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "can_view", runtime.ParamLocationQuery, *params.CanView); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.User != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user", runtime.ParamLocationQuery, *params.User); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user__n", runtime.ParamLocationQuery, *params.UserN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic UsersTokensBulkDestroy builder with application/json body +func NewUsersTokensBulkDestroyRequest(server string, body UsersTokensBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersTokensBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersTokensBulkDestroyRequestWithBody generates requests for UsersTokensBulkDestroy with any type of body +func NewUsersTokensBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/users/tokens/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.KeyEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key__empty", runtime.ParamLocationQuery, *params.KeyEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.User != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user", runtime.ParamLocationQuery, *params.User); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user__n", runtime.ParamLocationQuery, *params.UserN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.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.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("/api/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("/api/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("/api/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 +} + +// NewUsersTokensProvisionCreateRequest calls the generic UsersTokensProvisionCreate builder with application/json body +func NewUsersTokensProvisionCreateRequest(server string, body UsersTokensProvisionCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersTokensProvisionCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersTokensProvisionCreateRequestWithBody generates requests for UsersTokensProvisionCreate with any type of body +func NewUsersTokensProvisionCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/users/tokens/provision/") + 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 +} + +// NewUsersTokensDestroyRequest generates requests for UsersTokensDestroy +func NewUsersTokensDestroyRequest(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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic UsersUsersBulkDestroy builder with application/json body +func NewUsersUsersBulkDestroyRequest(server string, body UsersUsersBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersUsersBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersUsersBulkDestroyRequestWithBody generates requests for UsersUsersBulkDestroy with any type of body +func NewUsersUsersBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/users/users/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.EmailEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__empty", runtime.ParamLocationQuery, *params.EmailEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.FirstNameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name__empty", runtime.ParamLocationQuery, *params.FirstNameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.IsSuperuser != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "is_superuser", runtime.ParamLocationQuery, *params.IsSuperuser); err != nil { + return nil, err + } else if parsed, err := 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.LastNameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name__empty", runtime.ParamLocationQuery, *params.LastNameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.UsernameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username__empty", runtime.ParamLocationQuery, *params.UsernameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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) + } + } + } + + } + + 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic VirtualizationClusterGroupsBulkDestroy builder with application/json body +func NewVirtualizationClusterGroupsBulkDestroyRequest(server string, body VirtualizationClusterGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClusterGroupsBulkDestroyRequestWithBody generates requests for VirtualizationClusterGroupsBulkDestroy with any type of body +func NewVirtualizationClusterGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/virtualization/cluster-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Contact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact", runtime.ParamLocationQuery, *params.Contact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact__n", runtime.ParamLocationQuery, *params.ContactN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group", runtime.ParamLocationQuery, *params.ContactGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group__n", runtime.ParamLocationQuery, *params.ContactGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role", runtime.ParamLocationQuery, *params.ContactRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role__n", runtime.ParamLocationQuery, *params.ContactRoleN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic VirtualizationClusterTypesBulkDestroy builder with application/json body +func NewVirtualizationClusterTypesBulkDestroyRequest(server string, body VirtualizationClusterTypesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterTypesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClusterTypesBulkDestroyRequestWithBody generates requests for VirtualizationClusterTypesBulkDestroy with any type of body +func NewVirtualizationClusterTypesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/virtualization/cluster-types/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic VirtualizationClustersBulkDestroy builder with application/json body +func NewVirtualizationClustersBulkDestroyRequest(server string, body VirtualizationClustersBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClustersBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClustersBulkDestroyRequestWithBody generates requests for VirtualizationClustersBulkDestroy with any type of body +func NewVirtualizationClustersBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/virtualization/clusters/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.Contact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact", runtime.ParamLocationQuery, *params.Contact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact__n", runtime.ParamLocationQuery, *params.ContactN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group", runtime.ParamLocationQuery, *params.ContactGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group__n", runtime.ParamLocationQuery, *params.ContactGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role", runtime.ParamLocationQuery, *params.ContactRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role__n", runtime.ParamLocationQuery, *params.ContactRoleN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic VirtualizationInterfacesBulkDestroy builder with application/json body +func NewVirtualizationInterfacesBulkDestroyRequest(server string, body VirtualizationInterfacesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationInterfacesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationInterfacesBulkDestroyRequestWithBody generates requests for VirtualizationInterfacesBulkDestroy with any type of body +func NewVirtualizationInterfacesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/virtualization/interfaces/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.BridgeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bridge_id", runtime.ParamLocationQuery, *params.BridgeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BridgeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bridge_id__n", runtime.ParamLocationQuery, *params.BridgeIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Cluster != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster", runtime.ParamLocationQuery, *params.Cluster); err != nil { + return nil, err + } else if parsed, err := 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.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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.L2vpn != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn", runtime.ParamLocationQuery, *params.L2vpn); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.L2vpnN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn__n", runtime.ParamLocationQuery, *params.L2vpnN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.L2vpnId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn_id", runtime.ParamLocationQuery, *params.L2vpnId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.L2vpnIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "l2vpn_id__n", runtime.ParamLocationQuery, *params.L2vpnIdN); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.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.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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.MtuEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mtu__empty", runtime.ParamLocationQuery, *params.MtuEmpty); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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) + } + } + } + + } + + 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 +} + +// 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 calls the generic VirtualizationVirtualMachinesBulkDestroy builder with application/json body +func NewVirtualizationVirtualMachinesBulkDestroyRequest(server string, body VirtualizationVirtualMachinesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationVirtualMachinesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationVirtualMachinesBulkDestroyRequestWithBody generates requests for VirtualizationVirtualMachinesBulkDestroy with any type of body +func NewVirtualizationVirtualMachinesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/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(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + 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("/api/virtualization/virtual-machines/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.ConfigTemplateId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "config_template_id", runtime.ParamLocationQuery, *params.ConfigTemplateId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ConfigTemplateIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "config_template_id__n", runtime.ParamLocationQuery, *params.ConfigTemplateIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Contact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact", runtime.ParamLocationQuery, *params.Contact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact__n", runtime.ParamLocationQuery, *params.ContactN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group", runtime.ParamLocationQuery, *params.ContactGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_group__n", runtime.ParamLocationQuery, *params.ContactGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role", runtime.ParamLocationQuery, *params.ContactRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_role__n", runtime.ParamLocationQuery, *params.ContactRoleN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.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.DiskEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "disk__empty", runtime.ParamLocationQuery, *params.DiskEmpty); err != nil { + return nil, err + } else if parsed, err := 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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.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.MemoryEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "memory__empty", runtime.ParamLocationQuery, *params.MemoryEmpty); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SiteGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group", runtime.ParamLocationQuery, *params.SiteGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group__n", runtime.ParamLocationQuery, *params.SiteGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id", runtime.ParamLocationQuery, *params.SiteGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_group_id__n", runtime.ParamLocationQuery, *params.SiteGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.VcpusEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vcpus__empty", runtime.ParamLocationQuery, *params.VcpusEmpty); err != nil { + return nil, err + } else if parsed, err := 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("/api/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("/api/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("/api/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 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("/api/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 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("/api/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 int, 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 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("/api/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 int, 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 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("/api/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 +} + +// NewWirelessWirelessLanGroupsBulkDestroyRequest calls the generic WirelessWirelessLanGroupsBulkDestroy builder with application/json body +func NewWirelessWirelessLanGroupsBulkDestroyRequest(server string, body WirelessWirelessLanGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLanGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewWirelessWirelessLanGroupsBulkDestroyRequestWithBody generates requests for WirelessWirelessLanGroupsBulkDestroy with any type of body +func NewWirelessWirelessLanGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-lan-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewWirelessWirelessLanGroupsListRequest generates requests for WirelessWirelessLanGroupsList +func NewWirelessWirelessLanGroupsListRequest(server string, params *WirelessWirelessLanGroupsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-lan-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.NameEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__empty", runtime.ParamLocationQuery, *params.NameEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.SlugEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__empty", runtime.ParamLocationQuery, *params.SlugEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewWirelessWirelessLanGroupsBulkPartialUpdateRequest calls the generic WirelessWirelessLanGroupsBulkPartialUpdate builder with application/json body +func NewWirelessWirelessLanGroupsBulkPartialUpdateRequest(server string, body WirelessWirelessLanGroupsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLanGroupsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewWirelessWirelessLanGroupsBulkPartialUpdateRequestWithBody generates requests for WirelessWirelessLanGroupsBulkPartialUpdate with any type of body +func NewWirelessWirelessLanGroupsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-lan-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 +} + +// NewWirelessWirelessLanGroupsCreateRequest calls the generic WirelessWirelessLanGroupsCreate builder with application/json body +func NewWirelessWirelessLanGroupsCreateRequest(server string, body WirelessWirelessLanGroupsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLanGroupsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewWirelessWirelessLanGroupsCreateRequestWithBody generates requests for WirelessWirelessLanGroupsCreate with any type of body +func NewWirelessWirelessLanGroupsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-lan-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 +} + +// NewWirelessWirelessLanGroupsBulkUpdateRequest calls the generic WirelessWirelessLanGroupsBulkUpdate builder with application/json body +func NewWirelessWirelessLanGroupsBulkUpdateRequest(server string, body WirelessWirelessLanGroupsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLanGroupsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewWirelessWirelessLanGroupsBulkUpdateRequestWithBody generates requests for WirelessWirelessLanGroupsBulkUpdate with any type of body +func NewWirelessWirelessLanGroupsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-lan-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 +} + +// NewWirelessWirelessLanGroupsDestroyRequest generates requests for WirelessWirelessLanGroupsDestroy +func NewWirelessWirelessLanGroupsDestroyRequest(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("/api/wireless/wireless-lan-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 +} + +// NewWirelessWirelessLanGroupsRetrieveRequest generates requests for WirelessWirelessLanGroupsRetrieve +func NewWirelessWirelessLanGroupsRetrieveRequest(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("/api/wireless/wireless-lan-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 +} + +// NewWirelessWirelessLanGroupsPartialUpdateRequest calls the generic WirelessWirelessLanGroupsPartialUpdate builder with application/json body +func NewWirelessWirelessLanGroupsPartialUpdateRequest(server string, id int, body WirelessWirelessLanGroupsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLanGroupsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewWirelessWirelessLanGroupsPartialUpdateRequestWithBody generates requests for WirelessWirelessLanGroupsPartialUpdate with any type of body +func NewWirelessWirelessLanGroupsPartialUpdateRequestWithBody(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("/api/wireless/wireless-lan-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 +} + +// NewWirelessWirelessLanGroupsUpdateRequest calls the generic WirelessWirelessLanGroupsUpdate builder with application/json body +func NewWirelessWirelessLanGroupsUpdateRequest(server string, id int, body WirelessWirelessLanGroupsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLanGroupsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewWirelessWirelessLanGroupsUpdateRequestWithBody generates requests for WirelessWirelessLanGroupsUpdate with any type of body +func NewWirelessWirelessLanGroupsUpdateRequestWithBody(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("/api/wireless/wireless-lan-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 +} + +// NewWirelessWirelessLansBulkDestroyRequest calls the generic WirelessWirelessLansBulkDestroy builder with application/json body +func NewWirelessWirelessLansBulkDestroyRequest(server string, body WirelessWirelessLansBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLansBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewWirelessWirelessLansBulkDestroyRequestWithBody generates requests for WirelessWirelessLansBulkDestroy with any type of body +func NewWirelessWirelessLansBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-lans/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewWirelessWirelessLansListRequest generates requests for WirelessWirelessLansList +func NewWirelessWirelessLansListRequest(server string, params *WirelessWirelessLansListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-lans/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.AuthCipher != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_cipher", runtime.ParamLocationQuery, *params.AuthCipher); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthCipherN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_cipher__n", runtime.ParamLocationQuery, *params.AuthCipherN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPsk != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk", runtime.ParamLocationQuery, *params.AuthPsk); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__empty", runtime.ParamLocationQuery, *params.AuthPskEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__ic", runtime.ParamLocationQuery, *params.AuthPskIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__ie", runtime.ParamLocationQuery, *params.AuthPskIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__iew", runtime.ParamLocationQuery, *params.AuthPskIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__isw", runtime.ParamLocationQuery, *params.AuthPskIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__n", runtime.ParamLocationQuery, *params.AuthPskN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__nic", runtime.ParamLocationQuery, *params.AuthPskNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__nie", runtime.ParamLocationQuery, *params.AuthPskNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__niew", runtime.ParamLocationQuery, *params.AuthPskNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__nisw", runtime.ParamLocationQuery, *params.AuthPskNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_type", runtime.ParamLocationQuery, *params.AuthType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_type__n", runtime.ParamLocationQuery, *params.AuthTypeN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.Ssid != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid", runtime.ParamLocationQuery, *params.Ssid); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__empty", runtime.ParamLocationQuery, *params.SsidEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__ic", runtime.ParamLocationQuery, *params.SsidIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__ie", runtime.ParamLocationQuery, *params.SsidIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__iew", runtime.ParamLocationQuery, *params.SsidIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__isw", runtime.ParamLocationQuery, *params.SsidIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__n", runtime.ParamLocationQuery, *params.SsidN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__nic", runtime.ParamLocationQuery, *params.SsidNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__nie", runtime.ParamLocationQuery, *params.SsidNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__niew", runtime.ParamLocationQuery, *params.SsidNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__nisw", runtime.ParamLocationQuery, *params.SsidNisw); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewWirelessWirelessLansBulkPartialUpdateRequest calls the generic WirelessWirelessLansBulkPartialUpdate builder with application/json body +func NewWirelessWirelessLansBulkPartialUpdateRequest(server string, body WirelessWirelessLansBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLansBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewWirelessWirelessLansBulkPartialUpdateRequestWithBody generates requests for WirelessWirelessLansBulkPartialUpdate with any type of body +func NewWirelessWirelessLansBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-lans/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewWirelessWirelessLansCreateRequest calls the generic WirelessWirelessLansCreate builder with application/json body +func NewWirelessWirelessLansCreateRequest(server string, body WirelessWirelessLansCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLansCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewWirelessWirelessLansCreateRequestWithBody generates requests for WirelessWirelessLansCreate with any type of body +func NewWirelessWirelessLansCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-lans/") + 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 +} + +// NewWirelessWirelessLansBulkUpdateRequest calls the generic WirelessWirelessLansBulkUpdate builder with application/json body +func NewWirelessWirelessLansBulkUpdateRequest(server string, body WirelessWirelessLansBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLansBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewWirelessWirelessLansBulkUpdateRequestWithBody generates requests for WirelessWirelessLansBulkUpdate with any type of body +func NewWirelessWirelessLansBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-lans/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewWirelessWirelessLansDestroyRequest generates requests for WirelessWirelessLansDestroy +func NewWirelessWirelessLansDestroyRequest(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("/api/wireless/wireless-lans/%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 +} + +// NewWirelessWirelessLansRetrieveRequest generates requests for WirelessWirelessLansRetrieve +func NewWirelessWirelessLansRetrieveRequest(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("/api/wireless/wireless-lans/%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 +} + +// NewWirelessWirelessLansPartialUpdateRequest calls the generic WirelessWirelessLansPartialUpdate builder with application/json body +func NewWirelessWirelessLansPartialUpdateRequest(server string, id int, body WirelessWirelessLansPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLansPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewWirelessWirelessLansPartialUpdateRequestWithBody generates requests for WirelessWirelessLansPartialUpdate with any type of body +func NewWirelessWirelessLansPartialUpdateRequestWithBody(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("/api/wireless/wireless-lans/%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 +} + +// NewWirelessWirelessLansUpdateRequest calls the generic WirelessWirelessLansUpdate builder with application/json body +func NewWirelessWirelessLansUpdateRequest(server string, id int, body WirelessWirelessLansUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLansUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewWirelessWirelessLansUpdateRequestWithBody generates requests for WirelessWirelessLansUpdate with any type of body +func NewWirelessWirelessLansUpdateRequestWithBody(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("/api/wireless/wireless-lans/%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 +} + +// NewWirelessWirelessLinksBulkDestroyRequest calls the generic WirelessWirelessLinksBulkDestroy builder with application/json body +func NewWirelessWirelessLinksBulkDestroyRequest(server string, body WirelessWirelessLinksBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLinksBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewWirelessWirelessLinksBulkDestroyRequestWithBody generates requests for WirelessWirelessLinksBulkDestroy with any type of body +func NewWirelessWirelessLinksBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-links/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewWirelessWirelessLinksListRequest generates requests for WirelessWirelessLinksList +func NewWirelessWirelessLinksListRequest(server string, params *WirelessWirelessLinksListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-links/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if params.AuthCipher != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_cipher", runtime.ParamLocationQuery, *params.AuthCipher); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthCipherN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_cipher__n", runtime.ParamLocationQuery, *params.AuthCipherN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPsk != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk", runtime.ParamLocationQuery, *params.AuthPsk); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__empty", runtime.ParamLocationQuery, *params.AuthPskEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__ic", runtime.ParamLocationQuery, *params.AuthPskIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__ie", runtime.ParamLocationQuery, *params.AuthPskIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__iew", runtime.ParamLocationQuery, *params.AuthPskIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__isw", runtime.ParamLocationQuery, *params.AuthPskIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__n", runtime.ParamLocationQuery, *params.AuthPskN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__nic", runtime.ParamLocationQuery, *params.AuthPskNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__nie", runtime.ParamLocationQuery, *params.AuthPskNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__niew", runtime.ParamLocationQuery, *params.AuthPskNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthPskNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_psk__nisw", runtime.ParamLocationQuery, *params.AuthPskNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_type", runtime.ParamLocationQuery, *params.AuthType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AuthTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "auth_type__n", runtime.ParamLocationQuery, *params.AuthTypeN); err != nil { + return nil, err + } else if parsed, err := 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.CreatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__empty", runtime.ParamLocationQuery, *params.CreatedEmpty); err != nil { + return nil, err + } else if parsed, err := 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.CreatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created_by_request", runtime.ParamLocationQuery, *params.CreatedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.DescriptionEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__empty", runtime.ParamLocationQuery, *params.DescriptionEmpty); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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.IdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__empty", runtime.ParamLocationQuery, *params.IdEmpty); err != nil { + return nil, err + } else if parsed, err := 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.InterfaceAId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_a_id", runtime.ParamLocationQuery, *params.InterfaceAId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceAIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_a_id__empty", runtime.ParamLocationQuery, *params.InterfaceAIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceAIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_a_id__gt", runtime.ParamLocationQuery, *params.InterfaceAIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceAIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_a_id__gte", runtime.ParamLocationQuery, *params.InterfaceAIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceAIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_a_id__lt", runtime.ParamLocationQuery, *params.InterfaceAIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceAIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_a_id__lte", runtime.ParamLocationQuery, *params.InterfaceAIdLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceAIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_a_id__n", runtime.ParamLocationQuery, *params.InterfaceAIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceBId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_b_id", runtime.ParamLocationQuery, *params.InterfaceBId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceBIdEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_b_id__empty", runtime.ParamLocationQuery, *params.InterfaceBIdEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceBIdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_b_id__gt", runtime.ParamLocationQuery, *params.InterfaceBIdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceBIdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_b_id__gte", runtime.ParamLocationQuery, *params.InterfaceBIdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceBIdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_b_id__lt", runtime.ParamLocationQuery, *params.InterfaceBIdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceBIdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_b_id__lte", runtime.ParamLocationQuery, *params.InterfaceBIdLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceBIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_b_id__n", runtime.ParamLocationQuery, *params.InterfaceBIdN); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__empty", runtime.ParamLocationQuery, *params.LastUpdatedEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gt", runtime.ParamLocationQuery, *params.LastUpdatedGt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lt", runtime.ParamLocationQuery, *params.LastUpdatedLt); err != nil { + return nil, err + } else if parsed, err := 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.LastUpdatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__n", runtime.ParamLocationQuery, *params.LastUpdatedN); err != nil { + return nil, err + } else if parsed, err := 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.ModifiedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "modified_by_request", runtime.ParamLocationQuery, *params.ModifiedByRequest); err != nil { + return nil, err + } else if parsed, err := 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.Ordering != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ordering", runtime.ParamLocationQuery, *params.Ordering); err != nil { + return nil, err + } else if parsed, err := 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.Ssid != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid", runtime.ParamLocationQuery, *params.Ssid); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidEmpty != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__empty", runtime.ParamLocationQuery, *params.SsidEmpty); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__ic", runtime.ParamLocationQuery, *params.SsidIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__ie", runtime.ParamLocationQuery, *params.SsidIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__iew", runtime.ParamLocationQuery, *params.SsidIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__isw", runtime.ParamLocationQuery, *params.SsidIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__n", runtime.ParamLocationQuery, *params.SsidN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__nic", runtime.ParamLocationQuery, *params.SsidNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__nie", runtime.ParamLocationQuery, *params.SsidNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__niew", runtime.ParamLocationQuery, *params.SsidNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SsidNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ssid__nisw", runtime.ParamLocationQuery, *params.SsidNisw); err != nil { + return nil, err + } else if parsed, err := 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.UpdatedByRequest != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "updated_by_request", runtime.ParamLocationQuery, *params.UpdatedByRequest); err != nil { + return nil, err + } else if 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 +} + +// NewWirelessWirelessLinksBulkPartialUpdateRequest calls the generic WirelessWirelessLinksBulkPartialUpdate builder with application/json body +func NewWirelessWirelessLinksBulkPartialUpdateRequest(server string, body WirelessWirelessLinksBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLinksBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewWirelessWirelessLinksBulkPartialUpdateRequestWithBody generates requests for WirelessWirelessLinksBulkPartialUpdate with any type of body +func NewWirelessWirelessLinksBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-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 +} + +// NewWirelessWirelessLinksCreateRequest calls the generic WirelessWirelessLinksCreate builder with application/json body +func NewWirelessWirelessLinksCreateRequest(server string, body WirelessWirelessLinksCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLinksCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewWirelessWirelessLinksCreateRequestWithBody generates requests for WirelessWirelessLinksCreate with any type of body +func NewWirelessWirelessLinksCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-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 +} + +// NewWirelessWirelessLinksBulkUpdateRequest calls the generic WirelessWirelessLinksBulkUpdate builder with application/json body +func NewWirelessWirelessLinksBulkUpdateRequest(server string, body WirelessWirelessLinksBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLinksBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewWirelessWirelessLinksBulkUpdateRequestWithBody generates requests for WirelessWirelessLinksBulkUpdate with any type of body +func NewWirelessWirelessLinksBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/wireless/wireless-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 +} + +// NewWirelessWirelessLinksDestroyRequest generates requests for WirelessWirelessLinksDestroy +func NewWirelessWirelessLinksDestroyRequest(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("/api/wireless/wireless-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 +} + +// NewWirelessWirelessLinksRetrieveRequest generates requests for WirelessWirelessLinksRetrieve +func NewWirelessWirelessLinksRetrieveRequest(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("/api/wireless/wireless-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 +} + +// NewWirelessWirelessLinksPartialUpdateRequest calls the generic WirelessWirelessLinksPartialUpdate builder with application/json body +func NewWirelessWirelessLinksPartialUpdateRequest(server string, id int, body WirelessWirelessLinksPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLinksPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewWirelessWirelessLinksPartialUpdateRequestWithBody generates requests for WirelessWirelessLinksPartialUpdate with any type of body +func NewWirelessWirelessLinksPartialUpdateRequestWithBody(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("/api/wireless/wireless-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 +} + +// NewWirelessWirelessLinksUpdateRequest calls the generic WirelessWirelessLinksUpdate builder with application/json body +func NewWirelessWirelessLinksUpdateRequest(server string, id int, body WirelessWirelessLinksUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewWirelessWirelessLinksUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewWirelessWirelessLinksUpdateRequestWithBody generates requests for WirelessWirelessLinksUpdate with any type of body +func NewWirelessWirelessLinksUpdateRequestWithBody(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("/api/wireless/wireless-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 +} + +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 { + // CircuitsCircuitTerminationsBulkDestroyWithBodyWithResponse request with any body + CircuitsCircuitTerminationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) + + CircuitsCircuitTerminationsBulkDestroyWithResponse(ctx context.Context, body CircuitsCircuitTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) + + // CircuitsCircuitTerminationsListWithResponse request + CircuitsCircuitTerminationsListWithResponse(ctx context.Context, params *CircuitsCircuitTerminationsListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsListResponse, error) + + // CircuitsCircuitTerminationsBulkPartialUpdateWithBodyWithResponse 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) + + // CircuitsCircuitTerminationsCreateWithBodyWithResponse 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) + + // CircuitsCircuitTerminationsBulkUpdateWithBodyWithResponse 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) + + // CircuitsCircuitTerminationsDestroyWithResponse request + CircuitsCircuitTerminationsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsDestroyResponse, error) + + // CircuitsCircuitTerminationsRetrieveWithResponse request + CircuitsCircuitTerminationsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsRetrieveResponse, error) + + // CircuitsCircuitTerminationsPartialUpdateWithBodyWithResponse request with any body + CircuitsCircuitTerminationsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsPartialUpdateResponse, error) + + CircuitsCircuitTerminationsPartialUpdateWithResponse(ctx context.Context, id int, body CircuitsCircuitTerminationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsPartialUpdateResponse, error) + + // CircuitsCircuitTerminationsUpdateWithBodyWithResponse request with any body + CircuitsCircuitTerminationsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsUpdateResponse, error) + + CircuitsCircuitTerminationsUpdateWithResponse(ctx context.Context, id int, body CircuitsCircuitTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsUpdateResponse, error) + + // CircuitsCircuitTerminationsPathsRetrieveWithResponse request + CircuitsCircuitTerminationsPathsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsPathsRetrieveResponse, error) + + // CircuitsCircuitTypesBulkDestroyWithBodyWithResponse request with any body + CircuitsCircuitTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkDestroyResponse, error) + + CircuitsCircuitTypesBulkDestroyWithResponse(ctx context.Context, body CircuitsCircuitTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkDestroyResponse, error) + + // CircuitsCircuitTypesListWithResponse request + CircuitsCircuitTypesListWithResponse(ctx context.Context, params *CircuitsCircuitTypesListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesListResponse, error) + + // CircuitsCircuitTypesBulkPartialUpdateWithBodyWithResponse 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) + + // CircuitsCircuitTypesCreateWithBodyWithResponse 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) + + // CircuitsCircuitTypesBulkUpdateWithBodyWithResponse 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) + + // CircuitsCircuitTypesDestroyWithResponse request + CircuitsCircuitTypesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesDestroyResponse, error) + + // CircuitsCircuitTypesRetrieveWithResponse request + CircuitsCircuitTypesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesRetrieveResponse, error) + + // CircuitsCircuitTypesPartialUpdateWithBodyWithResponse request with any body + CircuitsCircuitTypesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesPartialUpdateResponse, error) + + CircuitsCircuitTypesPartialUpdateWithResponse(ctx context.Context, id int, body CircuitsCircuitTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesPartialUpdateResponse, error) + + // CircuitsCircuitTypesUpdateWithBodyWithResponse request with any body + CircuitsCircuitTypesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesUpdateResponse, error) + + CircuitsCircuitTypesUpdateWithResponse(ctx context.Context, id int, body CircuitsCircuitTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesUpdateResponse, error) + + // CircuitsCircuitsBulkDestroyWithBodyWithResponse request with any body + CircuitsCircuitsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkDestroyResponse, error) + + CircuitsCircuitsBulkDestroyWithResponse(ctx context.Context, body CircuitsCircuitsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkDestroyResponse, error) + + // CircuitsCircuitsListWithResponse request + CircuitsCircuitsListWithResponse(ctx context.Context, params *CircuitsCircuitsListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitsListResponse, error) + + // CircuitsCircuitsBulkPartialUpdateWithBodyWithResponse 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) + + // CircuitsCircuitsCreateWithBodyWithResponse 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) + + // CircuitsCircuitsBulkUpdateWithBodyWithResponse 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) + + // CircuitsCircuitsDestroyWithResponse request + CircuitsCircuitsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsCircuitsDestroyResponse, error) + + // CircuitsCircuitsRetrieveWithResponse request + CircuitsCircuitsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsCircuitsRetrieveResponse, error) + + // CircuitsCircuitsPartialUpdateWithBodyWithResponse request with any body + CircuitsCircuitsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsPartialUpdateResponse, error) + + CircuitsCircuitsPartialUpdateWithResponse(ctx context.Context, id int, body CircuitsCircuitsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsPartialUpdateResponse, error) + + // CircuitsCircuitsUpdateWithBodyWithResponse request with any body + CircuitsCircuitsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsUpdateResponse, error) + + CircuitsCircuitsUpdateWithResponse(ctx context.Context, id int, body CircuitsCircuitsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsUpdateResponse, error) + + // CircuitsProviderAccountsBulkDestroyWithBodyWithResponse request with any body + CircuitsProviderAccountsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsBulkDestroyResponse, error) + + CircuitsProviderAccountsBulkDestroyWithResponse(ctx context.Context, body CircuitsProviderAccountsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsBulkDestroyResponse, error) + + // CircuitsProviderAccountsListWithResponse request + CircuitsProviderAccountsListWithResponse(ctx context.Context, params *CircuitsProviderAccountsListParams, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsListResponse, error) + + // CircuitsProviderAccountsBulkPartialUpdateWithBodyWithResponse request with any body + CircuitsProviderAccountsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsBulkPartialUpdateResponse, error) + + CircuitsProviderAccountsBulkPartialUpdateWithResponse(ctx context.Context, body CircuitsProviderAccountsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsBulkPartialUpdateResponse, error) + + // CircuitsProviderAccountsCreateWithBodyWithResponse request with any body + CircuitsProviderAccountsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsCreateResponse, error) + + CircuitsProviderAccountsCreateWithResponse(ctx context.Context, body CircuitsProviderAccountsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsCreateResponse, error) + + // CircuitsProviderAccountsBulkUpdateWithBodyWithResponse request with any body + CircuitsProviderAccountsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsBulkUpdateResponse, error) + + CircuitsProviderAccountsBulkUpdateWithResponse(ctx context.Context, body CircuitsProviderAccountsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsBulkUpdateResponse, error) + + // CircuitsProviderAccountsDestroyWithResponse request + CircuitsProviderAccountsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsDestroyResponse, error) + + // CircuitsProviderAccountsRetrieveWithResponse request + CircuitsProviderAccountsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsRetrieveResponse, error) + + // CircuitsProviderAccountsPartialUpdateWithBodyWithResponse request with any body + CircuitsProviderAccountsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsPartialUpdateResponse, error) + + CircuitsProviderAccountsPartialUpdateWithResponse(ctx context.Context, id int, body CircuitsProviderAccountsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsPartialUpdateResponse, error) + + // CircuitsProviderAccountsUpdateWithBodyWithResponse request with any body + CircuitsProviderAccountsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsUpdateResponse, error) + + CircuitsProviderAccountsUpdateWithResponse(ctx context.Context, id int, body CircuitsProviderAccountsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsUpdateResponse, error) + + // CircuitsProviderNetworksBulkDestroyWithBodyWithResponse request with any body + CircuitsProviderNetworksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkDestroyResponse, error) + + CircuitsProviderNetworksBulkDestroyWithResponse(ctx context.Context, body CircuitsProviderNetworksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkDestroyResponse, error) + + // CircuitsProviderNetworksListWithResponse request + CircuitsProviderNetworksListWithResponse(ctx context.Context, params *CircuitsProviderNetworksListParams, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksListResponse, error) + + // CircuitsProviderNetworksBulkPartialUpdateWithBodyWithResponse 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) + + // CircuitsProviderNetworksCreateWithBodyWithResponse 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) + + // CircuitsProviderNetworksBulkUpdateWithBodyWithResponse 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) + + // CircuitsProviderNetworksDestroyWithResponse request + CircuitsProviderNetworksDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksDestroyResponse, error) + + // CircuitsProviderNetworksRetrieveWithResponse request + CircuitsProviderNetworksRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksRetrieveResponse, error) + + // CircuitsProviderNetworksPartialUpdateWithBodyWithResponse request with any body + CircuitsProviderNetworksPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksPartialUpdateResponse, error) + + CircuitsProviderNetworksPartialUpdateWithResponse(ctx context.Context, id int, body CircuitsProviderNetworksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksPartialUpdateResponse, error) + + // CircuitsProviderNetworksUpdateWithBodyWithResponse request with any body + CircuitsProviderNetworksUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksUpdateResponse, error) + + CircuitsProviderNetworksUpdateWithResponse(ctx context.Context, id int, body CircuitsProviderNetworksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksUpdateResponse, error) + + // CircuitsProvidersBulkDestroyWithBodyWithResponse request with any body + CircuitsProvidersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkDestroyResponse, error) + + CircuitsProvidersBulkDestroyWithResponse(ctx context.Context, body CircuitsProvidersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkDestroyResponse, error) + + // CircuitsProvidersListWithResponse request + CircuitsProvidersListWithResponse(ctx context.Context, params *CircuitsProvidersListParams, reqEditors ...RequestEditorFn) (*CircuitsProvidersListResponse, error) + + // CircuitsProvidersBulkPartialUpdateWithBodyWithResponse 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) + + // CircuitsProvidersCreateWithBodyWithResponse 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) + + // CircuitsProvidersBulkUpdateWithBodyWithResponse 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) + + // CircuitsProvidersDestroyWithResponse request + CircuitsProvidersDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsProvidersDestroyResponse, error) + + // CircuitsProvidersRetrieveWithResponse request + CircuitsProvidersRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsProvidersRetrieveResponse, error) + + // CircuitsProvidersPartialUpdateWithBodyWithResponse request with any body + CircuitsProvidersPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersPartialUpdateResponse, error) + + CircuitsProvidersPartialUpdateWithResponse(ctx context.Context, id int, body CircuitsProvidersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersPartialUpdateResponse, error) + + // CircuitsProvidersUpdateWithBodyWithResponse request with any body + CircuitsProvidersUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersUpdateResponse, error) + + CircuitsProvidersUpdateWithResponse(ctx context.Context, id int, body CircuitsProvidersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersUpdateResponse, error) + + // CoreDataFilesListWithResponse request + CoreDataFilesListWithResponse(ctx context.Context, params *CoreDataFilesListParams, reqEditors ...RequestEditorFn) (*CoreDataFilesListResponse, error) + + // CoreDataFilesRetrieveWithResponse request + CoreDataFilesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CoreDataFilesRetrieveResponse, error) + + // CoreDataSourcesBulkDestroyWithBodyWithResponse request with any body + CoreDataSourcesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CoreDataSourcesBulkDestroyResponse, error) + + CoreDataSourcesBulkDestroyWithResponse(ctx context.Context, body CoreDataSourcesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CoreDataSourcesBulkDestroyResponse, error) + + // CoreDataSourcesListWithResponse request + CoreDataSourcesListWithResponse(ctx context.Context, params *CoreDataSourcesListParams, reqEditors ...RequestEditorFn) (*CoreDataSourcesListResponse, error) + + // CoreDataSourcesBulkPartialUpdateWithBodyWithResponse request with any body + CoreDataSourcesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CoreDataSourcesBulkPartialUpdateResponse, error) + + CoreDataSourcesBulkPartialUpdateWithResponse(ctx context.Context, body CoreDataSourcesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CoreDataSourcesBulkPartialUpdateResponse, error) + + // CoreDataSourcesCreateWithBodyWithResponse request with any body + CoreDataSourcesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CoreDataSourcesCreateResponse, error) + + CoreDataSourcesCreateWithResponse(ctx context.Context, body CoreDataSourcesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CoreDataSourcesCreateResponse, error) + + // CoreDataSourcesBulkUpdateWithBodyWithResponse request with any body + CoreDataSourcesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CoreDataSourcesBulkUpdateResponse, error) + + CoreDataSourcesBulkUpdateWithResponse(ctx context.Context, body CoreDataSourcesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CoreDataSourcesBulkUpdateResponse, error) + + // CoreDataSourcesDestroyWithResponse request + CoreDataSourcesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CoreDataSourcesDestroyResponse, error) + + // CoreDataSourcesRetrieveWithResponse request + CoreDataSourcesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CoreDataSourcesRetrieveResponse, error) + + // CoreDataSourcesPartialUpdateWithBodyWithResponse request with any body + CoreDataSourcesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CoreDataSourcesPartialUpdateResponse, error) + + CoreDataSourcesPartialUpdateWithResponse(ctx context.Context, id int, body CoreDataSourcesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CoreDataSourcesPartialUpdateResponse, error) + + // CoreDataSourcesUpdateWithBodyWithResponse request with any body + CoreDataSourcesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CoreDataSourcesUpdateResponse, error) + + CoreDataSourcesUpdateWithResponse(ctx context.Context, id int, body CoreDataSourcesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CoreDataSourcesUpdateResponse, error) + + // CoreDataSourcesSyncCreateWithBodyWithResponse request with any body + CoreDataSourcesSyncCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CoreDataSourcesSyncCreateResponse, error) + + CoreDataSourcesSyncCreateWithResponse(ctx context.Context, id int, body CoreDataSourcesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CoreDataSourcesSyncCreateResponse, error) + + // CoreJobsListWithResponse request + CoreJobsListWithResponse(ctx context.Context, params *CoreJobsListParams, reqEditors ...RequestEditorFn) (*CoreJobsListResponse, error) + + // CoreJobsRetrieveWithResponse request + CoreJobsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CoreJobsRetrieveResponse, error) + + // DcimCableTerminationsBulkDestroyWithBodyWithResponse request with any body + DcimCableTerminationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCableTerminationsBulkDestroyResponse, error) + + DcimCableTerminationsBulkDestroyWithResponse(ctx context.Context, body DcimCableTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCableTerminationsBulkDestroyResponse, error) + + // DcimCableTerminationsListWithResponse request + DcimCableTerminationsListWithResponse(ctx context.Context, params *DcimCableTerminationsListParams, reqEditors ...RequestEditorFn) (*DcimCableTerminationsListResponse, error) + + // DcimCableTerminationsBulkPartialUpdateWithBodyWithResponse request with any body + DcimCableTerminationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCableTerminationsBulkPartialUpdateResponse, error) + + DcimCableTerminationsBulkPartialUpdateWithResponse(ctx context.Context, body DcimCableTerminationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCableTerminationsBulkPartialUpdateResponse, error) + + // DcimCableTerminationsCreateWithBodyWithResponse request with any body + DcimCableTerminationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCableTerminationsCreateResponse, error) + + DcimCableTerminationsCreateWithResponse(ctx context.Context, body DcimCableTerminationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCableTerminationsCreateResponse, error) + + // DcimCableTerminationsBulkUpdateWithBodyWithResponse request with any body + DcimCableTerminationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCableTerminationsBulkUpdateResponse, error) + + DcimCableTerminationsBulkUpdateWithResponse(ctx context.Context, body DcimCableTerminationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCableTerminationsBulkUpdateResponse, error) + + // DcimCableTerminationsDestroyWithResponse request + DcimCableTerminationsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimCableTerminationsDestroyResponse, error) + + // DcimCableTerminationsRetrieveWithResponse request + DcimCableTerminationsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimCableTerminationsRetrieveResponse, error) + + // DcimCableTerminationsPartialUpdateWithBodyWithResponse request with any body + DcimCableTerminationsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCableTerminationsPartialUpdateResponse, error) + + DcimCableTerminationsPartialUpdateWithResponse(ctx context.Context, id int, body DcimCableTerminationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCableTerminationsPartialUpdateResponse, error) + + // DcimCableTerminationsUpdateWithBodyWithResponse request with any body + DcimCableTerminationsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCableTerminationsUpdateResponse, error) + + DcimCableTerminationsUpdateWithResponse(ctx context.Context, id int, body DcimCableTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCableTerminationsUpdateResponse, error) + + // DcimCablesBulkDestroyWithBodyWithResponse request with any body + DcimCablesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesBulkDestroyResponse, error) + + DcimCablesBulkDestroyWithResponse(ctx context.Context, body DcimCablesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesBulkDestroyResponse, error) + + // DcimCablesListWithResponse request + DcimCablesListWithResponse(ctx context.Context, params *DcimCablesListParams, reqEditors ...RequestEditorFn) (*DcimCablesListResponse, error) + + // DcimCablesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimCablesCreateWithBodyWithResponse 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) + + // DcimCablesBulkUpdateWithBodyWithResponse 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) + + // DcimCablesDestroyWithResponse request + DcimCablesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimCablesDestroyResponse, error) + + // DcimCablesRetrieveWithResponse request + DcimCablesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimCablesRetrieveResponse, error) + + // DcimCablesPartialUpdateWithBodyWithResponse request with any body + DcimCablesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesPartialUpdateResponse, error) + + DcimCablesPartialUpdateWithResponse(ctx context.Context, id int, body DcimCablesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesPartialUpdateResponse, error) + + // DcimCablesUpdateWithBodyWithResponse request with any body + DcimCablesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesUpdateResponse, error) + + DcimCablesUpdateWithResponse(ctx context.Context, id int, body DcimCablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesUpdateResponse, error) + + // DcimConnectedDeviceListWithResponse request + DcimConnectedDeviceListWithResponse(ctx context.Context, params *DcimConnectedDeviceListParams, reqEditors ...RequestEditorFn) (*DcimConnectedDeviceListResponse, error) + + // DcimConsolePortTemplatesBulkDestroyWithBodyWithResponse request with any body + DcimConsolePortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkDestroyResponse, error) + + DcimConsolePortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimConsolePortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkDestroyResponse, error) + + // DcimConsolePortTemplatesListWithResponse request + DcimConsolePortTemplatesListWithResponse(ctx context.Context, params *DcimConsolePortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesListResponse, error) + + // DcimConsolePortTemplatesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimConsolePortTemplatesCreateWithBodyWithResponse 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) + + // DcimConsolePortTemplatesBulkUpdateWithBodyWithResponse 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) + + // DcimConsolePortTemplatesDestroyWithResponse request + DcimConsolePortTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesDestroyResponse, error) + + // DcimConsolePortTemplatesRetrieveWithResponse request + DcimConsolePortTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesRetrieveResponse, error) + + // DcimConsolePortTemplatesPartialUpdateWithBodyWithResponse request with any body + DcimConsolePortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesPartialUpdateResponse, error) + + DcimConsolePortTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body DcimConsolePortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesPartialUpdateResponse, error) + + // DcimConsolePortTemplatesUpdateWithBodyWithResponse request with any body + DcimConsolePortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesUpdateResponse, error) + + DcimConsolePortTemplatesUpdateWithResponse(ctx context.Context, id int, body DcimConsolePortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesUpdateResponse, error) + + // DcimConsolePortsBulkDestroyWithBodyWithResponse request with any body + DcimConsolePortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkDestroyResponse, error) + + DcimConsolePortsBulkDestroyWithResponse(ctx context.Context, body DcimConsolePortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkDestroyResponse, error) + + // DcimConsolePortsListWithResponse request + DcimConsolePortsListWithResponse(ctx context.Context, params *DcimConsolePortsListParams, reqEditors ...RequestEditorFn) (*DcimConsolePortsListResponse, error) + + // DcimConsolePortsBulkPartialUpdateWithBodyWithResponse 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) + + // DcimConsolePortsCreateWithBodyWithResponse 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) + + // DcimConsolePortsBulkUpdateWithBodyWithResponse 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) + + // DcimConsolePortsDestroyWithResponse request + DcimConsolePortsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimConsolePortsDestroyResponse, error) + + // DcimConsolePortsRetrieveWithResponse request + DcimConsolePortsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimConsolePortsRetrieveResponse, error) + + // DcimConsolePortsPartialUpdateWithBodyWithResponse request with any body + DcimConsolePortsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsPartialUpdateResponse, error) + + DcimConsolePortsPartialUpdateWithResponse(ctx context.Context, id int, body DcimConsolePortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsPartialUpdateResponse, error) + + // DcimConsolePortsUpdateWithBodyWithResponse request with any body + DcimConsolePortsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsUpdateResponse, error) + + DcimConsolePortsUpdateWithResponse(ctx context.Context, id int, body DcimConsolePortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsUpdateResponse, error) + + // DcimConsolePortsTraceRetrieveWithResponse request + DcimConsolePortsTraceRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimConsolePortsTraceRetrieveResponse, error) + + // DcimConsoleServerPortTemplatesBulkDestroyWithBodyWithResponse request with any body + DcimConsoleServerPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkDestroyResponse, error) + + DcimConsoleServerPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimConsoleServerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkDestroyResponse, error) + + // DcimConsoleServerPortTemplatesListWithResponse request + DcimConsoleServerPortTemplatesListWithResponse(ctx context.Context, params *DcimConsoleServerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesListResponse, error) + + // DcimConsoleServerPortTemplatesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimConsoleServerPortTemplatesCreateWithBodyWithResponse 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) + + // DcimConsoleServerPortTemplatesBulkUpdateWithBodyWithResponse 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) + + // DcimConsoleServerPortTemplatesDestroyWithResponse request + DcimConsoleServerPortTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesDestroyResponse, error) + + // DcimConsoleServerPortTemplatesRetrieveWithResponse request + DcimConsoleServerPortTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesRetrieveResponse, error) + + // DcimConsoleServerPortTemplatesPartialUpdateWithBodyWithResponse request with any body + DcimConsoleServerPortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesPartialUpdateResponse, error) + + DcimConsoleServerPortTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body DcimConsoleServerPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesPartialUpdateResponse, error) + + // DcimConsoleServerPortTemplatesUpdateWithBodyWithResponse request with any body + DcimConsoleServerPortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesUpdateResponse, error) + + DcimConsoleServerPortTemplatesUpdateWithResponse(ctx context.Context, id int, body DcimConsoleServerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesUpdateResponse, error) + + // DcimConsoleServerPortsBulkDestroyWithBodyWithResponse request with any body + DcimConsoleServerPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkDestroyResponse, error) + + DcimConsoleServerPortsBulkDestroyWithResponse(ctx context.Context, body DcimConsoleServerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkDestroyResponse, error) + + // DcimConsoleServerPortsListWithResponse request + DcimConsoleServerPortsListWithResponse(ctx context.Context, params *DcimConsoleServerPortsListParams, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsListResponse, error) + + // DcimConsoleServerPortsBulkPartialUpdateWithBodyWithResponse 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) + + // DcimConsoleServerPortsCreateWithBodyWithResponse 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) + + // DcimConsoleServerPortsBulkUpdateWithBodyWithResponse 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) + + // DcimConsoleServerPortsDestroyWithResponse request + DcimConsoleServerPortsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsDestroyResponse, error) + + // DcimConsoleServerPortsRetrieveWithResponse request + DcimConsoleServerPortsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsRetrieveResponse, error) + + // DcimConsoleServerPortsPartialUpdateWithBodyWithResponse request with any body + DcimConsoleServerPortsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsPartialUpdateResponse, error) + + DcimConsoleServerPortsPartialUpdateWithResponse(ctx context.Context, id int, body DcimConsoleServerPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsPartialUpdateResponse, error) + + // DcimConsoleServerPortsUpdateWithBodyWithResponse request with any body + DcimConsoleServerPortsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsUpdateResponse, error) + + DcimConsoleServerPortsUpdateWithResponse(ctx context.Context, id int, body DcimConsoleServerPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsUpdateResponse, error) + + // DcimConsoleServerPortsTraceRetrieveWithResponse request + DcimConsoleServerPortsTraceRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsTraceRetrieveResponse, error) + + // DcimDeviceBayTemplatesBulkDestroyWithBodyWithResponse request with any body + DcimDeviceBayTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkDestroyResponse, error) + + DcimDeviceBayTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimDeviceBayTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkDestroyResponse, error) + + // DcimDeviceBayTemplatesListWithResponse request + DcimDeviceBayTemplatesListWithResponse(ctx context.Context, params *DcimDeviceBayTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesListResponse, error) + + // DcimDeviceBayTemplatesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimDeviceBayTemplatesCreateWithBodyWithResponse 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) + + // DcimDeviceBayTemplatesBulkUpdateWithBodyWithResponse 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) + + // DcimDeviceBayTemplatesDestroyWithResponse request + DcimDeviceBayTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesDestroyResponse, error) + + // DcimDeviceBayTemplatesRetrieveWithResponse request + DcimDeviceBayTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesRetrieveResponse, error) + + // DcimDeviceBayTemplatesPartialUpdateWithBodyWithResponse request with any body + DcimDeviceBayTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesPartialUpdateResponse, error) + + DcimDeviceBayTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body DcimDeviceBayTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesPartialUpdateResponse, error) + + // DcimDeviceBayTemplatesUpdateWithBodyWithResponse request with any body + DcimDeviceBayTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesUpdateResponse, error) + + DcimDeviceBayTemplatesUpdateWithResponse(ctx context.Context, id int, body DcimDeviceBayTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesUpdateResponse, error) + + // DcimDeviceBaysBulkDestroyWithBodyWithResponse request with any body + DcimDeviceBaysBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkDestroyResponse, error) + + DcimDeviceBaysBulkDestroyWithResponse(ctx context.Context, body DcimDeviceBaysBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkDestroyResponse, error) + + // DcimDeviceBaysListWithResponse request + DcimDeviceBaysListWithResponse(ctx context.Context, params *DcimDeviceBaysListParams, reqEditors ...RequestEditorFn) (*DcimDeviceBaysListResponse, error) + + // DcimDeviceBaysBulkPartialUpdateWithBodyWithResponse 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) + + // DcimDeviceBaysCreateWithBodyWithResponse 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) + + // DcimDeviceBaysBulkUpdateWithBodyWithResponse 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) + + // DcimDeviceBaysDestroyWithResponse request + DcimDeviceBaysDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimDeviceBaysDestroyResponse, error) + + // DcimDeviceBaysRetrieveWithResponse request + DcimDeviceBaysRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimDeviceBaysRetrieveResponse, error) + + // DcimDeviceBaysPartialUpdateWithBodyWithResponse request with any body + DcimDeviceBaysPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysPartialUpdateResponse, error) + + DcimDeviceBaysPartialUpdateWithResponse(ctx context.Context, id int, body DcimDeviceBaysPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysPartialUpdateResponse, error) + + // DcimDeviceBaysUpdateWithBodyWithResponse request with any body + DcimDeviceBaysUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysUpdateResponse, error) + + DcimDeviceBaysUpdateWithResponse(ctx context.Context, id int, body DcimDeviceBaysUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysUpdateResponse, error) + + // DcimDeviceRolesBulkDestroyWithBodyWithResponse request with any body + DcimDeviceRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkDestroyResponse, error) + + DcimDeviceRolesBulkDestroyWithResponse(ctx context.Context, body DcimDeviceRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkDestroyResponse, error) + + // DcimDeviceRolesListWithResponse request + DcimDeviceRolesListWithResponse(ctx context.Context, params *DcimDeviceRolesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceRolesListResponse, error) + + // DcimDeviceRolesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimDeviceRolesCreateWithBodyWithResponse 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) + + // DcimDeviceRolesBulkUpdateWithBodyWithResponse 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) + + // DcimDeviceRolesDestroyWithResponse request + DcimDeviceRolesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimDeviceRolesDestroyResponse, error) + + // DcimDeviceRolesRetrieveWithResponse request + DcimDeviceRolesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimDeviceRolesRetrieveResponse, error) + + // DcimDeviceRolesPartialUpdateWithBodyWithResponse request with any body + DcimDeviceRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesPartialUpdateResponse, error) + + DcimDeviceRolesPartialUpdateWithResponse(ctx context.Context, id int, body DcimDeviceRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesPartialUpdateResponse, error) + + // DcimDeviceRolesUpdateWithBodyWithResponse request with any body + DcimDeviceRolesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesUpdateResponse, error) + + DcimDeviceRolesUpdateWithResponse(ctx context.Context, id int, body DcimDeviceRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesUpdateResponse, error) + + // DcimDeviceTypesBulkDestroyWithBodyWithResponse request with any body + DcimDeviceTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkDestroyResponse, error) + + DcimDeviceTypesBulkDestroyWithResponse(ctx context.Context, body DcimDeviceTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkDestroyResponse, error) + + // DcimDeviceTypesListWithResponse request + DcimDeviceTypesListWithResponse(ctx context.Context, params *DcimDeviceTypesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceTypesListResponse, error) + + // DcimDeviceTypesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimDeviceTypesCreateWithBodyWithResponse 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) + + // DcimDeviceTypesBulkUpdateWithBodyWithResponse 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) + + // DcimDeviceTypesDestroyWithResponse request + DcimDeviceTypesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimDeviceTypesDestroyResponse, error) + + // DcimDeviceTypesRetrieveWithResponse request + DcimDeviceTypesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimDeviceTypesRetrieveResponse, error) + + // DcimDeviceTypesPartialUpdateWithBodyWithResponse request with any body + DcimDeviceTypesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesPartialUpdateResponse, error) + + DcimDeviceTypesPartialUpdateWithResponse(ctx context.Context, id int, body DcimDeviceTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesPartialUpdateResponse, error) + + // DcimDeviceTypesUpdateWithBodyWithResponse request with any body + DcimDeviceTypesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesUpdateResponse, error) + + DcimDeviceTypesUpdateWithResponse(ctx context.Context, id int, body DcimDeviceTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesUpdateResponse, error) + + // DcimDevicesBulkDestroyWithBodyWithResponse request with any body + DcimDevicesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesBulkDestroyResponse, error) + + DcimDevicesBulkDestroyWithResponse(ctx context.Context, body DcimDevicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesBulkDestroyResponse, error) + + // DcimDevicesListWithResponse request + DcimDevicesListWithResponse(ctx context.Context, params *DcimDevicesListParams, reqEditors ...RequestEditorFn) (*DcimDevicesListResponse, error) + + // DcimDevicesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimDevicesCreateWithBodyWithResponse 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) + + // DcimDevicesBulkUpdateWithBodyWithResponse 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) + + // DcimDevicesDestroyWithResponse request + DcimDevicesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimDevicesDestroyResponse, error) + + // DcimDevicesRetrieveWithResponse request + DcimDevicesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimDevicesRetrieveResponse, error) + + // DcimDevicesPartialUpdateWithBodyWithResponse request with any body + DcimDevicesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesPartialUpdateResponse, error) + + DcimDevicesPartialUpdateWithResponse(ctx context.Context, id int, body DcimDevicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesPartialUpdateResponse, error) + + // DcimDevicesUpdateWithBodyWithResponse request with any body + DcimDevicesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesUpdateResponse, error) + + DcimDevicesUpdateWithResponse(ctx context.Context, id int, body DcimDevicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesUpdateResponse, error) + + // DcimDevicesRenderConfigCreateWithBodyWithResponse request with any body + DcimDevicesRenderConfigCreateWithBodyWithResponse(ctx context.Context, id int, params *DcimDevicesRenderConfigCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesRenderConfigCreateResponse, error) + + DcimDevicesRenderConfigCreateWithResponse(ctx context.Context, id int, params *DcimDevicesRenderConfigCreateParams, body DcimDevicesRenderConfigCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesRenderConfigCreateResponse, error) + + // DcimFrontPortTemplatesBulkDestroyWithBodyWithResponse request with any body + DcimFrontPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkDestroyResponse, error) + + DcimFrontPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimFrontPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkDestroyResponse, error) + + // DcimFrontPortTemplatesListWithResponse request + DcimFrontPortTemplatesListWithResponse(ctx context.Context, params *DcimFrontPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesListResponse, error) + + // DcimFrontPortTemplatesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimFrontPortTemplatesCreateWithBodyWithResponse 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) + + // DcimFrontPortTemplatesBulkUpdateWithBodyWithResponse 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) + + // DcimFrontPortTemplatesDestroyWithResponse request + DcimFrontPortTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesDestroyResponse, error) + + // DcimFrontPortTemplatesRetrieveWithResponse request + DcimFrontPortTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesRetrieveResponse, error) + + // DcimFrontPortTemplatesPartialUpdateWithBodyWithResponse request with any body + DcimFrontPortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesPartialUpdateResponse, error) + + DcimFrontPortTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body DcimFrontPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesPartialUpdateResponse, error) + + // DcimFrontPortTemplatesUpdateWithBodyWithResponse request with any body + DcimFrontPortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesUpdateResponse, error) + + DcimFrontPortTemplatesUpdateWithResponse(ctx context.Context, id int, body DcimFrontPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesUpdateResponse, error) + + // DcimFrontPortsBulkDestroyWithBodyWithResponse request with any body + DcimFrontPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkDestroyResponse, error) + + DcimFrontPortsBulkDestroyWithResponse(ctx context.Context, body DcimFrontPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkDestroyResponse, error) + + // DcimFrontPortsListWithResponse request + DcimFrontPortsListWithResponse(ctx context.Context, params *DcimFrontPortsListParams, reqEditors ...RequestEditorFn) (*DcimFrontPortsListResponse, error) + + // DcimFrontPortsBulkPartialUpdateWithBodyWithResponse 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) + + // DcimFrontPortsCreateWithBodyWithResponse 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) + + // DcimFrontPortsBulkUpdateWithBodyWithResponse 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) + + // DcimFrontPortsDestroyWithResponse request + DcimFrontPortsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimFrontPortsDestroyResponse, error) + + // DcimFrontPortsRetrieveWithResponse request + DcimFrontPortsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimFrontPortsRetrieveResponse, error) + + // DcimFrontPortsPartialUpdateWithBodyWithResponse request with any body + DcimFrontPortsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsPartialUpdateResponse, error) + + DcimFrontPortsPartialUpdateWithResponse(ctx context.Context, id int, body DcimFrontPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsPartialUpdateResponse, error) + + // DcimFrontPortsUpdateWithBodyWithResponse request with any body + DcimFrontPortsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsUpdateResponse, error) + + DcimFrontPortsUpdateWithResponse(ctx context.Context, id int, body DcimFrontPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsUpdateResponse, error) + + // DcimFrontPortsPathsRetrieveWithResponse request + DcimFrontPortsPathsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimFrontPortsPathsRetrieveResponse, error) + + // DcimInterfaceTemplatesBulkDestroyWithBodyWithResponse request with any body + DcimInterfaceTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkDestroyResponse, error) + + DcimInterfaceTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimInterfaceTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkDestroyResponse, error) + + // DcimInterfaceTemplatesListWithResponse request + DcimInterfaceTemplatesListWithResponse(ctx context.Context, params *DcimInterfaceTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesListResponse, error) + + // DcimInterfaceTemplatesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimInterfaceTemplatesCreateWithBodyWithResponse 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) + + // DcimInterfaceTemplatesBulkUpdateWithBodyWithResponse 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) + + // DcimInterfaceTemplatesDestroyWithResponse request + DcimInterfaceTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesDestroyResponse, error) + + // DcimInterfaceTemplatesRetrieveWithResponse request + DcimInterfaceTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesRetrieveResponse, error) + + // DcimInterfaceTemplatesPartialUpdateWithBodyWithResponse request with any body + DcimInterfaceTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesPartialUpdateResponse, error) + + DcimInterfaceTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body DcimInterfaceTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesPartialUpdateResponse, error) + + // DcimInterfaceTemplatesUpdateWithBodyWithResponse request with any body + DcimInterfaceTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesUpdateResponse, error) + + DcimInterfaceTemplatesUpdateWithResponse(ctx context.Context, id int, body DcimInterfaceTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesUpdateResponse, error) + + // DcimInterfacesBulkDestroyWithBodyWithResponse request with any body + DcimInterfacesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkDestroyResponse, error) + + DcimInterfacesBulkDestroyWithResponse(ctx context.Context, body DcimInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkDestroyResponse, error) + + // DcimInterfacesListWithResponse request + DcimInterfacesListWithResponse(ctx context.Context, params *DcimInterfacesListParams, reqEditors ...RequestEditorFn) (*DcimInterfacesListResponse, error) + + // DcimInterfacesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimInterfacesCreateWithBodyWithResponse 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) + + // DcimInterfacesBulkUpdateWithBodyWithResponse 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) + + // DcimInterfacesDestroyWithResponse request + DcimInterfacesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInterfacesDestroyResponse, error) + + // DcimInterfacesRetrieveWithResponse request + DcimInterfacesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInterfacesRetrieveResponse, error) + + // DcimInterfacesPartialUpdateWithBodyWithResponse request with any body + DcimInterfacesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesPartialUpdateResponse, error) + + DcimInterfacesPartialUpdateWithResponse(ctx context.Context, id int, body DcimInterfacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesPartialUpdateResponse, error) + + // DcimInterfacesUpdateWithBodyWithResponse request with any body + DcimInterfacesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesUpdateResponse, error) + + DcimInterfacesUpdateWithResponse(ctx context.Context, id int, body DcimInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesUpdateResponse, error) + + // DcimInterfacesTraceRetrieveWithResponse request + DcimInterfacesTraceRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInterfacesTraceRetrieveResponse, error) + + // DcimInventoryItemRolesBulkDestroyWithBodyWithResponse request with any body + DcimInventoryItemRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesBulkDestroyResponse, error) + + DcimInventoryItemRolesBulkDestroyWithResponse(ctx context.Context, body DcimInventoryItemRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesBulkDestroyResponse, error) + + // DcimInventoryItemRolesListWithResponse request + DcimInventoryItemRolesListWithResponse(ctx context.Context, params *DcimInventoryItemRolesListParams, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesListResponse, error) + + // DcimInventoryItemRolesBulkPartialUpdateWithBodyWithResponse request with any body + DcimInventoryItemRolesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesBulkPartialUpdateResponse, error) + + DcimInventoryItemRolesBulkPartialUpdateWithResponse(ctx context.Context, body DcimInventoryItemRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesBulkPartialUpdateResponse, error) + + // DcimInventoryItemRolesCreateWithBodyWithResponse request with any body + DcimInventoryItemRolesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesCreateResponse, error) + + DcimInventoryItemRolesCreateWithResponse(ctx context.Context, body DcimInventoryItemRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesCreateResponse, error) + + // DcimInventoryItemRolesBulkUpdateWithBodyWithResponse request with any body + DcimInventoryItemRolesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesBulkUpdateResponse, error) + + DcimInventoryItemRolesBulkUpdateWithResponse(ctx context.Context, body DcimInventoryItemRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesBulkUpdateResponse, error) + + // DcimInventoryItemRolesDestroyWithResponse request + DcimInventoryItemRolesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesDestroyResponse, error) + + // DcimInventoryItemRolesRetrieveWithResponse request + DcimInventoryItemRolesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesRetrieveResponse, error) + + // DcimInventoryItemRolesPartialUpdateWithBodyWithResponse request with any body + DcimInventoryItemRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesPartialUpdateResponse, error) + + DcimInventoryItemRolesPartialUpdateWithResponse(ctx context.Context, id int, body DcimInventoryItemRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesPartialUpdateResponse, error) + + // DcimInventoryItemRolesUpdateWithBodyWithResponse request with any body + DcimInventoryItemRolesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesUpdateResponse, error) + + DcimInventoryItemRolesUpdateWithResponse(ctx context.Context, id int, body DcimInventoryItemRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesUpdateResponse, error) + + // DcimInventoryItemTemplatesBulkDestroyWithBodyWithResponse request with any body + DcimInventoryItemTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesBulkDestroyResponse, error) + + DcimInventoryItemTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimInventoryItemTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesBulkDestroyResponse, error) + + // DcimInventoryItemTemplatesListWithResponse request + DcimInventoryItemTemplatesListWithResponse(ctx context.Context, params *DcimInventoryItemTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesListResponse, error) + + // DcimInventoryItemTemplatesBulkPartialUpdateWithBodyWithResponse request with any body + DcimInventoryItemTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesBulkPartialUpdateResponse, error) + + DcimInventoryItemTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimInventoryItemTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesBulkPartialUpdateResponse, error) + + // DcimInventoryItemTemplatesCreateWithBodyWithResponse request with any body + DcimInventoryItemTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesCreateResponse, error) + + DcimInventoryItemTemplatesCreateWithResponse(ctx context.Context, body DcimInventoryItemTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesCreateResponse, error) + + // DcimInventoryItemTemplatesBulkUpdateWithBodyWithResponse request with any body + DcimInventoryItemTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesBulkUpdateResponse, error) + + DcimInventoryItemTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimInventoryItemTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesBulkUpdateResponse, error) + + // DcimInventoryItemTemplatesDestroyWithResponse request + DcimInventoryItemTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesDestroyResponse, error) + + // DcimInventoryItemTemplatesRetrieveWithResponse request + DcimInventoryItemTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesRetrieveResponse, error) + + // DcimInventoryItemTemplatesPartialUpdateWithBodyWithResponse request with any body + DcimInventoryItemTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesPartialUpdateResponse, error) + + DcimInventoryItemTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body DcimInventoryItemTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesPartialUpdateResponse, error) + + // DcimInventoryItemTemplatesUpdateWithBodyWithResponse request with any body + DcimInventoryItemTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesUpdateResponse, error) + + DcimInventoryItemTemplatesUpdateWithResponse(ctx context.Context, id int, body DcimInventoryItemTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesUpdateResponse, error) + + // DcimInventoryItemsBulkDestroyWithBodyWithResponse request with any body + DcimInventoryItemsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkDestroyResponse, error) + + DcimInventoryItemsBulkDestroyWithResponse(ctx context.Context, body DcimInventoryItemsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkDestroyResponse, error) + + // DcimInventoryItemsListWithResponse request + DcimInventoryItemsListWithResponse(ctx context.Context, params *DcimInventoryItemsListParams, reqEditors ...RequestEditorFn) (*DcimInventoryItemsListResponse, error) + + // DcimInventoryItemsBulkPartialUpdateWithBodyWithResponse 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) + + // DcimInventoryItemsCreateWithBodyWithResponse 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) + + // DcimInventoryItemsBulkUpdateWithBodyWithResponse 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) + + // DcimInventoryItemsDestroyWithResponse request + DcimInventoryItemsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInventoryItemsDestroyResponse, error) + + // DcimInventoryItemsRetrieveWithResponse request + DcimInventoryItemsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInventoryItemsRetrieveResponse, error) + + // DcimInventoryItemsPartialUpdateWithBodyWithResponse request with any body + DcimInventoryItemsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsPartialUpdateResponse, error) + + DcimInventoryItemsPartialUpdateWithResponse(ctx context.Context, id int, body DcimInventoryItemsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsPartialUpdateResponse, error) + + // DcimInventoryItemsUpdateWithBodyWithResponse request with any body + DcimInventoryItemsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsUpdateResponse, error) + + DcimInventoryItemsUpdateWithResponse(ctx context.Context, id int, body DcimInventoryItemsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsUpdateResponse, error) + + // DcimLocationsBulkDestroyWithBodyWithResponse request with any body + DcimLocationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsBulkDestroyResponse, error) + + DcimLocationsBulkDestroyWithResponse(ctx context.Context, body DcimLocationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsBulkDestroyResponse, error) + + // DcimLocationsListWithResponse request + DcimLocationsListWithResponse(ctx context.Context, params *DcimLocationsListParams, reqEditors ...RequestEditorFn) (*DcimLocationsListResponse, error) + + // DcimLocationsBulkPartialUpdateWithBodyWithResponse request with any body + DcimLocationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsBulkPartialUpdateResponse, error) + + DcimLocationsBulkPartialUpdateWithResponse(ctx context.Context, body DcimLocationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsBulkPartialUpdateResponse, error) + + // DcimLocationsCreateWithBodyWithResponse request with any body + DcimLocationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsCreateResponse, error) + + DcimLocationsCreateWithResponse(ctx context.Context, body DcimLocationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsCreateResponse, error) + + // DcimLocationsBulkUpdateWithBodyWithResponse request with any body + DcimLocationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsBulkUpdateResponse, error) + + DcimLocationsBulkUpdateWithResponse(ctx context.Context, body DcimLocationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsBulkUpdateResponse, error) + + // DcimLocationsDestroyWithResponse request + DcimLocationsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimLocationsDestroyResponse, error) + + // DcimLocationsRetrieveWithResponse request + DcimLocationsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimLocationsRetrieveResponse, error) + + // DcimLocationsPartialUpdateWithBodyWithResponse request with any body + DcimLocationsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsPartialUpdateResponse, error) + + DcimLocationsPartialUpdateWithResponse(ctx context.Context, id int, body DcimLocationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsPartialUpdateResponse, error) + + // DcimLocationsUpdateWithBodyWithResponse request with any body + DcimLocationsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsUpdateResponse, error) + + DcimLocationsUpdateWithResponse(ctx context.Context, id int, body DcimLocationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsUpdateResponse, error) + + // DcimManufacturersBulkDestroyWithBodyWithResponse request with any body + DcimManufacturersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkDestroyResponse, error) + + DcimManufacturersBulkDestroyWithResponse(ctx context.Context, body DcimManufacturersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkDestroyResponse, error) + + // DcimManufacturersListWithResponse request + DcimManufacturersListWithResponse(ctx context.Context, params *DcimManufacturersListParams, reqEditors ...RequestEditorFn) (*DcimManufacturersListResponse, error) + + // DcimManufacturersBulkPartialUpdateWithBodyWithResponse 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) + + // DcimManufacturersCreateWithBodyWithResponse 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) + + // DcimManufacturersBulkUpdateWithBodyWithResponse 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) + + // DcimManufacturersDestroyWithResponse request + DcimManufacturersDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimManufacturersDestroyResponse, error) + + // DcimManufacturersRetrieveWithResponse request + DcimManufacturersRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimManufacturersRetrieveResponse, error) + + // DcimManufacturersPartialUpdateWithBodyWithResponse request with any body + DcimManufacturersPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersPartialUpdateResponse, error) + + DcimManufacturersPartialUpdateWithResponse(ctx context.Context, id int, body DcimManufacturersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersPartialUpdateResponse, error) + + // DcimManufacturersUpdateWithBodyWithResponse request with any body + DcimManufacturersUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersUpdateResponse, error) + + DcimManufacturersUpdateWithResponse(ctx context.Context, id int, body DcimManufacturersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersUpdateResponse, error) + + // DcimModuleBayTemplatesBulkDestroyWithBodyWithResponse request with any body + DcimModuleBayTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesBulkDestroyResponse, error) + + DcimModuleBayTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimModuleBayTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesBulkDestroyResponse, error) + + // DcimModuleBayTemplatesListWithResponse request + DcimModuleBayTemplatesListWithResponse(ctx context.Context, params *DcimModuleBayTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesListResponse, error) + + // DcimModuleBayTemplatesBulkPartialUpdateWithBodyWithResponse request with any body + DcimModuleBayTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesBulkPartialUpdateResponse, error) + + DcimModuleBayTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimModuleBayTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesBulkPartialUpdateResponse, error) + + // DcimModuleBayTemplatesCreateWithBodyWithResponse request with any body + DcimModuleBayTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesCreateResponse, error) + + DcimModuleBayTemplatesCreateWithResponse(ctx context.Context, body DcimModuleBayTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesCreateResponse, error) + + // DcimModuleBayTemplatesBulkUpdateWithBodyWithResponse request with any body + DcimModuleBayTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesBulkUpdateResponse, error) + + DcimModuleBayTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimModuleBayTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesBulkUpdateResponse, error) + + // DcimModuleBayTemplatesDestroyWithResponse request + DcimModuleBayTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesDestroyResponse, error) + + // DcimModuleBayTemplatesRetrieveWithResponse request + DcimModuleBayTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesRetrieveResponse, error) + + // DcimModuleBayTemplatesPartialUpdateWithBodyWithResponse request with any body + DcimModuleBayTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesPartialUpdateResponse, error) + + DcimModuleBayTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body DcimModuleBayTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesPartialUpdateResponse, error) + + // DcimModuleBayTemplatesUpdateWithBodyWithResponse request with any body + DcimModuleBayTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesUpdateResponse, error) + + DcimModuleBayTemplatesUpdateWithResponse(ctx context.Context, id int, body DcimModuleBayTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesUpdateResponse, error) + + // DcimModuleBaysBulkDestroyWithBodyWithResponse request with any body + DcimModuleBaysBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBaysBulkDestroyResponse, error) + + DcimModuleBaysBulkDestroyWithResponse(ctx context.Context, body DcimModuleBaysBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBaysBulkDestroyResponse, error) + + // DcimModuleBaysListWithResponse request + DcimModuleBaysListWithResponse(ctx context.Context, params *DcimModuleBaysListParams, reqEditors ...RequestEditorFn) (*DcimModuleBaysListResponse, error) + + // DcimModuleBaysBulkPartialUpdateWithBodyWithResponse request with any body + DcimModuleBaysBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBaysBulkPartialUpdateResponse, error) + + DcimModuleBaysBulkPartialUpdateWithResponse(ctx context.Context, body DcimModuleBaysBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBaysBulkPartialUpdateResponse, error) + + // DcimModuleBaysCreateWithBodyWithResponse request with any body + DcimModuleBaysCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBaysCreateResponse, error) + + DcimModuleBaysCreateWithResponse(ctx context.Context, body DcimModuleBaysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBaysCreateResponse, error) + + // DcimModuleBaysBulkUpdateWithBodyWithResponse request with any body + DcimModuleBaysBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBaysBulkUpdateResponse, error) + + DcimModuleBaysBulkUpdateWithResponse(ctx context.Context, body DcimModuleBaysBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBaysBulkUpdateResponse, error) + + // DcimModuleBaysDestroyWithResponse request + DcimModuleBaysDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModuleBaysDestroyResponse, error) + + // DcimModuleBaysRetrieveWithResponse request + DcimModuleBaysRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModuleBaysRetrieveResponse, error) + + // DcimModuleBaysPartialUpdateWithBodyWithResponse request with any body + DcimModuleBaysPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBaysPartialUpdateResponse, error) + + DcimModuleBaysPartialUpdateWithResponse(ctx context.Context, id int, body DcimModuleBaysPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBaysPartialUpdateResponse, error) + + // DcimModuleBaysUpdateWithBodyWithResponse request with any body + DcimModuleBaysUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBaysUpdateResponse, error) + + DcimModuleBaysUpdateWithResponse(ctx context.Context, id int, body DcimModuleBaysUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBaysUpdateResponse, error) + + // DcimModuleTypesBulkDestroyWithBodyWithResponse request with any body + DcimModuleTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleTypesBulkDestroyResponse, error) + + DcimModuleTypesBulkDestroyWithResponse(ctx context.Context, body DcimModuleTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleTypesBulkDestroyResponse, error) + + // DcimModuleTypesListWithResponse request + DcimModuleTypesListWithResponse(ctx context.Context, params *DcimModuleTypesListParams, reqEditors ...RequestEditorFn) (*DcimModuleTypesListResponse, error) + + // DcimModuleTypesBulkPartialUpdateWithBodyWithResponse request with any body + DcimModuleTypesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleTypesBulkPartialUpdateResponse, error) + + DcimModuleTypesBulkPartialUpdateWithResponse(ctx context.Context, body DcimModuleTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleTypesBulkPartialUpdateResponse, error) + + // DcimModuleTypesCreateWithBodyWithResponse request with any body + DcimModuleTypesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleTypesCreateResponse, error) + + DcimModuleTypesCreateWithResponse(ctx context.Context, body DcimModuleTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleTypesCreateResponse, error) + + // DcimModuleTypesBulkUpdateWithBodyWithResponse request with any body + DcimModuleTypesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleTypesBulkUpdateResponse, error) + + DcimModuleTypesBulkUpdateWithResponse(ctx context.Context, body DcimModuleTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleTypesBulkUpdateResponse, error) + + // DcimModuleTypesDestroyWithResponse request + DcimModuleTypesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModuleTypesDestroyResponse, error) + + // DcimModuleTypesRetrieveWithResponse request + DcimModuleTypesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModuleTypesRetrieveResponse, error) + + // DcimModuleTypesPartialUpdateWithBodyWithResponse request with any body + DcimModuleTypesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleTypesPartialUpdateResponse, error) + + DcimModuleTypesPartialUpdateWithResponse(ctx context.Context, id int, body DcimModuleTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleTypesPartialUpdateResponse, error) + + // DcimModuleTypesUpdateWithBodyWithResponse request with any body + DcimModuleTypesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleTypesUpdateResponse, error) + + DcimModuleTypesUpdateWithResponse(ctx context.Context, id int, body DcimModuleTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleTypesUpdateResponse, error) + + // DcimModulesBulkDestroyWithBodyWithResponse request with any body + DcimModulesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModulesBulkDestroyResponse, error) + + DcimModulesBulkDestroyWithResponse(ctx context.Context, body DcimModulesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModulesBulkDestroyResponse, error) + + // DcimModulesListWithResponse request + DcimModulesListWithResponse(ctx context.Context, params *DcimModulesListParams, reqEditors ...RequestEditorFn) (*DcimModulesListResponse, error) + + // DcimModulesBulkPartialUpdateWithBodyWithResponse request with any body + DcimModulesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModulesBulkPartialUpdateResponse, error) + + DcimModulesBulkPartialUpdateWithResponse(ctx context.Context, body DcimModulesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModulesBulkPartialUpdateResponse, error) + + // DcimModulesCreateWithBodyWithResponse request with any body + DcimModulesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModulesCreateResponse, error) + + DcimModulesCreateWithResponse(ctx context.Context, body DcimModulesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModulesCreateResponse, error) + + // DcimModulesBulkUpdateWithBodyWithResponse request with any body + DcimModulesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModulesBulkUpdateResponse, error) + + DcimModulesBulkUpdateWithResponse(ctx context.Context, body DcimModulesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModulesBulkUpdateResponse, error) + + // DcimModulesDestroyWithResponse request + DcimModulesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModulesDestroyResponse, error) + + // DcimModulesRetrieveWithResponse request + DcimModulesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModulesRetrieveResponse, error) + + // DcimModulesPartialUpdateWithBodyWithResponse request with any body + DcimModulesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModulesPartialUpdateResponse, error) + + DcimModulesPartialUpdateWithResponse(ctx context.Context, id int, body DcimModulesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModulesPartialUpdateResponse, error) + + // DcimModulesUpdateWithBodyWithResponse request with any body + DcimModulesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModulesUpdateResponse, error) + + DcimModulesUpdateWithResponse(ctx context.Context, id int, body DcimModulesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModulesUpdateResponse, error) + + // DcimPlatformsBulkDestroyWithBodyWithResponse request with any body + DcimPlatformsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkDestroyResponse, error) + + DcimPlatformsBulkDestroyWithResponse(ctx context.Context, body DcimPlatformsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkDestroyResponse, error) + + // DcimPlatformsListWithResponse request + DcimPlatformsListWithResponse(ctx context.Context, params *DcimPlatformsListParams, reqEditors ...RequestEditorFn) (*DcimPlatformsListResponse, error) + + // DcimPlatformsBulkPartialUpdateWithBodyWithResponse 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) + + // DcimPlatformsCreateWithBodyWithResponse 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) + + // DcimPlatformsBulkUpdateWithBodyWithResponse 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) + + // DcimPlatformsDestroyWithResponse request + DcimPlatformsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPlatformsDestroyResponse, error) + + // DcimPlatformsRetrieveWithResponse request + DcimPlatformsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPlatformsRetrieveResponse, error) + + // DcimPlatformsPartialUpdateWithBodyWithResponse request with any body + DcimPlatformsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsPartialUpdateResponse, error) + + DcimPlatformsPartialUpdateWithResponse(ctx context.Context, id int, body DcimPlatformsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsPartialUpdateResponse, error) + + // DcimPlatformsUpdateWithBodyWithResponse request with any body + DcimPlatformsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsUpdateResponse, error) + + DcimPlatformsUpdateWithResponse(ctx context.Context, id int, body DcimPlatformsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsUpdateResponse, error) + + // DcimPowerFeedsBulkDestroyWithBodyWithResponse request with any body + DcimPowerFeedsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkDestroyResponse, error) + + DcimPowerFeedsBulkDestroyWithResponse(ctx context.Context, body DcimPowerFeedsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkDestroyResponse, error) + + // DcimPowerFeedsListWithResponse request + DcimPowerFeedsListWithResponse(ctx context.Context, params *DcimPowerFeedsListParams, reqEditors ...RequestEditorFn) (*DcimPowerFeedsListResponse, error) + + // DcimPowerFeedsBulkPartialUpdateWithBodyWithResponse 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) + + // DcimPowerFeedsCreateWithBodyWithResponse 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) + + // DcimPowerFeedsBulkUpdateWithBodyWithResponse 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) + + // DcimPowerFeedsDestroyWithResponse request + DcimPowerFeedsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerFeedsDestroyResponse, error) + + // DcimPowerFeedsRetrieveWithResponse request + DcimPowerFeedsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerFeedsRetrieveResponse, error) + + // DcimPowerFeedsPartialUpdateWithBodyWithResponse request with any body + DcimPowerFeedsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsPartialUpdateResponse, error) + + DcimPowerFeedsPartialUpdateWithResponse(ctx context.Context, id int, body DcimPowerFeedsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsPartialUpdateResponse, error) + + // DcimPowerFeedsUpdateWithBodyWithResponse request with any body + DcimPowerFeedsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsUpdateResponse, error) + + DcimPowerFeedsUpdateWithResponse(ctx context.Context, id int, body DcimPowerFeedsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsUpdateResponse, error) + + // DcimPowerFeedsTraceRetrieveWithResponse request + DcimPowerFeedsTraceRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerFeedsTraceRetrieveResponse, error) + + // DcimPowerOutletTemplatesBulkDestroyWithBodyWithResponse request with any body + DcimPowerOutletTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkDestroyResponse, error) + + DcimPowerOutletTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimPowerOutletTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkDestroyResponse, error) + + // DcimPowerOutletTemplatesListWithResponse request + DcimPowerOutletTemplatesListWithResponse(ctx context.Context, params *DcimPowerOutletTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesListResponse, error) + + // DcimPowerOutletTemplatesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimPowerOutletTemplatesCreateWithBodyWithResponse 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) + + // DcimPowerOutletTemplatesBulkUpdateWithBodyWithResponse 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) + + // DcimPowerOutletTemplatesDestroyWithResponse request + DcimPowerOutletTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesDestroyResponse, error) + + // DcimPowerOutletTemplatesRetrieveWithResponse request + DcimPowerOutletTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesRetrieveResponse, error) + + // DcimPowerOutletTemplatesPartialUpdateWithBodyWithResponse request with any body + DcimPowerOutletTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesPartialUpdateResponse, error) + + DcimPowerOutletTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body DcimPowerOutletTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesPartialUpdateResponse, error) + + // DcimPowerOutletTemplatesUpdateWithBodyWithResponse request with any body + DcimPowerOutletTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesUpdateResponse, error) + + DcimPowerOutletTemplatesUpdateWithResponse(ctx context.Context, id int, body DcimPowerOutletTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesUpdateResponse, error) + + // DcimPowerOutletsBulkDestroyWithBodyWithResponse request with any body + DcimPowerOutletsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkDestroyResponse, error) + + DcimPowerOutletsBulkDestroyWithResponse(ctx context.Context, body DcimPowerOutletsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkDestroyResponse, error) + + // DcimPowerOutletsListWithResponse request + DcimPowerOutletsListWithResponse(ctx context.Context, params *DcimPowerOutletsListParams, reqEditors ...RequestEditorFn) (*DcimPowerOutletsListResponse, error) + + // DcimPowerOutletsBulkPartialUpdateWithBodyWithResponse 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) + + // DcimPowerOutletsCreateWithBodyWithResponse 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) + + // DcimPowerOutletsBulkUpdateWithBodyWithResponse 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) + + // DcimPowerOutletsDestroyWithResponse request + DcimPowerOutletsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerOutletsDestroyResponse, error) + + // DcimPowerOutletsRetrieveWithResponse request + DcimPowerOutletsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerOutletsRetrieveResponse, error) + + // DcimPowerOutletsPartialUpdateWithBodyWithResponse request with any body + DcimPowerOutletsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsPartialUpdateResponse, error) + + DcimPowerOutletsPartialUpdateWithResponse(ctx context.Context, id int, body DcimPowerOutletsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsPartialUpdateResponse, error) + + // DcimPowerOutletsUpdateWithBodyWithResponse request with any body + DcimPowerOutletsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsUpdateResponse, error) + + DcimPowerOutletsUpdateWithResponse(ctx context.Context, id int, body DcimPowerOutletsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsUpdateResponse, error) + + // DcimPowerOutletsTraceRetrieveWithResponse request + DcimPowerOutletsTraceRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerOutletsTraceRetrieveResponse, error) + + // DcimPowerPanelsBulkDestroyWithBodyWithResponse request with any body + DcimPowerPanelsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkDestroyResponse, error) + + DcimPowerPanelsBulkDestroyWithResponse(ctx context.Context, body DcimPowerPanelsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkDestroyResponse, error) + + // DcimPowerPanelsListWithResponse request + DcimPowerPanelsListWithResponse(ctx context.Context, params *DcimPowerPanelsListParams, reqEditors ...RequestEditorFn) (*DcimPowerPanelsListResponse, error) + + // DcimPowerPanelsBulkPartialUpdateWithBodyWithResponse 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) + + // DcimPowerPanelsCreateWithBodyWithResponse 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) + + // DcimPowerPanelsBulkUpdateWithBodyWithResponse 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) + + // DcimPowerPanelsDestroyWithResponse request + DcimPowerPanelsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerPanelsDestroyResponse, error) + + // DcimPowerPanelsRetrieveWithResponse request + DcimPowerPanelsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerPanelsRetrieveResponse, error) + + // DcimPowerPanelsPartialUpdateWithBodyWithResponse request with any body + DcimPowerPanelsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsPartialUpdateResponse, error) + + DcimPowerPanelsPartialUpdateWithResponse(ctx context.Context, id int, body DcimPowerPanelsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsPartialUpdateResponse, error) + + // DcimPowerPanelsUpdateWithBodyWithResponse request with any body + DcimPowerPanelsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsUpdateResponse, error) + + DcimPowerPanelsUpdateWithResponse(ctx context.Context, id int, body DcimPowerPanelsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsUpdateResponse, error) + + // DcimPowerPortTemplatesBulkDestroyWithBodyWithResponse request with any body + DcimPowerPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkDestroyResponse, error) + + DcimPowerPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimPowerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkDestroyResponse, error) + + // DcimPowerPortTemplatesListWithResponse request + DcimPowerPortTemplatesListWithResponse(ctx context.Context, params *DcimPowerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesListResponse, error) + + // DcimPowerPortTemplatesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimPowerPortTemplatesCreateWithBodyWithResponse 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) + + // DcimPowerPortTemplatesBulkUpdateWithBodyWithResponse 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) + + // DcimPowerPortTemplatesDestroyWithResponse request + DcimPowerPortTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesDestroyResponse, error) + + // DcimPowerPortTemplatesRetrieveWithResponse request + DcimPowerPortTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesRetrieveResponse, error) + + // DcimPowerPortTemplatesPartialUpdateWithBodyWithResponse request with any body + DcimPowerPortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesPartialUpdateResponse, error) + + DcimPowerPortTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body DcimPowerPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesPartialUpdateResponse, error) + + // DcimPowerPortTemplatesUpdateWithBodyWithResponse request with any body + DcimPowerPortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesUpdateResponse, error) + + DcimPowerPortTemplatesUpdateWithResponse(ctx context.Context, id int, body DcimPowerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesUpdateResponse, error) + + // DcimPowerPortsBulkDestroyWithBodyWithResponse request with any body + DcimPowerPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkDestroyResponse, error) + + DcimPowerPortsBulkDestroyWithResponse(ctx context.Context, body DcimPowerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkDestroyResponse, error) + + // DcimPowerPortsListWithResponse request + DcimPowerPortsListWithResponse(ctx context.Context, params *DcimPowerPortsListParams, reqEditors ...RequestEditorFn) (*DcimPowerPortsListResponse, error) + + // DcimPowerPortsBulkPartialUpdateWithBodyWithResponse 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) + + // DcimPowerPortsCreateWithBodyWithResponse 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) + + // DcimPowerPortsBulkUpdateWithBodyWithResponse 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) + + // DcimPowerPortsDestroyWithResponse request + DcimPowerPortsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerPortsDestroyResponse, error) + + // DcimPowerPortsRetrieveWithResponse request + DcimPowerPortsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerPortsRetrieveResponse, error) + + // DcimPowerPortsPartialUpdateWithBodyWithResponse request with any body + DcimPowerPortsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsPartialUpdateResponse, error) + + DcimPowerPortsPartialUpdateWithResponse(ctx context.Context, id int, body DcimPowerPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsPartialUpdateResponse, error) + + // DcimPowerPortsUpdateWithBodyWithResponse request with any body + DcimPowerPortsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsUpdateResponse, error) + + DcimPowerPortsUpdateWithResponse(ctx context.Context, id int, body DcimPowerPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsUpdateResponse, error) + + // DcimPowerPortsTraceRetrieveWithResponse request + DcimPowerPortsTraceRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimPowerPortsTraceRetrieveResponse, error) + + // DcimRackReservationsBulkDestroyWithBodyWithResponse request with any body + DcimRackReservationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkDestroyResponse, error) + + DcimRackReservationsBulkDestroyWithResponse(ctx context.Context, body DcimRackReservationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkDestroyResponse, error) + + // DcimRackReservationsListWithResponse request + DcimRackReservationsListWithResponse(ctx context.Context, params *DcimRackReservationsListParams, reqEditors ...RequestEditorFn) (*DcimRackReservationsListResponse, error) + + // DcimRackReservationsBulkPartialUpdateWithBodyWithResponse 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) + + // DcimRackReservationsCreateWithBodyWithResponse 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) + + // DcimRackReservationsBulkUpdateWithBodyWithResponse 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) + + // DcimRackReservationsDestroyWithResponse request + DcimRackReservationsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRackReservationsDestroyResponse, error) + + // DcimRackReservationsRetrieveWithResponse request + DcimRackReservationsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRackReservationsRetrieveResponse, error) + + // DcimRackReservationsPartialUpdateWithBodyWithResponse request with any body + DcimRackReservationsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsPartialUpdateResponse, error) + + DcimRackReservationsPartialUpdateWithResponse(ctx context.Context, id int, body DcimRackReservationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsPartialUpdateResponse, error) + + // DcimRackReservationsUpdateWithBodyWithResponse request with any body + DcimRackReservationsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsUpdateResponse, error) + + DcimRackReservationsUpdateWithResponse(ctx context.Context, id int, body DcimRackReservationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsUpdateResponse, error) + + // DcimRackRolesBulkDestroyWithBodyWithResponse request with any body + DcimRackRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkDestroyResponse, error) + + DcimRackRolesBulkDestroyWithResponse(ctx context.Context, body DcimRackRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkDestroyResponse, error) + + // DcimRackRolesListWithResponse request + DcimRackRolesListWithResponse(ctx context.Context, params *DcimRackRolesListParams, reqEditors ...RequestEditorFn) (*DcimRackRolesListResponse, error) + + // DcimRackRolesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimRackRolesCreateWithBodyWithResponse 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) + + // DcimRackRolesBulkUpdateWithBodyWithResponse 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) + + // DcimRackRolesDestroyWithResponse request + DcimRackRolesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRackRolesDestroyResponse, error) + + // DcimRackRolesRetrieveWithResponse request + DcimRackRolesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRackRolesRetrieveResponse, error) + + // DcimRackRolesPartialUpdateWithBodyWithResponse request with any body + DcimRackRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesPartialUpdateResponse, error) + + DcimRackRolesPartialUpdateWithResponse(ctx context.Context, id int, body DcimRackRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesPartialUpdateResponse, error) + + // DcimRackRolesUpdateWithBodyWithResponse request with any body + DcimRackRolesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesUpdateResponse, error) + + DcimRackRolesUpdateWithResponse(ctx context.Context, id int, body DcimRackRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesUpdateResponse, error) + + // DcimRacksBulkDestroyWithBodyWithResponse request with any body + DcimRacksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksBulkDestroyResponse, error) + + DcimRacksBulkDestroyWithResponse(ctx context.Context, body DcimRacksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksBulkDestroyResponse, error) + + // DcimRacksListWithResponse request + DcimRacksListWithResponse(ctx context.Context, params *DcimRacksListParams, reqEditors ...RequestEditorFn) (*DcimRacksListResponse, error) + + // DcimRacksBulkPartialUpdateWithBodyWithResponse 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) + + // DcimRacksCreateWithBodyWithResponse 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) + + // DcimRacksBulkUpdateWithBodyWithResponse 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) + + // DcimRacksDestroyWithResponse request + DcimRacksDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRacksDestroyResponse, error) + + // DcimRacksRetrieveWithResponse request + DcimRacksRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRacksRetrieveResponse, error) + + // DcimRacksPartialUpdateWithBodyWithResponse request with any body + DcimRacksPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksPartialUpdateResponse, error) + + DcimRacksPartialUpdateWithResponse(ctx context.Context, id int, body DcimRacksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksPartialUpdateResponse, error) + + // DcimRacksUpdateWithBodyWithResponse request with any body + DcimRacksUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksUpdateResponse, error) + + DcimRacksUpdateWithResponse(ctx context.Context, id int, body DcimRacksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksUpdateResponse, error) + + // DcimRacksElevationRetrieveWithResponse request + DcimRacksElevationRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRacksElevationRetrieveResponse, error) + + // DcimRearPortTemplatesBulkDestroyWithBodyWithResponse request with any body + DcimRearPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkDestroyResponse, error) + + DcimRearPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimRearPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkDestroyResponse, error) + + // DcimRearPortTemplatesListWithResponse request + DcimRearPortTemplatesListWithResponse(ctx context.Context, params *DcimRearPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesListResponse, error) + + // DcimRearPortTemplatesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimRearPortTemplatesCreateWithBodyWithResponse 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) + + // DcimRearPortTemplatesBulkUpdateWithBodyWithResponse 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) + + // DcimRearPortTemplatesDestroyWithResponse request + DcimRearPortTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesDestroyResponse, error) + + // DcimRearPortTemplatesRetrieveWithResponse request + DcimRearPortTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesRetrieveResponse, error) + + // DcimRearPortTemplatesPartialUpdateWithBodyWithResponse request with any body + DcimRearPortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesPartialUpdateResponse, error) + + DcimRearPortTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body DcimRearPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesPartialUpdateResponse, error) + + // DcimRearPortTemplatesUpdateWithBodyWithResponse request with any body + DcimRearPortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesUpdateResponse, error) + + DcimRearPortTemplatesUpdateWithResponse(ctx context.Context, id int, body DcimRearPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesUpdateResponse, error) + + // DcimRearPortsBulkDestroyWithBodyWithResponse request with any body + DcimRearPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkDestroyResponse, error) + + DcimRearPortsBulkDestroyWithResponse(ctx context.Context, body DcimRearPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkDestroyResponse, error) + + // DcimRearPortsListWithResponse request + DcimRearPortsListWithResponse(ctx context.Context, params *DcimRearPortsListParams, reqEditors ...RequestEditorFn) (*DcimRearPortsListResponse, error) + + // DcimRearPortsBulkPartialUpdateWithBodyWithResponse 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) + + // DcimRearPortsCreateWithBodyWithResponse 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) + + // DcimRearPortsBulkUpdateWithBodyWithResponse 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) + + // DcimRearPortsDestroyWithResponse request + DcimRearPortsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRearPortsDestroyResponse, error) + + // DcimRearPortsRetrieveWithResponse request + DcimRearPortsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRearPortsRetrieveResponse, error) + + // DcimRearPortsPartialUpdateWithBodyWithResponse request with any body + DcimRearPortsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsPartialUpdateResponse, error) + + DcimRearPortsPartialUpdateWithResponse(ctx context.Context, id int, body DcimRearPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsPartialUpdateResponse, error) + + // DcimRearPortsUpdateWithBodyWithResponse request with any body + DcimRearPortsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsUpdateResponse, error) + + DcimRearPortsUpdateWithResponse(ctx context.Context, id int, body DcimRearPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsUpdateResponse, error) + + // DcimRearPortsPathsRetrieveWithResponse request + DcimRearPortsPathsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRearPortsPathsRetrieveResponse, error) + + // DcimRegionsBulkDestroyWithBodyWithResponse request with any body + DcimRegionsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsBulkDestroyResponse, error) + + DcimRegionsBulkDestroyWithResponse(ctx context.Context, body DcimRegionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsBulkDestroyResponse, error) + + // DcimRegionsListWithResponse request + DcimRegionsListWithResponse(ctx context.Context, params *DcimRegionsListParams, reqEditors ...RequestEditorFn) (*DcimRegionsListResponse, error) + + // DcimRegionsBulkPartialUpdateWithBodyWithResponse 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) + + // DcimRegionsCreateWithBodyWithResponse 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) + + // DcimRegionsBulkUpdateWithBodyWithResponse 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) + + // DcimRegionsDestroyWithResponse request + DcimRegionsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRegionsDestroyResponse, error) + + // DcimRegionsRetrieveWithResponse request + DcimRegionsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRegionsRetrieveResponse, error) + + // DcimRegionsPartialUpdateWithBodyWithResponse request with any body + DcimRegionsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsPartialUpdateResponse, error) + + DcimRegionsPartialUpdateWithResponse(ctx context.Context, id int, body DcimRegionsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsPartialUpdateResponse, error) + + // DcimRegionsUpdateWithBodyWithResponse request with any body + DcimRegionsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsUpdateResponse, error) + + DcimRegionsUpdateWithResponse(ctx context.Context, id int, body DcimRegionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsUpdateResponse, error) + + // DcimSiteGroupsBulkDestroyWithBodyWithResponse request with any body + DcimSiteGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSiteGroupsBulkDestroyResponse, error) + + DcimSiteGroupsBulkDestroyWithResponse(ctx context.Context, body DcimSiteGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSiteGroupsBulkDestroyResponse, error) + + // DcimSiteGroupsListWithResponse request + DcimSiteGroupsListWithResponse(ctx context.Context, params *DcimSiteGroupsListParams, reqEditors ...RequestEditorFn) (*DcimSiteGroupsListResponse, error) + + // DcimSiteGroupsBulkPartialUpdateWithBodyWithResponse request with any body + DcimSiteGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSiteGroupsBulkPartialUpdateResponse, error) + + DcimSiteGroupsBulkPartialUpdateWithResponse(ctx context.Context, body DcimSiteGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSiteGroupsBulkPartialUpdateResponse, error) + + // DcimSiteGroupsCreateWithBodyWithResponse request with any body + DcimSiteGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSiteGroupsCreateResponse, error) + + DcimSiteGroupsCreateWithResponse(ctx context.Context, body DcimSiteGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSiteGroupsCreateResponse, error) + + // DcimSiteGroupsBulkUpdateWithBodyWithResponse request with any body + DcimSiteGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSiteGroupsBulkUpdateResponse, error) + + DcimSiteGroupsBulkUpdateWithResponse(ctx context.Context, body DcimSiteGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSiteGroupsBulkUpdateResponse, error) + + // DcimSiteGroupsDestroyWithResponse request + DcimSiteGroupsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimSiteGroupsDestroyResponse, error) + + // DcimSiteGroupsRetrieveWithResponse request + DcimSiteGroupsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimSiteGroupsRetrieveResponse, error) + + // DcimSiteGroupsPartialUpdateWithBodyWithResponse request with any body + DcimSiteGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSiteGroupsPartialUpdateResponse, error) + + DcimSiteGroupsPartialUpdateWithResponse(ctx context.Context, id int, body DcimSiteGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSiteGroupsPartialUpdateResponse, error) + + // DcimSiteGroupsUpdateWithBodyWithResponse request with any body + DcimSiteGroupsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSiteGroupsUpdateResponse, error) + + DcimSiteGroupsUpdateWithResponse(ctx context.Context, id int, body DcimSiteGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSiteGroupsUpdateResponse, error) + + // DcimSitesBulkDestroyWithBodyWithResponse request with any body + DcimSitesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesBulkDestroyResponse, error) + + DcimSitesBulkDestroyWithResponse(ctx context.Context, body DcimSitesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesBulkDestroyResponse, error) + + // DcimSitesListWithResponse request + DcimSitesListWithResponse(ctx context.Context, params *DcimSitesListParams, reqEditors ...RequestEditorFn) (*DcimSitesListResponse, error) + + // DcimSitesBulkPartialUpdateWithBodyWithResponse 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) + + // DcimSitesCreateWithBodyWithResponse 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) + + // DcimSitesBulkUpdateWithBodyWithResponse 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) + + // DcimSitesDestroyWithResponse request + DcimSitesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimSitesDestroyResponse, error) + + // DcimSitesRetrieveWithResponse request + DcimSitesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimSitesRetrieveResponse, error) + + // DcimSitesPartialUpdateWithBodyWithResponse request with any body + DcimSitesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesPartialUpdateResponse, error) + + DcimSitesPartialUpdateWithResponse(ctx context.Context, id int, body DcimSitesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesPartialUpdateResponse, error) + + // DcimSitesUpdateWithBodyWithResponse request with any body + DcimSitesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesUpdateResponse, error) + + DcimSitesUpdateWithResponse(ctx context.Context, id int, body DcimSitesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesUpdateResponse, error) + + // DcimVirtualChassisBulkDestroyWithBodyWithResponse request with any body + DcimVirtualChassisBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkDestroyResponse, error) + + DcimVirtualChassisBulkDestroyWithResponse(ctx context.Context, body DcimVirtualChassisBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkDestroyResponse, error) + + // DcimVirtualChassisListWithResponse request + DcimVirtualChassisListWithResponse(ctx context.Context, params *DcimVirtualChassisListParams, reqEditors ...RequestEditorFn) (*DcimVirtualChassisListResponse, error) + + // DcimVirtualChassisBulkPartialUpdateWithBodyWithResponse 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) + + // DcimVirtualChassisCreateWithBodyWithResponse 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) + + // DcimVirtualChassisBulkUpdateWithBodyWithResponse 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) + + // DcimVirtualChassisDestroyWithResponse request + DcimVirtualChassisDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimVirtualChassisDestroyResponse, error) + + // DcimVirtualChassisRetrieveWithResponse request + DcimVirtualChassisRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimVirtualChassisRetrieveResponse, error) + + // DcimVirtualChassisPartialUpdateWithBodyWithResponse request with any body + DcimVirtualChassisPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisPartialUpdateResponse, error) + + DcimVirtualChassisPartialUpdateWithResponse(ctx context.Context, id int, body DcimVirtualChassisPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisPartialUpdateResponse, error) + + // DcimVirtualChassisUpdateWithBodyWithResponse request with any body + DcimVirtualChassisUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisUpdateResponse, error) + + DcimVirtualChassisUpdateWithResponse(ctx context.Context, id int, body DcimVirtualChassisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisUpdateResponse, error) + + // DcimVirtualDeviceContextsBulkDestroyWithBodyWithResponse request with any body + DcimVirtualDeviceContextsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsBulkDestroyResponse, error) + + DcimVirtualDeviceContextsBulkDestroyWithResponse(ctx context.Context, body DcimVirtualDeviceContextsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsBulkDestroyResponse, error) + + // DcimVirtualDeviceContextsListWithResponse request + DcimVirtualDeviceContextsListWithResponse(ctx context.Context, params *DcimVirtualDeviceContextsListParams, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsListResponse, error) + + // DcimVirtualDeviceContextsBulkPartialUpdateWithBodyWithResponse request with any body + DcimVirtualDeviceContextsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsBulkPartialUpdateResponse, error) + + DcimVirtualDeviceContextsBulkPartialUpdateWithResponse(ctx context.Context, body DcimVirtualDeviceContextsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsBulkPartialUpdateResponse, error) + + // DcimVirtualDeviceContextsCreateWithBodyWithResponse request with any body + DcimVirtualDeviceContextsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsCreateResponse, error) + + DcimVirtualDeviceContextsCreateWithResponse(ctx context.Context, body DcimVirtualDeviceContextsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsCreateResponse, error) + + // DcimVirtualDeviceContextsBulkUpdateWithBodyWithResponse request with any body + DcimVirtualDeviceContextsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsBulkUpdateResponse, error) + + DcimVirtualDeviceContextsBulkUpdateWithResponse(ctx context.Context, body DcimVirtualDeviceContextsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsBulkUpdateResponse, error) + + // DcimVirtualDeviceContextsDestroyWithResponse request + DcimVirtualDeviceContextsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsDestroyResponse, error) + + // DcimVirtualDeviceContextsRetrieveWithResponse request + DcimVirtualDeviceContextsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsRetrieveResponse, error) + + // DcimVirtualDeviceContextsPartialUpdateWithBodyWithResponse request with any body + DcimVirtualDeviceContextsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsPartialUpdateResponse, error) + + DcimVirtualDeviceContextsPartialUpdateWithResponse(ctx context.Context, id int, body DcimVirtualDeviceContextsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsPartialUpdateResponse, error) + + // DcimVirtualDeviceContextsUpdateWithBodyWithResponse request with any body + DcimVirtualDeviceContextsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsUpdateResponse, error) + + DcimVirtualDeviceContextsUpdateWithResponse(ctx context.Context, id int, body DcimVirtualDeviceContextsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsUpdateResponse, error) + + // ExtrasBookmarksBulkDestroyWithBodyWithResponse request with any body + ExtrasBookmarksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBookmarksBulkDestroyResponse, error) + + ExtrasBookmarksBulkDestroyWithResponse(ctx context.Context, body ExtrasBookmarksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasBookmarksBulkDestroyResponse, error) + + // ExtrasBookmarksListWithResponse request + ExtrasBookmarksListWithResponse(ctx context.Context, params *ExtrasBookmarksListParams, reqEditors ...RequestEditorFn) (*ExtrasBookmarksListResponse, error) + + // ExtrasBookmarksBulkPartialUpdateWithBodyWithResponse request with any body + ExtrasBookmarksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBookmarksBulkPartialUpdateResponse, error) + + ExtrasBookmarksBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasBookmarksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasBookmarksBulkPartialUpdateResponse, error) + + // ExtrasBookmarksCreateWithBodyWithResponse request with any body + ExtrasBookmarksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBookmarksCreateResponse, error) + + ExtrasBookmarksCreateWithResponse(ctx context.Context, body ExtrasBookmarksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasBookmarksCreateResponse, error) + + // ExtrasBookmarksBulkUpdateWithBodyWithResponse request with any body + ExtrasBookmarksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBookmarksBulkUpdateResponse, error) + + ExtrasBookmarksBulkUpdateWithResponse(ctx context.Context, body ExtrasBookmarksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasBookmarksBulkUpdateResponse, error) + + // ExtrasBookmarksDestroyWithResponse request + ExtrasBookmarksDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasBookmarksDestroyResponse, error) + + // ExtrasBookmarksRetrieveWithResponse request + ExtrasBookmarksRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasBookmarksRetrieveResponse, error) + + // ExtrasBookmarksPartialUpdateWithBodyWithResponse request with any body + ExtrasBookmarksPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBookmarksPartialUpdateResponse, error) + + ExtrasBookmarksPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasBookmarksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasBookmarksPartialUpdateResponse, error) + + // ExtrasBookmarksUpdateWithBodyWithResponse request with any body + ExtrasBookmarksUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBookmarksUpdateResponse, error) + + ExtrasBookmarksUpdateWithResponse(ctx context.Context, id int, body ExtrasBookmarksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasBookmarksUpdateResponse, error) + + // ExtrasConfigContextsBulkDestroyWithBodyWithResponse request with any body + ExtrasConfigContextsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkDestroyResponse, error) + + ExtrasConfigContextsBulkDestroyWithResponse(ctx context.Context, body ExtrasConfigContextsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkDestroyResponse, error) + + // ExtrasConfigContextsListWithResponse request + ExtrasConfigContextsListWithResponse(ctx context.Context, params *ExtrasConfigContextsListParams, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsListResponse, error) + + // ExtrasConfigContextsBulkPartialUpdateWithBodyWithResponse 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) + + // ExtrasConfigContextsCreateWithBodyWithResponse 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) + + // ExtrasConfigContextsBulkUpdateWithBodyWithResponse 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) + + // ExtrasConfigContextsDestroyWithResponse request + ExtrasConfigContextsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsDestroyResponse, error) + + // ExtrasConfigContextsRetrieveWithResponse request + ExtrasConfigContextsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsRetrieveResponse, error) + + // ExtrasConfigContextsPartialUpdateWithBodyWithResponse request with any body + ExtrasConfigContextsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsPartialUpdateResponse, error) + + ExtrasConfigContextsPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasConfigContextsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsPartialUpdateResponse, error) + + // ExtrasConfigContextsUpdateWithBodyWithResponse request with any body + ExtrasConfigContextsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsUpdateResponse, error) + + ExtrasConfigContextsUpdateWithResponse(ctx context.Context, id int, body ExtrasConfigContextsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsUpdateResponse, error) + + // ExtrasConfigContextsSyncCreateWithBodyWithResponse request with any body + ExtrasConfigContextsSyncCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsSyncCreateResponse, error) + + ExtrasConfigContextsSyncCreateWithResponse(ctx context.Context, id int, body ExtrasConfigContextsSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsSyncCreateResponse, error) + + // ExtrasConfigTemplatesBulkDestroyWithBodyWithResponse request with any body + ExtrasConfigTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesBulkDestroyResponse, error) + + ExtrasConfigTemplatesBulkDestroyWithResponse(ctx context.Context, body ExtrasConfigTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesBulkDestroyResponse, error) + + // ExtrasConfigTemplatesListWithResponse request + ExtrasConfigTemplatesListWithResponse(ctx context.Context, params *ExtrasConfigTemplatesListParams, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesListResponse, error) + + // ExtrasConfigTemplatesBulkPartialUpdateWithBodyWithResponse request with any body + ExtrasConfigTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesBulkPartialUpdateResponse, error) + + ExtrasConfigTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasConfigTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesBulkPartialUpdateResponse, error) + + // ExtrasConfigTemplatesCreateWithBodyWithResponse request with any body + ExtrasConfigTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesCreateResponse, error) + + ExtrasConfigTemplatesCreateWithResponse(ctx context.Context, body ExtrasConfigTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesCreateResponse, error) + + // ExtrasConfigTemplatesBulkUpdateWithBodyWithResponse request with any body + ExtrasConfigTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesBulkUpdateResponse, error) + + ExtrasConfigTemplatesBulkUpdateWithResponse(ctx context.Context, body ExtrasConfigTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesBulkUpdateResponse, error) + + // ExtrasConfigTemplatesDestroyWithResponse request + ExtrasConfigTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesDestroyResponse, error) + + // ExtrasConfigTemplatesRetrieveWithResponse request + ExtrasConfigTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesRetrieveResponse, error) + + // ExtrasConfigTemplatesPartialUpdateWithBodyWithResponse request with any body + ExtrasConfigTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesPartialUpdateResponse, error) + + ExtrasConfigTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasConfigTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesPartialUpdateResponse, error) + + // ExtrasConfigTemplatesUpdateWithBodyWithResponse request with any body + ExtrasConfigTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesUpdateResponse, error) + + ExtrasConfigTemplatesUpdateWithResponse(ctx context.Context, id int, body ExtrasConfigTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesUpdateResponse, error) + + // ExtrasConfigTemplatesRenderCreateWithBodyWithResponse request with any body + ExtrasConfigTemplatesRenderCreateWithBodyWithResponse(ctx context.Context, id int, params *ExtrasConfigTemplatesRenderCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesRenderCreateResponse, error) + + ExtrasConfigTemplatesRenderCreateWithResponse(ctx context.Context, id int, params *ExtrasConfigTemplatesRenderCreateParams, body ExtrasConfigTemplatesRenderCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesRenderCreateResponse, error) + + // ExtrasConfigTemplatesSyncCreateWithBodyWithResponse request with any body + ExtrasConfigTemplatesSyncCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesSyncCreateResponse, error) + + ExtrasConfigTemplatesSyncCreateWithResponse(ctx context.Context, id int, body ExtrasConfigTemplatesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesSyncCreateResponse, error) + + // ExtrasContentTypesListWithResponse request + ExtrasContentTypesListWithResponse(ctx context.Context, params *ExtrasContentTypesListParams, reqEditors ...RequestEditorFn) (*ExtrasContentTypesListResponse, error) + + // ExtrasContentTypesRetrieveWithResponse request + ExtrasContentTypesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasContentTypesRetrieveResponse, error) + + // ExtrasCustomFieldChoiceSetsBulkDestroyWithBodyWithResponse request with any body + ExtrasCustomFieldChoiceSetsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsBulkDestroyResponse, error) + + ExtrasCustomFieldChoiceSetsBulkDestroyWithResponse(ctx context.Context, body ExtrasCustomFieldChoiceSetsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsBulkDestroyResponse, error) + + // ExtrasCustomFieldChoiceSetsListWithResponse request + ExtrasCustomFieldChoiceSetsListWithResponse(ctx context.Context, params *ExtrasCustomFieldChoiceSetsListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsListResponse, error) + + // ExtrasCustomFieldChoiceSetsBulkPartialUpdateWithBodyWithResponse request with any body + ExtrasCustomFieldChoiceSetsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse, error) + + ExtrasCustomFieldChoiceSetsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse, error) + + // ExtrasCustomFieldChoiceSetsCreateWithBodyWithResponse request with any body + ExtrasCustomFieldChoiceSetsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsCreateResponse, error) + + ExtrasCustomFieldChoiceSetsCreateWithResponse(ctx context.Context, body ExtrasCustomFieldChoiceSetsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsCreateResponse, error) + + // ExtrasCustomFieldChoiceSetsBulkUpdateWithBodyWithResponse request with any body + ExtrasCustomFieldChoiceSetsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsBulkUpdateResponse, error) + + ExtrasCustomFieldChoiceSetsBulkUpdateWithResponse(ctx context.Context, body ExtrasCustomFieldChoiceSetsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsBulkUpdateResponse, error) + + // ExtrasCustomFieldChoiceSetsDestroyWithResponse request + ExtrasCustomFieldChoiceSetsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsDestroyResponse, error) + + // ExtrasCustomFieldChoiceSetsRetrieveWithResponse request + ExtrasCustomFieldChoiceSetsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsRetrieveResponse, error) + + // ExtrasCustomFieldChoiceSetsPartialUpdateWithBodyWithResponse request with any body + ExtrasCustomFieldChoiceSetsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsPartialUpdateResponse, error) + + ExtrasCustomFieldChoiceSetsPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasCustomFieldChoiceSetsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsPartialUpdateResponse, error) + + // ExtrasCustomFieldChoiceSetsUpdateWithBodyWithResponse request with any body + ExtrasCustomFieldChoiceSetsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsUpdateResponse, error) + + ExtrasCustomFieldChoiceSetsUpdateWithResponse(ctx context.Context, id int, body ExtrasCustomFieldChoiceSetsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsUpdateResponse, error) + + // ExtrasCustomFieldChoiceSetsChoicesRetrieveWithResponse request + ExtrasCustomFieldChoiceSetsChoicesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsChoicesRetrieveResponse, error) + + // ExtrasCustomFieldsBulkDestroyWithBodyWithResponse request with any body + ExtrasCustomFieldsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkDestroyResponse, error) + + ExtrasCustomFieldsBulkDestroyWithResponse(ctx context.Context, body ExtrasCustomFieldsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkDestroyResponse, error) + + // ExtrasCustomFieldsListWithResponse request + ExtrasCustomFieldsListWithResponse(ctx context.Context, params *ExtrasCustomFieldsListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsListResponse, error) + + // ExtrasCustomFieldsBulkPartialUpdateWithBodyWithResponse 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) + + // ExtrasCustomFieldsCreateWithBodyWithResponse 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) + + // ExtrasCustomFieldsBulkUpdateWithBodyWithResponse 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) + + // ExtrasCustomFieldsDestroyWithResponse request + ExtrasCustomFieldsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsDestroyResponse, error) + + // ExtrasCustomFieldsRetrieveWithResponse request + ExtrasCustomFieldsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsRetrieveResponse, error) + + // ExtrasCustomFieldsPartialUpdateWithBodyWithResponse request with any body + ExtrasCustomFieldsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsPartialUpdateResponse, error) + + ExtrasCustomFieldsPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasCustomFieldsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsPartialUpdateResponse, error) + + // ExtrasCustomFieldsUpdateWithBodyWithResponse request with any body + ExtrasCustomFieldsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsUpdateResponse, error) + + ExtrasCustomFieldsUpdateWithResponse(ctx context.Context, id int, body ExtrasCustomFieldsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsUpdateResponse, error) + + // ExtrasCustomLinksBulkDestroyWithBodyWithResponse request with any body + ExtrasCustomLinksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkDestroyResponse, error) + + ExtrasCustomLinksBulkDestroyWithResponse(ctx context.Context, body ExtrasCustomLinksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkDestroyResponse, error) + + // ExtrasCustomLinksListWithResponse request + ExtrasCustomLinksListWithResponse(ctx context.Context, params *ExtrasCustomLinksListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksListResponse, error) + + // ExtrasCustomLinksBulkPartialUpdateWithBodyWithResponse 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) + + // ExtrasCustomLinksCreateWithBodyWithResponse 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) + + // ExtrasCustomLinksBulkUpdateWithBodyWithResponse 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) + + // ExtrasCustomLinksDestroyWithResponse request + ExtrasCustomLinksDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksDestroyResponse, error) + + // ExtrasCustomLinksRetrieveWithResponse request + ExtrasCustomLinksRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksRetrieveResponse, error) + + // ExtrasCustomLinksPartialUpdateWithBodyWithResponse request with any body + ExtrasCustomLinksPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksPartialUpdateResponse, error) + + ExtrasCustomLinksPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasCustomLinksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksPartialUpdateResponse, error) + + // ExtrasCustomLinksUpdateWithBodyWithResponse request with any body + ExtrasCustomLinksUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksUpdateResponse, error) + + ExtrasCustomLinksUpdateWithResponse(ctx context.Context, id int, body ExtrasCustomLinksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksUpdateResponse, error) + + // ExtrasDashboardDestroyWithResponse request + ExtrasDashboardDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasDashboardDestroyResponse, error) + + // ExtrasDashboardRetrieveWithResponse request + ExtrasDashboardRetrieveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasDashboardRetrieveResponse, error) + + // ExtrasDashboardPartialUpdateWithBodyWithResponse request with any body + ExtrasDashboardPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDashboardPartialUpdateResponse, error) + + ExtrasDashboardPartialUpdateWithResponse(ctx context.Context, body ExtrasDashboardPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDashboardPartialUpdateResponse, error) + + // ExtrasDashboardUpdateWithBodyWithResponse request with any body + ExtrasDashboardUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDashboardUpdateResponse, error) + + ExtrasDashboardUpdateWithResponse(ctx context.Context, body ExtrasDashboardUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDashboardUpdateResponse, error) + + // ExtrasExportTemplatesBulkDestroyWithBodyWithResponse request with any body + ExtrasExportTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkDestroyResponse, error) + + ExtrasExportTemplatesBulkDestroyWithResponse(ctx context.Context, body ExtrasExportTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkDestroyResponse, error) + + // ExtrasExportTemplatesListWithResponse request + ExtrasExportTemplatesListWithResponse(ctx context.Context, params *ExtrasExportTemplatesListParams, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesListResponse, error) + + // ExtrasExportTemplatesBulkPartialUpdateWithBodyWithResponse 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) + + // ExtrasExportTemplatesCreateWithBodyWithResponse 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) + + // ExtrasExportTemplatesBulkUpdateWithBodyWithResponse 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) + + // ExtrasExportTemplatesDestroyWithResponse request + ExtrasExportTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesDestroyResponse, error) + + // ExtrasExportTemplatesRetrieveWithResponse request + ExtrasExportTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesRetrieveResponse, error) + + // ExtrasExportTemplatesPartialUpdateWithBodyWithResponse request with any body + ExtrasExportTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesPartialUpdateResponse, error) + + ExtrasExportTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasExportTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesPartialUpdateResponse, error) + + // ExtrasExportTemplatesUpdateWithBodyWithResponse request with any body + ExtrasExportTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesUpdateResponse, error) + + ExtrasExportTemplatesUpdateWithResponse(ctx context.Context, id int, body ExtrasExportTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesUpdateResponse, error) + + // ExtrasExportTemplatesSyncCreateWithBodyWithResponse request with any body + ExtrasExportTemplatesSyncCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesSyncCreateResponse, error) + + ExtrasExportTemplatesSyncCreateWithResponse(ctx context.Context, id int, body ExtrasExportTemplatesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesSyncCreateResponse, error) + + // ExtrasImageAttachmentsBulkDestroyWithBodyWithResponse request with any body + ExtrasImageAttachmentsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkDestroyResponse, error) + + ExtrasImageAttachmentsBulkDestroyWithResponse(ctx context.Context, body ExtrasImageAttachmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkDestroyResponse, error) + + // ExtrasImageAttachmentsListWithResponse request + ExtrasImageAttachmentsListWithResponse(ctx context.Context, params *ExtrasImageAttachmentsListParams, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsListResponse, error) + + // ExtrasImageAttachmentsBulkPartialUpdateWithBodyWithResponse 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) + + // ExtrasImageAttachmentsCreateWithBodyWithResponse 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) + + // ExtrasImageAttachmentsBulkUpdateWithBodyWithResponse 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) + + // ExtrasImageAttachmentsDestroyWithResponse request + ExtrasImageAttachmentsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsDestroyResponse, error) + + // ExtrasImageAttachmentsRetrieveWithResponse request + ExtrasImageAttachmentsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsRetrieveResponse, error) + + // ExtrasImageAttachmentsPartialUpdateWithBodyWithResponse request with any body + ExtrasImageAttachmentsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsPartialUpdateResponse, error) + + ExtrasImageAttachmentsPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasImageAttachmentsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsPartialUpdateResponse, error) + + // ExtrasImageAttachmentsUpdateWithBodyWithResponse request with any body + ExtrasImageAttachmentsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsUpdateResponse, error) + + ExtrasImageAttachmentsUpdateWithResponse(ctx context.Context, id int, body ExtrasImageAttachmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsUpdateResponse, error) + + // ExtrasJournalEntriesBulkDestroyWithBodyWithResponse request with any body + ExtrasJournalEntriesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesBulkDestroyResponse, error) + + ExtrasJournalEntriesBulkDestroyWithResponse(ctx context.Context, body ExtrasJournalEntriesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesBulkDestroyResponse, error) + + // ExtrasJournalEntriesListWithResponse request + ExtrasJournalEntriesListWithResponse(ctx context.Context, params *ExtrasJournalEntriesListParams, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesListResponse, error) + + // ExtrasJournalEntriesBulkPartialUpdateWithBodyWithResponse request with any body + ExtrasJournalEntriesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesBulkPartialUpdateResponse, error) + + ExtrasJournalEntriesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasJournalEntriesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesBulkPartialUpdateResponse, error) + + // ExtrasJournalEntriesCreateWithBodyWithResponse request with any body + ExtrasJournalEntriesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesCreateResponse, error) + + ExtrasJournalEntriesCreateWithResponse(ctx context.Context, body ExtrasJournalEntriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesCreateResponse, error) + + // ExtrasJournalEntriesBulkUpdateWithBodyWithResponse request with any body + ExtrasJournalEntriesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesBulkUpdateResponse, error) + + ExtrasJournalEntriesBulkUpdateWithResponse(ctx context.Context, body ExtrasJournalEntriesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesBulkUpdateResponse, error) + + // ExtrasJournalEntriesDestroyWithResponse request + ExtrasJournalEntriesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesDestroyResponse, error) + + // ExtrasJournalEntriesRetrieveWithResponse request + ExtrasJournalEntriesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesRetrieveResponse, error) + + // ExtrasJournalEntriesPartialUpdateWithBodyWithResponse request with any body + ExtrasJournalEntriesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesPartialUpdateResponse, error) + + ExtrasJournalEntriesPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasJournalEntriesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesPartialUpdateResponse, error) + + // ExtrasJournalEntriesUpdateWithBodyWithResponse request with any body + ExtrasJournalEntriesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesUpdateResponse, error) + + ExtrasJournalEntriesUpdateWithResponse(ctx context.Context, id int, body ExtrasJournalEntriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesUpdateResponse, error) + + // ExtrasObjectChangesListWithResponse request + ExtrasObjectChangesListWithResponse(ctx context.Context, params *ExtrasObjectChangesListParams, reqEditors ...RequestEditorFn) (*ExtrasObjectChangesListResponse, error) + + // ExtrasObjectChangesRetrieveWithResponse request + ExtrasObjectChangesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasObjectChangesRetrieveResponse, error) + + // ExtrasSavedFiltersBulkDestroyWithBodyWithResponse request with any body + ExtrasSavedFiltersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersBulkDestroyResponse, error) + + ExtrasSavedFiltersBulkDestroyWithResponse(ctx context.Context, body ExtrasSavedFiltersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersBulkDestroyResponse, error) + + // ExtrasSavedFiltersListWithResponse request + ExtrasSavedFiltersListWithResponse(ctx context.Context, params *ExtrasSavedFiltersListParams, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersListResponse, error) + + // ExtrasSavedFiltersBulkPartialUpdateWithBodyWithResponse request with any body + ExtrasSavedFiltersBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersBulkPartialUpdateResponse, error) + + ExtrasSavedFiltersBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasSavedFiltersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersBulkPartialUpdateResponse, error) + + // ExtrasSavedFiltersCreateWithBodyWithResponse request with any body + ExtrasSavedFiltersCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersCreateResponse, error) + + ExtrasSavedFiltersCreateWithResponse(ctx context.Context, body ExtrasSavedFiltersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersCreateResponse, error) + + // ExtrasSavedFiltersBulkUpdateWithBodyWithResponse request with any body + ExtrasSavedFiltersBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersBulkUpdateResponse, error) + + ExtrasSavedFiltersBulkUpdateWithResponse(ctx context.Context, body ExtrasSavedFiltersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersBulkUpdateResponse, error) + + // ExtrasSavedFiltersDestroyWithResponse request + ExtrasSavedFiltersDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersDestroyResponse, error) + + // ExtrasSavedFiltersRetrieveWithResponse request + ExtrasSavedFiltersRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersRetrieveResponse, error) + + // ExtrasSavedFiltersPartialUpdateWithBodyWithResponse request with any body + ExtrasSavedFiltersPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersPartialUpdateResponse, error) + + ExtrasSavedFiltersPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasSavedFiltersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersPartialUpdateResponse, error) + + // ExtrasSavedFiltersUpdateWithBodyWithResponse request with any body + ExtrasSavedFiltersUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersUpdateResponse, error) + + ExtrasSavedFiltersUpdateWithResponse(ctx context.Context, id int, body ExtrasSavedFiltersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersUpdateResponse, error) + + // ExtrasTagsBulkDestroyWithBodyWithResponse request with any body + ExtrasTagsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkDestroyResponse, error) + + ExtrasTagsBulkDestroyWithResponse(ctx context.Context, body ExtrasTagsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkDestroyResponse, error) + + // ExtrasTagsListWithResponse request + ExtrasTagsListWithResponse(ctx context.Context, params *ExtrasTagsListParams, reqEditors ...RequestEditorFn) (*ExtrasTagsListResponse, error) + + // ExtrasTagsBulkPartialUpdateWithBodyWithResponse 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) + + // ExtrasTagsCreateWithBodyWithResponse 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) + + // ExtrasTagsBulkUpdateWithBodyWithResponse 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) + + // ExtrasTagsDestroyWithResponse request + ExtrasTagsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasTagsDestroyResponse, error) + + // ExtrasTagsRetrieveWithResponse request + ExtrasTagsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasTagsRetrieveResponse, error) + + // ExtrasTagsPartialUpdateWithBodyWithResponse request with any body + ExtrasTagsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsPartialUpdateResponse, error) + + ExtrasTagsPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasTagsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsPartialUpdateResponse, error) + + // ExtrasTagsUpdateWithBodyWithResponse request with any body + ExtrasTagsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsUpdateResponse, error) + + ExtrasTagsUpdateWithResponse(ctx context.Context, id int, body ExtrasTagsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsUpdateResponse, error) + + // ExtrasWebhooksBulkDestroyWithBodyWithResponse request with any body + ExtrasWebhooksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkDestroyResponse, error) + + ExtrasWebhooksBulkDestroyWithResponse(ctx context.Context, body ExtrasWebhooksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkDestroyResponse, error) + + // ExtrasWebhooksListWithResponse request + ExtrasWebhooksListWithResponse(ctx context.Context, params *ExtrasWebhooksListParams, reqEditors ...RequestEditorFn) (*ExtrasWebhooksListResponse, error) + + // ExtrasWebhooksBulkPartialUpdateWithBodyWithResponse 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) + + // ExtrasWebhooksCreateWithBodyWithResponse 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) + + // ExtrasWebhooksBulkUpdateWithBodyWithResponse 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) + + // ExtrasWebhooksDestroyWithResponse request + ExtrasWebhooksDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasWebhooksDestroyResponse, error) + + // ExtrasWebhooksRetrieveWithResponse request + ExtrasWebhooksRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasWebhooksRetrieveResponse, error) + + // ExtrasWebhooksPartialUpdateWithBodyWithResponse request with any body + ExtrasWebhooksPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksPartialUpdateResponse, error) + + ExtrasWebhooksPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasWebhooksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksPartialUpdateResponse, error) + + // ExtrasWebhooksUpdateWithBodyWithResponse request with any body + ExtrasWebhooksUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksUpdateResponse, error) + + ExtrasWebhooksUpdateWithResponse(ctx context.Context, id int, body ExtrasWebhooksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksUpdateResponse, error) + + // IpamAggregatesBulkDestroyWithBodyWithResponse request with any body + IpamAggregatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkDestroyResponse, error) + + IpamAggregatesBulkDestroyWithResponse(ctx context.Context, body IpamAggregatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkDestroyResponse, error) + + // IpamAggregatesListWithResponse request + IpamAggregatesListWithResponse(ctx context.Context, params *IpamAggregatesListParams, reqEditors ...RequestEditorFn) (*IpamAggregatesListResponse, error) + + // IpamAggregatesBulkPartialUpdateWithBodyWithResponse 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) + + // IpamAggregatesCreateWithBodyWithResponse 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) + + // IpamAggregatesBulkUpdateWithBodyWithResponse 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) + + // IpamAggregatesDestroyWithResponse request + IpamAggregatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamAggregatesDestroyResponse, error) + + // IpamAggregatesRetrieveWithResponse request + IpamAggregatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamAggregatesRetrieveResponse, error) + + // IpamAggregatesPartialUpdateWithBodyWithResponse request with any body + IpamAggregatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesPartialUpdateResponse, error) + + IpamAggregatesPartialUpdateWithResponse(ctx context.Context, id int, body IpamAggregatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesPartialUpdateResponse, error) + + // IpamAggregatesUpdateWithBodyWithResponse request with any body + IpamAggregatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesUpdateResponse, error) + + IpamAggregatesUpdateWithResponse(ctx context.Context, id int, body IpamAggregatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesUpdateResponse, error) + + // IpamAsnRangesBulkDestroyWithBodyWithResponse request with any body + IpamAsnRangesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnRangesBulkDestroyResponse, error) + + IpamAsnRangesBulkDestroyWithResponse(ctx context.Context, body IpamAsnRangesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnRangesBulkDestroyResponse, error) + + // IpamAsnRangesListWithResponse request + IpamAsnRangesListWithResponse(ctx context.Context, params *IpamAsnRangesListParams, reqEditors ...RequestEditorFn) (*IpamAsnRangesListResponse, error) + + // IpamAsnRangesBulkPartialUpdateWithBodyWithResponse request with any body + IpamAsnRangesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnRangesBulkPartialUpdateResponse, error) + + IpamAsnRangesBulkPartialUpdateWithResponse(ctx context.Context, body IpamAsnRangesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnRangesBulkPartialUpdateResponse, error) + + // IpamAsnRangesCreateWithBodyWithResponse request with any body + IpamAsnRangesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnRangesCreateResponse, error) + + IpamAsnRangesCreateWithResponse(ctx context.Context, body IpamAsnRangesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnRangesCreateResponse, error) + + // IpamAsnRangesBulkUpdateWithBodyWithResponse request with any body + IpamAsnRangesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnRangesBulkUpdateResponse, error) + + IpamAsnRangesBulkUpdateWithResponse(ctx context.Context, body IpamAsnRangesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnRangesBulkUpdateResponse, error) + + // IpamAsnRangesDestroyWithResponse request + IpamAsnRangesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamAsnRangesDestroyResponse, error) + + // IpamAsnRangesRetrieveWithResponse request + IpamAsnRangesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamAsnRangesRetrieveResponse, error) + + // IpamAsnRangesPartialUpdateWithBodyWithResponse request with any body + IpamAsnRangesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnRangesPartialUpdateResponse, error) + + IpamAsnRangesPartialUpdateWithResponse(ctx context.Context, id int, body IpamAsnRangesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnRangesPartialUpdateResponse, error) + + // IpamAsnRangesUpdateWithBodyWithResponse request with any body + IpamAsnRangesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnRangesUpdateResponse, error) + + IpamAsnRangesUpdateWithResponse(ctx context.Context, id int, body IpamAsnRangesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnRangesUpdateResponse, error) + + // IpamAsnRangesAvailableAsnsListWithResponse request + IpamAsnRangesAvailableAsnsListWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamAsnRangesAvailableAsnsListResponse, error) + + // IpamAsnRangesAvailableAsnsCreateWithBodyWithResponse request with any body + IpamAsnRangesAvailableAsnsCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnRangesAvailableAsnsCreateResponse, error) + + IpamAsnRangesAvailableAsnsCreateWithResponse(ctx context.Context, id int, body IpamAsnRangesAvailableAsnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnRangesAvailableAsnsCreateResponse, error) + + // IpamAsnsBulkDestroyWithBodyWithResponse request with any body + IpamAsnsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnsBulkDestroyResponse, error) + + IpamAsnsBulkDestroyWithResponse(ctx context.Context, body IpamAsnsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnsBulkDestroyResponse, error) + + // IpamAsnsListWithResponse request + IpamAsnsListWithResponse(ctx context.Context, params *IpamAsnsListParams, reqEditors ...RequestEditorFn) (*IpamAsnsListResponse, error) + + // IpamAsnsBulkPartialUpdateWithBodyWithResponse request with any body + IpamAsnsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnsBulkPartialUpdateResponse, error) + + IpamAsnsBulkPartialUpdateWithResponse(ctx context.Context, body IpamAsnsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnsBulkPartialUpdateResponse, error) + + // IpamAsnsCreateWithBodyWithResponse request with any body + IpamAsnsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnsCreateResponse, error) + + IpamAsnsCreateWithResponse(ctx context.Context, body IpamAsnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnsCreateResponse, error) + + // IpamAsnsBulkUpdateWithBodyWithResponse request with any body + IpamAsnsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnsBulkUpdateResponse, error) + + IpamAsnsBulkUpdateWithResponse(ctx context.Context, body IpamAsnsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnsBulkUpdateResponse, error) + + // IpamAsnsDestroyWithResponse request + IpamAsnsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamAsnsDestroyResponse, error) + + // IpamAsnsRetrieveWithResponse request + IpamAsnsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamAsnsRetrieveResponse, error) + + // IpamAsnsPartialUpdateWithBodyWithResponse request with any body + IpamAsnsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnsPartialUpdateResponse, error) + + IpamAsnsPartialUpdateWithResponse(ctx context.Context, id int, body IpamAsnsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnsPartialUpdateResponse, error) + + // IpamAsnsUpdateWithBodyWithResponse request with any body + IpamAsnsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnsUpdateResponse, error) + + IpamAsnsUpdateWithResponse(ctx context.Context, id int, body IpamAsnsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnsUpdateResponse, error) + + // IpamFhrpGroupAssignmentsBulkDestroyWithBodyWithResponse request with any body + IpamFhrpGroupAssignmentsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsBulkDestroyResponse, error) + + IpamFhrpGroupAssignmentsBulkDestroyWithResponse(ctx context.Context, body IpamFhrpGroupAssignmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsBulkDestroyResponse, error) + + // IpamFhrpGroupAssignmentsListWithResponse request + IpamFhrpGroupAssignmentsListWithResponse(ctx context.Context, params *IpamFhrpGroupAssignmentsListParams, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsListResponse, error) + + // IpamFhrpGroupAssignmentsBulkPartialUpdateWithBodyWithResponse request with any body + IpamFhrpGroupAssignmentsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsBulkPartialUpdateResponse, error) + + IpamFhrpGroupAssignmentsBulkPartialUpdateWithResponse(ctx context.Context, body IpamFhrpGroupAssignmentsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsBulkPartialUpdateResponse, error) + + // IpamFhrpGroupAssignmentsCreateWithBodyWithResponse request with any body + IpamFhrpGroupAssignmentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsCreateResponse, error) + + IpamFhrpGroupAssignmentsCreateWithResponse(ctx context.Context, body IpamFhrpGroupAssignmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsCreateResponse, error) + + // IpamFhrpGroupAssignmentsBulkUpdateWithBodyWithResponse request with any body + IpamFhrpGroupAssignmentsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsBulkUpdateResponse, error) + + IpamFhrpGroupAssignmentsBulkUpdateWithResponse(ctx context.Context, body IpamFhrpGroupAssignmentsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsBulkUpdateResponse, error) + + // IpamFhrpGroupAssignmentsDestroyWithResponse request + IpamFhrpGroupAssignmentsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsDestroyResponse, error) + + // IpamFhrpGroupAssignmentsRetrieveWithResponse request + IpamFhrpGroupAssignmentsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsRetrieveResponse, error) + + // IpamFhrpGroupAssignmentsPartialUpdateWithBodyWithResponse request with any body + IpamFhrpGroupAssignmentsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsPartialUpdateResponse, error) + + IpamFhrpGroupAssignmentsPartialUpdateWithResponse(ctx context.Context, id int, body IpamFhrpGroupAssignmentsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsPartialUpdateResponse, error) + + // IpamFhrpGroupAssignmentsUpdateWithBodyWithResponse request with any body + IpamFhrpGroupAssignmentsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsUpdateResponse, error) + + IpamFhrpGroupAssignmentsUpdateWithResponse(ctx context.Context, id int, body IpamFhrpGroupAssignmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsUpdateResponse, error) + + // IpamFhrpGroupsBulkDestroyWithBodyWithResponse request with any body + IpamFhrpGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsBulkDestroyResponse, error) + + IpamFhrpGroupsBulkDestroyWithResponse(ctx context.Context, body IpamFhrpGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsBulkDestroyResponse, error) + + // IpamFhrpGroupsListWithResponse request + IpamFhrpGroupsListWithResponse(ctx context.Context, params *IpamFhrpGroupsListParams, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsListResponse, error) + + // IpamFhrpGroupsBulkPartialUpdateWithBodyWithResponse request with any body + IpamFhrpGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsBulkPartialUpdateResponse, error) + + IpamFhrpGroupsBulkPartialUpdateWithResponse(ctx context.Context, body IpamFhrpGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsBulkPartialUpdateResponse, error) + + // IpamFhrpGroupsCreateWithBodyWithResponse request with any body + IpamFhrpGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsCreateResponse, error) + + IpamFhrpGroupsCreateWithResponse(ctx context.Context, body IpamFhrpGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsCreateResponse, error) + + // IpamFhrpGroupsBulkUpdateWithBodyWithResponse request with any body + IpamFhrpGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsBulkUpdateResponse, error) + + IpamFhrpGroupsBulkUpdateWithResponse(ctx context.Context, body IpamFhrpGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsBulkUpdateResponse, error) + + // IpamFhrpGroupsDestroyWithResponse request + IpamFhrpGroupsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsDestroyResponse, error) + + // IpamFhrpGroupsRetrieveWithResponse request + IpamFhrpGroupsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsRetrieveResponse, error) + + // IpamFhrpGroupsPartialUpdateWithBodyWithResponse request with any body + IpamFhrpGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsPartialUpdateResponse, error) + + IpamFhrpGroupsPartialUpdateWithResponse(ctx context.Context, id int, body IpamFhrpGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsPartialUpdateResponse, error) + + // IpamFhrpGroupsUpdateWithBodyWithResponse request with any body + IpamFhrpGroupsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsUpdateResponse, error) + + IpamFhrpGroupsUpdateWithResponse(ctx context.Context, id int, body IpamFhrpGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsUpdateResponse, error) + + // IpamIpAddressesBulkDestroyWithBodyWithResponse request with any body + IpamIpAddressesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkDestroyResponse, error) + + IpamIpAddressesBulkDestroyWithResponse(ctx context.Context, body IpamIpAddressesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkDestroyResponse, error) + + // IpamIpAddressesListWithResponse request + IpamIpAddressesListWithResponse(ctx context.Context, params *IpamIpAddressesListParams, reqEditors ...RequestEditorFn) (*IpamIpAddressesListResponse, error) + + // IpamIpAddressesBulkPartialUpdateWithBodyWithResponse 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) + + // IpamIpAddressesCreateWithBodyWithResponse 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) + + // IpamIpAddressesBulkUpdateWithBodyWithResponse 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) + + // IpamIpAddressesDestroyWithResponse request + IpamIpAddressesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamIpAddressesDestroyResponse, error) + + // IpamIpAddressesRetrieveWithResponse request + IpamIpAddressesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamIpAddressesRetrieveResponse, error) + + // IpamIpAddressesPartialUpdateWithBodyWithResponse request with any body + IpamIpAddressesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesPartialUpdateResponse, error) + + IpamIpAddressesPartialUpdateWithResponse(ctx context.Context, id int, body IpamIpAddressesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesPartialUpdateResponse, error) + + // IpamIpAddressesUpdateWithBodyWithResponse request with any body + IpamIpAddressesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesUpdateResponse, error) + + IpamIpAddressesUpdateWithResponse(ctx context.Context, id int, body IpamIpAddressesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesUpdateResponse, error) + + // IpamIpRangesBulkDestroyWithBodyWithResponse request with any body + IpamIpRangesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpRangesBulkDestroyResponse, error) + + IpamIpRangesBulkDestroyWithResponse(ctx context.Context, body IpamIpRangesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpRangesBulkDestroyResponse, error) + + // IpamIpRangesListWithResponse request + IpamIpRangesListWithResponse(ctx context.Context, params *IpamIpRangesListParams, reqEditors ...RequestEditorFn) (*IpamIpRangesListResponse, error) + + // IpamIpRangesBulkPartialUpdateWithBodyWithResponse request with any body + IpamIpRangesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpRangesBulkPartialUpdateResponse, error) + + IpamIpRangesBulkPartialUpdateWithResponse(ctx context.Context, body IpamIpRangesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpRangesBulkPartialUpdateResponse, error) + + // IpamIpRangesCreateWithBodyWithResponse request with any body + IpamIpRangesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpRangesCreateResponse, error) + + IpamIpRangesCreateWithResponse(ctx context.Context, body IpamIpRangesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpRangesCreateResponse, error) + + // IpamIpRangesBulkUpdateWithBodyWithResponse request with any body + IpamIpRangesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpRangesBulkUpdateResponse, error) + + IpamIpRangesBulkUpdateWithResponse(ctx context.Context, body IpamIpRangesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpRangesBulkUpdateResponse, error) + + // IpamIpRangesDestroyWithResponse request + IpamIpRangesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamIpRangesDestroyResponse, error) + + // IpamIpRangesRetrieveWithResponse request + IpamIpRangesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamIpRangesRetrieveResponse, error) + + // IpamIpRangesPartialUpdateWithBodyWithResponse request with any body + IpamIpRangesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpRangesPartialUpdateResponse, error) + + IpamIpRangesPartialUpdateWithResponse(ctx context.Context, id int, body IpamIpRangesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpRangesPartialUpdateResponse, error) + + // IpamIpRangesUpdateWithBodyWithResponse request with any body + IpamIpRangesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpRangesUpdateResponse, error) + + IpamIpRangesUpdateWithResponse(ctx context.Context, id int, body IpamIpRangesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpRangesUpdateResponse, error) + + // IpamIpRangesAvailableIpsListWithResponse request + IpamIpRangesAvailableIpsListWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamIpRangesAvailableIpsListResponse, error) + + // IpamIpRangesAvailableIpsCreateWithBodyWithResponse request with any body + IpamIpRangesAvailableIpsCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpRangesAvailableIpsCreateResponse, error) + + IpamIpRangesAvailableIpsCreateWithResponse(ctx context.Context, id int, body IpamIpRangesAvailableIpsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpRangesAvailableIpsCreateResponse, error) + + // IpamL2vpnTerminationsBulkDestroyWithBodyWithResponse request with any body + IpamL2vpnTerminationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsBulkDestroyResponse, error) + + IpamL2vpnTerminationsBulkDestroyWithResponse(ctx context.Context, body IpamL2vpnTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsBulkDestroyResponse, error) + + // IpamL2vpnTerminationsListWithResponse request + IpamL2vpnTerminationsListWithResponse(ctx context.Context, params *IpamL2vpnTerminationsListParams, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsListResponse, error) + + // IpamL2vpnTerminationsBulkPartialUpdateWithBodyWithResponse request with any body + IpamL2vpnTerminationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsBulkPartialUpdateResponse, error) + + IpamL2vpnTerminationsBulkPartialUpdateWithResponse(ctx context.Context, body IpamL2vpnTerminationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsBulkPartialUpdateResponse, error) + + // IpamL2vpnTerminationsCreateWithBodyWithResponse request with any body + IpamL2vpnTerminationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsCreateResponse, error) + + IpamL2vpnTerminationsCreateWithResponse(ctx context.Context, body IpamL2vpnTerminationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsCreateResponse, error) + + // IpamL2vpnTerminationsBulkUpdateWithBodyWithResponse request with any body + IpamL2vpnTerminationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsBulkUpdateResponse, error) + + IpamL2vpnTerminationsBulkUpdateWithResponse(ctx context.Context, body IpamL2vpnTerminationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsBulkUpdateResponse, error) + + // IpamL2vpnTerminationsDestroyWithResponse request + IpamL2vpnTerminationsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsDestroyResponse, error) + + // IpamL2vpnTerminationsRetrieveWithResponse request + IpamL2vpnTerminationsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsRetrieveResponse, error) + + // IpamL2vpnTerminationsPartialUpdateWithBodyWithResponse request with any body + IpamL2vpnTerminationsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsPartialUpdateResponse, error) + + IpamL2vpnTerminationsPartialUpdateWithResponse(ctx context.Context, id int, body IpamL2vpnTerminationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsPartialUpdateResponse, error) + + // IpamL2vpnTerminationsUpdateWithBodyWithResponse request with any body + IpamL2vpnTerminationsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsUpdateResponse, error) + + IpamL2vpnTerminationsUpdateWithResponse(ctx context.Context, id int, body IpamL2vpnTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsUpdateResponse, error) + + // IpamL2vpnsBulkDestroyWithBodyWithResponse request with any body + IpamL2vpnsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnsBulkDestroyResponse, error) + + IpamL2vpnsBulkDestroyWithResponse(ctx context.Context, body IpamL2vpnsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnsBulkDestroyResponse, error) + + // IpamL2vpnsListWithResponse request + IpamL2vpnsListWithResponse(ctx context.Context, params *IpamL2vpnsListParams, reqEditors ...RequestEditorFn) (*IpamL2vpnsListResponse, error) + + // IpamL2vpnsBulkPartialUpdateWithBodyWithResponse request with any body + IpamL2vpnsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnsBulkPartialUpdateResponse, error) + + IpamL2vpnsBulkPartialUpdateWithResponse(ctx context.Context, body IpamL2vpnsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnsBulkPartialUpdateResponse, error) + + // IpamL2vpnsCreateWithBodyWithResponse request with any body + IpamL2vpnsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnsCreateResponse, error) + + IpamL2vpnsCreateWithResponse(ctx context.Context, body IpamL2vpnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnsCreateResponse, error) + + // IpamL2vpnsBulkUpdateWithBodyWithResponse request with any body + IpamL2vpnsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnsBulkUpdateResponse, error) + + IpamL2vpnsBulkUpdateWithResponse(ctx context.Context, body IpamL2vpnsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnsBulkUpdateResponse, error) + + // IpamL2vpnsDestroyWithResponse request + IpamL2vpnsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamL2vpnsDestroyResponse, error) + + // IpamL2vpnsRetrieveWithResponse request + IpamL2vpnsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamL2vpnsRetrieveResponse, error) + + // IpamL2vpnsPartialUpdateWithBodyWithResponse request with any body + IpamL2vpnsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnsPartialUpdateResponse, error) + + IpamL2vpnsPartialUpdateWithResponse(ctx context.Context, id int, body IpamL2vpnsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnsPartialUpdateResponse, error) + + // IpamL2vpnsUpdateWithBodyWithResponse request with any body + IpamL2vpnsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnsUpdateResponse, error) + + IpamL2vpnsUpdateWithResponse(ctx context.Context, id int, body IpamL2vpnsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnsUpdateResponse, error) + + // IpamPrefixesBulkDestroyWithBodyWithResponse request with any body + IpamPrefixesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkDestroyResponse, error) + + IpamPrefixesBulkDestroyWithResponse(ctx context.Context, body IpamPrefixesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkDestroyResponse, error) + + // IpamPrefixesListWithResponse request + IpamPrefixesListWithResponse(ctx context.Context, params *IpamPrefixesListParams, reqEditors ...RequestEditorFn) (*IpamPrefixesListResponse, error) + + // IpamPrefixesBulkPartialUpdateWithBodyWithResponse 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) + + // IpamPrefixesCreateWithBodyWithResponse 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) + + // IpamPrefixesBulkUpdateWithBodyWithResponse 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) + + // IpamPrefixesDestroyWithResponse request + IpamPrefixesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamPrefixesDestroyResponse, error) + + // IpamPrefixesRetrieveWithResponse request + IpamPrefixesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamPrefixesRetrieveResponse, error) + + // IpamPrefixesPartialUpdateWithBodyWithResponse request with any body + IpamPrefixesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesPartialUpdateResponse, error) + + IpamPrefixesPartialUpdateWithResponse(ctx context.Context, id int, body IpamPrefixesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesPartialUpdateResponse, error) + + // IpamPrefixesUpdateWithBodyWithResponse request with any body + IpamPrefixesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesUpdateResponse, error) + + IpamPrefixesUpdateWithResponse(ctx context.Context, id int, body IpamPrefixesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesUpdateResponse, error) + + // IpamPrefixesAvailableIpsListWithResponse request + IpamPrefixesAvailableIpsListWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailableIpsListResponse, error) + + // IpamPrefixesAvailableIpsCreateWithBodyWithResponse request with any body + IpamPrefixesAvailableIpsCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailableIpsCreateResponse, error) + + IpamPrefixesAvailableIpsCreateWithResponse(ctx context.Context, id int, body IpamPrefixesAvailableIpsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailableIpsCreateResponse, error) + + // IpamPrefixesAvailablePrefixesListWithResponse request + IpamPrefixesAvailablePrefixesListWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailablePrefixesListResponse, error) + + // IpamPrefixesAvailablePrefixesCreateWithBodyWithResponse request with any body + IpamPrefixesAvailablePrefixesCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailablePrefixesCreateResponse, error) + + IpamPrefixesAvailablePrefixesCreateWithResponse(ctx context.Context, id int, body IpamPrefixesAvailablePrefixesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailablePrefixesCreateResponse, error) + + // IpamRirsBulkDestroyWithBodyWithResponse request with any body + IpamRirsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsBulkDestroyResponse, error) + + IpamRirsBulkDestroyWithResponse(ctx context.Context, body IpamRirsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsBulkDestroyResponse, error) + + // IpamRirsListWithResponse request + IpamRirsListWithResponse(ctx context.Context, params *IpamRirsListParams, reqEditors ...RequestEditorFn) (*IpamRirsListResponse, error) + + // IpamRirsBulkPartialUpdateWithBodyWithResponse 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) + + // IpamRirsCreateWithBodyWithResponse 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) + + // IpamRirsBulkUpdateWithBodyWithResponse 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) + + // IpamRirsDestroyWithResponse request + IpamRirsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamRirsDestroyResponse, error) + + // IpamRirsRetrieveWithResponse request + IpamRirsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamRirsRetrieveResponse, error) + + // IpamRirsPartialUpdateWithBodyWithResponse request with any body + IpamRirsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsPartialUpdateResponse, error) + + IpamRirsPartialUpdateWithResponse(ctx context.Context, id int, body IpamRirsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsPartialUpdateResponse, error) + + // IpamRirsUpdateWithBodyWithResponse request with any body + IpamRirsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsUpdateResponse, error) + + IpamRirsUpdateWithResponse(ctx context.Context, id int, body IpamRirsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsUpdateResponse, error) + + // IpamRolesBulkDestroyWithBodyWithResponse request with any body + IpamRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesBulkDestroyResponse, error) + + IpamRolesBulkDestroyWithResponse(ctx context.Context, body IpamRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesBulkDestroyResponse, error) + + // IpamRolesListWithResponse request + IpamRolesListWithResponse(ctx context.Context, params *IpamRolesListParams, reqEditors ...RequestEditorFn) (*IpamRolesListResponse, error) + + // IpamRolesBulkPartialUpdateWithBodyWithResponse 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) + + // IpamRolesCreateWithBodyWithResponse 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) + + // IpamRolesBulkUpdateWithBodyWithResponse 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) + + // IpamRolesDestroyWithResponse request + IpamRolesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamRolesDestroyResponse, error) + + // IpamRolesRetrieveWithResponse request + IpamRolesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamRolesRetrieveResponse, error) + + // IpamRolesPartialUpdateWithBodyWithResponse request with any body + IpamRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesPartialUpdateResponse, error) + + IpamRolesPartialUpdateWithResponse(ctx context.Context, id int, body IpamRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesPartialUpdateResponse, error) + + // IpamRolesUpdateWithBodyWithResponse request with any body + IpamRolesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesUpdateResponse, error) + + IpamRolesUpdateWithResponse(ctx context.Context, id int, body IpamRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesUpdateResponse, error) + + // IpamRouteTargetsBulkDestroyWithBodyWithResponse request with any body + IpamRouteTargetsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkDestroyResponse, error) + + IpamRouteTargetsBulkDestroyWithResponse(ctx context.Context, body IpamRouteTargetsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkDestroyResponse, error) + + // IpamRouteTargetsListWithResponse request + IpamRouteTargetsListWithResponse(ctx context.Context, params *IpamRouteTargetsListParams, reqEditors ...RequestEditorFn) (*IpamRouteTargetsListResponse, error) + + // IpamRouteTargetsBulkPartialUpdateWithBodyWithResponse 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) + + // IpamRouteTargetsCreateWithBodyWithResponse 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) + + // IpamRouteTargetsBulkUpdateWithBodyWithResponse 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) + + // IpamRouteTargetsDestroyWithResponse request + IpamRouteTargetsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamRouteTargetsDestroyResponse, error) + + // IpamRouteTargetsRetrieveWithResponse request + IpamRouteTargetsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamRouteTargetsRetrieveResponse, error) + + // IpamRouteTargetsPartialUpdateWithBodyWithResponse request with any body + IpamRouteTargetsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsPartialUpdateResponse, error) + + IpamRouteTargetsPartialUpdateWithResponse(ctx context.Context, id int, body IpamRouteTargetsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsPartialUpdateResponse, error) + + // IpamRouteTargetsUpdateWithBodyWithResponse request with any body + IpamRouteTargetsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsUpdateResponse, error) + + IpamRouteTargetsUpdateWithResponse(ctx context.Context, id int, body IpamRouteTargetsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsUpdateResponse, error) + + // IpamServiceTemplatesBulkDestroyWithBodyWithResponse request with any body + IpamServiceTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesBulkDestroyResponse, error) + + IpamServiceTemplatesBulkDestroyWithResponse(ctx context.Context, body IpamServiceTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesBulkDestroyResponse, error) + + // IpamServiceTemplatesListWithResponse request + IpamServiceTemplatesListWithResponse(ctx context.Context, params *IpamServiceTemplatesListParams, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesListResponse, error) + + // IpamServiceTemplatesBulkPartialUpdateWithBodyWithResponse request with any body + IpamServiceTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesBulkPartialUpdateResponse, error) + + IpamServiceTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body IpamServiceTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesBulkPartialUpdateResponse, error) + + // IpamServiceTemplatesCreateWithBodyWithResponse request with any body + IpamServiceTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesCreateResponse, error) + + IpamServiceTemplatesCreateWithResponse(ctx context.Context, body IpamServiceTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesCreateResponse, error) + + // IpamServiceTemplatesBulkUpdateWithBodyWithResponse request with any body + IpamServiceTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesBulkUpdateResponse, error) + + IpamServiceTemplatesBulkUpdateWithResponse(ctx context.Context, body IpamServiceTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesBulkUpdateResponse, error) + + // IpamServiceTemplatesDestroyWithResponse request + IpamServiceTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesDestroyResponse, error) + + // IpamServiceTemplatesRetrieveWithResponse request + IpamServiceTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesRetrieveResponse, error) + + // IpamServiceTemplatesPartialUpdateWithBodyWithResponse request with any body + IpamServiceTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesPartialUpdateResponse, error) + + IpamServiceTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body IpamServiceTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesPartialUpdateResponse, error) + + // IpamServiceTemplatesUpdateWithBodyWithResponse request with any body + IpamServiceTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesUpdateResponse, error) + + IpamServiceTemplatesUpdateWithResponse(ctx context.Context, id int, body IpamServiceTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesUpdateResponse, error) + + // IpamServicesBulkDestroyWithBodyWithResponse request with any body + IpamServicesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesBulkDestroyResponse, error) + + IpamServicesBulkDestroyWithResponse(ctx context.Context, body IpamServicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesBulkDestroyResponse, error) + + // IpamServicesListWithResponse request + IpamServicesListWithResponse(ctx context.Context, params *IpamServicesListParams, reqEditors ...RequestEditorFn) (*IpamServicesListResponse, error) + + // IpamServicesBulkPartialUpdateWithBodyWithResponse 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) + + // IpamServicesCreateWithBodyWithResponse 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) + + // IpamServicesBulkUpdateWithBodyWithResponse 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) + + // IpamServicesDestroyWithResponse request + IpamServicesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamServicesDestroyResponse, error) + + // IpamServicesRetrieveWithResponse request + IpamServicesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamServicesRetrieveResponse, error) + + // IpamServicesPartialUpdateWithBodyWithResponse request with any body + IpamServicesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesPartialUpdateResponse, error) + + IpamServicesPartialUpdateWithResponse(ctx context.Context, id int, body IpamServicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesPartialUpdateResponse, error) + + // IpamServicesUpdateWithBodyWithResponse request with any body + IpamServicesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesUpdateResponse, error) + + IpamServicesUpdateWithResponse(ctx context.Context, id int, body IpamServicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesUpdateResponse, error) + + // IpamVlanGroupsBulkDestroyWithBodyWithResponse request with any body + IpamVlanGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkDestroyResponse, error) + + IpamVlanGroupsBulkDestroyWithResponse(ctx context.Context, body IpamVlanGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkDestroyResponse, error) + + // IpamVlanGroupsListWithResponse request + IpamVlanGroupsListWithResponse(ctx context.Context, params *IpamVlanGroupsListParams, reqEditors ...RequestEditorFn) (*IpamVlanGroupsListResponse, error) + + // IpamVlanGroupsBulkPartialUpdateWithBodyWithResponse 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) + + // IpamVlanGroupsCreateWithBodyWithResponse 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) + + // IpamVlanGroupsBulkUpdateWithBodyWithResponse 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) + + // IpamVlanGroupsDestroyWithResponse request + IpamVlanGroupsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamVlanGroupsDestroyResponse, error) + + // IpamVlanGroupsRetrieveWithResponse request + IpamVlanGroupsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamVlanGroupsRetrieveResponse, error) + + // IpamVlanGroupsPartialUpdateWithBodyWithResponse request with any body + IpamVlanGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsPartialUpdateResponse, error) + + IpamVlanGroupsPartialUpdateWithResponse(ctx context.Context, id int, body IpamVlanGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsPartialUpdateResponse, error) + + // IpamVlanGroupsUpdateWithBodyWithResponse request with any body + IpamVlanGroupsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsUpdateResponse, error) + + IpamVlanGroupsUpdateWithResponse(ctx context.Context, id int, body IpamVlanGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsUpdateResponse, error) + + // IpamVlanGroupsAvailableVlansListWithResponse request + IpamVlanGroupsAvailableVlansListWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamVlanGroupsAvailableVlansListResponse, error) + + // IpamVlanGroupsAvailableVlansCreateWithBodyWithResponse request with any body + IpamVlanGroupsAvailableVlansCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsAvailableVlansCreateResponse, error) + + IpamVlanGroupsAvailableVlansCreateWithResponse(ctx context.Context, id int, body IpamVlanGroupsAvailableVlansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsAvailableVlansCreateResponse, error) + + // IpamVlansBulkDestroyWithBodyWithResponse request with any body + IpamVlansBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansBulkDestroyResponse, error) + + IpamVlansBulkDestroyWithResponse(ctx context.Context, body IpamVlansBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansBulkDestroyResponse, error) + + // IpamVlansListWithResponse request + IpamVlansListWithResponse(ctx context.Context, params *IpamVlansListParams, reqEditors ...RequestEditorFn) (*IpamVlansListResponse, error) + + // IpamVlansBulkPartialUpdateWithBodyWithResponse 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) + + // IpamVlansCreateWithBodyWithResponse 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) + + // IpamVlansBulkUpdateWithBodyWithResponse 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) + + // IpamVlansDestroyWithResponse request + IpamVlansDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamVlansDestroyResponse, error) + + // IpamVlansRetrieveWithResponse request + IpamVlansRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamVlansRetrieveResponse, error) + + // IpamVlansPartialUpdateWithBodyWithResponse request with any body + IpamVlansPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansPartialUpdateResponse, error) + + IpamVlansPartialUpdateWithResponse(ctx context.Context, id int, body IpamVlansPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansPartialUpdateResponse, error) + + // IpamVlansUpdateWithBodyWithResponse request with any body + IpamVlansUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansUpdateResponse, error) + + IpamVlansUpdateWithResponse(ctx context.Context, id int, body IpamVlansUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansUpdateResponse, error) + + // IpamVrfsBulkDestroyWithBodyWithResponse request with any body + IpamVrfsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsBulkDestroyResponse, error) + + IpamVrfsBulkDestroyWithResponse(ctx context.Context, body IpamVrfsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsBulkDestroyResponse, error) + + // IpamVrfsListWithResponse request + IpamVrfsListWithResponse(ctx context.Context, params *IpamVrfsListParams, reqEditors ...RequestEditorFn) (*IpamVrfsListResponse, error) + + // IpamVrfsBulkPartialUpdateWithBodyWithResponse 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) + + // IpamVrfsCreateWithBodyWithResponse 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) + + // IpamVrfsBulkUpdateWithBodyWithResponse 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) + + // IpamVrfsDestroyWithResponse request + IpamVrfsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamVrfsDestroyResponse, error) + + // IpamVrfsRetrieveWithResponse request + IpamVrfsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamVrfsRetrieveResponse, error) + + // IpamVrfsPartialUpdateWithBodyWithResponse request with any body + IpamVrfsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsPartialUpdateResponse, error) + + IpamVrfsPartialUpdateWithResponse(ctx context.Context, id int, body IpamVrfsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsPartialUpdateResponse, error) + + // IpamVrfsUpdateWithBodyWithResponse request with any body + IpamVrfsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsUpdateResponse, error) + + IpamVrfsUpdateWithResponse(ctx context.Context, id int, body IpamVrfsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsUpdateResponse, error) + + // SchemaRetrieveWithResponse request + SchemaRetrieveWithResponse(ctx context.Context, params *SchemaRetrieveParams, reqEditors ...RequestEditorFn) (*SchemaRetrieveResponse, error) + + // StatusRetrieveWithResponse request + StatusRetrieveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StatusRetrieveResponse, error) + + // TenancyContactAssignmentsBulkDestroyWithBodyWithResponse request with any body + TenancyContactAssignmentsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsBulkDestroyResponse, error) + + TenancyContactAssignmentsBulkDestroyWithResponse(ctx context.Context, body TenancyContactAssignmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsBulkDestroyResponse, error) + + // TenancyContactAssignmentsListWithResponse request + TenancyContactAssignmentsListWithResponse(ctx context.Context, params *TenancyContactAssignmentsListParams, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsListResponse, error) + + // TenancyContactAssignmentsBulkPartialUpdateWithBodyWithResponse request with any body + TenancyContactAssignmentsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsBulkPartialUpdateResponse, error) + + TenancyContactAssignmentsBulkPartialUpdateWithResponse(ctx context.Context, body TenancyContactAssignmentsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsBulkPartialUpdateResponse, error) + + // TenancyContactAssignmentsCreateWithBodyWithResponse request with any body + TenancyContactAssignmentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsCreateResponse, error) + + TenancyContactAssignmentsCreateWithResponse(ctx context.Context, body TenancyContactAssignmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsCreateResponse, error) + + // TenancyContactAssignmentsBulkUpdateWithBodyWithResponse request with any body + TenancyContactAssignmentsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsBulkUpdateResponse, error) + + TenancyContactAssignmentsBulkUpdateWithResponse(ctx context.Context, body TenancyContactAssignmentsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsBulkUpdateResponse, error) + + // TenancyContactAssignmentsDestroyWithResponse request + TenancyContactAssignmentsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsDestroyResponse, error) + + // TenancyContactAssignmentsRetrieveWithResponse request + TenancyContactAssignmentsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsRetrieveResponse, error) + + // TenancyContactAssignmentsPartialUpdateWithBodyWithResponse request with any body + TenancyContactAssignmentsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsPartialUpdateResponse, error) + + TenancyContactAssignmentsPartialUpdateWithResponse(ctx context.Context, id int, body TenancyContactAssignmentsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsPartialUpdateResponse, error) + + // TenancyContactAssignmentsUpdateWithBodyWithResponse request with any body + TenancyContactAssignmentsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsUpdateResponse, error) + + TenancyContactAssignmentsUpdateWithResponse(ctx context.Context, id int, body TenancyContactAssignmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsUpdateResponse, error) + + // TenancyContactGroupsBulkDestroyWithBodyWithResponse request with any body + TenancyContactGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactGroupsBulkDestroyResponse, error) + + TenancyContactGroupsBulkDestroyWithResponse(ctx context.Context, body TenancyContactGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactGroupsBulkDestroyResponse, error) + + // TenancyContactGroupsListWithResponse request + TenancyContactGroupsListWithResponse(ctx context.Context, params *TenancyContactGroupsListParams, reqEditors ...RequestEditorFn) (*TenancyContactGroupsListResponse, error) + + // TenancyContactGroupsBulkPartialUpdateWithBodyWithResponse request with any body + TenancyContactGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactGroupsBulkPartialUpdateResponse, error) + + TenancyContactGroupsBulkPartialUpdateWithResponse(ctx context.Context, body TenancyContactGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactGroupsBulkPartialUpdateResponse, error) + + // TenancyContactGroupsCreateWithBodyWithResponse request with any body + TenancyContactGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactGroupsCreateResponse, error) + + TenancyContactGroupsCreateWithResponse(ctx context.Context, body TenancyContactGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactGroupsCreateResponse, error) + + // TenancyContactGroupsBulkUpdateWithBodyWithResponse request with any body + TenancyContactGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactGroupsBulkUpdateResponse, error) + + TenancyContactGroupsBulkUpdateWithResponse(ctx context.Context, body TenancyContactGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactGroupsBulkUpdateResponse, error) + + // TenancyContactGroupsDestroyWithResponse request + TenancyContactGroupsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactGroupsDestroyResponse, error) + + // TenancyContactGroupsRetrieveWithResponse request + TenancyContactGroupsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactGroupsRetrieveResponse, error) + + // TenancyContactGroupsPartialUpdateWithBodyWithResponse request with any body + TenancyContactGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactGroupsPartialUpdateResponse, error) + + TenancyContactGroupsPartialUpdateWithResponse(ctx context.Context, id int, body TenancyContactGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactGroupsPartialUpdateResponse, error) + + // TenancyContactGroupsUpdateWithBodyWithResponse request with any body + TenancyContactGroupsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactGroupsUpdateResponse, error) + + TenancyContactGroupsUpdateWithResponse(ctx context.Context, id int, body TenancyContactGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactGroupsUpdateResponse, error) + + // TenancyContactRolesBulkDestroyWithBodyWithResponse request with any body + TenancyContactRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactRolesBulkDestroyResponse, error) + + TenancyContactRolesBulkDestroyWithResponse(ctx context.Context, body TenancyContactRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactRolesBulkDestroyResponse, error) + + // TenancyContactRolesListWithResponse request + TenancyContactRolesListWithResponse(ctx context.Context, params *TenancyContactRolesListParams, reqEditors ...RequestEditorFn) (*TenancyContactRolesListResponse, error) + + // TenancyContactRolesBulkPartialUpdateWithBodyWithResponse request with any body + TenancyContactRolesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactRolesBulkPartialUpdateResponse, error) + + TenancyContactRolesBulkPartialUpdateWithResponse(ctx context.Context, body TenancyContactRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactRolesBulkPartialUpdateResponse, error) + + // TenancyContactRolesCreateWithBodyWithResponse request with any body + TenancyContactRolesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactRolesCreateResponse, error) + + TenancyContactRolesCreateWithResponse(ctx context.Context, body TenancyContactRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactRolesCreateResponse, error) + + // TenancyContactRolesBulkUpdateWithBodyWithResponse request with any body + TenancyContactRolesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactRolesBulkUpdateResponse, error) + + TenancyContactRolesBulkUpdateWithResponse(ctx context.Context, body TenancyContactRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactRolesBulkUpdateResponse, error) + + // TenancyContactRolesDestroyWithResponse request + TenancyContactRolesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactRolesDestroyResponse, error) + + // TenancyContactRolesRetrieveWithResponse request + TenancyContactRolesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactRolesRetrieveResponse, error) + + // TenancyContactRolesPartialUpdateWithBodyWithResponse request with any body + TenancyContactRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactRolesPartialUpdateResponse, error) + + TenancyContactRolesPartialUpdateWithResponse(ctx context.Context, id int, body TenancyContactRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactRolesPartialUpdateResponse, error) + + // TenancyContactRolesUpdateWithBodyWithResponse request with any body + TenancyContactRolesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactRolesUpdateResponse, error) + + TenancyContactRolesUpdateWithResponse(ctx context.Context, id int, body TenancyContactRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactRolesUpdateResponse, error) + + // TenancyContactsBulkDestroyWithBodyWithResponse request with any body + TenancyContactsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactsBulkDestroyResponse, error) + + TenancyContactsBulkDestroyWithResponse(ctx context.Context, body TenancyContactsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactsBulkDestroyResponse, error) + + // TenancyContactsListWithResponse request + TenancyContactsListWithResponse(ctx context.Context, params *TenancyContactsListParams, reqEditors ...RequestEditorFn) (*TenancyContactsListResponse, error) + + // TenancyContactsBulkPartialUpdateWithBodyWithResponse request with any body + TenancyContactsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactsBulkPartialUpdateResponse, error) + + TenancyContactsBulkPartialUpdateWithResponse(ctx context.Context, body TenancyContactsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactsBulkPartialUpdateResponse, error) + + // TenancyContactsCreateWithBodyWithResponse request with any body + TenancyContactsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactsCreateResponse, error) + + TenancyContactsCreateWithResponse(ctx context.Context, body TenancyContactsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactsCreateResponse, error) + + // TenancyContactsBulkUpdateWithBodyWithResponse request with any body + TenancyContactsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactsBulkUpdateResponse, error) + + TenancyContactsBulkUpdateWithResponse(ctx context.Context, body TenancyContactsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactsBulkUpdateResponse, error) + + // TenancyContactsDestroyWithResponse request + TenancyContactsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactsDestroyResponse, error) + + // TenancyContactsRetrieveWithResponse request + TenancyContactsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactsRetrieveResponse, error) + + // TenancyContactsPartialUpdateWithBodyWithResponse request with any body + TenancyContactsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactsPartialUpdateResponse, error) + + TenancyContactsPartialUpdateWithResponse(ctx context.Context, id int, body TenancyContactsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactsPartialUpdateResponse, error) + + // TenancyContactsUpdateWithBodyWithResponse request with any body + TenancyContactsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactsUpdateResponse, error) + + TenancyContactsUpdateWithResponse(ctx context.Context, id int, body TenancyContactsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactsUpdateResponse, error) + + // TenancyTenantGroupsBulkDestroyWithBodyWithResponse request with any body + TenancyTenantGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkDestroyResponse, error) + + TenancyTenantGroupsBulkDestroyWithResponse(ctx context.Context, body TenancyTenantGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkDestroyResponse, error) + + // TenancyTenantGroupsListWithResponse request + TenancyTenantGroupsListWithResponse(ctx context.Context, params *TenancyTenantGroupsListParams, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsListResponse, error) + + // TenancyTenantGroupsBulkPartialUpdateWithBodyWithResponse 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) + + // TenancyTenantGroupsCreateWithBodyWithResponse 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) + + // TenancyTenantGroupsBulkUpdateWithBodyWithResponse 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) + + // TenancyTenantGroupsDestroyWithResponse request + TenancyTenantGroupsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsDestroyResponse, error) + + // TenancyTenantGroupsRetrieveWithResponse request + TenancyTenantGroupsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsRetrieveResponse, error) + + // TenancyTenantGroupsPartialUpdateWithBodyWithResponse request with any body + TenancyTenantGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsPartialUpdateResponse, error) + + TenancyTenantGroupsPartialUpdateWithResponse(ctx context.Context, id int, body TenancyTenantGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsPartialUpdateResponse, error) + + // TenancyTenantGroupsUpdateWithBodyWithResponse request with any body + TenancyTenantGroupsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsUpdateResponse, error) + + TenancyTenantGroupsUpdateWithResponse(ctx context.Context, id int, body TenancyTenantGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsUpdateResponse, error) + + // TenancyTenantsBulkDestroyWithBodyWithResponse request with any body + TenancyTenantsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkDestroyResponse, error) + + TenancyTenantsBulkDestroyWithResponse(ctx context.Context, body TenancyTenantsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkDestroyResponse, error) + + // TenancyTenantsListWithResponse request + TenancyTenantsListWithResponse(ctx context.Context, params *TenancyTenantsListParams, reqEditors ...RequestEditorFn) (*TenancyTenantsListResponse, error) + + // TenancyTenantsBulkPartialUpdateWithBodyWithResponse 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) + + // TenancyTenantsCreateWithBodyWithResponse 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) + + // TenancyTenantsBulkUpdateWithBodyWithResponse 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) + + // TenancyTenantsDestroyWithResponse request + TenancyTenantsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyTenantsDestroyResponse, error) + + // TenancyTenantsRetrieveWithResponse request + TenancyTenantsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyTenantsRetrieveResponse, error) + + // TenancyTenantsPartialUpdateWithBodyWithResponse request with any body + TenancyTenantsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsPartialUpdateResponse, error) + + TenancyTenantsPartialUpdateWithResponse(ctx context.Context, id int, body TenancyTenantsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsPartialUpdateResponse, error) + + // TenancyTenantsUpdateWithBodyWithResponse request with any body + TenancyTenantsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsUpdateResponse, error) + + TenancyTenantsUpdateWithResponse(ctx context.Context, id int, body TenancyTenantsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsUpdateResponse, error) + + // UsersConfigRetrieveWithResponse request + UsersConfigRetrieveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersConfigRetrieveResponse, error) + + // UsersGroupsBulkDestroyWithBodyWithResponse request with any body + UsersGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersGroupsBulkDestroyResponse, error) + + UsersGroupsBulkDestroyWithResponse(ctx context.Context, body UsersGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsBulkDestroyResponse, error) + + // UsersGroupsListWithResponse request + UsersGroupsListWithResponse(ctx context.Context, params *UsersGroupsListParams, reqEditors ...RequestEditorFn) (*UsersGroupsListResponse, error) + + // UsersGroupsBulkPartialUpdateWithBodyWithResponse 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) + + // UsersGroupsCreateWithBodyWithResponse 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) + + // UsersGroupsBulkUpdateWithBodyWithResponse 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) + + // UsersGroupsDestroyWithResponse request + UsersGroupsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*UsersGroupsDestroyResponse, error) + + // UsersGroupsRetrieveWithResponse request + UsersGroupsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*UsersGroupsRetrieveResponse, error) + + // UsersGroupsPartialUpdateWithBodyWithResponse 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) + + // UsersGroupsUpdateWithBodyWithResponse 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) + + // UsersPermissionsBulkDestroyWithBodyWithResponse request with any body + UsersPermissionsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkDestroyResponse, error) + + UsersPermissionsBulkDestroyWithResponse(ctx context.Context, body UsersPermissionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkDestroyResponse, error) + + // UsersPermissionsListWithResponse request + UsersPermissionsListWithResponse(ctx context.Context, params *UsersPermissionsListParams, reqEditors ...RequestEditorFn) (*UsersPermissionsListResponse, error) + + // UsersPermissionsBulkPartialUpdateWithBodyWithResponse 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) + + // UsersPermissionsCreateWithBodyWithResponse 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) + + // UsersPermissionsBulkUpdateWithBodyWithResponse 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) + + // UsersPermissionsDestroyWithResponse request + UsersPermissionsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*UsersPermissionsDestroyResponse, error) + + // UsersPermissionsRetrieveWithResponse request + UsersPermissionsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*UsersPermissionsRetrieveResponse, error) + + // UsersPermissionsPartialUpdateWithBodyWithResponse request with any body + UsersPermissionsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsPartialUpdateResponse, error) + + UsersPermissionsPartialUpdateWithResponse(ctx context.Context, id int, body UsersPermissionsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsPartialUpdateResponse, error) + + // UsersPermissionsUpdateWithBodyWithResponse request with any body + UsersPermissionsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsUpdateResponse, error) + + UsersPermissionsUpdateWithResponse(ctx context.Context, id int, body UsersPermissionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsUpdateResponse, error) + + // UsersTokensBulkDestroyWithBodyWithResponse request with any body + UsersTokensBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensBulkDestroyResponse, error) + + UsersTokensBulkDestroyWithResponse(ctx context.Context, body UsersTokensBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensBulkDestroyResponse, error) + + // UsersTokensListWithResponse request + UsersTokensListWithResponse(ctx context.Context, params *UsersTokensListParams, reqEditors ...RequestEditorFn) (*UsersTokensListResponse, error) + + // UsersTokensBulkPartialUpdateWithBodyWithResponse 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) + + // UsersTokensCreateWithBodyWithResponse 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) + + // UsersTokensBulkUpdateWithBodyWithResponse 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) + + // UsersTokensProvisionCreateWithBodyWithResponse request with any body + UsersTokensProvisionCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensProvisionCreateResponse, error) + + UsersTokensProvisionCreateWithResponse(ctx context.Context, body UsersTokensProvisionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensProvisionCreateResponse, error) + + // UsersTokensDestroyWithResponse request + UsersTokensDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*UsersTokensDestroyResponse, error) + + // UsersTokensRetrieveWithResponse request + UsersTokensRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*UsersTokensRetrieveResponse, error) + + // UsersTokensPartialUpdateWithBodyWithResponse request with any body + UsersTokensPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensPartialUpdateResponse, error) + + UsersTokensPartialUpdateWithResponse(ctx context.Context, id int, body UsersTokensPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensPartialUpdateResponse, error) + + // UsersTokensUpdateWithBodyWithResponse request with any body + UsersTokensUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensUpdateResponse, error) + + UsersTokensUpdateWithResponse(ctx context.Context, id int, body UsersTokensUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensUpdateResponse, error) + + // UsersUsersBulkDestroyWithBodyWithResponse request with any body + UsersUsersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersBulkDestroyResponse, error) + + UsersUsersBulkDestroyWithResponse(ctx context.Context, body UsersUsersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersBulkDestroyResponse, error) + + // UsersUsersListWithResponse request + UsersUsersListWithResponse(ctx context.Context, params *UsersUsersListParams, reqEditors ...RequestEditorFn) (*UsersUsersListResponse, error) + + // UsersUsersBulkPartialUpdateWithBodyWithResponse 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) + + // UsersUsersCreateWithBodyWithResponse 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) + + // UsersUsersBulkUpdateWithBodyWithResponse 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) + + // UsersUsersDestroyWithResponse request + UsersUsersDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*UsersUsersDestroyResponse, error) + + // UsersUsersRetrieveWithResponse request + UsersUsersRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*UsersUsersRetrieveResponse, error) + + // UsersUsersPartialUpdateWithBodyWithResponse request with any body + UsersUsersPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersPartialUpdateResponse, error) + + UsersUsersPartialUpdateWithResponse(ctx context.Context, id int, body UsersUsersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersPartialUpdateResponse, error) + + // UsersUsersUpdateWithBodyWithResponse request with any body + UsersUsersUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersUpdateResponse, error) + + UsersUsersUpdateWithResponse(ctx context.Context, id int, body UsersUsersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersUpdateResponse, error) + + // VirtualizationClusterGroupsBulkDestroyWithBodyWithResponse request with any body + VirtualizationClusterGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkDestroyResponse, error) + + VirtualizationClusterGroupsBulkDestroyWithResponse(ctx context.Context, body VirtualizationClusterGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkDestroyResponse, error) + + // VirtualizationClusterGroupsListWithResponse request + VirtualizationClusterGroupsListWithResponse(ctx context.Context, params *VirtualizationClusterGroupsListParams, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsListResponse, error) + + // VirtualizationClusterGroupsBulkPartialUpdateWithBodyWithResponse 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) + + // VirtualizationClusterGroupsCreateWithBodyWithResponse 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) + + // VirtualizationClusterGroupsBulkUpdateWithBodyWithResponse 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) + + // VirtualizationClusterGroupsDestroyWithResponse request + VirtualizationClusterGroupsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsDestroyResponse, error) + + // VirtualizationClusterGroupsRetrieveWithResponse request + VirtualizationClusterGroupsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsRetrieveResponse, error) + + // VirtualizationClusterGroupsPartialUpdateWithBodyWithResponse request with any body + VirtualizationClusterGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsPartialUpdateResponse, error) + + VirtualizationClusterGroupsPartialUpdateWithResponse(ctx context.Context, id int, body VirtualizationClusterGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsPartialUpdateResponse, error) + + // VirtualizationClusterGroupsUpdateWithBodyWithResponse request with any body + VirtualizationClusterGroupsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsUpdateResponse, error) + + VirtualizationClusterGroupsUpdateWithResponse(ctx context.Context, id int, body VirtualizationClusterGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsUpdateResponse, error) + + // VirtualizationClusterTypesBulkDestroyWithBodyWithResponse request with any body + VirtualizationClusterTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkDestroyResponse, error) + + VirtualizationClusterTypesBulkDestroyWithResponse(ctx context.Context, body VirtualizationClusterTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkDestroyResponse, error) + + // VirtualizationClusterTypesListWithResponse request + VirtualizationClusterTypesListWithResponse(ctx context.Context, params *VirtualizationClusterTypesListParams, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesListResponse, error) + + // VirtualizationClusterTypesBulkPartialUpdateWithBodyWithResponse 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) + + // VirtualizationClusterTypesCreateWithBodyWithResponse 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) + + // VirtualizationClusterTypesBulkUpdateWithBodyWithResponse 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) + + // VirtualizationClusterTypesDestroyWithResponse request + VirtualizationClusterTypesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesDestroyResponse, error) + + // VirtualizationClusterTypesRetrieveWithResponse request + VirtualizationClusterTypesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesRetrieveResponse, error) + + // VirtualizationClusterTypesPartialUpdateWithBodyWithResponse request with any body + VirtualizationClusterTypesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesPartialUpdateResponse, error) + + VirtualizationClusterTypesPartialUpdateWithResponse(ctx context.Context, id int, body VirtualizationClusterTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesPartialUpdateResponse, error) + + // VirtualizationClusterTypesUpdateWithBodyWithResponse request with any body + VirtualizationClusterTypesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesUpdateResponse, error) + + VirtualizationClusterTypesUpdateWithResponse(ctx context.Context, id int, body VirtualizationClusterTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesUpdateResponse, error) + + // VirtualizationClustersBulkDestroyWithBodyWithResponse request with any body + VirtualizationClustersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkDestroyResponse, error) + + VirtualizationClustersBulkDestroyWithResponse(ctx context.Context, body VirtualizationClustersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkDestroyResponse, error) + + // VirtualizationClustersListWithResponse request + VirtualizationClustersListWithResponse(ctx context.Context, params *VirtualizationClustersListParams, reqEditors ...RequestEditorFn) (*VirtualizationClustersListResponse, error) + + // VirtualizationClustersBulkPartialUpdateWithBodyWithResponse 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) + + // VirtualizationClustersCreateWithBodyWithResponse 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) + + // VirtualizationClustersBulkUpdateWithBodyWithResponse 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) + + // VirtualizationClustersDestroyWithResponse request + VirtualizationClustersDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*VirtualizationClustersDestroyResponse, error) + + // VirtualizationClustersRetrieveWithResponse request + VirtualizationClustersRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*VirtualizationClustersRetrieveResponse, error) + + // VirtualizationClustersPartialUpdateWithBodyWithResponse request with any body + VirtualizationClustersPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersPartialUpdateResponse, error) + + VirtualizationClustersPartialUpdateWithResponse(ctx context.Context, id int, body VirtualizationClustersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersPartialUpdateResponse, error) + + // VirtualizationClustersUpdateWithBodyWithResponse request with any body + VirtualizationClustersUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersUpdateResponse, error) + + VirtualizationClustersUpdateWithResponse(ctx context.Context, id int, body VirtualizationClustersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersUpdateResponse, error) + + // VirtualizationInterfacesBulkDestroyWithBodyWithResponse request with any body + VirtualizationInterfacesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkDestroyResponse, error) + + VirtualizationInterfacesBulkDestroyWithResponse(ctx context.Context, body VirtualizationInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkDestroyResponse, error) + + // VirtualizationInterfacesListWithResponse request + VirtualizationInterfacesListWithResponse(ctx context.Context, params *VirtualizationInterfacesListParams, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesListResponse, error) + + // VirtualizationInterfacesBulkPartialUpdateWithBodyWithResponse 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) + + // VirtualizationInterfacesCreateWithBodyWithResponse 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) + + // VirtualizationInterfacesBulkUpdateWithBodyWithResponse 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) + + // VirtualizationInterfacesDestroyWithResponse request + VirtualizationInterfacesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesDestroyResponse, error) + + // VirtualizationInterfacesRetrieveWithResponse request + VirtualizationInterfacesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesRetrieveResponse, error) + + // VirtualizationInterfacesPartialUpdateWithBodyWithResponse request with any body + VirtualizationInterfacesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesPartialUpdateResponse, error) + + VirtualizationInterfacesPartialUpdateWithResponse(ctx context.Context, id int, body VirtualizationInterfacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesPartialUpdateResponse, error) + + // VirtualizationInterfacesUpdateWithBodyWithResponse request with any body + VirtualizationInterfacesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesUpdateResponse, error) + + VirtualizationInterfacesUpdateWithResponse(ctx context.Context, id int, body VirtualizationInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesUpdateResponse, error) + + // VirtualizationVirtualMachinesBulkDestroyWithBodyWithResponse request with any body + VirtualizationVirtualMachinesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkDestroyResponse, error) + + VirtualizationVirtualMachinesBulkDestroyWithResponse(ctx context.Context, body VirtualizationVirtualMachinesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkDestroyResponse, error) + + // VirtualizationVirtualMachinesListWithResponse request + VirtualizationVirtualMachinesListWithResponse(ctx context.Context, params *VirtualizationVirtualMachinesListParams, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesListResponse, error) + + // VirtualizationVirtualMachinesBulkPartialUpdateWithBodyWithResponse 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) + + // VirtualizationVirtualMachinesCreateWithBodyWithResponse 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) + + // VirtualizationVirtualMachinesBulkUpdateWithBodyWithResponse 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) + + // VirtualizationVirtualMachinesDestroyWithResponse request + VirtualizationVirtualMachinesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesDestroyResponse, error) + + // VirtualizationVirtualMachinesRetrieveWithResponse request + VirtualizationVirtualMachinesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesRetrieveResponse, error) + + // VirtualizationVirtualMachinesPartialUpdateWithBodyWithResponse request with any body + VirtualizationVirtualMachinesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesPartialUpdateResponse, error) + + VirtualizationVirtualMachinesPartialUpdateWithResponse(ctx context.Context, id int, body VirtualizationVirtualMachinesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesPartialUpdateResponse, error) + + // VirtualizationVirtualMachinesUpdateWithBodyWithResponse request with any body + VirtualizationVirtualMachinesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesUpdateResponse, error) + + VirtualizationVirtualMachinesUpdateWithResponse(ctx context.Context, id int, body VirtualizationVirtualMachinesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesUpdateResponse, error) + + // WirelessWirelessLanGroupsBulkDestroyWithBodyWithResponse request with any body + WirelessWirelessLanGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsBulkDestroyResponse, error) + + WirelessWirelessLanGroupsBulkDestroyWithResponse(ctx context.Context, body WirelessWirelessLanGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsBulkDestroyResponse, error) + + // WirelessWirelessLanGroupsListWithResponse request + WirelessWirelessLanGroupsListWithResponse(ctx context.Context, params *WirelessWirelessLanGroupsListParams, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsListResponse, error) + + // WirelessWirelessLanGroupsBulkPartialUpdateWithBodyWithResponse request with any body + WirelessWirelessLanGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsBulkPartialUpdateResponse, error) + + WirelessWirelessLanGroupsBulkPartialUpdateWithResponse(ctx context.Context, body WirelessWirelessLanGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsBulkPartialUpdateResponse, error) + + // WirelessWirelessLanGroupsCreateWithBodyWithResponse request with any body + WirelessWirelessLanGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsCreateResponse, error) + + WirelessWirelessLanGroupsCreateWithResponse(ctx context.Context, body WirelessWirelessLanGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsCreateResponse, error) + + // WirelessWirelessLanGroupsBulkUpdateWithBodyWithResponse request with any body + WirelessWirelessLanGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsBulkUpdateResponse, error) + + WirelessWirelessLanGroupsBulkUpdateWithResponse(ctx context.Context, body WirelessWirelessLanGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsBulkUpdateResponse, error) + + // WirelessWirelessLanGroupsDestroyWithResponse request + WirelessWirelessLanGroupsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsDestroyResponse, error) + + // WirelessWirelessLanGroupsRetrieveWithResponse request + WirelessWirelessLanGroupsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsRetrieveResponse, error) + + // WirelessWirelessLanGroupsPartialUpdateWithBodyWithResponse request with any body + WirelessWirelessLanGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsPartialUpdateResponse, error) + + WirelessWirelessLanGroupsPartialUpdateWithResponse(ctx context.Context, id int, body WirelessWirelessLanGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsPartialUpdateResponse, error) + + // WirelessWirelessLanGroupsUpdateWithBodyWithResponse request with any body + WirelessWirelessLanGroupsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsUpdateResponse, error) + + WirelessWirelessLanGroupsUpdateWithResponse(ctx context.Context, id int, body WirelessWirelessLanGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsUpdateResponse, error) + + // WirelessWirelessLansBulkDestroyWithBodyWithResponse request with any body + WirelessWirelessLansBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLansBulkDestroyResponse, error) + + WirelessWirelessLansBulkDestroyWithResponse(ctx context.Context, body WirelessWirelessLansBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLansBulkDestroyResponse, error) + + // WirelessWirelessLansListWithResponse request + WirelessWirelessLansListWithResponse(ctx context.Context, params *WirelessWirelessLansListParams, reqEditors ...RequestEditorFn) (*WirelessWirelessLansListResponse, error) + + // WirelessWirelessLansBulkPartialUpdateWithBodyWithResponse request with any body + WirelessWirelessLansBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLansBulkPartialUpdateResponse, error) + + WirelessWirelessLansBulkPartialUpdateWithResponse(ctx context.Context, body WirelessWirelessLansBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLansBulkPartialUpdateResponse, error) + + // WirelessWirelessLansCreateWithBodyWithResponse request with any body + WirelessWirelessLansCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLansCreateResponse, error) + + WirelessWirelessLansCreateWithResponse(ctx context.Context, body WirelessWirelessLansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLansCreateResponse, error) + + // WirelessWirelessLansBulkUpdateWithBodyWithResponse request with any body + WirelessWirelessLansBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLansBulkUpdateResponse, error) + + WirelessWirelessLansBulkUpdateWithResponse(ctx context.Context, body WirelessWirelessLansBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLansBulkUpdateResponse, error) + + // WirelessWirelessLansDestroyWithResponse request + WirelessWirelessLansDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*WirelessWirelessLansDestroyResponse, error) + + // WirelessWirelessLansRetrieveWithResponse request + WirelessWirelessLansRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*WirelessWirelessLansRetrieveResponse, error) + + // WirelessWirelessLansPartialUpdateWithBodyWithResponse request with any body + WirelessWirelessLansPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLansPartialUpdateResponse, error) + + WirelessWirelessLansPartialUpdateWithResponse(ctx context.Context, id int, body WirelessWirelessLansPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLansPartialUpdateResponse, error) + + // WirelessWirelessLansUpdateWithBodyWithResponse request with any body + WirelessWirelessLansUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLansUpdateResponse, error) + + WirelessWirelessLansUpdateWithResponse(ctx context.Context, id int, body WirelessWirelessLansUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLansUpdateResponse, error) + + // WirelessWirelessLinksBulkDestroyWithBodyWithResponse request with any body + WirelessWirelessLinksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksBulkDestroyResponse, error) + + WirelessWirelessLinksBulkDestroyWithResponse(ctx context.Context, body WirelessWirelessLinksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksBulkDestroyResponse, error) + + // WirelessWirelessLinksListWithResponse request + WirelessWirelessLinksListWithResponse(ctx context.Context, params *WirelessWirelessLinksListParams, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksListResponse, error) + + // WirelessWirelessLinksBulkPartialUpdateWithBodyWithResponse request with any body + WirelessWirelessLinksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksBulkPartialUpdateResponse, error) + + WirelessWirelessLinksBulkPartialUpdateWithResponse(ctx context.Context, body WirelessWirelessLinksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksBulkPartialUpdateResponse, error) + + // WirelessWirelessLinksCreateWithBodyWithResponse request with any body + WirelessWirelessLinksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksCreateResponse, error) + + WirelessWirelessLinksCreateWithResponse(ctx context.Context, body WirelessWirelessLinksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksCreateResponse, error) + + // WirelessWirelessLinksBulkUpdateWithBodyWithResponse request with any body + WirelessWirelessLinksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksBulkUpdateResponse, error) + + WirelessWirelessLinksBulkUpdateWithResponse(ctx context.Context, body WirelessWirelessLinksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksBulkUpdateResponse, error) + + // WirelessWirelessLinksDestroyWithResponse request + WirelessWirelessLinksDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksDestroyResponse, error) + + // WirelessWirelessLinksRetrieveWithResponse request + WirelessWirelessLinksRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksRetrieveResponse, error) + + // WirelessWirelessLinksPartialUpdateWithBodyWithResponse request with any body + WirelessWirelessLinksPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksPartialUpdateResponse, error) + + WirelessWirelessLinksPartialUpdateWithResponse(ctx context.Context, id int, body WirelessWirelessLinksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksPartialUpdateResponse, error) + + // WirelessWirelessLinksUpdateWithBodyWithResponse request with any body + WirelessWirelessLinksUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksUpdateResponse, error) + + WirelessWirelessLinksUpdateWithResponse(ctx context.Context, id int, body WirelessWirelessLinksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksUpdateResponse, 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 + JSON200 *PaginatedCircuitTerminationList +} + +// 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 + JSON200 *[]CircuitTermination +} + +// 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 + JSON201 *CircuitTermination +} + +// 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 + JSON200 *[]CircuitTermination +} + +// 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 + JSON200 *CircuitTermination +} + +// 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 + JSON200 *CircuitTermination +} + +// 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 + JSON200 *CircuitTermination +} + +// 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 CircuitsCircuitTerminationsPathsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CircuitTermination +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTerminationsPathsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTerminationsPathsRetrieveResponse) 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 + JSON200 *PaginatedCircuitTypeList +} + +// 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 + JSON200 *[]CircuitType +} + +// 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 + JSON201 *CircuitType +} + +// 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 + JSON200 *[]CircuitType +} + +// 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 + JSON200 *CircuitType +} + +// 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 + JSON200 *CircuitType +} + +// 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 + JSON200 *CircuitType +} + +// 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 + JSON200 *PaginatedCircuitList +} + +// 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 + JSON200 *[]Circuit +} + +// 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 + JSON201 *Circuit +} + +// 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 + JSON200 *[]Circuit +} + +// 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 + JSON200 *Circuit +} + +// 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 + JSON200 *Circuit +} + +// 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 + JSON200 *Circuit +} + +// 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 CircuitsProviderAccountsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderAccountsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderAccountsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderAccountsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedProviderAccountList +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderAccountsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderAccountsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderAccountsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ProviderAccount +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderAccountsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderAccountsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderAccountsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *ProviderAccount +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderAccountsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderAccountsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderAccountsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ProviderAccount +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderAccountsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderAccountsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderAccountsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderAccountsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderAccountsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderAccountsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ProviderAccount +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderAccountsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderAccountsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderAccountsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ProviderAccount +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderAccountsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderAccountsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderAccountsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ProviderAccount +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderAccountsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderAccountsUpdateResponse) 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 + JSON200 *PaginatedProviderNetworkList +} + +// 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 + JSON200 *[]ProviderNetwork +} + +// 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 + JSON201 *ProviderNetwork +} + +// 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 + JSON200 *[]ProviderNetwork +} + +// 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 + JSON200 *ProviderNetwork +} + +// 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 + JSON200 *ProviderNetwork +} + +// 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 + JSON200 *ProviderNetwork +} + +// 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 + JSON200 *PaginatedProviderList +} + +// 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 + JSON200 *[]Provider +} + +// 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 + JSON201 *Provider +} + +// 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 + JSON200 *[]Provider +} + +// 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 + JSON200 *Provider +} + +// 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 + JSON200 *Provider +} + +// 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 + JSON200 *Provider +} + +// 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 CoreDataFilesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedDataFileList +} + +// Status returns HTTPResponse.Status +func (r CoreDataFilesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CoreDataFilesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CoreDataFilesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *DataFile +} + +// Status returns HTTPResponse.Status +func (r CoreDataFilesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CoreDataFilesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CoreDataSourcesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CoreDataSourcesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CoreDataSourcesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CoreDataSourcesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedDataSourceList +} + +// Status returns HTTPResponse.Status +func (r CoreDataSourcesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CoreDataSourcesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CoreDataSourcesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]DataSource +} + +// Status returns HTTPResponse.Status +func (r CoreDataSourcesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CoreDataSourcesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CoreDataSourcesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *DataSource +} + +// Status returns HTTPResponse.Status +func (r CoreDataSourcesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CoreDataSourcesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CoreDataSourcesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]DataSource +} + +// Status returns HTTPResponse.Status +func (r CoreDataSourcesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CoreDataSourcesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CoreDataSourcesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CoreDataSourcesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CoreDataSourcesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CoreDataSourcesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *DataSource +} + +// Status returns HTTPResponse.Status +func (r CoreDataSourcesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CoreDataSourcesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CoreDataSourcesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *DataSource +} + +// Status returns HTTPResponse.Status +func (r CoreDataSourcesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CoreDataSourcesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CoreDataSourcesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *DataSource +} + +// Status returns HTTPResponse.Status +func (r CoreDataSourcesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CoreDataSourcesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CoreDataSourcesSyncCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *DataSource +} + +// Status returns HTTPResponse.Status +func (r CoreDataSourcesSyncCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CoreDataSourcesSyncCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CoreJobsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedJobList +} + +// Status returns HTTPResponse.Status +func (r CoreJobsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CoreJobsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CoreJobsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Job +} + +// Status returns HTTPResponse.Status +func (r CoreJobsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CoreJobsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCableTerminationsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimCableTerminationsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCableTerminationsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCableTerminationsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedCableTerminationList +} + +// Status returns HTTPResponse.Status +func (r DcimCableTerminationsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCableTerminationsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCableTerminationsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]CableTermination +} + +// Status returns HTTPResponse.Status +func (r DcimCableTerminationsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCableTerminationsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCableTerminationsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *CableTermination +} + +// Status returns HTTPResponse.Status +func (r DcimCableTerminationsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCableTerminationsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCableTerminationsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]CableTermination +} + +// Status returns HTTPResponse.Status +func (r DcimCableTerminationsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCableTerminationsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCableTerminationsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimCableTerminationsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCableTerminationsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCableTerminationsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CableTermination +} + +// Status returns HTTPResponse.Status +func (r DcimCableTerminationsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCableTerminationsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCableTerminationsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CableTermination +} + +// Status returns HTTPResponse.Status +func (r DcimCableTerminationsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCableTerminationsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCableTerminationsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CableTermination +} + +// Status returns HTTPResponse.Status +func (r DcimCableTerminationsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCableTerminationsUpdateResponse) 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 + JSON200 *PaginatedCableList +} + +// 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 + JSON200 *[]Cable +} + +// 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 + JSON201 *Cable +} + +// 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 + JSON200 *[]Cable +} + +// 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 + JSON200 *Cable +} + +// 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 + JSON200 *Cable +} + +// 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 + JSON200 *Cable +} + +// 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 + JSON200 *[]Device +} + +// 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 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 + JSON200 *PaginatedConsolePortTemplateList +} + +// 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 + JSON200 *[]ConsolePortTemplate +} + +// 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 + JSON201 *ConsolePortTemplate +} + +// 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 + JSON200 *[]ConsolePortTemplate +} + +// 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 + JSON200 *ConsolePortTemplate +} + +// 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 + JSON200 *ConsolePortTemplate +} + +// 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 + JSON200 *ConsolePortTemplate +} + +// 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 + JSON200 *PaginatedConsolePortList +} + +// 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 + JSON200 *[]ConsolePort +} + +// 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 + JSON201 *ConsolePort +} + +// 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 + JSON200 *[]ConsolePort +} + +// 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 + JSON200 *ConsolePort +} + +// 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 + JSON200 *ConsolePort +} + +// 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 + JSON200 *ConsolePort +} + +// 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 + JSON200 *ConsolePort +} + +// 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 + JSON200 *PaginatedConsoleServerPortTemplateList +} + +// 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 + JSON200 *[]ConsoleServerPortTemplate +} + +// 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 + JSON201 *ConsoleServerPortTemplate +} + +// 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 + JSON200 *[]ConsoleServerPortTemplate +} + +// 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 + JSON200 *ConsoleServerPortTemplate +} + +// 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 + JSON200 *ConsoleServerPortTemplate +} + +// 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 + JSON200 *ConsoleServerPortTemplate +} + +// 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 + JSON200 *PaginatedConsoleServerPortList +} + +// 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 + JSON200 *[]ConsoleServerPort +} + +// 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 + JSON201 *ConsoleServerPort +} + +// 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 + JSON200 *[]ConsoleServerPort +} + +// 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 + JSON200 *ConsoleServerPort +} + +// 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 + JSON200 *ConsoleServerPort +} + +// 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 + JSON200 *ConsoleServerPort +} + +// 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 + JSON200 *ConsoleServerPort +} + +// 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 + JSON200 *PaginatedDeviceBayTemplateList +} + +// 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 + JSON200 *[]DeviceBayTemplate +} + +// 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 + JSON201 *DeviceBayTemplate +} + +// 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 + JSON200 *[]DeviceBayTemplate +} + +// 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 + JSON200 *DeviceBayTemplate +} + +// 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 + JSON200 *DeviceBayTemplate +} + +// 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 + JSON200 *DeviceBayTemplate +} + +// 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 + JSON200 *PaginatedDeviceBayList +} + +// 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 + JSON200 *[]DeviceBay +} + +// 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 + JSON201 *DeviceBay +} + +// 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 + JSON200 *[]DeviceBay +} + +// 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 + JSON200 *DeviceBay +} + +// 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 + JSON200 *DeviceBay +} + +// 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 + JSON200 *DeviceBay +} + +// 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 + JSON200 *PaginatedDeviceRoleList +} + +// 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 + JSON200 *[]DeviceRole +} + +// 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 + JSON201 *DeviceRole +} + +// 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 + JSON200 *[]DeviceRole +} + +// 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 + JSON200 *DeviceRole +} + +// 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 + JSON200 *DeviceRole +} + +// 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 + JSON200 *DeviceRole +} + +// 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 + JSON200 *PaginatedDeviceTypeList +} + +// 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 + JSON200 *[]DeviceType +} + +// 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 + JSON201 *DeviceType +} + +// 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 + JSON200 *[]DeviceType +} + +// 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 + JSON200 *DeviceType +} + +// 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 + JSON200 *DeviceType +} + +// 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 + JSON200 *DeviceType +} + +// 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 + JSON200 *PaginatedDeviceWithConfigContextList +} + +// 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 + JSON200 *[]DeviceWithConfigContext +} + +// 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 + JSON201 *DeviceWithConfigContext +} + +// 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 + JSON200 *[]DeviceWithConfigContext +} + +// 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 + JSON200 *DeviceWithConfigContext +} + +// 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 + JSON200 *DeviceWithConfigContext +} + +// 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 + JSON200 *DeviceWithConfigContext +} + +// 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 DcimDevicesRenderConfigCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *DeviceWithConfigContext +} + +// Status returns HTTPResponse.Status +func (r DcimDevicesRenderConfigCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDevicesRenderConfigCreateResponse) 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 + JSON200 *PaginatedFrontPortTemplateList +} + +// 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 + JSON200 *[]FrontPortTemplate +} + +// 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 + JSON201 *FrontPortTemplate +} + +// 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 + JSON200 *[]FrontPortTemplate +} + +// 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 + JSON200 *FrontPortTemplate +} + +// 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 + JSON200 *FrontPortTemplate +} + +// 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 + JSON200 *FrontPortTemplate +} + +// 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 + JSON200 *PaginatedFrontPortList +} + +// 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 + JSON200 *[]FrontPort +} + +// 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 + JSON201 *FrontPort +} + +// 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 + JSON200 *[]FrontPort +} + +// 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 + JSON200 *FrontPort +} + +// 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 + JSON200 *FrontPort +} + +// 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 + JSON200 *FrontPort +} + +// 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 + JSON200 *FrontPort +} + +// 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 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 + JSON200 *PaginatedInterfaceTemplateList +} + +// 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 + JSON200 *[]InterfaceTemplate +} + +// 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 + JSON201 *InterfaceTemplate +} + +// 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 + JSON200 *[]InterfaceTemplate +} + +// 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 + JSON200 *InterfaceTemplate +} + +// 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 + JSON200 *InterfaceTemplate +} + +// 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 + JSON200 *InterfaceTemplate +} + +// 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 + JSON200 *PaginatedInterfaceList +} + +// 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 + JSON200 *[]Interface +} + +// 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 + JSON201 *Interface +} + +// 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 + JSON200 *[]Interface +} + +// 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 + JSON200 *Interface +} + +// 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 + JSON200 *Interface +} + +// 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 + JSON200 *Interface +} + +// 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 + JSON200 *Interface +} + +// 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 DcimInventoryItemRolesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemRolesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemRolesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemRolesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedInventoryItemRoleList +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemRolesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemRolesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemRolesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]InventoryItemRole +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemRolesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemRolesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemRolesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *InventoryItemRole +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemRolesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemRolesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemRolesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]InventoryItemRole +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemRolesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemRolesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemRolesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemRolesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemRolesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemRolesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *InventoryItemRole +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemRolesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemRolesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemRolesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *InventoryItemRole +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemRolesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemRolesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemRolesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *InventoryItemRole +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemRolesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemRolesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedInventoryItemTemplateList +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]InventoryItemTemplate +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *InventoryItemTemplate +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]InventoryItemTemplate +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemTemplatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemTemplatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemTemplatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *InventoryItemTemplate +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemTemplatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemTemplatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *InventoryItemTemplate +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemTemplatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemTemplatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *InventoryItemTemplate +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemTemplatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemTemplatesUpdateResponse) 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 + JSON200 *PaginatedInventoryItemList +} + +// 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 + JSON200 *[]InventoryItem +} + +// 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 + JSON201 *InventoryItem +} + +// 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 + JSON200 *[]InventoryItem +} + +// 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 + JSON200 *InventoryItem +} + +// 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 + JSON200 *InventoryItem +} + +// 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 + JSON200 *InventoryItem +} + +// 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 DcimLocationsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedLocationList +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]Location +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *Location +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]Location +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Location +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Location +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Location +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type 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 + JSON200 *PaginatedManufacturerList +} + +// 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 + JSON200 *[]Manufacturer +} + +// 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 + JSON201 *Manufacturer +} + +// 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 + JSON200 *[]Manufacturer +} + +// 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 + JSON200 *Manufacturer +} + +// 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 + JSON200 *Manufacturer +} + +// 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 + JSON200 *Manufacturer +} + +// 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 DcimModuleBayTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBayTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBayTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBayTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedModuleBayTemplateList +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBayTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBayTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBayTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ModuleBayTemplate +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBayTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBayTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBayTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *ModuleBayTemplate +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBayTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBayTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBayTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ModuleBayTemplate +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBayTemplatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBayTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBayTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBayTemplatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBayTemplatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBayTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleBayTemplate +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBayTemplatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBayTemplatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBayTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleBayTemplate +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBayTemplatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBayTemplatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBayTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleBayTemplate +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBayTemplatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBayTemplatesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBaysBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBaysBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBaysBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBaysListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedModuleBayList +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBaysListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBaysListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBaysBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ModuleBay +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBaysBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBaysBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBaysCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *ModuleBay +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBaysCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBaysCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBaysBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ModuleBay +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBaysBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBaysBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBaysDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBaysDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBaysDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBaysRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleBay +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBaysRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBaysRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBaysPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleBay +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBaysPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBaysPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleBaysUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleBay +} + +// Status returns HTTPResponse.Status +func (r DcimModuleBaysUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleBaysUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleTypesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimModuleTypesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleTypesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleTypesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedModuleTypeList +} + +// Status returns HTTPResponse.Status +func (r DcimModuleTypesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleTypesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleTypesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ModuleType +} + +// Status returns HTTPResponse.Status +func (r DcimModuleTypesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleTypesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleTypesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *ModuleType +} + +// Status returns HTTPResponse.Status +func (r DcimModuleTypesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleTypesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleTypesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ModuleType +} + +// Status returns HTTPResponse.Status +func (r DcimModuleTypesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleTypesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleTypesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimModuleTypesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleTypesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleTypesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleType +} + +// Status returns HTTPResponse.Status +func (r DcimModuleTypesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleTypesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleTypesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleType +} + +// Status returns HTTPResponse.Status +func (r DcimModuleTypesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleTypesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModuleTypesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleType +} + +// Status returns HTTPResponse.Status +func (r DcimModuleTypesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModuleTypesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModulesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimModulesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModulesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModulesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedModuleList +} + +// Status returns HTTPResponse.Status +func (r DcimModulesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModulesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModulesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]Module +} + +// Status returns HTTPResponse.Status +func (r DcimModulesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModulesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModulesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *Module +} + +// Status returns HTTPResponse.Status +func (r DcimModulesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModulesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModulesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]Module +} + +// Status returns HTTPResponse.Status +func (r DcimModulesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModulesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModulesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimModulesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModulesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModulesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Module +} + +// Status returns HTTPResponse.Status +func (r DcimModulesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModulesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModulesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Module +} + +// Status returns HTTPResponse.Status +func (r DcimModulesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModulesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimModulesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Module +} + +// Status returns HTTPResponse.Status +func (r DcimModulesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimModulesUpdateResponse) 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 + JSON200 *PaginatedPlatformList +} + +// 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 + JSON200 *[]Platform +} + +// 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 + JSON201 *Platform +} + +// 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 + JSON200 *[]Platform +} + +// 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 + JSON200 *Platform +} + +// 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 + JSON200 *Platform +} + +// 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 + JSON200 *Platform +} + +// 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 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 + JSON200 *PaginatedPowerFeedList +} + +// 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 + JSON200 *[]PowerFeed +} + +// 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 + JSON201 *PowerFeed +} + +// 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 + JSON200 *[]PowerFeed +} + +// 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 + JSON200 *PowerFeed +} + +// 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 + JSON200 *PowerFeed +} + +// 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 + JSON200 *PowerFeed +} + +// 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 + JSON200 *PowerFeed +} + +// 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 + JSON200 *PaginatedPowerOutletTemplateList +} + +// 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 + JSON200 *[]PowerOutletTemplate +} + +// 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 + JSON201 *PowerOutletTemplate +} + +// 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 + JSON200 *[]PowerOutletTemplate +} + +// 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 + JSON200 *PowerOutletTemplate +} + +// 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 + JSON200 *PowerOutletTemplate +} + +// 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 + JSON200 *PowerOutletTemplate +} + +// 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 + JSON200 *PaginatedPowerOutletList +} + +// 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 + JSON200 *[]PowerOutlet +} + +// 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 + JSON201 *PowerOutlet +} + +// 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 + JSON200 *[]PowerOutlet +} + +// 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 + JSON200 *PowerOutlet +} + +// 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 + JSON200 *PowerOutlet +} + +// 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 + JSON200 *PowerOutlet +} + +// 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 + JSON200 *PowerOutlet +} + +// 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 + JSON200 *PaginatedPowerPanelList +} + +// 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 + JSON200 *[]PowerPanel +} + +// 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 + JSON201 *PowerPanel +} + +// 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 + JSON200 *[]PowerPanel +} + +// 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 + JSON200 *PowerPanel +} + +// 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 + JSON200 *PowerPanel +} + +// 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 + JSON200 *PowerPanel +} + +// 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 + JSON200 *PaginatedPowerPortTemplateList +} + +// 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 + JSON200 *[]PowerPortTemplate +} + +// 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 + JSON201 *PowerPortTemplate +} + +// 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 + JSON200 *[]PowerPortTemplate +} + +// 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 + JSON200 *PowerPortTemplate +} + +// 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 + JSON200 *PowerPortTemplate +} + +// 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 + JSON200 *PowerPortTemplate +} + +// 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 + JSON200 *PaginatedPowerPortList +} + +// 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 + JSON200 *[]PowerPort +} + +// 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 + JSON201 *PowerPort +} + +// 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 + JSON200 *[]PowerPort +} + +// 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 + JSON200 *PowerPort +} + +// 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 + JSON200 *PowerPort +} + +// 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 + JSON200 *PowerPort +} + +// 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 + JSON200 *PowerPort +} + +// 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 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 + JSON200 *PaginatedRackReservationList +} + +// 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 + JSON200 *[]RackReservation +} + +// 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 + JSON201 *RackReservation +} + +// 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 + JSON200 *[]RackReservation +} + +// 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 + JSON200 *RackReservation +} + +// 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 + JSON200 *RackReservation +} + +// 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 + JSON200 *RackReservation +} + +// 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 + JSON200 *PaginatedRackRoleList +} + +// 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 + JSON200 *[]RackRole +} + +// 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 + JSON201 *RackRole +} + +// 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 + JSON200 *[]RackRole +} + +// 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 + JSON200 *RackRole +} + +// 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 + JSON200 *RackRole +} + +// 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 + JSON200 *RackRole +} + +// 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 + JSON200 *PaginatedRackList +} + +// 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 + JSON200 *[]Rack +} + +// 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 + JSON201 *Rack +} + +// 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 + JSON200 *[]Rack +} + +// 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 + JSON200 *Rack +} + +// 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 + JSON200 *Rack +} + +// 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 + JSON200 *Rack +} + +// 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 DcimRacksElevationRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Rack +} + +// Status returns HTTPResponse.Status +func (r DcimRacksElevationRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRacksElevationRetrieveResponse) 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 + JSON200 *PaginatedRearPortTemplateList +} + +// 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 + JSON200 *[]RearPortTemplate +} + +// 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 + JSON201 *RearPortTemplate +} + +// 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 + JSON200 *[]RearPortTemplate +} + +// 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 + JSON200 *RearPortTemplate +} + +// 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 + JSON200 *RearPortTemplate +} + +// 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 + JSON200 *RearPortTemplate +} + +// 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 + JSON200 *PaginatedRearPortList +} + +// 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 + JSON200 *[]RearPort +} + +// 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 + JSON201 *RearPort +} + +// 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 + JSON200 *[]RearPort +} + +// 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 + JSON200 *RearPort +} + +// 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 + JSON200 *RearPort +} + +// 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 + JSON200 *RearPort +} + +// 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 + JSON200 *RearPort +} + +// 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 + JSON200 *PaginatedRegionList +} + +// 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 + JSON200 *[]Region +} + +// 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 + JSON201 *Region +} + +// 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 + JSON200 *[]Region +} + +// 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 + JSON200 *Region +} + +// 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 + JSON200 *Region +} + +// 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 + JSON200 *Region +} + +// 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 DcimSiteGroupsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimSiteGroupsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSiteGroupsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSiteGroupsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedSiteGroupList +} + +// Status returns HTTPResponse.Status +func (r DcimSiteGroupsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSiteGroupsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSiteGroupsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]SiteGroup +} + +// Status returns HTTPResponse.Status +func (r DcimSiteGroupsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSiteGroupsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSiteGroupsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *SiteGroup +} + +// Status returns HTTPResponse.Status +func (r DcimSiteGroupsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSiteGroupsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSiteGroupsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]SiteGroup +} + +// Status returns HTTPResponse.Status +func (r DcimSiteGroupsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSiteGroupsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSiteGroupsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimSiteGroupsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSiteGroupsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSiteGroupsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SiteGroup +} + +// Status returns HTTPResponse.Status +func (r DcimSiteGroupsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSiteGroupsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSiteGroupsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SiteGroup +} + +// Status returns HTTPResponse.Status +func (r DcimSiteGroupsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSiteGroupsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSiteGroupsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SiteGroup +} + +// Status returns HTTPResponse.Status +func (r DcimSiteGroupsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSiteGroupsUpdateResponse) 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 + JSON200 *PaginatedSiteList +} + +// 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 + JSON200 *[]Site +} + +// 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 + JSON201 *Site +} + +// 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 + JSON200 *[]Site +} + +// 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 + JSON200 *Site +} + +// 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 + JSON200 *Site +} + +// 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 + JSON200 *Site +} + +// 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 + JSON200 *PaginatedVirtualChassisList +} + +// 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 + JSON200 *[]VirtualChassis +} + +// 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 + JSON201 *VirtualChassis +} + +// 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 + JSON200 *[]VirtualChassis +} + +// 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 + JSON200 *VirtualChassis +} + +// 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 + JSON200 *VirtualChassis +} + +// 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 + JSON200 *VirtualChassis +} + +// 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 DcimVirtualDeviceContextsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualDeviceContextsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualDeviceContextsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualDeviceContextsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedVirtualDeviceContextList +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualDeviceContextsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualDeviceContextsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualDeviceContextsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]VirtualDeviceContext +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualDeviceContextsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualDeviceContextsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualDeviceContextsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *VirtualDeviceContext +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualDeviceContextsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualDeviceContextsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualDeviceContextsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]VirtualDeviceContext +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualDeviceContextsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualDeviceContextsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualDeviceContextsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualDeviceContextsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualDeviceContextsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualDeviceContextsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *VirtualDeviceContext +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualDeviceContextsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualDeviceContextsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualDeviceContextsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *VirtualDeviceContext +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualDeviceContextsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualDeviceContextsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualDeviceContextsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *VirtualDeviceContext +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualDeviceContextsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualDeviceContextsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasBookmarksBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasBookmarksListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedBookmarkList +} + +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasBookmarksBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]Bookmark +} + +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasBookmarksCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *Bookmark +} + +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasBookmarksBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]Bookmark +} + +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasBookmarksDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasBookmarksRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Bookmark +} + +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasBookmarksPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Bookmark +} + +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasBookmarksUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Bookmark +} + +// Status returns HTTPResponse.Status +func (r ExtrasBookmarksUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasBookmarksUpdateResponse) 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 + JSON200 *PaginatedConfigContextList +} + +// 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 + JSON200 *[]ConfigContext +} + +// 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 + JSON201 *ConfigContext +} + +// 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 + JSON200 *[]ConfigContext +} + +// 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 + JSON200 *ConfigContext +} + +// 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 + JSON200 *ConfigContext +} + +// 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 + JSON200 *ConfigContext +} + +// 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 ExtrasConfigContextsSyncCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigContext +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsSyncCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsSyncCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedConfigTemplateList +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ConfigTemplate +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *ConfigTemplate +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ConfigTemplate +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigTemplate +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigTemplate +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigTemplate +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigTemplatesRenderCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigTemplate +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesRenderCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesRenderCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigTemplatesSyncCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ConfigTemplate +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigTemplatesSyncCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigTemplatesSyncCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasContentTypesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedContentTypeList +} + +// 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 + JSON200 *ContentType +} + +// 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 ExtrasCustomFieldChoiceSetsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoiceSetsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoiceSetsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoiceSetsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedCustomFieldChoiceSetList +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoiceSetsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoiceSetsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]CustomFieldChoiceSet +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoiceSetsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *CustomFieldChoiceSet +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoiceSetsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoiceSetsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoiceSetsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]CustomFieldChoiceSet +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoiceSetsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoiceSetsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoiceSetsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoiceSetsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoiceSetsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoiceSetsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CustomFieldChoiceSet +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoiceSetsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoiceSetsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoiceSetsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CustomFieldChoiceSet +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoiceSetsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoiceSetsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoiceSetsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CustomFieldChoiceSet +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoiceSetsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoiceSetsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoiceSetsChoicesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *CustomFieldChoiceSet +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoiceSetsChoicesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoiceSetsChoicesRetrieveResponse) 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 + JSON200 *PaginatedCustomFieldList +} + +// 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 + JSON200 *[]CustomField +} + +// 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 + JSON201 *CustomField +} + +// 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 + JSON200 *[]CustomField +} + +// 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 + JSON200 *CustomField +} + +// 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 + JSON200 *CustomField +} + +// 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 + JSON200 *CustomField +} + +// 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 + JSON200 *PaginatedCustomLinkList +} + +// 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 + JSON200 *[]CustomLink +} + +// 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 + JSON201 *CustomLink +} + +// 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 + JSON200 *[]CustomLink +} + +// 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 + JSON200 *CustomLink +} + +// 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 + JSON200 *CustomLink +} + +// 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 + JSON200 *CustomLink +} + +// 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 ExtrasDashboardDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDashboardDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDashboardDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDashboardRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Dashboard +} + +// Status returns HTTPResponse.Status +func (r ExtrasDashboardRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDashboardRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDashboardPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Dashboard +} + +// Status returns HTTPResponse.Status +func (r ExtrasDashboardPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDashboardPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDashboardUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Dashboard +} + +// Status returns HTTPResponse.Status +func (r ExtrasDashboardUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDashboardUpdateResponse) 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 + JSON200 *PaginatedExportTemplateList +} + +// 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 + JSON200 *[]ExportTemplate +} + +// 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 + JSON201 *ExportTemplate +} + +// 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 + JSON200 *[]ExportTemplate +} + +// 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 + JSON200 *ExportTemplate +} + +// 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 + JSON200 *ExportTemplate +} + +// 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 + JSON200 *ExportTemplate +} + +// 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 ExtrasExportTemplatesSyncCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ExportTemplate +} + +// Status returns HTTPResponse.Status +func (r ExtrasExportTemplatesSyncCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasExportTemplatesSyncCreateResponse) 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 + JSON200 *PaginatedImageAttachmentList +} + +// 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 + JSON200 *[]ImageAttachment +} + +// 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 + JSON201 *ImageAttachment +} + +// 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 + JSON200 *[]ImageAttachment +} + +// 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 + JSON200 *ImageAttachment +} + +// 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 + JSON200 *ImageAttachment +} + +// 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 + JSON200 *ImageAttachment +} + +// 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 ExtrasJournalEntriesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJournalEntriesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedJournalEntryList +} + +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJournalEntriesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]JournalEntry +} + +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJournalEntriesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *JournalEntry +} + +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJournalEntriesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]JournalEntry +} + +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJournalEntriesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJournalEntriesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *JournalEntry +} + +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJournalEntriesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *JournalEntry +} + +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJournalEntriesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *JournalEntry +} + +// Status returns HTTPResponse.Status +func (r ExtrasJournalEntriesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJournalEntriesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasObjectChangesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedObjectChangeList +} + +// 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 + JSON200 *ObjectChange +} + +// 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 ExtrasSavedFiltersBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSavedFiltersListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedSavedFilterList +} + +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSavedFiltersBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]SavedFilter +} + +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSavedFiltersCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *SavedFilter +} + +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSavedFiltersBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]SavedFilter +} + +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSavedFiltersDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSavedFiltersRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SavedFilter +} + +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSavedFiltersPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SavedFilter +} + +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSavedFiltersUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *SavedFilter +} + +// Status returns HTTPResponse.Status +func (r ExtrasSavedFiltersUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSavedFiltersUpdateResponse) 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 + JSON200 *PaginatedTagList +} + +// 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 + JSON200 *[]Tag +} + +// 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 + JSON201 *Tag +} + +// 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 + JSON200 *[]Tag +} + +// 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 + JSON200 *Tag +} + +// 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 + JSON200 *Tag +} + +// 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 + JSON200 *Tag +} + +// 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 + JSON200 *PaginatedWebhookList +} + +// 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 + JSON200 *[]Webhook +} + +// 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 + JSON201 *Webhook +} + +// 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 + JSON200 *[]Webhook +} + +// 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 + JSON200 *Webhook +} + +// 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 + JSON200 *Webhook +} + +// 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 + JSON200 *Webhook +} + +// 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 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 + JSON200 *PaginatedAggregateList +} + +// 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 + JSON200 *[]Aggregate +} + +// 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 + JSON201 *Aggregate +} + +// 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 + JSON200 *[]Aggregate +} + +// 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 + JSON200 *Aggregate +} + +// 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 + JSON200 *Aggregate +} + +// 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 + JSON200 *Aggregate +} + +// 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 IpamAsnRangesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAsnRangesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnRangesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnRangesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedASNRangeList +} + +// Status returns HTTPResponse.Status +func (r IpamAsnRangesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnRangesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnRangesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ASNRange +} + +// Status returns HTTPResponse.Status +func (r IpamAsnRangesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnRangesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnRangesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *ASNRange +} + +// Status returns HTTPResponse.Status +func (r IpamAsnRangesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnRangesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnRangesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ASNRange +} + +// Status returns HTTPResponse.Status +func (r IpamAsnRangesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnRangesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnRangesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAsnRangesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnRangesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnRangesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ASNRange +} + +// Status returns HTTPResponse.Status +func (r IpamAsnRangesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnRangesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnRangesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ASNRange +} + +// Status returns HTTPResponse.Status +func (r IpamAsnRangesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnRangesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnRangesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ASNRange +} + +// Status returns HTTPResponse.Status +func (r IpamAsnRangesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnRangesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnRangesAvailableAsnsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]AvailableASN +} + +// Status returns HTTPResponse.Status +func (r IpamAsnRangesAvailableAsnsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnRangesAvailableAsnsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnRangesAvailableAsnsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *[]ASN +} + +// Status returns HTTPResponse.Status +func (r IpamAsnRangesAvailableAsnsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnRangesAvailableAsnsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAsnsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedASNList +} + +// Status returns HTTPResponse.Status +func (r IpamAsnsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ASN +} + +// Status returns HTTPResponse.Status +func (r IpamAsnsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *ASN +} + +// Status returns HTTPResponse.Status +func (r IpamAsnsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ASN +} + +// Status returns HTTPResponse.Status +func (r IpamAsnsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAsnsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ASN +} + +// Status returns HTTPResponse.Status +func (r IpamAsnsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ASN +} + +// Status returns HTTPResponse.Status +func (r IpamAsnsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAsnsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ASN +} + +// Status returns HTTPResponse.Status +func (r IpamAsnsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAsnsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupAssignmentsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupAssignmentsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupAssignmentsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupAssignmentsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedFHRPGroupAssignmentList +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupAssignmentsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupAssignmentsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupAssignmentsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]FHRPGroupAssignment +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupAssignmentsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupAssignmentsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupAssignmentsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *FHRPGroupAssignment +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupAssignmentsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupAssignmentsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupAssignmentsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]FHRPGroupAssignment +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupAssignmentsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupAssignmentsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupAssignmentsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupAssignmentsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupAssignmentsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupAssignmentsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *FHRPGroupAssignment +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupAssignmentsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupAssignmentsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupAssignmentsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *FHRPGroupAssignment +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupAssignmentsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupAssignmentsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupAssignmentsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *FHRPGroupAssignment +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupAssignmentsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupAssignmentsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedFHRPGroupList +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]FHRPGroup +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *FHRPGroup +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]FHRPGroup +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *FHRPGroup +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *FHRPGroup +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamFhrpGroupsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *FHRPGroup +} + +// Status returns HTTPResponse.Status +func (r IpamFhrpGroupsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamFhrpGroupsUpdateResponse) 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 + JSON200 *PaginatedIPAddressList +} + +// 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 + JSON200 *[]IPAddress +} + +// 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 + JSON201 *IPAddress +} + +// 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 + JSON200 *[]IPAddress +} + +// 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 + JSON200 *IPAddress +} + +// 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 + JSON200 *IPAddress +} + +// 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 + JSON200 *IPAddress +} + +// 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 IpamIpRangesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamIpRangesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpRangesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpRangesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedIPRangeList +} + +// Status returns HTTPResponse.Status +func (r IpamIpRangesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpRangesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpRangesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]IPRange +} + +// Status returns HTTPResponse.Status +func (r IpamIpRangesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpRangesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpRangesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *IPRange +} + +// Status returns HTTPResponse.Status +func (r IpamIpRangesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpRangesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpRangesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]IPRange +} + +// Status returns HTTPResponse.Status +func (r IpamIpRangesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpRangesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpRangesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamIpRangesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpRangesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpRangesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *IPRange +} + +// Status returns HTTPResponse.Status +func (r IpamIpRangesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpRangesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpRangesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *IPRange +} + +// Status returns HTTPResponse.Status +func (r IpamIpRangesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpRangesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpRangesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *IPRange +} + +// Status returns HTTPResponse.Status +func (r IpamIpRangesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpRangesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpRangesAvailableIpsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]AvailableIP +} + +// Status returns HTTPResponse.Status +func (r IpamIpRangesAvailableIpsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpRangesAvailableIpsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpRangesAvailableIpsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *[]IPAddress +} + +// Status returns HTTPResponse.Status +func (r IpamIpRangesAvailableIpsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpRangesAvailableIpsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnTerminationsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnTerminationsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnTerminationsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnTerminationsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedL2VPNTerminationList +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnTerminationsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnTerminationsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnTerminationsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]L2VPNTermination +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnTerminationsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnTerminationsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnTerminationsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *L2VPNTermination +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnTerminationsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnTerminationsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnTerminationsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]L2VPNTermination +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnTerminationsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnTerminationsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnTerminationsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnTerminationsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnTerminationsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnTerminationsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *L2VPNTermination +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnTerminationsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnTerminationsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnTerminationsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *L2VPNTermination +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnTerminationsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnTerminationsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnTerminationsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *L2VPNTermination +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnTerminationsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnTerminationsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedL2VPNList +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]L2VPN +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *L2VPN +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]L2VPN +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *L2VPN +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *L2VPN +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamL2vpnsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *L2VPN +} + +// Status returns HTTPResponse.Status +func (r IpamL2vpnsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamL2vpnsUpdateResponse) 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 + JSON200 *PaginatedPrefixList +} + +// 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 + JSON200 *[]Prefix +} + +// 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 + JSON201 *Prefix +} + +// 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 + JSON200 *[]Prefix +} + +// 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 + JSON200 *Prefix +} + +// 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 + JSON200 *Prefix +} + +// 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 + JSON200 *Prefix +} + +// 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 + JSON200 *[]AvailableIP +} + +// 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 + JSON201 *[]IPAddress +} + +// 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 + JSON200 *[]AvailablePrefix +} + +// 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 + JSON201 *[]Prefix +} + +// 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 + JSON200 *PaginatedRIRList +} + +// 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 + JSON200 *[]RIR +} + +// 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 + JSON201 *RIR +} + +// 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 + JSON200 *[]RIR +} + +// 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 + JSON200 *RIR +} + +// 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 + JSON200 *RIR +} + +// 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 + JSON200 *RIR +} + +// 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 + JSON200 *PaginatedRoleList +} + +// 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 + JSON200 *[]Role +} + +// 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 + JSON201 *Role +} + +// 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 + JSON200 *[]Role +} + +// 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 + JSON200 *Role +} + +// 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 + JSON200 *Role +} + +// 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 + JSON200 *Role +} + +// 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 + JSON200 *PaginatedRouteTargetList +} + +// 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 + JSON200 *[]RouteTarget +} + +// 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 + JSON201 *RouteTarget +} + +// 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 + JSON200 *[]RouteTarget +} + +// 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 + JSON200 *RouteTarget +} + +// 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 + JSON200 *RouteTarget +} + +// 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 + JSON200 *RouteTarget +} + +// 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 IpamServiceTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamServiceTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServiceTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServiceTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedServiceTemplateList +} + +// Status returns HTTPResponse.Status +func (r IpamServiceTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServiceTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServiceTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ServiceTemplate +} + +// Status returns HTTPResponse.Status +func (r IpamServiceTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServiceTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServiceTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *ServiceTemplate +} + +// Status returns HTTPResponse.Status +func (r IpamServiceTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServiceTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServiceTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ServiceTemplate +} + +// Status returns HTTPResponse.Status +func (r IpamServiceTemplatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServiceTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServiceTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamServiceTemplatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServiceTemplatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServiceTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ServiceTemplate +} + +// Status returns HTTPResponse.Status +func (r IpamServiceTemplatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServiceTemplatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServiceTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ServiceTemplate +} + +// Status returns HTTPResponse.Status +func (r IpamServiceTemplatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServiceTemplatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServiceTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ServiceTemplate +} + +// Status returns HTTPResponse.Status +func (r IpamServiceTemplatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServiceTemplatesUpdateResponse) 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 + JSON200 *PaginatedServiceList +} + +// 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 + JSON200 *[]Service +} + +// 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 + JSON201 *Service +} + +// 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 + JSON200 *[]Service +} + +// 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 + JSON200 *Service +} + +// 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 + JSON200 *Service +} + +// 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 + JSON200 *Service +} + +// 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 + JSON200 *PaginatedVLANGroupList +} + +// 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 + JSON200 *[]VLANGroup +} + +// 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 + JSON201 *VLANGroup +} + +// 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 + JSON200 *[]VLANGroup +} + +// 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 + JSON200 *VLANGroup +} + +// 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 + JSON200 *VLANGroup +} + +// 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 + JSON200 *VLANGroup +} + +// 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 IpamVlanGroupsAvailableVlansListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]AvailableVLAN +} + +// Status returns HTTPResponse.Status +func (r IpamVlanGroupsAvailableVlansListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlanGroupsAvailableVlansListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlanGroupsAvailableVlansCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *[]VLAN +} + +// Status returns HTTPResponse.Status +func (r IpamVlanGroupsAvailableVlansCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlanGroupsAvailableVlansCreateResponse) 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 + JSON200 *PaginatedVLANList +} + +// 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 + JSON200 *[]VLAN +} + +// 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 + JSON201 *VLAN +} + +// 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 + JSON200 *[]VLAN +} + +// 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 + JSON200 *VLAN +} + +// 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 + JSON200 *VLAN +} + +// 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 + JSON200 *VLAN +} + +// 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 + JSON200 *PaginatedVRFList +} + +// 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 + JSON200 *[]VRF +} + +// 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 + JSON201 *VRF +} + +// 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 + JSON200 *[]VRF +} + +// 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 + JSON200 *VRF +} + +// 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 + JSON200 *VRF +} + +// 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 + JSON200 *VRF +} + +// 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 SchemaRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *map[string]interface{} + ApplicationvndOaiOpenapiJSON200 *map[string]interface{} + YAML200 *map[string]interface{} +} + +// Status returns HTTPResponse.Status +func (r SchemaRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r SchemaRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type StatusRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *map[string]interface{} +} + +// 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 TenancyContactAssignmentsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyContactAssignmentsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactAssignmentsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactAssignmentsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedContactAssignmentList +} + +// Status returns HTTPResponse.Status +func (r TenancyContactAssignmentsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactAssignmentsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactAssignmentsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ContactAssignment +} + +// Status returns HTTPResponse.Status +func (r TenancyContactAssignmentsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactAssignmentsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactAssignmentsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *ContactAssignment +} + +// Status returns HTTPResponse.Status +func (r TenancyContactAssignmentsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactAssignmentsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactAssignmentsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ContactAssignment +} + +// Status returns HTTPResponse.Status +func (r TenancyContactAssignmentsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactAssignmentsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactAssignmentsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyContactAssignmentsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactAssignmentsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactAssignmentsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ContactAssignment +} + +// Status returns HTTPResponse.Status +func (r TenancyContactAssignmentsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactAssignmentsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactAssignmentsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ContactAssignment +} + +// Status returns HTTPResponse.Status +func (r TenancyContactAssignmentsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactAssignmentsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactAssignmentsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ContactAssignment +} + +// Status returns HTTPResponse.Status +func (r TenancyContactAssignmentsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactAssignmentsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactGroupsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyContactGroupsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactGroupsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactGroupsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedContactGroupList +} + +// Status returns HTTPResponse.Status +func (r TenancyContactGroupsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactGroupsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactGroupsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ContactGroup +} + +// Status returns HTTPResponse.Status +func (r TenancyContactGroupsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactGroupsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactGroupsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *ContactGroup +} + +// Status returns HTTPResponse.Status +func (r TenancyContactGroupsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactGroupsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactGroupsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ContactGroup +} + +// Status returns HTTPResponse.Status +func (r TenancyContactGroupsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactGroupsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactGroupsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyContactGroupsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactGroupsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactGroupsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ContactGroup +} + +// Status returns HTTPResponse.Status +func (r TenancyContactGroupsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactGroupsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactGroupsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ContactGroup +} + +// Status returns HTTPResponse.Status +func (r TenancyContactGroupsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactGroupsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactGroupsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ContactGroup +} + +// Status returns HTTPResponse.Status +func (r TenancyContactGroupsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactGroupsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactRolesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyContactRolesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactRolesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactRolesListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedContactRoleList +} + +// Status returns HTTPResponse.Status +func (r TenancyContactRolesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactRolesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactRolesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ContactRole +} + +// Status returns HTTPResponse.Status +func (r TenancyContactRolesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactRolesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactRolesCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *ContactRole +} + +// Status returns HTTPResponse.Status +func (r TenancyContactRolesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactRolesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactRolesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]ContactRole +} + +// Status returns HTTPResponse.Status +func (r TenancyContactRolesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactRolesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactRolesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyContactRolesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactRolesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactRolesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ContactRole +} + +// Status returns HTTPResponse.Status +func (r TenancyContactRolesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactRolesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactRolesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ContactRole +} + +// Status returns HTTPResponse.Status +func (r TenancyContactRolesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactRolesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactRolesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *ContactRole +} + +// Status returns HTTPResponse.Status +func (r TenancyContactRolesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactRolesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyContactsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedContactList +} + +// Status returns HTTPResponse.Status +func (r TenancyContactsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]Contact +} + +// Status returns HTTPResponse.Status +func (r TenancyContactsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *Contact +} + +// Status returns HTTPResponse.Status +func (r TenancyContactsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]Contact +} + +// Status returns HTTPResponse.Status +func (r TenancyContactsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyContactsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Contact +} + +// Status returns HTTPResponse.Status +func (r TenancyContactsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Contact +} + +// Status returns HTTPResponse.Status +func (r TenancyContactsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyContactsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *Contact +} + +// Status returns HTTPResponse.Status +func (r TenancyContactsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyContactsUpdateResponse) 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 + JSON200 *PaginatedTenantGroupList +} + +// 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 + JSON200 *[]TenantGroup +} + +// 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 + JSON201 *TenantGroup +} + +// 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 + JSON200 *[]TenantGroup +} + +// 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 + JSON200 *TenantGroup +} + +// 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 + JSON200 *TenantGroup +} + +// 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 + JSON200 *TenantGroup +} + +// 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 + JSON200 *PaginatedTenantList +} + +// 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 + JSON200 *[]Tenant +} + +// 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 + JSON201 *Tenant +} + +// 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 + JSON200 *[]Tenant +} + +// 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 + JSON200 *Tenant +} + +// 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 + JSON200 *Tenant +} + +// 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 + JSON200 *Tenant +} + +// 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 + JSON200 *map[string]interface{} +} + +// 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 + JSON200 *PaginatedGroupList +} + +// 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 + JSON200 *[]Group +} + +// 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 + JSON201 *Group +} + +// 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 + JSON200 *[]Group +} + +// 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 + JSON200 *Group +} + +// 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 + JSON200 *Group +} + +// 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 + JSON200 *Group +} + +// 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 + JSON200 *PaginatedObjectPermissionList +} + +// 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 + JSON200 *[]ObjectPermission +} + +// 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 + JSON201 *ObjectPermission +} + +// 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 + JSON200 *[]ObjectPermission +} + +// 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 + JSON200 *ObjectPermission +} + +// 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 + JSON200 *ObjectPermission +} + +// 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 + JSON200 *ObjectPermission +} + +// 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 + JSON200 *PaginatedTokenList +} + +// 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 + JSON200 *[]Token +} + +// 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 + JSON201 *Token +} + +// 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 + JSON200 *[]Token +} + +// 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 UsersTokensProvisionCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *TokenProvision + JSON401 *map[string]interface{} +} + +// Status returns HTTPResponse.Status +func (r UsersTokensProvisionCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersTokensProvisionCreateResponse) 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 + JSON200 *Token +} + +// 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 + JSON200 *Token +} + +// 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 + JSON200 *Token +} + +// 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 + JSON200 *PaginatedUserList +} + +// 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 + JSON200 *[]User +} + +// 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 + JSON201 *User +} + +// 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 + JSON200 *[]User +} + +// 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 + JSON200 *User +} + +// 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 + JSON200 *User +} + +// 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 + JSON200 *User +} + +// 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 + JSON200 *PaginatedClusterGroupList +} + +// 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 + JSON200 *[]ClusterGroup +} + +// 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 + JSON201 *ClusterGroup +} + +// 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 + JSON200 *[]ClusterGroup +} + +// 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 + JSON200 *ClusterGroup +} + +// 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 + JSON200 *ClusterGroup +} + +// 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 + JSON200 *ClusterGroup +} + +// 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 + JSON200 *PaginatedClusterTypeList +} + +// 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 + JSON200 *[]ClusterType +} + +// 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 + JSON201 *ClusterType +} + +// 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 + JSON200 *[]ClusterType +} + +// 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 + JSON200 *ClusterType +} + +// 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 + JSON200 *ClusterType +} + +// 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 + JSON200 *ClusterType +} + +// 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 + JSON200 *PaginatedClusterList +} + +// 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 + JSON200 *[]Cluster +} + +// 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 + JSON201 *Cluster +} + +// 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 + JSON200 *[]Cluster +} + +// 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 + JSON200 *Cluster +} + +// 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 + JSON200 *Cluster +} + +// 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 + JSON200 *Cluster +} + +// 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 + JSON200 *PaginatedVMInterfaceList +} + +// 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 + JSON200 *[]VMInterface +} + +// 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 + JSON201 *VMInterface +} + +// 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 + JSON200 *[]VMInterface +} + +// 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 + JSON200 *VMInterface +} + +// 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 + JSON200 *VMInterface +} + +// 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 + JSON200 *VMInterface +} + +// 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 + JSON200 *PaginatedVirtualMachineWithConfigContextList +} + +// 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 + JSON200 *[]VirtualMachineWithConfigContext +} + +// 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 + JSON201 *VirtualMachineWithConfigContext +} + +// 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 + JSON200 *[]VirtualMachineWithConfigContext +} + +// 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 + JSON200 *VirtualMachineWithConfigContext +} + +// 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 + JSON200 *VirtualMachineWithConfigContext +} + +// 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 + JSON200 *VirtualMachineWithConfigContext +} + +// 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 +} + +type WirelessWirelessLanGroupsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLanGroupsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLanGroupsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLanGroupsListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedWirelessLANGroupList +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLanGroupsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLanGroupsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLanGroupsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]WirelessLANGroup +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLanGroupsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLanGroupsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLanGroupsCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *WirelessLANGroup +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLanGroupsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLanGroupsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLanGroupsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]WirelessLANGroup +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLanGroupsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLanGroupsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLanGroupsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLanGroupsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLanGroupsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLanGroupsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *WirelessLANGroup +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLanGroupsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLanGroupsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLanGroupsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *WirelessLANGroup +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLanGroupsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLanGroupsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLanGroupsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *WirelessLANGroup +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLanGroupsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLanGroupsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLansBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLansBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLansBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLansListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedWirelessLANList +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLansListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLansListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLansBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]WirelessLAN +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLansBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLansBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLansCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *WirelessLAN +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLansCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLansCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLansBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]WirelessLAN +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLansBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLansBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLansDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLansDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLansDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLansRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *WirelessLAN +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLansRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLansRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLansPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *WirelessLAN +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLansPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLansPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLansUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *WirelessLAN +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLansUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLansUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLinksBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLinksBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLinksBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLinksListResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *PaginatedWirelessLinkList +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLinksListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLinksListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLinksBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]WirelessLink +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLinksBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLinksBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLinksCreateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON201 *WirelessLink +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLinksCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLinksCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLinksBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *[]WirelessLink +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLinksBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLinksBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLinksDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLinksDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLinksDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLinksRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *WirelessLink +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLinksRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLinksRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLinksPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *WirelessLink +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLinksPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLinksPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type WirelessWirelessLinksUpdateResponse struct { + Body []byte + HTTPResponse *http.Response + JSON200 *WirelessLink +} + +// Status returns HTTPResponse.Status +func (r WirelessWirelessLinksUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r WirelessWirelessLinksUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +// CircuitsCircuitTerminationsBulkDestroyWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTerminationsBulkDestroyResponse +func (c *ClientWithResponses) CircuitsCircuitTerminationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTerminationsBulkDestroyWithResponse(ctx context.Context, body CircuitsCircuitTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body CircuitsCircuitTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsUpdateResponse(rsp) +} + +// CircuitsCircuitTerminationsPathsRetrieveWithResponse request returning *CircuitsCircuitTerminationsPathsRetrieveResponse +func (c *ClientWithResponses) CircuitsCircuitTerminationsPathsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsPathsRetrieveResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsPathsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsPathsRetrieveResponse(rsp) +} + +// CircuitsCircuitTypesBulkDestroyWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTypesBulkDestroyResponse +func (c *ClientWithResponses) CircuitsCircuitTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitTypesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTypesBulkDestroyWithResponse(ctx context.Context, body CircuitsCircuitTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitTypesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body CircuitsCircuitTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTypesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesUpdateResponse(rsp) +} + +// CircuitsCircuitsBulkDestroyWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitsBulkDestroyResponse +func (c *ClientWithResponses) CircuitsCircuitsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitsBulkDestroyWithResponse(ctx context.Context, body CircuitsCircuitsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body CircuitsCircuitsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsUpdateResponse, error) { + rsp, err := c.CircuitsCircuitsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsUpdateResponse(rsp) +} + +// CircuitsProviderAccountsBulkDestroyWithBodyWithResponse request with arbitrary body returning *CircuitsProviderAccountsBulkDestroyResponse +func (c *ClientWithResponses) CircuitsProviderAccountsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsBulkDestroyResponse, error) { + rsp, err := c.CircuitsProviderAccountsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProviderAccountsBulkDestroyWithResponse(ctx context.Context, body CircuitsProviderAccountsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsBulkDestroyResponse, error) { + rsp, err := c.CircuitsProviderAccountsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsBulkDestroyResponse(rsp) +} + +// CircuitsProviderAccountsListWithResponse request returning *CircuitsProviderAccountsListResponse +func (c *ClientWithResponses) CircuitsProviderAccountsListWithResponse(ctx context.Context, params *CircuitsProviderAccountsListParams, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsListResponse, error) { + rsp, err := c.CircuitsProviderAccountsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsListResponse(rsp) +} + +// CircuitsProviderAccountsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsProviderAccountsBulkPartialUpdateResponse +func (c *ClientWithResponses) CircuitsProviderAccountsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsBulkPartialUpdateResponse, error) { + rsp, err := c.CircuitsProviderAccountsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProviderAccountsBulkPartialUpdateWithResponse(ctx context.Context, body CircuitsProviderAccountsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsBulkPartialUpdateResponse, error) { + rsp, err := c.CircuitsProviderAccountsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsBulkPartialUpdateResponse(rsp) +} + +// CircuitsProviderAccountsCreateWithBodyWithResponse request with arbitrary body returning *CircuitsProviderAccountsCreateResponse +func (c *ClientWithResponses) CircuitsProviderAccountsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsCreateResponse, error) { + rsp, err := c.CircuitsProviderAccountsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsCreateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProviderAccountsCreateWithResponse(ctx context.Context, body CircuitsProviderAccountsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsCreateResponse, error) { + rsp, err := c.CircuitsProviderAccountsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsCreateResponse(rsp) +} + +// CircuitsProviderAccountsBulkUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsProviderAccountsBulkUpdateResponse +func (c *ClientWithResponses) CircuitsProviderAccountsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsBulkUpdateResponse, error) { + rsp, err := c.CircuitsProviderAccountsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProviderAccountsBulkUpdateWithResponse(ctx context.Context, body CircuitsProviderAccountsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsBulkUpdateResponse, error) { + rsp, err := c.CircuitsProviderAccountsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsBulkUpdateResponse(rsp) +} + +// CircuitsProviderAccountsDestroyWithResponse request returning *CircuitsProviderAccountsDestroyResponse +func (c *ClientWithResponses) CircuitsProviderAccountsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsDestroyResponse, error) { + rsp, err := c.CircuitsProviderAccountsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsDestroyResponse(rsp) +} + +// CircuitsProviderAccountsRetrieveWithResponse request returning *CircuitsProviderAccountsRetrieveResponse +func (c *ClientWithResponses) CircuitsProviderAccountsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsRetrieveResponse, error) { + rsp, err := c.CircuitsProviderAccountsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsRetrieveResponse(rsp) +} + +// CircuitsProviderAccountsPartialUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsProviderAccountsPartialUpdateResponse +func (c *ClientWithResponses) CircuitsProviderAccountsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsPartialUpdateResponse, error) { + rsp, err := c.CircuitsProviderAccountsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProviderAccountsPartialUpdateWithResponse(ctx context.Context, id int, body CircuitsProviderAccountsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsPartialUpdateResponse, error) { + rsp, err := c.CircuitsProviderAccountsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsPartialUpdateResponse(rsp) +} + +// CircuitsProviderAccountsUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsProviderAccountsUpdateResponse +func (c *ClientWithResponses) CircuitsProviderAccountsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsUpdateResponse, error) { + rsp, err := c.CircuitsProviderAccountsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProviderAccountsUpdateWithResponse(ctx context.Context, id int, body CircuitsProviderAccountsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderAccountsUpdateResponse, error) { + rsp, err := c.CircuitsProviderAccountsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderAccountsUpdateResponse(rsp) +} + +// CircuitsProviderNetworksBulkDestroyWithBodyWithResponse request with arbitrary body returning *CircuitsProviderNetworksBulkDestroyResponse +func (c *ClientWithResponses) CircuitsProviderNetworksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkDestroyResponse, error) { + rsp, err := c.CircuitsProviderNetworksBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProviderNetworksBulkDestroyWithResponse(ctx context.Context, body CircuitsProviderNetworksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkDestroyResponse, error) { + rsp, err := c.CircuitsProviderNetworksBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body CircuitsProviderNetworksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksUpdateResponse, error) { + rsp, err := c.CircuitsProviderNetworksUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksUpdateResponse(rsp) +} + +// CircuitsProvidersBulkDestroyWithBodyWithResponse request with arbitrary body returning *CircuitsProvidersBulkDestroyResponse +func (c *ClientWithResponses) CircuitsProvidersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkDestroyResponse, error) { + rsp, err := c.CircuitsProvidersBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProvidersBulkDestroyWithResponse(ctx context.Context, body CircuitsProvidersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkDestroyResponse, error) { + rsp, err := c.CircuitsProvidersBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body CircuitsProvidersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersUpdateResponse, error) { + rsp, err := c.CircuitsProvidersUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersUpdateResponse(rsp) +} + +// CoreDataFilesListWithResponse request returning *CoreDataFilesListResponse +func (c *ClientWithResponses) CoreDataFilesListWithResponse(ctx context.Context, params *CoreDataFilesListParams, reqEditors ...RequestEditorFn) (*CoreDataFilesListResponse, error) { + rsp, err := c.CoreDataFilesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataFilesListResponse(rsp) +} + +// CoreDataFilesRetrieveWithResponse request returning *CoreDataFilesRetrieveResponse +func (c *ClientWithResponses) CoreDataFilesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CoreDataFilesRetrieveResponse, error) { + rsp, err := c.CoreDataFilesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataFilesRetrieveResponse(rsp) +} + +// CoreDataSourcesBulkDestroyWithBodyWithResponse request with arbitrary body returning *CoreDataSourcesBulkDestroyResponse +func (c *ClientWithResponses) CoreDataSourcesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CoreDataSourcesBulkDestroyResponse, error) { + rsp, err := c.CoreDataSourcesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) CoreDataSourcesBulkDestroyWithResponse(ctx context.Context, body CoreDataSourcesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CoreDataSourcesBulkDestroyResponse, error) { + rsp, err := c.CoreDataSourcesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesBulkDestroyResponse(rsp) +} + +// CoreDataSourcesListWithResponse request returning *CoreDataSourcesListResponse +func (c *ClientWithResponses) CoreDataSourcesListWithResponse(ctx context.Context, params *CoreDataSourcesListParams, reqEditors ...RequestEditorFn) (*CoreDataSourcesListResponse, error) { + rsp, err := c.CoreDataSourcesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesListResponse(rsp) +} + +// CoreDataSourcesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *CoreDataSourcesBulkPartialUpdateResponse +func (c *ClientWithResponses) CoreDataSourcesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CoreDataSourcesBulkPartialUpdateResponse, error) { + rsp, err := c.CoreDataSourcesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CoreDataSourcesBulkPartialUpdateWithResponse(ctx context.Context, body CoreDataSourcesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CoreDataSourcesBulkPartialUpdateResponse, error) { + rsp, err := c.CoreDataSourcesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesBulkPartialUpdateResponse(rsp) +} + +// CoreDataSourcesCreateWithBodyWithResponse request with arbitrary body returning *CoreDataSourcesCreateResponse +func (c *ClientWithResponses) CoreDataSourcesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CoreDataSourcesCreateResponse, error) { + rsp, err := c.CoreDataSourcesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesCreateResponse(rsp) +} + +func (c *ClientWithResponses) CoreDataSourcesCreateWithResponse(ctx context.Context, body CoreDataSourcesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CoreDataSourcesCreateResponse, error) { + rsp, err := c.CoreDataSourcesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesCreateResponse(rsp) +} + +// CoreDataSourcesBulkUpdateWithBodyWithResponse request with arbitrary body returning *CoreDataSourcesBulkUpdateResponse +func (c *ClientWithResponses) CoreDataSourcesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CoreDataSourcesBulkUpdateResponse, error) { + rsp, err := c.CoreDataSourcesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CoreDataSourcesBulkUpdateWithResponse(ctx context.Context, body CoreDataSourcesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CoreDataSourcesBulkUpdateResponse, error) { + rsp, err := c.CoreDataSourcesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesBulkUpdateResponse(rsp) +} + +// CoreDataSourcesDestroyWithResponse request returning *CoreDataSourcesDestroyResponse +func (c *ClientWithResponses) CoreDataSourcesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CoreDataSourcesDestroyResponse, error) { + rsp, err := c.CoreDataSourcesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesDestroyResponse(rsp) +} + +// CoreDataSourcesRetrieveWithResponse request returning *CoreDataSourcesRetrieveResponse +func (c *ClientWithResponses) CoreDataSourcesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CoreDataSourcesRetrieveResponse, error) { + rsp, err := c.CoreDataSourcesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesRetrieveResponse(rsp) +} + +// CoreDataSourcesPartialUpdateWithBodyWithResponse request with arbitrary body returning *CoreDataSourcesPartialUpdateResponse +func (c *ClientWithResponses) CoreDataSourcesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CoreDataSourcesPartialUpdateResponse, error) { + rsp, err := c.CoreDataSourcesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CoreDataSourcesPartialUpdateWithResponse(ctx context.Context, id int, body CoreDataSourcesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CoreDataSourcesPartialUpdateResponse, error) { + rsp, err := c.CoreDataSourcesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesPartialUpdateResponse(rsp) +} + +// CoreDataSourcesUpdateWithBodyWithResponse request with arbitrary body returning *CoreDataSourcesUpdateResponse +func (c *ClientWithResponses) CoreDataSourcesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CoreDataSourcesUpdateResponse, error) { + rsp, err := c.CoreDataSourcesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CoreDataSourcesUpdateWithResponse(ctx context.Context, id int, body CoreDataSourcesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CoreDataSourcesUpdateResponse, error) { + rsp, err := c.CoreDataSourcesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesUpdateResponse(rsp) +} + +// CoreDataSourcesSyncCreateWithBodyWithResponse request with arbitrary body returning *CoreDataSourcesSyncCreateResponse +func (c *ClientWithResponses) CoreDataSourcesSyncCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CoreDataSourcesSyncCreateResponse, error) { + rsp, err := c.CoreDataSourcesSyncCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesSyncCreateResponse(rsp) +} + +func (c *ClientWithResponses) CoreDataSourcesSyncCreateWithResponse(ctx context.Context, id int, body CoreDataSourcesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CoreDataSourcesSyncCreateResponse, error) { + rsp, err := c.CoreDataSourcesSyncCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreDataSourcesSyncCreateResponse(rsp) +} + +// CoreJobsListWithResponse request returning *CoreJobsListResponse +func (c *ClientWithResponses) CoreJobsListWithResponse(ctx context.Context, params *CoreJobsListParams, reqEditors ...RequestEditorFn) (*CoreJobsListResponse, error) { + rsp, err := c.CoreJobsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreJobsListResponse(rsp) +} + +// CoreJobsRetrieveWithResponse request returning *CoreJobsRetrieveResponse +func (c *ClientWithResponses) CoreJobsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*CoreJobsRetrieveResponse, error) { + rsp, err := c.CoreJobsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCoreJobsRetrieveResponse(rsp) +} + +// DcimCableTerminationsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimCableTerminationsBulkDestroyResponse +func (c *ClientWithResponses) DcimCableTerminationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCableTerminationsBulkDestroyResponse, error) { + rsp, err := c.DcimCableTerminationsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimCableTerminationsBulkDestroyWithResponse(ctx context.Context, body DcimCableTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCableTerminationsBulkDestroyResponse, error) { + rsp, err := c.DcimCableTerminationsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsBulkDestroyResponse(rsp) +} + +// DcimCableTerminationsListWithResponse request returning *DcimCableTerminationsListResponse +func (c *ClientWithResponses) DcimCableTerminationsListWithResponse(ctx context.Context, params *DcimCableTerminationsListParams, reqEditors ...RequestEditorFn) (*DcimCableTerminationsListResponse, error) { + rsp, err := c.DcimCableTerminationsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsListResponse(rsp) +} + +// DcimCableTerminationsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimCableTerminationsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimCableTerminationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCableTerminationsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimCableTerminationsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimCableTerminationsBulkPartialUpdateWithResponse(ctx context.Context, body DcimCableTerminationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCableTerminationsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimCableTerminationsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsBulkPartialUpdateResponse(rsp) +} + +// DcimCableTerminationsCreateWithBodyWithResponse request with arbitrary body returning *DcimCableTerminationsCreateResponse +func (c *ClientWithResponses) DcimCableTerminationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCableTerminationsCreateResponse, error) { + rsp, err := c.DcimCableTerminationsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimCableTerminationsCreateWithResponse(ctx context.Context, body DcimCableTerminationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCableTerminationsCreateResponse, error) { + rsp, err := c.DcimCableTerminationsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsCreateResponse(rsp) +} + +// DcimCableTerminationsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimCableTerminationsBulkUpdateResponse +func (c *ClientWithResponses) DcimCableTerminationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCableTerminationsBulkUpdateResponse, error) { + rsp, err := c.DcimCableTerminationsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimCableTerminationsBulkUpdateWithResponse(ctx context.Context, body DcimCableTerminationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCableTerminationsBulkUpdateResponse, error) { + rsp, err := c.DcimCableTerminationsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsBulkUpdateResponse(rsp) +} + +// DcimCableTerminationsDestroyWithResponse request returning *DcimCableTerminationsDestroyResponse +func (c *ClientWithResponses) DcimCableTerminationsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimCableTerminationsDestroyResponse, error) { + rsp, err := c.DcimCableTerminationsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsDestroyResponse(rsp) +} + +// DcimCableTerminationsRetrieveWithResponse request returning *DcimCableTerminationsRetrieveResponse +func (c *ClientWithResponses) DcimCableTerminationsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimCableTerminationsRetrieveResponse, error) { + rsp, err := c.DcimCableTerminationsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsRetrieveResponse(rsp) +} + +// DcimCableTerminationsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimCableTerminationsPartialUpdateResponse +func (c *ClientWithResponses) DcimCableTerminationsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCableTerminationsPartialUpdateResponse, error) { + rsp, err := c.DcimCableTerminationsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimCableTerminationsPartialUpdateWithResponse(ctx context.Context, id int, body DcimCableTerminationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCableTerminationsPartialUpdateResponse, error) { + rsp, err := c.DcimCableTerminationsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsPartialUpdateResponse(rsp) +} + +// DcimCableTerminationsUpdateWithBodyWithResponse request with arbitrary body returning *DcimCableTerminationsUpdateResponse +func (c *ClientWithResponses) DcimCableTerminationsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCableTerminationsUpdateResponse, error) { + rsp, err := c.DcimCableTerminationsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimCableTerminationsUpdateWithResponse(ctx context.Context, id int, body DcimCableTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCableTerminationsUpdateResponse, error) { + rsp, err := c.DcimCableTerminationsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCableTerminationsUpdateResponse(rsp) +} + +// DcimCablesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimCablesBulkDestroyResponse +func (c *ClientWithResponses) DcimCablesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesBulkDestroyResponse, error) { + rsp, err := c.DcimCablesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimCablesBulkDestroyWithResponse(ctx context.Context, body DcimCablesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesBulkDestroyResponse, error) { + rsp, err := c.DcimCablesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) +} + +// DcimConsolePortTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimConsolePortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimConsolePortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimConsolePortTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimConsolePortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimConsolePortTemplatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimConsolePortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesUpdateResponse, error) { + rsp, err := c.DcimConsolePortTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesUpdateResponse(rsp) +} + +// DcimConsolePortsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimConsolePortsBulkDestroyResponse +func (c *ClientWithResponses) DcimConsolePortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkDestroyResponse, error) { + rsp, err := c.DcimConsolePortsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortsBulkDestroyWithResponse(ctx context.Context, body DcimConsolePortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkDestroyResponse, error) { + rsp, err := c.DcimConsolePortsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, reqEditors ...RequestEditorFn) (*DcimConsolePortsTraceRetrieveResponse, error) { + rsp, err := c.DcimConsolePortsTraceRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsTraceRetrieveResponse(rsp) +} + +// DcimConsoleServerPortTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimConsoleServerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimConsoleServerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesUpdateResponse(rsp) +} + +// DcimConsoleServerPortsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortsBulkDestroyResponse +func (c *ClientWithResponses) DcimConsoleServerPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkDestroyResponse, error) { + rsp, err := c.DcimConsoleServerPortsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortsBulkDestroyWithResponse(ctx context.Context, body DcimConsoleServerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkDestroyResponse, error) { + rsp, err := c.DcimConsoleServerPortsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsTraceRetrieveResponse, error) { + rsp, err := c.DcimConsoleServerPortsTraceRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsTraceRetrieveResponse(rsp) +} + +// DcimDeviceBayTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimDeviceBayTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimDeviceBayTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBayTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimDeviceBayTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimDeviceBayTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesUpdateResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesUpdateResponse(rsp) +} + +// DcimDeviceBaysBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimDeviceBaysBulkDestroyResponse +func (c *ClientWithResponses) DcimDeviceBaysBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceBaysBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBaysBulkDestroyWithResponse(ctx context.Context, body DcimDeviceBaysBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceBaysBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimDeviceBaysUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysUpdateResponse, error) { + rsp, err := c.DcimDeviceBaysUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysUpdateResponse(rsp) +} + +// DcimDeviceRolesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimDeviceRolesBulkDestroyResponse +func (c *ClientWithResponses) DcimDeviceRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceRolesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRolesBulkDestroyWithResponse(ctx context.Context, body DcimDeviceRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceRolesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimDeviceRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesUpdateResponse, error) { + rsp, err := c.DcimDeviceRolesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesUpdateResponse(rsp) +} + +// DcimDeviceTypesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimDeviceTypesBulkDestroyResponse +func (c *ClientWithResponses) DcimDeviceTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceTypesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceTypesBulkDestroyWithResponse(ctx context.Context, body DcimDeviceTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceTypesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimDeviceTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesUpdateResponse, error) { + rsp, err := c.DcimDeviceTypesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesUpdateResponse(rsp) +} + +// DcimDevicesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimDevicesBulkDestroyResponse +func (c *ClientWithResponses) DcimDevicesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesBulkDestroyResponse, error) { + rsp, err := c.DcimDevicesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimDevicesBulkDestroyWithResponse(ctx context.Context, body DcimDevicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesBulkDestroyResponse, error) { + rsp, err := c.DcimDevicesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimDevicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesUpdateResponse, error) { + rsp, err := c.DcimDevicesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesUpdateResponse(rsp) +} + +// DcimDevicesRenderConfigCreateWithBodyWithResponse request with arbitrary body returning *DcimDevicesRenderConfigCreateResponse +func (c *ClientWithResponses) DcimDevicesRenderConfigCreateWithBodyWithResponse(ctx context.Context, id int, params *DcimDevicesRenderConfigCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesRenderConfigCreateResponse, error) { + rsp, err := c.DcimDevicesRenderConfigCreateWithBody(ctx, id, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesRenderConfigCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDevicesRenderConfigCreateWithResponse(ctx context.Context, id int, params *DcimDevicesRenderConfigCreateParams, body DcimDevicesRenderConfigCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesRenderConfigCreateResponse, error) { + rsp, err := c.DcimDevicesRenderConfigCreate(ctx, id, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesRenderConfigCreateResponse(rsp) +} + +// DcimFrontPortTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimFrontPortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimFrontPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimFrontPortTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimFrontPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimFrontPortTemplatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimFrontPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesUpdateResponse, error) { + rsp, err := c.DcimFrontPortTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesUpdateResponse(rsp) +} + +// DcimFrontPortsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimFrontPortsBulkDestroyResponse +func (c *ClientWithResponses) DcimFrontPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkDestroyResponse, error) { + rsp, err := c.DcimFrontPortsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortsBulkDestroyWithResponse(ctx context.Context, body DcimFrontPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkDestroyResponse, error) { + rsp, err := c.DcimFrontPortsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, reqEditors ...RequestEditorFn) (*DcimFrontPortsPathsRetrieveResponse, error) { + rsp, err := c.DcimFrontPortsPathsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsPathsRetrieveResponse(rsp) +} + +// DcimInterfaceTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimInterfaceTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimInterfaceTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimInterfaceTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfaceTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimInterfaceTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimInterfaceTemplatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimInterfaceTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesUpdateResponse, error) { + rsp, err := c.DcimInterfaceTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesUpdateResponse(rsp) +} + +// DcimInterfacesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimInterfacesBulkDestroyResponse +func (c *ClientWithResponses) DcimInterfacesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkDestroyResponse, error) { + rsp, err := c.DcimInterfacesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfacesBulkDestroyWithResponse(ctx context.Context, body DcimInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkDestroyResponse, error) { + rsp, err := c.DcimInterfacesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, reqEditors ...RequestEditorFn) (*DcimInterfacesTraceRetrieveResponse, error) { + rsp, err := c.DcimInterfacesTraceRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesTraceRetrieveResponse(rsp) +} + +// DcimInventoryItemRolesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemRolesBulkDestroyResponse +func (c *ClientWithResponses) DcimInventoryItemRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesBulkDestroyResponse, error) { + rsp, err := c.DcimInventoryItemRolesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemRolesBulkDestroyWithResponse(ctx context.Context, body DcimInventoryItemRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesBulkDestroyResponse, error) { + rsp, err := c.DcimInventoryItemRolesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesBulkDestroyResponse(rsp) +} + +// DcimInventoryItemRolesListWithResponse request returning *DcimInventoryItemRolesListResponse +func (c *ClientWithResponses) DcimInventoryItemRolesListWithResponse(ctx context.Context, params *DcimInventoryItemRolesListParams, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesListResponse, error) { + rsp, err := c.DcimInventoryItemRolesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesListResponse(rsp) +} + +// DcimInventoryItemRolesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemRolesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimInventoryItemRolesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimInventoryItemRolesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemRolesBulkPartialUpdateWithResponse(ctx context.Context, body DcimInventoryItemRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimInventoryItemRolesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesBulkPartialUpdateResponse(rsp) +} + +// DcimInventoryItemRolesCreateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemRolesCreateResponse +func (c *ClientWithResponses) DcimInventoryItemRolesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesCreateResponse, error) { + rsp, err := c.DcimInventoryItemRolesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemRolesCreateWithResponse(ctx context.Context, body DcimInventoryItemRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesCreateResponse, error) { + rsp, err := c.DcimInventoryItemRolesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesCreateResponse(rsp) +} + +// DcimInventoryItemRolesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemRolesBulkUpdateResponse +func (c *ClientWithResponses) DcimInventoryItemRolesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesBulkUpdateResponse, error) { + rsp, err := c.DcimInventoryItemRolesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemRolesBulkUpdateWithResponse(ctx context.Context, body DcimInventoryItemRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesBulkUpdateResponse, error) { + rsp, err := c.DcimInventoryItemRolesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesBulkUpdateResponse(rsp) +} + +// DcimInventoryItemRolesDestroyWithResponse request returning *DcimInventoryItemRolesDestroyResponse +func (c *ClientWithResponses) DcimInventoryItemRolesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesDestroyResponse, error) { + rsp, err := c.DcimInventoryItemRolesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesDestroyResponse(rsp) +} + +// DcimInventoryItemRolesRetrieveWithResponse request returning *DcimInventoryItemRolesRetrieveResponse +func (c *ClientWithResponses) DcimInventoryItemRolesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesRetrieveResponse, error) { + rsp, err := c.DcimInventoryItemRolesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesRetrieveResponse(rsp) +} + +// DcimInventoryItemRolesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemRolesPartialUpdateResponse +func (c *ClientWithResponses) DcimInventoryItemRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesPartialUpdateResponse, error) { + rsp, err := c.DcimInventoryItemRolesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemRolesPartialUpdateWithResponse(ctx context.Context, id int, body DcimInventoryItemRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesPartialUpdateResponse, error) { + rsp, err := c.DcimInventoryItemRolesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesPartialUpdateResponse(rsp) +} + +// DcimInventoryItemRolesUpdateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemRolesUpdateResponse +func (c *ClientWithResponses) DcimInventoryItemRolesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesUpdateResponse, error) { + rsp, err := c.DcimInventoryItemRolesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemRolesUpdateWithResponse(ctx context.Context, id int, body DcimInventoryItemRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemRolesUpdateResponse, error) { + rsp, err := c.DcimInventoryItemRolesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemRolesUpdateResponse(rsp) +} + +// DcimInventoryItemTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimInventoryItemTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimInventoryItemTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesBulkDestroyResponse(rsp) +} + +// DcimInventoryItemTemplatesListWithResponse request returning *DcimInventoryItemTemplatesListResponse +func (c *ClientWithResponses) DcimInventoryItemTemplatesListWithResponse(ctx context.Context, params *DcimInventoryItemTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesListResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesListResponse(rsp) +} + +// DcimInventoryItemTemplatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemTemplatesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimInventoryItemTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimInventoryItemTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesBulkPartialUpdateResponse(rsp) +} + +// DcimInventoryItemTemplatesCreateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemTemplatesCreateResponse +func (c *ClientWithResponses) DcimInventoryItemTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesCreateResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemTemplatesCreateWithResponse(ctx context.Context, body DcimInventoryItemTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesCreateResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesCreateResponse(rsp) +} + +// DcimInventoryItemTemplatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemTemplatesBulkUpdateResponse +func (c *ClientWithResponses) DcimInventoryItemTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimInventoryItemTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesBulkUpdateResponse(rsp) +} + +// DcimInventoryItemTemplatesDestroyWithResponse request returning *DcimInventoryItemTemplatesDestroyResponse +func (c *ClientWithResponses) DcimInventoryItemTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesDestroyResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesDestroyResponse(rsp) +} + +// DcimInventoryItemTemplatesRetrieveWithResponse request returning *DcimInventoryItemTemplatesRetrieveResponse +func (c *ClientWithResponses) DcimInventoryItemTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesRetrieveResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesRetrieveResponse(rsp) +} + +// DcimInventoryItemTemplatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemTemplatesPartialUpdateResponse +func (c *ClientWithResponses) DcimInventoryItemTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body DcimInventoryItemTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesPartialUpdateResponse(rsp) +} + +// DcimInventoryItemTemplatesUpdateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemTemplatesUpdateResponse +func (c *ClientWithResponses) DcimInventoryItemTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesUpdateResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemTemplatesUpdateWithResponse(ctx context.Context, id int, body DcimInventoryItemTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemTemplatesUpdateResponse, error) { + rsp, err := c.DcimInventoryItemTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemTemplatesUpdateResponse(rsp) +} + +// DcimInventoryItemsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemsBulkDestroyResponse +func (c *ClientWithResponses) DcimInventoryItemsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkDestroyResponse, error) { + rsp, err := c.DcimInventoryItemsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemsBulkDestroyWithResponse(ctx context.Context, body DcimInventoryItemsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkDestroyResponse, error) { + rsp, err := c.DcimInventoryItemsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimInventoryItemsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsUpdateResponse, error) { + rsp, err := c.DcimInventoryItemsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsUpdateResponse(rsp) +} + +// DcimLocationsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimLocationsBulkDestroyResponse +func (c *ClientWithResponses) DcimLocationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsBulkDestroyResponse, error) { + rsp, err := c.DcimLocationsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationsBulkDestroyWithResponse(ctx context.Context, body DcimLocationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsBulkDestroyResponse, error) { + rsp, err := c.DcimLocationsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsBulkDestroyResponse(rsp) +} + +// DcimLocationsListWithResponse request returning *DcimLocationsListResponse +func (c *ClientWithResponses) DcimLocationsListWithResponse(ctx context.Context, params *DcimLocationsListParams, reqEditors ...RequestEditorFn) (*DcimLocationsListResponse, error) { + rsp, err := c.DcimLocationsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsListResponse(rsp) +} + +// DcimLocationsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimLocationsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimLocationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimLocationsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationsBulkPartialUpdateWithResponse(ctx context.Context, body DcimLocationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimLocationsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsBulkPartialUpdateResponse(rsp) +} + +// DcimLocationsCreateWithBodyWithResponse request with arbitrary body returning *DcimLocationsCreateResponse +func (c *ClientWithResponses) DcimLocationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsCreateResponse, error) { + rsp, err := c.DcimLocationsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationsCreateWithResponse(ctx context.Context, body DcimLocationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsCreateResponse, error) { + rsp, err := c.DcimLocationsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsCreateResponse(rsp) +} + +// DcimLocationsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimLocationsBulkUpdateResponse +func (c *ClientWithResponses) DcimLocationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsBulkUpdateResponse, error) { + rsp, err := c.DcimLocationsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationsBulkUpdateWithResponse(ctx context.Context, body DcimLocationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsBulkUpdateResponse, error) { + rsp, err := c.DcimLocationsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsBulkUpdateResponse(rsp) +} + +// DcimLocationsDestroyWithResponse request returning *DcimLocationsDestroyResponse +func (c *ClientWithResponses) DcimLocationsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimLocationsDestroyResponse, error) { + rsp, err := c.DcimLocationsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsDestroyResponse(rsp) +} + +// DcimLocationsRetrieveWithResponse request returning *DcimLocationsRetrieveResponse +func (c *ClientWithResponses) DcimLocationsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimLocationsRetrieveResponse, error) { + rsp, err := c.DcimLocationsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsRetrieveResponse(rsp) +} + +// DcimLocationsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimLocationsPartialUpdateResponse +func (c *ClientWithResponses) DcimLocationsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsPartialUpdateResponse, error) { + rsp, err := c.DcimLocationsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationsPartialUpdateWithResponse(ctx context.Context, id int, body DcimLocationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsPartialUpdateResponse, error) { + rsp, err := c.DcimLocationsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsPartialUpdateResponse(rsp) +} + +// DcimLocationsUpdateWithBodyWithResponse request with arbitrary body returning *DcimLocationsUpdateResponse +func (c *ClientWithResponses) DcimLocationsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsUpdateResponse, error) { + rsp, err := c.DcimLocationsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationsUpdateWithResponse(ctx context.Context, id int, body DcimLocationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsUpdateResponse, error) { + rsp, err := c.DcimLocationsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsUpdateResponse(rsp) +} + +// DcimManufacturersBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimManufacturersBulkDestroyResponse +func (c *ClientWithResponses) DcimManufacturersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkDestroyResponse, error) { + rsp, err := c.DcimManufacturersBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimManufacturersBulkDestroyWithResponse(ctx context.Context, body DcimManufacturersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkDestroyResponse, error) { + rsp, err := c.DcimManufacturersBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimManufacturersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersUpdateResponse, error) { + rsp, err := c.DcimManufacturersUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersUpdateResponse(rsp) +} + +// DcimModuleBayTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimModuleBayTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimModuleBayTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimModuleBayTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleBayTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimModuleBayTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimModuleBayTemplatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesBulkDestroyResponse(rsp) +} + +// DcimModuleBayTemplatesListWithResponse request returning *DcimModuleBayTemplatesListResponse +func (c *ClientWithResponses) DcimModuleBayTemplatesListWithResponse(ctx context.Context, params *DcimModuleBayTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesListResponse, error) { + rsp, err := c.DcimModuleBayTemplatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesListResponse(rsp) +} + +// DcimModuleBayTemplatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimModuleBayTemplatesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimModuleBayTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimModuleBayTemplatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleBayTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimModuleBayTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimModuleBayTemplatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesBulkPartialUpdateResponse(rsp) +} + +// DcimModuleBayTemplatesCreateWithBodyWithResponse request with arbitrary body returning *DcimModuleBayTemplatesCreateResponse +func (c *ClientWithResponses) DcimModuleBayTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesCreateResponse, error) { + rsp, err := c.DcimModuleBayTemplatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleBayTemplatesCreateWithResponse(ctx context.Context, body DcimModuleBayTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesCreateResponse, error) { + rsp, err := c.DcimModuleBayTemplatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesCreateResponse(rsp) +} + +// DcimModuleBayTemplatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimModuleBayTemplatesBulkUpdateResponse +func (c *ClientWithResponses) DcimModuleBayTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimModuleBayTemplatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleBayTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimModuleBayTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimModuleBayTemplatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesBulkUpdateResponse(rsp) +} + +// DcimModuleBayTemplatesDestroyWithResponse request returning *DcimModuleBayTemplatesDestroyResponse +func (c *ClientWithResponses) DcimModuleBayTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesDestroyResponse, error) { + rsp, err := c.DcimModuleBayTemplatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesDestroyResponse(rsp) +} + +// DcimModuleBayTemplatesRetrieveWithResponse request returning *DcimModuleBayTemplatesRetrieveResponse +func (c *ClientWithResponses) DcimModuleBayTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesRetrieveResponse, error) { + rsp, err := c.DcimModuleBayTemplatesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesRetrieveResponse(rsp) +} + +// DcimModuleBayTemplatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimModuleBayTemplatesPartialUpdateResponse +func (c *ClientWithResponses) DcimModuleBayTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimModuleBayTemplatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleBayTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body DcimModuleBayTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimModuleBayTemplatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesPartialUpdateResponse(rsp) +} + +// DcimModuleBayTemplatesUpdateWithBodyWithResponse request with arbitrary body returning *DcimModuleBayTemplatesUpdateResponse +func (c *ClientWithResponses) DcimModuleBayTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesUpdateResponse, error) { + rsp, err := c.DcimModuleBayTemplatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleBayTemplatesUpdateWithResponse(ctx context.Context, id int, body DcimModuleBayTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBayTemplatesUpdateResponse, error) { + rsp, err := c.DcimModuleBayTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBayTemplatesUpdateResponse(rsp) +} + +// DcimModuleBaysBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimModuleBaysBulkDestroyResponse +func (c *ClientWithResponses) DcimModuleBaysBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBaysBulkDestroyResponse, error) { + rsp, err := c.DcimModuleBaysBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleBaysBulkDestroyWithResponse(ctx context.Context, body DcimModuleBaysBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBaysBulkDestroyResponse, error) { + rsp, err := c.DcimModuleBaysBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysBulkDestroyResponse(rsp) +} + +// DcimModuleBaysListWithResponse request returning *DcimModuleBaysListResponse +func (c *ClientWithResponses) DcimModuleBaysListWithResponse(ctx context.Context, params *DcimModuleBaysListParams, reqEditors ...RequestEditorFn) (*DcimModuleBaysListResponse, error) { + rsp, err := c.DcimModuleBaysList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysListResponse(rsp) +} + +// DcimModuleBaysBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimModuleBaysBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimModuleBaysBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBaysBulkPartialUpdateResponse, error) { + rsp, err := c.DcimModuleBaysBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleBaysBulkPartialUpdateWithResponse(ctx context.Context, body DcimModuleBaysBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBaysBulkPartialUpdateResponse, error) { + rsp, err := c.DcimModuleBaysBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysBulkPartialUpdateResponse(rsp) +} + +// DcimModuleBaysCreateWithBodyWithResponse request with arbitrary body returning *DcimModuleBaysCreateResponse +func (c *ClientWithResponses) DcimModuleBaysCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBaysCreateResponse, error) { + rsp, err := c.DcimModuleBaysCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleBaysCreateWithResponse(ctx context.Context, body DcimModuleBaysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBaysCreateResponse, error) { + rsp, err := c.DcimModuleBaysCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysCreateResponse(rsp) +} + +// DcimModuleBaysBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimModuleBaysBulkUpdateResponse +func (c *ClientWithResponses) DcimModuleBaysBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBaysBulkUpdateResponse, error) { + rsp, err := c.DcimModuleBaysBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleBaysBulkUpdateWithResponse(ctx context.Context, body DcimModuleBaysBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBaysBulkUpdateResponse, error) { + rsp, err := c.DcimModuleBaysBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysBulkUpdateResponse(rsp) +} + +// DcimModuleBaysDestroyWithResponse request returning *DcimModuleBaysDestroyResponse +func (c *ClientWithResponses) DcimModuleBaysDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModuleBaysDestroyResponse, error) { + rsp, err := c.DcimModuleBaysDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysDestroyResponse(rsp) +} + +// DcimModuleBaysRetrieveWithResponse request returning *DcimModuleBaysRetrieveResponse +func (c *ClientWithResponses) DcimModuleBaysRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModuleBaysRetrieveResponse, error) { + rsp, err := c.DcimModuleBaysRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysRetrieveResponse(rsp) +} + +// DcimModuleBaysPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimModuleBaysPartialUpdateResponse +func (c *ClientWithResponses) DcimModuleBaysPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBaysPartialUpdateResponse, error) { + rsp, err := c.DcimModuleBaysPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleBaysPartialUpdateWithResponse(ctx context.Context, id int, body DcimModuleBaysPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBaysPartialUpdateResponse, error) { + rsp, err := c.DcimModuleBaysPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysPartialUpdateResponse(rsp) +} + +// DcimModuleBaysUpdateWithBodyWithResponse request with arbitrary body returning *DcimModuleBaysUpdateResponse +func (c *ClientWithResponses) DcimModuleBaysUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleBaysUpdateResponse, error) { + rsp, err := c.DcimModuleBaysUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleBaysUpdateWithResponse(ctx context.Context, id int, body DcimModuleBaysUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleBaysUpdateResponse, error) { + rsp, err := c.DcimModuleBaysUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleBaysUpdateResponse(rsp) +} + +// DcimModuleTypesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimModuleTypesBulkDestroyResponse +func (c *ClientWithResponses) DcimModuleTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleTypesBulkDestroyResponse, error) { + rsp, err := c.DcimModuleTypesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleTypesBulkDestroyWithResponse(ctx context.Context, body DcimModuleTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleTypesBulkDestroyResponse, error) { + rsp, err := c.DcimModuleTypesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesBulkDestroyResponse(rsp) +} + +// DcimModuleTypesListWithResponse request returning *DcimModuleTypesListResponse +func (c *ClientWithResponses) DcimModuleTypesListWithResponse(ctx context.Context, params *DcimModuleTypesListParams, reqEditors ...RequestEditorFn) (*DcimModuleTypesListResponse, error) { + rsp, err := c.DcimModuleTypesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesListResponse(rsp) +} + +// DcimModuleTypesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimModuleTypesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimModuleTypesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleTypesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimModuleTypesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleTypesBulkPartialUpdateWithResponse(ctx context.Context, body DcimModuleTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleTypesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimModuleTypesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesBulkPartialUpdateResponse(rsp) +} + +// DcimModuleTypesCreateWithBodyWithResponse request with arbitrary body returning *DcimModuleTypesCreateResponse +func (c *ClientWithResponses) DcimModuleTypesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleTypesCreateResponse, error) { + rsp, err := c.DcimModuleTypesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleTypesCreateWithResponse(ctx context.Context, body DcimModuleTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleTypesCreateResponse, error) { + rsp, err := c.DcimModuleTypesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesCreateResponse(rsp) +} + +// DcimModuleTypesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimModuleTypesBulkUpdateResponse +func (c *ClientWithResponses) DcimModuleTypesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleTypesBulkUpdateResponse, error) { + rsp, err := c.DcimModuleTypesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleTypesBulkUpdateWithResponse(ctx context.Context, body DcimModuleTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleTypesBulkUpdateResponse, error) { + rsp, err := c.DcimModuleTypesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesBulkUpdateResponse(rsp) +} + +// DcimModuleTypesDestroyWithResponse request returning *DcimModuleTypesDestroyResponse +func (c *ClientWithResponses) DcimModuleTypesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModuleTypesDestroyResponse, error) { + rsp, err := c.DcimModuleTypesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesDestroyResponse(rsp) +} + +// DcimModuleTypesRetrieveWithResponse request returning *DcimModuleTypesRetrieveResponse +func (c *ClientWithResponses) DcimModuleTypesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModuleTypesRetrieveResponse, error) { + rsp, err := c.DcimModuleTypesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesRetrieveResponse(rsp) +} + +// DcimModuleTypesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimModuleTypesPartialUpdateResponse +func (c *ClientWithResponses) DcimModuleTypesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleTypesPartialUpdateResponse, error) { + rsp, err := c.DcimModuleTypesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleTypesPartialUpdateWithResponse(ctx context.Context, id int, body DcimModuleTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleTypesPartialUpdateResponse, error) { + rsp, err := c.DcimModuleTypesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesPartialUpdateResponse(rsp) +} + +// DcimModuleTypesUpdateWithBodyWithResponse request with arbitrary body returning *DcimModuleTypesUpdateResponse +func (c *ClientWithResponses) DcimModuleTypesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModuleTypesUpdateResponse, error) { + rsp, err := c.DcimModuleTypesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModuleTypesUpdateWithResponse(ctx context.Context, id int, body DcimModuleTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModuleTypesUpdateResponse, error) { + rsp, err := c.DcimModuleTypesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModuleTypesUpdateResponse(rsp) +} + +// DcimModulesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimModulesBulkDestroyResponse +func (c *ClientWithResponses) DcimModulesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModulesBulkDestroyResponse, error) { + rsp, err := c.DcimModulesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimModulesBulkDestroyWithResponse(ctx context.Context, body DcimModulesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModulesBulkDestroyResponse, error) { + rsp, err := c.DcimModulesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesBulkDestroyResponse(rsp) +} + +// DcimModulesListWithResponse request returning *DcimModulesListResponse +func (c *ClientWithResponses) DcimModulesListWithResponse(ctx context.Context, params *DcimModulesListParams, reqEditors ...RequestEditorFn) (*DcimModulesListResponse, error) { + rsp, err := c.DcimModulesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesListResponse(rsp) +} + +// DcimModulesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimModulesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimModulesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModulesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimModulesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModulesBulkPartialUpdateWithResponse(ctx context.Context, body DcimModulesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModulesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimModulesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesBulkPartialUpdateResponse(rsp) +} + +// DcimModulesCreateWithBodyWithResponse request with arbitrary body returning *DcimModulesCreateResponse +func (c *ClientWithResponses) DcimModulesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModulesCreateResponse, error) { + rsp, err := c.DcimModulesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModulesCreateWithResponse(ctx context.Context, body DcimModulesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModulesCreateResponse, error) { + rsp, err := c.DcimModulesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesCreateResponse(rsp) +} + +// DcimModulesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimModulesBulkUpdateResponse +func (c *ClientWithResponses) DcimModulesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModulesBulkUpdateResponse, error) { + rsp, err := c.DcimModulesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModulesBulkUpdateWithResponse(ctx context.Context, body DcimModulesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModulesBulkUpdateResponse, error) { + rsp, err := c.DcimModulesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesBulkUpdateResponse(rsp) +} + +// DcimModulesDestroyWithResponse request returning *DcimModulesDestroyResponse +func (c *ClientWithResponses) DcimModulesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModulesDestroyResponse, error) { + rsp, err := c.DcimModulesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesDestroyResponse(rsp) +} + +// DcimModulesRetrieveWithResponse request returning *DcimModulesRetrieveResponse +func (c *ClientWithResponses) DcimModulesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimModulesRetrieveResponse, error) { + rsp, err := c.DcimModulesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesRetrieveResponse(rsp) +} + +// DcimModulesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimModulesPartialUpdateResponse +func (c *ClientWithResponses) DcimModulesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModulesPartialUpdateResponse, error) { + rsp, err := c.DcimModulesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModulesPartialUpdateWithResponse(ctx context.Context, id int, body DcimModulesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModulesPartialUpdateResponse, error) { + rsp, err := c.DcimModulesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesPartialUpdateResponse(rsp) +} + +// DcimModulesUpdateWithBodyWithResponse request with arbitrary body returning *DcimModulesUpdateResponse +func (c *ClientWithResponses) DcimModulesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimModulesUpdateResponse, error) { + rsp, err := c.DcimModulesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimModulesUpdateWithResponse(ctx context.Context, id int, body DcimModulesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimModulesUpdateResponse, error) { + rsp, err := c.DcimModulesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimModulesUpdateResponse(rsp) +} + +// DcimPlatformsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimPlatformsBulkDestroyResponse +func (c *ClientWithResponses) DcimPlatformsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkDestroyResponse, error) { + rsp, err := c.DcimPlatformsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimPlatformsBulkDestroyWithResponse(ctx context.Context, body DcimPlatformsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkDestroyResponse, error) { + rsp, err := c.DcimPlatformsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimPlatformsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsUpdateResponse, error) { + rsp, err := c.DcimPlatformsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsUpdateResponse(rsp) +} + +// DcimPowerFeedsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimPowerFeedsBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerFeedsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerFeedsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerFeedsBulkDestroyWithResponse(ctx context.Context, body DcimPowerFeedsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerFeedsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, reqEditors ...RequestEditorFn) (*DcimPowerFeedsTraceRetrieveResponse, error) { + rsp, err := c.DcimPowerFeedsTraceRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsTraceRetrieveResponse(rsp) +} + +// DcimPowerOutletTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerOutletTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimPowerOutletTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimPowerOutletTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesUpdateResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesUpdateResponse(rsp) +} + +// DcimPowerOutletsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletsBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerOutletsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerOutletsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletsBulkDestroyWithResponse(ctx context.Context, body DcimPowerOutletsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerOutletsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, reqEditors ...RequestEditorFn) (*DcimPowerOutletsTraceRetrieveResponse, error) { + rsp, err := c.DcimPowerOutletsTraceRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsTraceRetrieveResponse(rsp) +} + +// DcimPowerPanelsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimPowerPanelsBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerPanelsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPanelsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPanelsBulkDestroyWithResponse(ctx context.Context, body DcimPowerPanelsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPanelsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimPowerPanelsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsUpdateResponse, error) { + rsp, err := c.DcimPowerPanelsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsUpdateResponse(rsp) +} + +// DcimPowerPortTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimPowerPortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPortTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimPowerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPortTemplatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimPowerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesUpdateResponse, error) { + rsp, err := c.DcimPowerPortTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesUpdateResponse(rsp) +} + +// DcimPowerPortsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimPowerPortsBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPortsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortsBulkDestroyWithResponse(ctx context.Context, body DcimPowerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPortsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, reqEditors ...RequestEditorFn) (*DcimPowerPortsTraceRetrieveResponse, error) { + rsp, err := c.DcimPowerPortsTraceRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsTraceRetrieveResponse(rsp) +} + +// DcimRackReservationsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimRackReservationsBulkDestroyResponse +func (c *ClientWithResponses) DcimRackReservationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkDestroyResponse, error) { + rsp, err := c.DcimRackReservationsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackReservationsBulkDestroyWithResponse(ctx context.Context, body DcimRackReservationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkDestroyResponse, error) { + rsp, err := c.DcimRackReservationsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimRackReservationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsUpdateResponse, error) { + rsp, err := c.DcimRackReservationsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsUpdateResponse(rsp) +} + +// DcimRackRolesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimRackRolesBulkDestroyResponse +func (c *ClientWithResponses) DcimRackRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkDestroyResponse, error) { + rsp, err := c.DcimRackRolesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackRolesBulkDestroyWithResponse(ctx context.Context, body DcimRackRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkDestroyResponse, error) { + rsp, err := c.DcimRackRolesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimRackRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesUpdateResponse, error) { + rsp, err := c.DcimRackRolesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesUpdateResponse(rsp) +} + +// DcimRacksBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimRacksBulkDestroyResponse +func (c *ClientWithResponses) DcimRacksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksBulkDestroyResponse, error) { + rsp, err := c.DcimRacksBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimRacksBulkDestroyWithResponse(ctx context.Context, body DcimRacksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksBulkDestroyResponse, error) { + rsp, err := c.DcimRacksBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimRacksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksUpdateResponse, error) { + rsp, err := c.DcimRacksUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksUpdateResponse(rsp) +} + +// DcimRacksElevationRetrieveWithResponse request returning *DcimRacksElevationRetrieveResponse +func (c *ClientWithResponses) DcimRacksElevationRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimRacksElevationRetrieveResponse, error) { + rsp, err := c.DcimRacksElevationRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksElevationRetrieveResponse(rsp) +} + +// DcimRearPortTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimRearPortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimRearPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimRearPortTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimRearPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimRearPortTemplatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimRearPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesUpdateResponse, error) { + rsp, err := c.DcimRearPortTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesUpdateResponse(rsp) +} + +// DcimRearPortsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimRearPortsBulkDestroyResponse +func (c *ClientWithResponses) DcimRearPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkDestroyResponse, error) { + rsp, err := c.DcimRearPortsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortsBulkDestroyWithResponse(ctx context.Context, body DcimRearPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkDestroyResponse, error) { + rsp, err := c.DcimRearPortsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, reqEditors ...RequestEditorFn) (*DcimRearPortsPathsRetrieveResponse, error) { + rsp, err := c.DcimRearPortsPathsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsPathsRetrieveResponse(rsp) +} + +// DcimRegionsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimRegionsBulkDestroyResponse +func (c *ClientWithResponses) DcimRegionsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsBulkDestroyResponse, error) { + rsp, err := c.DcimRegionsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimRegionsBulkDestroyWithResponse(ctx context.Context, body DcimRegionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsBulkDestroyResponse, error) { + rsp, err := c.DcimRegionsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimRegionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsUpdateResponse, error) { + rsp, err := c.DcimRegionsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsUpdateResponse(rsp) +} + +// DcimSiteGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimSiteGroupsBulkDestroyResponse +func (c *ClientWithResponses) DcimSiteGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSiteGroupsBulkDestroyResponse, error) { + rsp, err := c.DcimSiteGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimSiteGroupsBulkDestroyWithResponse(ctx context.Context, body DcimSiteGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSiteGroupsBulkDestroyResponse, error) { + rsp, err := c.DcimSiteGroupsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsBulkDestroyResponse(rsp) +} + +// DcimSiteGroupsListWithResponse request returning *DcimSiteGroupsListResponse +func (c *ClientWithResponses) DcimSiteGroupsListWithResponse(ctx context.Context, params *DcimSiteGroupsListParams, reqEditors ...RequestEditorFn) (*DcimSiteGroupsListResponse, error) { + rsp, err := c.DcimSiteGroupsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsListResponse(rsp) +} + +// DcimSiteGroupsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimSiteGroupsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimSiteGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSiteGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimSiteGroupsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimSiteGroupsBulkPartialUpdateWithResponse(ctx context.Context, body DcimSiteGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSiteGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimSiteGroupsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsBulkPartialUpdateResponse(rsp) +} + +// DcimSiteGroupsCreateWithBodyWithResponse request with arbitrary body returning *DcimSiteGroupsCreateResponse +func (c *ClientWithResponses) DcimSiteGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSiteGroupsCreateResponse, error) { + rsp, err := c.DcimSiteGroupsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimSiteGroupsCreateWithResponse(ctx context.Context, body DcimSiteGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSiteGroupsCreateResponse, error) { + rsp, err := c.DcimSiteGroupsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsCreateResponse(rsp) +} + +// DcimSiteGroupsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimSiteGroupsBulkUpdateResponse +func (c *ClientWithResponses) DcimSiteGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSiteGroupsBulkUpdateResponse, error) { + rsp, err := c.DcimSiteGroupsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimSiteGroupsBulkUpdateWithResponse(ctx context.Context, body DcimSiteGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSiteGroupsBulkUpdateResponse, error) { + rsp, err := c.DcimSiteGroupsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsBulkUpdateResponse(rsp) +} + +// DcimSiteGroupsDestroyWithResponse request returning *DcimSiteGroupsDestroyResponse +func (c *ClientWithResponses) DcimSiteGroupsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimSiteGroupsDestroyResponse, error) { + rsp, err := c.DcimSiteGroupsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsDestroyResponse(rsp) +} + +// DcimSiteGroupsRetrieveWithResponse request returning *DcimSiteGroupsRetrieveResponse +func (c *ClientWithResponses) DcimSiteGroupsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimSiteGroupsRetrieveResponse, error) { + rsp, err := c.DcimSiteGroupsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsRetrieveResponse(rsp) +} + +// DcimSiteGroupsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimSiteGroupsPartialUpdateResponse +func (c *ClientWithResponses) DcimSiteGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSiteGroupsPartialUpdateResponse, error) { + rsp, err := c.DcimSiteGroupsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimSiteGroupsPartialUpdateWithResponse(ctx context.Context, id int, body DcimSiteGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSiteGroupsPartialUpdateResponse, error) { + rsp, err := c.DcimSiteGroupsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsPartialUpdateResponse(rsp) +} + +// DcimSiteGroupsUpdateWithBodyWithResponse request with arbitrary body returning *DcimSiteGroupsUpdateResponse +func (c *ClientWithResponses) DcimSiteGroupsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSiteGroupsUpdateResponse, error) { + rsp, err := c.DcimSiteGroupsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimSiteGroupsUpdateWithResponse(ctx context.Context, id int, body DcimSiteGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSiteGroupsUpdateResponse, error) { + rsp, err := c.DcimSiteGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSiteGroupsUpdateResponse(rsp) +} + +// DcimSitesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimSitesBulkDestroyResponse +func (c *ClientWithResponses) DcimSitesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesBulkDestroyResponse, error) { + rsp, err := c.DcimSitesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimSitesBulkDestroyWithResponse(ctx context.Context, body DcimSitesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesBulkDestroyResponse, error) { + rsp, err := c.DcimSitesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimSitesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesUpdateResponse, error) { + rsp, err := c.DcimSitesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesUpdateResponse(rsp) +} + +// DcimVirtualChassisBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimVirtualChassisBulkDestroyResponse +func (c *ClientWithResponses) DcimVirtualChassisBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkDestroyResponse, error) { + rsp, err := c.DcimVirtualChassisBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimVirtualChassisBulkDestroyWithResponse(ctx context.Context, body DcimVirtualChassisBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkDestroyResponse, error) { + rsp, err := c.DcimVirtualChassisBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body DcimVirtualChassisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisUpdateResponse, error) { + rsp, err := c.DcimVirtualChassisUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisUpdateResponse(rsp) +} + +// DcimVirtualDeviceContextsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimVirtualDeviceContextsBulkDestroyResponse +func (c *ClientWithResponses) DcimVirtualDeviceContextsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsBulkDestroyResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimVirtualDeviceContextsBulkDestroyWithResponse(ctx context.Context, body DcimVirtualDeviceContextsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsBulkDestroyResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsBulkDestroyResponse(rsp) +} + +// DcimVirtualDeviceContextsListWithResponse request returning *DcimVirtualDeviceContextsListResponse +func (c *ClientWithResponses) DcimVirtualDeviceContextsListWithResponse(ctx context.Context, params *DcimVirtualDeviceContextsListParams, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsListResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsListResponse(rsp) +} + +// DcimVirtualDeviceContextsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimVirtualDeviceContextsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimVirtualDeviceContextsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimVirtualDeviceContextsBulkPartialUpdateWithResponse(ctx context.Context, body DcimVirtualDeviceContextsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsBulkPartialUpdateResponse(rsp) +} + +// DcimVirtualDeviceContextsCreateWithBodyWithResponse request with arbitrary body returning *DcimVirtualDeviceContextsCreateResponse +func (c *ClientWithResponses) DcimVirtualDeviceContextsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsCreateResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimVirtualDeviceContextsCreateWithResponse(ctx context.Context, body DcimVirtualDeviceContextsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsCreateResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsCreateResponse(rsp) +} + +// DcimVirtualDeviceContextsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimVirtualDeviceContextsBulkUpdateResponse +func (c *ClientWithResponses) DcimVirtualDeviceContextsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsBulkUpdateResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimVirtualDeviceContextsBulkUpdateWithResponse(ctx context.Context, body DcimVirtualDeviceContextsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsBulkUpdateResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsBulkUpdateResponse(rsp) +} + +// DcimVirtualDeviceContextsDestroyWithResponse request returning *DcimVirtualDeviceContextsDestroyResponse +func (c *ClientWithResponses) DcimVirtualDeviceContextsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsDestroyResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsDestroyResponse(rsp) +} + +// DcimVirtualDeviceContextsRetrieveWithResponse request returning *DcimVirtualDeviceContextsRetrieveResponse +func (c *ClientWithResponses) DcimVirtualDeviceContextsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsRetrieveResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsRetrieveResponse(rsp) +} + +// DcimVirtualDeviceContextsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimVirtualDeviceContextsPartialUpdateResponse +func (c *ClientWithResponses) DcimVirtualDeviceContextsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsPartialUpdateResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimVirtualDeviceContextsPartialUpdateWithResponse(ctx context.Context, id int, body DcimVirtualDeviceContextsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsPartialUpdateResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsPartialUpdateResponse(rsp) +} + +// DcimVirtualDeviceContextsUpdateWithBodyWithResponse request with arbitrary body returning *DcimVirtualDeviceContextsUpdateResponse +func (c *ClientWithResponses) DcimVirtualDeviceContextsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsUpdateResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimVirtualDeviceContextsUpdateWithResponse(ctx context.Context, id int, body DcimVirtualDeviceContextsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualDeviceContextsUpdateResponse, error) { + rsp, err := c.DcimVirtualDeviceContextsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualDeviceContextsUpdateResponse(rsp) +} + +// ExtrasBookmarksBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasBookmarksBulkDestroyResponse +func (c *ClientWithResponses) ExtrasBookmarksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBookmarksBulkDestroyResponse, error) { + rsp, err := c.ExtrasBookmarksBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasBookmarksBulkDestroyWithResponse(ctx context.Context, body ExtrasBookmarksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasBookmarksBulkDestroyResponse, error) { + rsp, err := c.ExtrasBookmarksBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksBulkDestroyResponse(rsp) +} + +// ExtrasBookmarksListWithResponse request returning *ExtrasBookmarksListResponse +func (c *ClientWithResponses) ExtrasBookmarksListWithResponse(ctx context.Context, params *ExtrasBookmarksListParams, reqEditors ...RequestEditorFn) (*ExtrasBookmarksListResponse, error) { + rsp, err := c.ExtrasBookmarksList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksListResponse(rsp) +} + +// ExtrasBookmarksBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasBookmarksBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasBookmarksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBookmarksBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasBookmarksBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasBookmarksBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasBookmarksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasBookmarksBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasBookmarksBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksBulkPartialUpdateResponse(rsp) +} + +// ExtrasBookmarksCreateWithBodyWithResponse request with arbitrary body returning *ExtrasBookmarksCreateResponse +func (c *ClientWithResponses) ExtrasBookmarksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBookmarksCreateResponse, error) { + rsp, err := c.ExtrasBookmarksCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasBookmarksCreateWithResponse(ctx context.Context, body ExtrasBookmarksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasBookmarksCreateResponse, error) { + rsp, err := c.ExtrasBookmarksCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksCreateResponse(rsp) +} + +// ExtrasBookmarksBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasBookmarksBulkUpdateResponse +func (c *ClientWithResponses) ExtrasBookmarksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBookmarksBulkUpdateResponse, error) { + rsp, err := c.ExtrasBookmarksBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasBookmarksBulkUpdateWithResponse(ctx context.Context, body ExtrasBookmarksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasBookmarksBulkUpdateResponse, error) { + rsp, err := c.ExtrasBookmarksBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksBulkUpdateResponse(rsp) +} + +// ExtrasBookmarksDestroyWithResponse request returning *ExtrasBookmarksDestroyResponse +func (c *ClientWithResponses) ExtrasBookmarksDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasBookmarksDestroyResponse, error) { + rsp, err := c.ExtrasBookmarksDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksDestroyResponse(rsp) +} + +// ExtrasBookmarksRetrieveWithResponse request returning *ExtrasBookmarksRetrieveResponse +func (c *ClientWithResponses) ExtrasBookmarksRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasBookmarksRetrieveResponse, error) { + rsp, err := c.ExtrasBookmarksRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksRetrieveResponse(rsp) +} + +// ExtrasBookmarksPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasBookmarksPartialUpdateResponse +func (c *ClientWithResponses) ExtrasBookmarksPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBookmarksPartialUpdateResponse, error) { + rsp, err := c.ExtrasBookmarksPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasBookmarksPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasBookmarksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasBookmarksPartialUpdateResponse, error) { + rsp, err := c.ExtrasBookmarksPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksPartialUpdateResponse(rsp) +} + +// ExtrasBookmarksUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasBookmarksUpdateResponse +func (c *ClientWithResponses) ExtrasBookmarksUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBookmarksUpdateResponse, error) { + rsp, err := c.ExtrasBookmarksUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasBookmarksUpdateWithResponse(ctx context.Context, id int, body ExtrasBookmarksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasBookmarksUpdateResponse, error) { + rsp, err := c.ExtrasBookmarksUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasBookmarksUpdateResponse(rsp) +} + +// ExtrasConfigContextsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasConfigContextsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkDestroyResponse, error) { + rsp, err := c.ExtrasConfigContextsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextsBulkDestroyWithResponse(ctx context.Context, body ExtrasConfigContextsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkDestroyResponse, error) { + rsp, err := c.ExtrasConfigContextsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body ExtrasConfigContextsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsUpdateResponse(rsp) +} + +// ExtrasConfigContextsSyncCreateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextsSyncCreateResponse +func (c *ClientWithResponses) ExtrasConfigContextsSyncCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsSyncCreateResponse, error) { + rsp, err := c.ExtrasConfigContextsSyncCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsSyncCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextsSyncCreateWithResponse(ctx context.Context, id int, body ExtrasConfigContextsSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsSyncCreateResponse, error) { + rsp, err := c.ExtrasConfigContextsSyncCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsSyncCreateResponse(rsp) +} + +// ExtrasConfigTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasConfigTemplatesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasConfigTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesBulkDestroyResponse, error) { + rsp, err := c.ExtrasConfigTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigTemplatesBulkDestroyWithResponse(ctx context.Context, body ExtrasConfigTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesBulkDestroyResponse, error) { + rsp, err := c.ExtrasConfigTemplatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesBulkDestroyResponse(rsp) +} + +// ExtrasConfigTemplatesListWithResponse request returning *ExtrasConfigTemplatesListResponse +func (c *ClientWithResponses) ExtrasConfigTemplatesListWithResponse(ctx context.Context, params *ExtrasConfigTemplatesListParams, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesListResponse, error) { + rsp, err := c.ExtrasConfigTemplatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesListResponse(rsp) +} + +// ExtrasConfigTemplatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigTemplatesBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasConfigTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasConfigTemplatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasConfigTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasConfigTemplatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesBulkPartialUpdateResponse(rsp) +} + +// ExtrasConfigTemplatesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigTemplatesCreateResponse +func (c *ClientWithResponses) ExtrasConfigTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesCreateResponse, error) { + rsp, err := c.ExtrasConfigTemplatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigTemplatesCreateWithResponse(ctx context.Context, body ExtrasConfigTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesCreateResponse, error) { + rsp, err := c.ExtrasConfigTemplatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesCreateResponse(rsp) +} + +// ExtrasConfigTemplatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigTemplatesBulkUpdateResponse +func (c *ClientWithResponses) ExtrasConfigTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesBulkUpdateResponse, error) { + rsp, err := c.ExtrasConfigTemplatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigTemplatesBulkUpdateWithResponse(ctx context.Context, body ExtrasConfigTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesBulkUpdateResponse, error) { + rsp, err := c.ExtrasConfigTemplatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesBulkUpdateResponse(rsp) +} + +// ExtrasConfigTemplatesDestroyWithResponse request returning *ExtrasConfigTemplatesDestroyResponse +func (c *ClientWithResponses) ExtrasConfigTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesDestroyResponse, error) { + rsp, err := c.ExtrasConfigTemplatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesDestroyResponse(rsp) +} + +// ExtrasConfigTemplatesRetrieveWithResponse request returning *ExtrasConfigTemplatesRetrieveResponse +func (c *ClientWithResponses) ExtrasConfigTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesRetrieveResponse, error) { + rsp, err := c.ExtrasConfigTemplatesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesRetrieveResponse(rsp) +} + +// ExtrasConfigTemplatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigTemplatesPartialUpdateResponse +func (c *ClientWithResponses) ExtrasConfigTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesPartialUpdateResponse, error) { + rsp, err := c.ExtrasConfigTemplatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasConfigTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesPartialUpdateResponse, error) { + rsp, err := c.ExtrasConfigTemplatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesPartialUpdateResponse(rsp) +} + +// ExtrasConfigTemplatesUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigTemplatesUpdateResponse +func (c *ClientWithResponses) ExtrasConfigTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesUpdateResponse, error) { + rsp, err := c.ExtrasConfigTemplatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigTemplatesUpdateWithResponse(ctx context.Context, id int, body ExtrasConfigTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesUpdateResponse, error) { + rsp, err := c.ExtrasConfigTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesUpdateResponse(rsp) +} + +// ExtrasConfigTemplatesRenderCreateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigTemplatesRenderCreateResponse +func (c *ClientWithResponses) ExtrasConfigTemplatesRenderCreateWithBodyWithResponse(ctx context.Context, id int, params *ExtrasConfigTemplatesRenderCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesRenderCreateResponse, error) { + rsp, err := c.ExtrasConfigTemplatesRenderCreateWithBody(ctx, id, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesRenderCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigTemplatesRenderCreateWithResponse(ctx context.Context, id int, params *ExtrasConfigTemplatesRenderCreateParams, body ExtrasConfigTemplatesRenderCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesRenderCreateResponse, error) { + rsp, err := c.ExtrasConfigTemplatesRenderCreate(ctx, id, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesRenderCreateResponse(rsp) +} + +// ExtrasConfigTemplatesSyncCreateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigTemplatesSyncCreateResponse +func (c *ClientWithResponses) ExtrasConfigTemplatesSyncCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesSyncCreateResponse, error) { + rsp, err := c.ExtrasConfigTemplatesSyncCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesSyncCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigTemplatesSyncCreateWithResponse(ctx context.Context, id int, body ExtrasConfigTemplatesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigTemplatesSyncCreateResponse, error) { + rsp, err := c.ExtrasConfigTemplatesSyncCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigTemplatesSyncCreateResponse(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) +} + +// ExtrasCustomFieldChoiceSetsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldChoiceSetsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsBulkDestroyWithResponse(ctx context.Context, body ExtrasCustomFieldChoiceSetsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsBulkDestroyResponse(rsp) +} + +// ExtrasCustomFieldChoiceSetsListWithResponse request returning *ExtrasCustomFieldChoiceSetsListResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsListWithResponse(ctx context.Context, params *ExtrasCustomFieldChoiceSetsListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsListResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsListResponse(rsp) +} + +// ExtrasCustomFieldChoiceSetsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse(rsp) +} + +// ExtrasCustomFieldChoiceSetsCreateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldChoiceSetsCreateResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsCreateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsCreateWithResponse(ctx context.Context, body ExtrasCustomFieldChoiceSetsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsCreateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsCreateResponse(rsp) +} + +// ExtrasCustomFieldChoiceSetsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldChoiceSetsBulkUpdateResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsBulkUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsBulkUpdateWithResponse(ctx context.Context, body ExtrasCustomFieldChoiceSetsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsBulkUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsBulkUpdateResponse(rsp) +} + +// ExtrasCustomFieldChoiceSetsDestroyWithResponse request returning *ExtrasCustomFieldChoiceSetsDestroyResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsDestroyResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsDestroyResponse(rsp) +} + +// ExtrasCustomFieldChoiceSetsRetrieveWithResponse request returning *ExtrasCustomFieldChoiceSetsRetrieveResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsRetrieveResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsRetrieveResponse(rsp) +} + +// ExtrasCustomFieldChoiceSetsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldChoiceSetsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasCustomFieldChoiceSetsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsPartialUpdateResponse(rsp) +} + +// ExtrasCustomFieldChoiceSetsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldChoiceSetsUpdateResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsUpdateWithResponse(ctx context.Context, id int, body ExtrasCustomFieldChoiceSetsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsUpdateResponse(rsp) +} + +// ExtrasCustomFieldChoiceSetsChoicesRetrieveWithResponse request returning *ExtrasCustomFieldChoiceSetsChoicesRetrieveResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoiceSetsChoicesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoiceSetsChoicesRetrieveResponse, error) { + rsp, err := c.ExtrasCustomFieldChoiceSetsChoicesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoiceSetsChoicesRetrieveResponse(rsp) +} + +// ExtrasCustomFieldsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasCustomFieldsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomFieldsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldsBulkDestroyWithResponse(ctx context.Context, body ExtrasCustomFieldsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomFieldsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body ExtrasCustomFieldsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsUpdateResponse(rsp) +} + +// ExtrasCustomLinksBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasCustomLinksBulkDestroyResponse +func (c *ClientWithResponses) ExtrasCustomLinksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomLinksBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomLinksBulkDestroyWithResponse(ctx context.Context, body ExtrasCustomLinksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomLinksBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body ExtrasCustomLinksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksUpdateResponse, error) { + rsp, err := c.ExtrasCustomLinksUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksUpdateResponse(rsp) +} + +// ExtrasDashboardDestroyWithResponse request returning *ExtrasDashboardDestroyResponse +func (c *ClientWithResponses) ExtrasDashboardDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasDashboardDestroyResponse, error) { + rsp, err := c.ExtrasDashboardDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDashboardDestroyResponse(rsp) +} + +// ExtrasDashboardRetrieveWithResponse request returning *ExtrasDashboardRetrieveResponse +func (c *ClientWithResponses) ExtrasDashboardRetrieveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasDashboardRetrieveResponse, error) { + rsp, err := c.ExtrasDashboardRetrieve(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDashboardRetrieveResponse(rsp) +} + +// ExtrasDashboardPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasDashboardPartialUpdateResponse +func (c *ClientWithResponses) ExtrasDashboardPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDashboardPartialUpdateResponse, error) { + rsp, err := c.ExtrasDashboardPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDashboardPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDashboardPartialUpdateWithResponse(ctx context.Context, body ExtrasDashboardPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDashboardPartialUpdateResponse, error) { + rsp, err := c.ExtrasDashboardPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDashboardPartialUpdateResponse(rsp) +} + +// ExtrasDashboardUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasDashboardUpdateResponse +func (c *ClientWithResponses) ExtrasDashboardUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDashboardUpdateResponse, error) { + rsp, err := c.ExtrasDashboardUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDashboardUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDashboardUpdateWithResponse(ctx context.Context, body ExtrasDashboardUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDashboardUpdateResponse, error) { + rsp, err := c.ExtrasDashboardUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDashboardUpdateResponse(rsp) +} + +// ExtrasExportTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasExportTemplatesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasExportTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkDestroyResponse, error) { + rsp, err := c.ExtrasExportTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasExportTemplatesBulkDestroyWithResponse(ctx context.Context, body ExtrasExportTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkDestroyResponse, error) { + rsp, err := c.ExtrasExportTemplatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body ExtrasExportTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesUpdateResponse, error) { + rsp, err := c.ExtrasExportTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesUpdateResponse(rsp) +} + +// ExtrasExportTemplatesSyncCreateWithBodyWithResponse request with arbitrary body returning *ExtrasExportTemplatesSyncCreateResponse +func (c *ClientWithResponses) ExtrasExportTemplatesSyncCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesSyncCreateResponse, error) { + rsp, err := c.ExtrasExportTemplatesSyncCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesSyncCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasExportTemplatesSyncCreateWithResponse(ctx context.Context, id int, body ExtrasExportTemplatesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesSyncCreateResponse, error) { + rsp, err := c.ExtrasExportTemplatesSyncCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesSyncCreateResponse(rsp) +} + +// ExtrasImageAttachmentsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasImageAttachmentsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasImageAttachmentsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkDestroyResponse, error) { + rsp, err := c.ExtrasImageAttachmentsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasImageAttachmentsBulkDestroyWithResponse(ctx context.Context, body ExtrasImageAttachmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkDestroyResponse, error) { + rsp, err := c.ExtrasImageAttachmentsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body ExtrasImageAttachmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsUpdateResponse, error) { + rsp, err := c.ExtrasImageAttachmentsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsUpdateResponse(rsp) +} + +// ExtrasJournalEntriesBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasJournalEntriesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasJournalEntriesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesBulkDestroyResponse, error) { + rsp, err := c.ExtrasJournalEntriesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJournalEntriesBulkDestroyWithResponse(ctx context.Context, body ExtrasJournalEntriesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesBulkDestroyResponse, error) { + rsp, err := c.ExtrasJournalEntriesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesBulkDestroyResponse(rsp) +} + +// ExtrasJournalEntriesListWithResponse request returning *ExtrasJournalEntriesListResponse +func (c *ClientWithResponses) ExtrasJournalEntriesListWithResponse(ctx context.Context, params *ExtrasJournalEntriesListParams, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesListResponse, error) { + rsp, err := c.ExtrasJournalEntriesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesListResponse(rsp) +} + +// ExtrasJournalEntriesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJournalEntriesBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasJournalEntriesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasJournalEntriesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJournalEntriesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasJournalEntriesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasJournalEntriesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesBulkPartialUpdateResponse(rsp) +} + +// ExtrasJournalEntriesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasJournalEntriesCreateResponse +func (c *ClientWithResponses) ExtrasJournalEntriesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesCreateResponse, error) { + rsp, err := c.ExtrasJournalEntriesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJournalEntriesCreateWithResponse(ctx context.Context, body ExtrasJournalEntriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesCreateResponse, error) { + rsp, err := c.ExtrasJournalEntriesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesCreateResponse(rsp) +} + +// ExtrasJournalEntriesBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJournalEntriesBulkUpdateResponse +func (c *ClientWithResponses) ExtrasJournalEntriesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesBulkUpdateResponse, error) { + rsp, err := c.ExtrasJournalEntriesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJournalEntriesBulkUpdateWithResponse(ctx context.Context, body ExtrasJournalEntriesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesBulkUpdateResponse, error) { + rsp, err := c.ExtrasJournalEntriesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesBulkUpdateResponse(rsp) +} + +// ExtrasJournalEntriesDestroyWithResponse request returning *ExtrasJournalEntriesDestroyResponse +func (c *ClientWithResponses) ExtrasJournalEntriesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesDestroyResponse, error) { + rsp, err := c.ExtrasJournalEntriesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesDestroyResponse(rsp) +} + +// ExtrasJournalEntriesRetrieveWithResponse request returning *ExtrasJournalEntriesRetrieveResponse +func (c *ClientWithResponses) ExtrasJournalEntriesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesRetrieveResponse, error) { + rsp, err := c.ExtrasJournalEntriesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesRetrieveResponse(rsp) +} + +// ExtrasJournalEntriesPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJournalEntriesPartialUpdateResponse +func (c *ClientWithResponses) ExtrasJournalEntriesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesPartialUpdateResponse, error) { + rsp, err := c.ExtrasJournalEntriesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJournalEntriesPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasJournalEntriesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesPartialUpdateResponse, error) { + rsp, err := c.ExtrasJournalEntriesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesPartialUpdateResponse(rsp) +} + +// ExtrasJournalEntriesUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJournalEntriesUpdateResponse +func (c *ClientWithResponses) ExtrasJournalEntriesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesUpdateResponse, error) { + rsp, err := c.ExtrasJournalEntriesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJournalEntriesUpdateWithResponse(ctx context.Context, id int, body ExtrasJournalEntriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJournalEntriesUpdateResponse, error) { + rsp, err := c.ExtrasJournalEntriesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJournalEntriesUpdateResponse(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 int, reqEditors ...RequestEditorFn) (*ExtrasObjectChangesRetrieveResponse, error) { + rsp, err := c.ExtrasObjectChangesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasObjectChangesRetrieveResponse(rsp) +} + +// ExtrasSavedFiltersBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasSavedFiltersBulkDestroyResponse +func (c *ClientWithResponses) ExtrasSavedFiltersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersBulkDestroyResponse, error) { + rsp, err := c.ExtrasSavedFiltersBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSavedFiltersBulkDestroyWithResponse(ctx context.Context, body ExtrasSavedFiltersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersBulkDestroyResponse, error) { + rsp, err := c.ExtrasSavedFiltersBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersBulkDestroyResponse(rsp) +} + +// ExtrasSavedFiltersListWithResponse request returning *ExtrasSavedFiltersListResponse +func (c *ClientWithResponses) ExtrasSavedFiltersListWithResponse(ctx context.Context, params *ExtrasSavedFiltersListParams, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersListResponse, error) { + rsp, err := c.ExtrasSavedFiltersList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersListResponse(rsp) +} + +// ExtrasSavedFiltersBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSavedFiltersBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasSavedFiltersBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasSavedFiltersBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSavedFiltersBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasSavedFiltersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasSavedFiltersBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersBulkPartialUpdateResponse(rsp) +} + +// ExtrasSavedFiltersCreateWithBodyWithResponse request with arbitrary body returning *ExtrasSavedFiltersCreateResponse +func (c *ClientWithResponses) ExtrasSavedFiltersCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersCreateResponse, error) { + rsp, err := c.ExtrasSavedFiltersCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSavedFiltersCreateWithResponse(ctx context.Context, body ExtrasSavedFiltersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersCreateResponse, error) { + rsp, err := c.ExtrasSavedFiltersCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersCreateResponse(rsp) +} + +// ExtrasSavedFiltersBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSavedFiltersBulkUpdateResponse +func (c *ClientWithResponses) ExtrasSavedFiltersBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersBulkUpdateResponse, error) { + rsp, err := c.ExtrasSavedFiltersBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSavedFiltersBulkUpdateWithResponse(ctx context.Context, body ExtrasSavedFiltersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersBulkUpdateResponse, error) { + rsp, err := c.ExtrasSavedFiltersBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersBulkUpdateResponse(rsp) +} + +// ExtrasSavedFiltersDestroyWithResponse request returning *ExtrasSavedFiltersDestroyResponse +func (c *ClientWithResponses) ExtrasSavedFiltersDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersDestroyResponse, error) { + rsp, err := c.ExtrasSavedFiltersDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersDestroyResponse(rsp) +} + +// ExtrasSavedFiltersRetrieveWithResponse request returning *ExtrasSavedFiltersRetrieveResponse +func (c *ClientWithResponses) ExtrasSavedFiltersRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersRetrieveResponse, error) { + rsp, err := c.ExtrasSavedFiltersRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersRetrieveResponse(rsp) +} + +// ExtrasSavedFiltersPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSavedFiltersPartialUpdateResponse +func (c *ClientWithResponses) ExtrasSavedFiltersPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersPartialUpdateResponse, error) { + rsp, err := c.ExtrasSavedFiltersPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSavedFiltersPartialUpdateWithResponse(ctx context.Context, id int, body ExtrasSavedFiltersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersPartialUpdateResponse, error) { + rsp, err := c.ExtrasSavedFiltersPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersPartialUpdateResponse(rsp) +} + +// ExtrasSavedFiltersUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSavedFiltersUpdateResponse +func (c *ClientWithResponses) ExtrasSavedFiltersUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersUpdateResponse, error) { + rsp, err := c.ExtrasSavedFiltersUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSavedFiltersUpdateWithResponse(ctx context.Context, id int, body ExtrasSavedFiltersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSavedFiltersUpdateResponse, error) { + rsp, err := c.ExtrasSavedFiltersUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSavedFiltersUpdateResponse(rsp) +} + +// ExtrasTagsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasTagsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasTagsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkDestroyResponse, error) { + rsp, err := c.ExtrasTagsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasTagsBulkDestroyWithResponse(ctx context.Context, body ExtrasTagsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkDestroyResponse, error) { + rsp, err := c.ExtrasTagsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body ExtrasTagsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsUpdateResponse, error) { + rsp, err := c.ExtrasTagsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsUpdateResponse(rsp) +} + +// ExtrasWebhooksBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasWebhooksBulkDestroyResponse +func (c *ClientWithResponses) ExtrasWebhooksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkDestroyResponse, error) { + rsp, err := c.ExtrasWebhooksBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasWebhooksBulkDestroyWithResponse(ctx context.Context, body ExtrasWebhooksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkDestroyResponse, error) { + rsp, err := c.ExtrasWebhooksBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body ExtrasWebhooksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksUpdateResponse, error) { + rsp, err := c.ExtrasWebhooksUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksUpdateResponse(rsp) +} + +// IpamAggregatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamAggregatesBulkDestroyResponse +func (c *ClientWithResponses) IpamAggregatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkDestroyResponse, error) { + rsp, err := c.IpamAggregatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamAggregatesBulkDestroyWithResponse(ctx context.Context, body IpamAggregatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkDestroyResponse, error) { + rsp, err := c.IpamAggregatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body IpamAggregatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesUpdateResponse, error) { + rsp, err := c.IpamAggregatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesUpdateResponse(rsp) +} + +// IpamAsnRangesBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamAsnRangesBulkDestroyResponse +func (c *ClientWithResponses) IpamAsnRangesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnRangesBulkDestroyResponse, error) { + rsp, err := c.IpamAsnRangesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamAsnRangesBulkDestroyWithResponse(ctx context.Context, body IpamAsnRangesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnRangesBulkDestroyResponse, error) { + rsp, err := c.IpamAsnRangesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesBulkDestroyResponse(rsp) +} + +// IpamAsnRangesListWithResponse request returning *IpamAsnRangesListResponse +func (c *ClientWithResponses) IpamAsnRangesListWithResponse(ctx context.Context, params *IpamAsnRangesListParams, reqEditors ...RequestEditorFn) (*IpamAsnRangesListResponse, error) { + rsp, err := c.IpamAsnRangesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesListResponse(rsp) +} + +// IpamAsnRangesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamAsnRangesBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamAsnRangesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnRangesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamAsnRangesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAsnRangesBulkPartialUpdateWithResponse(ctx context.Context, body IpamAsnRangesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnRangesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamAsnRangesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesBulkPartialUpdateResponse(rsp) +} + +// IpamAsnRangesCreateWithBodyWithResponse request with arbitrary body returning *IpamAsnRangesCreateResponse +func (c *ClientWithResponses) IpamAsnRangesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnRangesCreateResponse, error) { + rsp, err := c.IpamAsnRangesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAsnRangesCreateWithResponse(ctx context.Context, body IpamAsnRangesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnRangesCreateResponse, error) { + rsp, err := c.IpamAsnRangesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesCreateResponse(rsp) +} + +// IpamAsnRangesBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamAsnRangesBulkUpdateResponse +func (c *ClientWithResponses) IpamAsnRangesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnRangesBulkUpdateResponse, error) { + rsp, err := c.IpamAsnRangesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAsnRangesBulkUpdateWithResponse(ctx context.Context, body IpamAsnRangesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnRangesBulkUpdateResponse, error) { + rsp, err := c.IpamAsnRangesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesBulkUpdateResponse(rsp) +} + +// IpamAsnRangesDestroyWithResponse request returning *IpamAsnRangesDestroyResponse +func (c *ClientWithResponses) IpamAsnRangesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamAsnRangesDestroyResponse, error) { + rsp, err := c.IpamAsnRangesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesDestroyResponse(rsp) +} + +// IpamAsnRangesRetrieveWithResponse request returning *IpamAsnRangesRetrieveResponse +func (c *ClientWithResponses) IpamAsnRangesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamAsnRangesRetrieveResponse, error) { + rsp, err := c.IpamAsnRangesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesRetrieveResponse(rsp) +} + +// IpamAsnRangesPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamAsnRangesPartialUpdateResponse +func (c *ClientWithResponses) IpamAsnRangesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnRangesPartialUpdateResponse, error) { + rsp, err := c.IpamAsnRangesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAsnRangesPartialUpdateWithResponse(ctx context.Context, id int, body IpamAsnRangesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnRangesPartialUpdateResponse, error) { + rsp, err := c.IpamAsnRangesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesPartialUpdateResponse(rsp) +} + +// IpamAsnRangesUpdateWithBodyWithResponse request with arbitrary body returning *IpamAsnRangesUpdateResponse +func (c *ClientWithResponses) IpamAsnRangesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnRangesUpdateResponse, error) { + rsp, err := c.IpamAsnRangesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAsnRangesUpdateWithResponse(ctx context.Context, id int, body IpamAsnRangesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnRangesUpdateResponse, error) { + rsp, err := c.IpamAsnRangesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesUpdateResponse(rsp) +} + +// IpamAsnRangesAvailableAsnsListWithResponse request returning *IpamAsnRangesAvailableAsnsListResponse +func (c *ClientWithResponses) IpamAsnRangesAvailableAsnsListWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamAsnRangesAvailableAsnsListResponse, error) { + rsp, err := c.IpamAsnRangesAvailableAsnsList(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesAvailableAsnsListResponse(rsp) +} + +// IpamAsnRangesAvailableAsnsCreateWithBodyWithResponse request with arbitrary body returning *IpamAsnRangesAvailableAsnsCreateResponse +func (c *ClientWithResponses) IpamAsnRangesAvailableAsnsCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnRangesAvailableAsnsCreateResponse, error) { + rsp, err := c.IpamAsnRangesAvailableAsnsCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesAvailableAsnsCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAsnRangesAvailableAsnsCreateWithResponse(ctx context.Context, id int, body IpamAsnRangesAvailableAsnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnRangesAvailableAsnsCreateResponse, error) { + rsp, err := c.IpamAsnRangesAvailableAsnsCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnRangesAvailableAsnsCreateResponse(rsp) +} + +// IpamAsnsBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamAsnsBulkDestroyResponse +func (c *ClientWithResponses) IpamAsnsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnsBulkDestroyResponse, error) { + rsp, err := c.IpamAsnsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamAsnsBulkDestroyWithResponse(ctx context.Context, body IpamAsnsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnsBulkDestroyResponse, error) { + rsp, err := c.IpamAsnsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsBulkDestroyResponse(rsp) +} + +// IpamAsnsListWithResponse request returning *IpamAsnsListResponse +func (c *ClientWithResponses) IpamAsnsListWithResponse(ctx context.Context, params *IpamAsnsListParams, reqEditors ...RequestEditorFn) (*IpamAsnsListResponse, error) { + rsp, err := c.IpamAsnsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsListResponse(rsp) +} + +// IpamAsnsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamAsnsBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamAsnsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamAsnsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAsnsBulkPartialUpdateWithResponse(ctx context.Context, body IpamAsnsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamAsnsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsBulkPartialUpdateResponse(rsp) +} + +// IpamAsnsCreateWithBodyWithResponse request with arbitrary body returning *IpamAsnsCreateResponse +func (c *ClientWithResponses) IpamAsnsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnsCreateResponse, error) { + rsp, err := c.IpamAsnsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAsnsCreateWithResponse(ctx context.Context, body IpamAsnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnsCreateResponse, error) { + rsp, err := c.IpamAsnsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsCreateResponse(rsp) +} + +// IpamAsnsBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamAsnsBulkUpdateResponse +func (c *ClientWithResponses) IpamAsnsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnsBulkUpdateResponse, error) { + rsp, err := c.IpamAsnsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAsnsBulkUpdateWithResponse(ctx context.Context, body IpamAsnsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnsBulkUpdateResponse, error) { + rsp, err := c.IpamAsnsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsBulkUpdateResponse(rsp) +} + +// IpamAsnsDestroyWithResponse request returning *IpamAsnsDestroyResponse +func (c *ClientWithResponses) IpamAsnsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamAsnsDestroyResponse, error) { + rsp, err := c.IpamAsnsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsDestroyResponse(rsp) +} + +// IpamAsnsRetrieveWithResponse request returning *IpamAsnsRetrieveResponse +func (c *ClientWithResponses) IpamAsnsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamAsnsRetrieveResponse, error) { + rsp, err := c.IpamAsnsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsRetrieveResponse(rsp) +} + +// IpamAsnsPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamAsnsPartialUpdateResponse +func (c *ClientWithResponses) IpamAsnsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnsPartialUpdateResponse, error) { + rsp, err := c.IpamAsnsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAsnsPartialUpdateWithResponse(ctx context.Context, id int, body IpamAsnsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnsPartialUpdateResponse, error) { + rsp, err := c.IpamAsnsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsPartialUpdateResponse(rsp) +} + +// IpamAsnsUpdateWithBodyWithResponse request with arbitrary body returning *IpamAsnsUpdateResponse +func (c *ClientWithResponses) IpamAsnsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAsnsUpdateResponse, error) { + rsp, err := c.IpamAsnsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAsnsUpdateWithResponse(ctx context.Context, id int, body IpamAsnsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAsnsUpdateResponse, error) { + rsp, err := c.IpamAsnsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAsnsUpdateResponse(rsp) +} + +// IpamFhrpGroupAssignmentsBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamFhrpGroupAssignmentsBulkDestroyResponse +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsBulkDestroyResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsBulkDestroyWithResponse(ctx context.Context, body IpamFhrpGroupAssignmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsBulkDestroyResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsBulkDestroyResponse(rsp) +} + +// IpamFhrpGroupAssignmentsListWithResponse request returning *IpamFhrpGroupAssignmentsListResponse +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsListWithResponse(ctx context.Context, params *IpamFhrpGroupAssignmentsListParams, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsListResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsListResponse(rsp) +} + +// IpamFhrpGroupAssignmentsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamFhrpGroupAssignmentsBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsBulkPartialUpdateWithResponse(ctx context.Context, body IpamFhrpGroupAssignmentsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsBulkPartialUpdateResponse(rsp) +} + +// IpamFhrpGroupAssignmentsCreateWithBodyWithResponse request with arbitrary body returning *IpamFhrpGroupAssignmentsCreateResponse +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsCreateResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsCreateWithResponse(ctx context.Context, body IpamFhrpGroupAssignmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsCreateResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsCreateResponse(rsp) +} + +// IpamFhrpGroupAssignmentsBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamFhrpGroupAssignmentsBulkUpdateResponse +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsBulkUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsBulkUpdateWithResponse(ctx context.Context, body IpamFhrpGroupAssignmentsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsBulkUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsBulkUpdateResponse(rsp) +} + +// IpamFhrpGroupAssignmentsDestroyWithResponse request returning *IpamFhrpGroupAssignmentsDestroyResponse +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsDestroyResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsDestroyResponse(rsp) +} + +// IpamFhrpGroupAssignmentsRetrieveWithResponse request returning *IpamFhrpGroupAssignmentsRetrieveResponse +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsRetrieveResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsRetrieveResponse(rsp) +} + +// IpamFhrpGroupAssignmentsPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamFhrpGroupAssignmentsPartialUpdateResponse +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsPartialUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsPartialUpdateWithResponse(ctx context.Context, id int, body IpamFhrpGroupAssignmentsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsPartialUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsPartialUpdateResponse(rsp) +} + +// IpamFhrpGroupAssignmentsUpdateWithBodyWithResponse request with arbitrary body returning *IpamFhrpGroupAssignmentsUpdateResponse +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamFhrpGroupAssignmentsUpdateWithResponse(ctx context.Context, id int, body IpamFhrpGroupAssignmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupAssignmentsUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupAssignmentsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupAssignmentsUpdateResponse(rsp) +} + +// IpamFhrpGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamFhrpGroupsBulkDestroyResponse +func (c *ClientWithResponses) IpamFhrpGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsBulkDestroyResponse, error) { + rsp, err := c.IpamFhrpGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamFhrpGroupsBulkDestroyWithResponse(ctx context.Context, body IpamFhrpGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsBulkDestroyResponse, error) { + rsp, err := c.IpamFhrpGroupsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsBulkDestroyResponse(rsp) +} + +// IpamFhrpGroupsListWithResponse request returning *IpamFhrpGroupsListResponse +func (c *ClientWithResponses) IpamFhrpGroupsListWithResponse(ctx context.Context, params *IpamFhrpGroupsListParams, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsListResponse, error) { + rsp, err := c.IpamFhrpGroupsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsListResponse(rsp) +} + +// IpamFhrpGroupsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamFhrpGroupsBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamFhrpGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamFhrpGroupsBulkPartialUpdateWithResponse(ctx context.Context, body IpamFhrpGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsBulkPartialUpdateResponse(rsp) +} + +// IpamFhrpGroupsCreateWithBodyWithResponse request with arbitrary body returning *IpamFhrpGroupsCreateResponse +func (c *ClientWithResponses) IpamFhrpGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsCreateResponse, error) { + rsp, err := c.IpamFhrpGroupsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamFhrpGroupsCreateWithResponse(ctx context.Context, body IpamFhrpGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsCreateResponse, error) { + rsp, err := c.IpamFhrpGroupsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsCreateResponse(rsp) +} + +// IpamFhrpGroupsBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamFhrpGroupsBulkUpdateResponse +func (c *ClientWithResponses) IpamFhrpGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsBulkUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamFhrpGroupsBulkUpdateWithResponse(ctx context.Context, body IpamFhrpGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsBulkUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsBulkUpdateResponse(rsp) +} + +// IpamFhrpGroupsDestroyWithResponse request returning *IpamFhrpGroupsDestroyResponse +func (c *ClientWithResponses) IpamFhrpGroupsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsDestroyResponse, error) { + rsp, err := c.IpamFhrpGroupsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsDestroyResponse(rsp) +} + +// IpamFhrpGroupsRetrieveWithResponse request returning *IpamFhrpGroupsRetrieveResponse +func (c *ClientWithResponses) IpamFhrpGroupsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsRetrieveResponse, error) { + rsp, err := c.IpamFhrpGroupsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsRetrieveResponse(rsp) +} + +// IpamFhrpGroupsPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamFhrpGroupsPartialUpdateResponse +func (c *ClientWithResponses) IpamFhrpGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsPartialUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamFhrpGroupsPartialUpdateWithResponse(ctx context.Context, id int, body IpamFhrpGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsPartialUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsPartialUpdateResponse(rsp) +} + +// IpamFhrpGroupsUpdateWithBodyWithResponse request with arbitrary body returning *IpamFhrpGroupsUpdateResponse +func (c *ClientWithResponses) IpamFhrpGroupsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamFhrpGroupsUpdateWithResponse(ctx context.Context, id int, body IpamFhrpGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamFhrpGroupsUpdateResponse, error) { + rsp, err := c.IpamFhrpGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamFhrpGroupsUpdateResponse(rsp) +} + +// IpamIpAddressesBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamIpAddressesBulkDestroyResponse +func (c *ClientWithResponses) IpamIpAddressesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkDestroyResponse, error) { + rsp, err := c.IpamIpAddressesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpAddressesBulkDestroyWithResponse(ctx context.Context, body IpamIpAddressesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkDestroyResponse, error) { + rsp, err := c.IpamIpAddressesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body IpamIpAddressesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesUpdateResponse, error) { + rsp, err := c.IpamIpAddressesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesUpdateResponse(rsp) +} + +// IpamIpRangesBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamIpRangesBulkDestroyResponse +func (c *ClientWithResponses) IpamIpRangesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpRangesBulkDestroyResponse, error) { + rsp, err := c.IpamIpRangesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpRangesBulkDestroyWithResponse(ctx context.Context, body IpamIpRangesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpRangesBulkDestroyResponse, error) { + rsp, err := c.IpamIpRangesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesBulkDestroyResponse(rsp) +} + +// IpamIpRangesListWithResponse request returning *IpamIpRangesListResponse +func (c *ClientWithResponses) IpamIpRangesListWithResponse(ctx context.Context, params *IpamIpRangesListParams, reqEditors ...RequestEditorFn) (*IpamIpRangesListResponse, error) { + rsp, err := c.IpamIpRangesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesListResponse(rsp) +} + +// IpamIpRangesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamIpRangesBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamIpRangesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpRangesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamIpRangesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpRangesBulkPartialUpdateWithResponse(ctx context.Context, body IpamIpRangesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpRangesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamIpRangesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesBulkPartialUpdateResponse(rsp) +} + +// IpamIpRangesCreateWithBodyWithResponse request with arbitrary body returning *IpamIpRangesCreateResponse +func (c *ClientWithResponses) IpamIpRangesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpRangesCreateResponse, error) { + rsp, err := c.IpamIpRangesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpRangesCreateWithResponse(ctx context.Context, body IpamIpRangesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpRangesCreateResponse, error) { + rsp, err := c.IpamIpRangesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesCreateResponse(rsp) +} + +// IpamIpRangesBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamIpRangesBulkUpdateResponse +func (c *ClientWithResponses) IpamIpRangesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpRangesBulkUpdateResponse, error) { + rsp, err := c.IpamIpRangesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpRangesBulkUpdateWithResponse(ctx context.Context, body IpamIpRangesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpRangesBulkUpdateResponse, error) { + rsp, err := c.IpamIpRangesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesBulkUpdateResponse(rsp) +} + +// IpamIpRangesDestroyWithResponse request returning *IpamIpRangesDestroyResponse +func (c *ClientWithResponses) IpamIpRangesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamIpRangesDestroyResponse, error) { + rsp, err := c.IpamIpRangesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesDestroyResponse(rsp) +} + +// IpamIpRangesRetrieveWithResponse request returning *IpamIpRangesRetrieveResponse +func (c *ClientWithResponses) IpamIpRangesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamIpRangesRetrieveResponse, error) { + rsp, err := c.IpamIpRangesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesRetrieveResponse(rsp) +} + +// IpamIpRangesPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamIpRangesPartialUpdateResponse +func (c *ClientWithResponses) IpamIpRangesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpRangesPartialUpdateResponse, error) { + rsp, err := c.IpamIpRangesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpRangesPartialUpdateWithResponse(ctx context.Context, id int, body IpamIpRangesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpRangesPartialUpdateResponse, error) { + rsp, err := c.IpamIpRangesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesPartialUpdateResponse(rsp) +} + +// IpamIpRangesUpdateWithBodyWithResponse request with arbitrary body returning *IpamIpRangesUpdateResponse +func (c *ClientWithResponses) IpamIpRangesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpRangesUpdateResponse, error) { + rsp, err := c.IpamIpRangesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpRangesUpdateWithResponse(ctx context.Context, id int, body IpamIpRangesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpRangesUpdateResponse, error) { + rsp, err := c.IpamIpRangesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesUpdateResponse(rsp) +} + +// IpamIpRangesAvailableIpsListWithResponse request returning *IpamIpRangesAvailableIpsListResponse +func (c *ClientWithResponses) IpamIpRangesAvailableIpsListWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamIpRangesAvailableIpsListResponse, error) { + rsp, err := c.IpamIpRangesAvailableIpsList(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesAvailableIpsListResponse(rsp) +} + +// IpamIpRangesAvailableIpsCreateWithBodyWithResponse request with arbitrary body returning *IpamIpRangesAvailableIpsCreateResponse +func (c *ClientWithResponses) IpamIpRangesAvailableIpsCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpRangesAvailableIpsCreateResponse, error) { + rsp, err := c.IpamIpRangesAvailableIpsCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesAvailableIpsCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpRangesAvailableIpsCreateWithResponse(ctx context.Context, id int, body IpamIpRangesAvailableIpsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpRangesAvailableIpsCreateResponse, error) { + rsp, err := c.IpamIpRangesAvailableIpsCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpRangesAvailableIpsCreateResponse(rsp) +} + +// IpamL2vpnTerminationsBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamL2vpnTerminationsBulkDestroyResponse +func (c *ClientWithResponses) IpamL2vpnTerminationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsBulkDestroyResponse, error) { + rsp, err := c.IpamL2vpnTerminationsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamL2vpnTerminationsBulkDestroyWithResponse(ctx context.Context, body IpamL2vpnTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsBulkDestroyResponse, error) { + rsp, err := c.IpamL2vpnTerminationsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsBulkDestroyResponse(rsp) +} + +// IpamL2vpnTerminationsListWithResponse request returning *IpamL2vpnTerminationsListResponse +func (c *ClientWithResponses) IpamL2vpnTerminationsListWithResponse(ctx context.Context, params *IpamL2vpnTerminationsListParams, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsListResponse, error) { + rsp, err := c.IpamL2vpnTerminationsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsListResponse(rsp) +} + +// IpamL2vpnTerminationsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamL2vpnTerminationsBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamL2vpnTerminationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamL2vpnTerminationsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamL2vpnTerminationsBulkPartialUpdateWithResponse(ctx context.Context, body IpamL2vpnTerminationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamL2vpnTerminationsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsBulkPartialUpdateResponse(rsp) +} + +// IpamL2vpnTerminationsCreateWithBodyWithResponse request with arbitrary body returning *IpamL2vpnTerminationsCreateResponse +func (c *ClientWithResponses) IpamL2vpnTerminationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsCreateResponse, error) { + rsp, err := c.IpamL2vpnTerminationsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamL2vpnTerminationsCreateWithResponse(ctx context.Context, body IpamL2vpnTerminationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsCreateResponse, error) { + rsp, err := c.IpamL2vpnTerminationsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsCreateResponse(rsp) +} + +// IpamL2vpnTerminationsBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamL2vpnTerminationsBulkUpdateResponse +func (c *ClientWithResponses) IpamL2vpnTerminationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsBulkUpdateResponse, error) { + rsp, err := c.IpamL2vpnTerminationsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamL2vpnTerminationsBulkUpdateWithResponse(ctx context.Context, body IpamL2vpnTerminationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsBulkUpdateResponse, error) { + rsp, err := c.IpamL2vpnTerminationsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsBulkUpdateResponse(rsp) +} + +// IpamL2vpnTerminationsDestroyWithResponse request returning *IpamL2vpnTerminationsDestroyResponse +func (c *ClientWithResponses) IpamL2vpnTerminationsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsDestroyResponse, error) { + rsp, err := c.IpamL2vpnTerminationsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsDestroyResponse(rsp) +} + +// IpamL2vpnTerminationsRetrieveWithResponse request returning *IpamL2vpnTerminationsRetrieveResponse +func (c *ClientWithResponses) IpamL2vpnTerminationsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsRetrieveResponse, error) { + rsp, err := c.IpamL2vpnTerminationsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsRetrieveResponse(rsp) +} + +// IpamL2vpnTerminationsPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamL2vpnTerminationsPartialUpdateResponse +func (c *ClientWithResponses) IpamL2vpnTerminationsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsPartialUpdateResponse, error) { + rsp, err := c.IpamL2vpnTerminationsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamL2vpnTerminationsPartialUpdateWithResponse(ctx context.Context, id int, body IpamL2vpnTerminationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsPartialUpdateResponse, error) { + rsp, err := c.IpamL2vpnTerminationsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsPartialUpdateResponse(rsp) +} + +// IpamL2vpnTerminationsUpdateWithBodyWithResponse request with arbitrary body returning *IpamL2vpnTerminationsUpdateResponse +func (c *ClientWithResponses) IpamL2vpnTerminationsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsUpdateResponse, error) { + rsp, err := c.IpamL2vpnTerminationsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamL2vpnTerminationsUpdateWithResponse(ctx context.Context, id int, body IpamL2vpnTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnTerminationsUpdateResponse, error) { + rsp, err := c.IpamL2vpnTerminationsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnTerminationsUpdateResponse(rsp) +} + +// IpamL2vpnsBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamL2vpnsBulkDestroyResponse +func (c *ClientWithResponses) IpamL2vpnsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnsBulkDestroyResponse, error) { + rsp, err := c.IpamL2vpnsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamL2vpnsBulkDestroyWithResponse(ctx context.Context, body IpamL2vpnsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnsBulkDestroyResponse, error) { + rsp, err := c.IpamL2vpnsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsBulkDestroyResponse(rsp) +} + +// IpamL2vpnsListWithResponse request returning *IpamL2vpnsListResponse +func (c *ClientWithResponses) IpamL2vpnsListWithResponse(ctx context.Context, params *IpamL2vpnsListParams, reqEditors ...RequestEditorFn) (*IpamL2vpnsListResponse, error) { + rsp, err := c.IpamL2vpnsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsListResponse(rsp) +} + +// IpamL2vpnsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamL2vpnsBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamL2vpnsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamL2vpnsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamL2vpnsBulkPartialUpdateWithResponse(ctx context.Context, body IpamL2vpnsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamL2vpnsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsBulkPartialUpdateResponse(rsp) +} + +// IpamL2vpnsCreateWithBodyWithResponse request with arbitrary body returning *IpamL2vpnsCreateResponse +func (c *ClientWithResponses) IpamL2vpnsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnsCreateResponse, error) { + rsp, err := c.IpamL2vpnsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamL2vpnsCreateWithResponse(ctx context.Context, body IpamL2vpnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnsCreateResponse, error) { + rsp, err := c.IpamL2vpnsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsCreateResponse(rsp) +} + +// IpamL2vpnsBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamL2vpnsBulkUpdateResponse +func (c *ClientWithResponses) IpamL2vpnsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnsBulkUpdateResponse, error) { + rsp, err := c.IpamL2vpnsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamL2vpnsBulkUpdateWithResponse(ctx context.Context, body IpamL2vpnsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnsBulkUpdateResponse, error) { + rsp, err := c.IpamL2vpnsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsBulkUpdateResponse(rsp) +} + +// IpamL2vpnsDestroyWithResponse request returning *IpamL2vpnsDestroyResponse +func (c *ClientWithResponses) IpamL2vpnsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamL2vpnsDestroyResponse, error) { + rsp, err := c.IpamL2vpnsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsDestroyResponse(rsp) +} + +// IpamL2vpnsRetrieveWithResponse request returning *IpamL2vpnsRetrieveResponse +func (c *ClientWithResponses) IpamL2vpnsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamL2vpnsRetrieveResponse, error) { + rsp, err := c.IpamL2vpnsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsRetrieveResponse(rsp) +} + +// IpamL2vpnsPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamL2vpnsPartialUpdateResponse +func (c *ClientWithResponses) IpamL2vpnsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnsPartialUpdateResponse, error) { + rsp, err := c.IpamL2vpnsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamL2vpnsPartialUpdateWithResponse(ctx context.Context, id int, body IpamL2vpnsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnsPartialUpdateResponse, error) { + rsp, err := c.IpamL2vpnsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsPartialUpdateResponse(rsp) +} + +// IpamL2vpnsUpdateWithBodyWithResponse request with arbitrary body returning *IpamL2vpnsUpdateResponse +func (c *ClientWithResponses) IpamL2vpnsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamL2vpnsUpdateResponse, error) { + rsp, err := c.IpamL2vpnsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamL2vpnsUpdateWithResponse(ctx context.Context, id int, body IpamL2vpnsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamL2vpnsUpdateResponse, error) { + rsp, err := c.IpamL2vpnsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamL2vpnsUpdateResponse(rsp) +} + +// IpamPrefixesBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamPrefixesBulkDestroyResponse +func (c *ClientWithResponses) IpamPrefixesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkDestroyResponse, error) { + rsp, err := c.IpamPrefixesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamPrefixesBulkDestroyWithResponse(ctx context.Context, body IpamPrefixesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkDestroyResponse, error) { + rsp, err := c.IpamPrefixesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailableIpsListResponse, error) { + rsp, err := c.IpamPrefixesAvailableIpsList(ctx, id, 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 int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailableIpsCreateResponse, error) { + rsp, err := c.IpamPrefixesAvailableIpsCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesAvailableIpsCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamPrefixesAvailableIpsCreateWithResponse(ctx context.Context, id int, body IpamPrefixesAvailableIpsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailableIpsCreateResponse, error) { + rsp, err := c.IpamPrefixesAvailableIpsCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesAvailableIpsCreateResponse(rsp) +} + +// IpamPrefixesAvailablePrefixesListWithResponse request returning *IpamPrefixesAvailablePrefixesListResponse +func (c *ClientWithResponses) IpamPrefixesAvailablePrefixesListWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailablePrefixesListResponse, error) { + rsp, err := c.IpamPrefixesAvailablePrefixesList(ctx, id, 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 int, 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 int, body IpamPrefixesAvailablePrefixesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailablePrefixesCreateResponse, error) { + rsp, err := c.IpamPrefixesAvailablePrefixesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesAvailablePrefixesCreateResponse(rsp) +} + +// IpamRirsBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamRirsBulkDestroyResponse +func (c *ClientWithResponses) IpamRirsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsBulkDestroyResponse, error) { + rsp, err := c.IpamRirsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamRirsBulkDestroyWithResponse(ctx context.Context, body IpamRirsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsBulkDestroyResponse, error) { + rsp, err := c.IpamRirsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body IpamRirsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsUpdateResponse, error) { + rsp, err := c.IpamRirsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsUpdateResponse(rsp) +} + +// IpamRolesBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamRolesBulkDestroyResponse +func (c *ClientWithResponses) IpamRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesBulkDestroyResponse, error) { + rsp, err := c.IpamRolesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamRolesBulkDestroyWithResponse(ctx context.Context, body IpamRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesBulkDestroyResponse, error) { + rsp, err := c.IpamRolesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body IpamRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesUpdateResponse, error) { + rsp, err := c.IpamRolesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesUpdateResponse(rsp) +} + +// IpamRouteTargetsBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamRouteTargetsBulkDestroyResponse +func (c *ClientWithResponses) IpamRouteTargetsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkDestroyResponse, error) { + rsp, err := c.IpamRouteTargetsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamRouteTargetsBulkDestroyWithResponse(ctx context.Context, body IpamRouteTargetsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkDestroyResponse, error) { + rsp, err := c.IpamRouteTargetsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body IpamRouteTargetsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsUpdateResponse, error) { + rsp, err := c.IpamRouteTargetsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsUpdateResponse(rsp) +} + +// IpamServiceTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamServiceTemplatesBulkDestroyResponse +func (c *ClientWithResponses) IpamServiceTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesBulkDestroyResponse, error) { + rsp, err := c.IpamServiceTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamServiceTemplatesBulkDestroyWithResponse(ctx context.Context, body IpamServiceTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesBulkDestroyResponse, error) { + rsp, err := c.IpamServiceTemplatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesBulkDestroyResponse(rsp) +} + +// IpamServiceTemplatesListWithResponse request returning *IpamServiceTemplatesListResponse +func (c *ClientWithResponses) IpamServiceTemplatesListWithResponse(ctx context.Context, params *IpamServiceTemplatesListParams, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesListResponse, error) { + rsp, err := c.IpamServiceTemplatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesListResponse(rsp) +} + +// IpamServiceTemplatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamServiceTemplatesBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamServiceTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamServiceTemplatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamServiceTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body IpamServiceTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamServiceTemplatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesBulkPartialUpdateResponse(rsp) +} + +// IpamServiceTemplatesCreateWithBodyWithResponse request with arbitrary body returning *IpamServiceTemplatesCreateResponse +func (c *ClientWithResponses) IpamServiceTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesCreateResponse, error) { + rsp, err := c.IpamServiceTemplatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamServiceTemplatesCreateWithResponse(ctx context.Context, body IpamServiceTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesCreateResponse, error) { + rsp, err := c.IpamServiceTemplatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesCreateResponse(rsp) +} + +// IpamServiceTemplatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamServiceTemplatesBulkUpdateResponse +func (c *ClientWithResponses) IpamServiceTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesBulkUpdateResponse, error) { + rsp, err := c.IpamServiceTemplatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamServiceTemplatesBulkUpdateWithResponse(ctx context.Context, body IpamServiceTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesBulkUpdateResponse, error) { + rsp, err := c.IpamServiceTemplatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesBulkUpdateResponse(rsp) +} + +// IpamServiceTemplatesDestroyWithResponse request returning *IpamServiceTemplatesDestroyResponse +func (c *ClientWithResponses) IpamServiceTemplatesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesDestroyResponse, error) { + rsp, err := c.IpamServiceTemplatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesDestroyResponse(rsp) +} + +// IpamServiceTemplatesRetrieveWithResponse request returning *IpamServiceTemplatesRetrieveResponse +func (c *ClientWithResponses) IpamServiceTemplatesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesRetrieveResponse, error) { + rsp, err := c.IpamServiceTemplatesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesRetrieveResponse(rsp) +} + +// IpamServiceTemplatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamServiceTemplatesPartialUpdateResponse +func (c *ClientWithResponses) IpamServiceTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesPartialUpdateResponse, error) { + rsp, err := c.IpamServiceTemplatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamServiceTemplatesPartialUpdateWithResponse(ctx context.Context, id int, body IpamServiceTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesPartialUpdateResponse, error) { + rsp, err := c.IpamServiceTemplatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesPartialUpdateResponse(rsp) +} + +// IpamServiceTemplatesUpdateWithBodyWithResponse request with arbitrary body returning *IpamServiceTemplatesUpdateResponse +func (c *ClientWithResponses) IpamServiceTemplatesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesUpdateResponse, error) { + rsp, err := c.IpamServiceTemplatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamServiceTemplatesUpdateWithResponse(ctx context.Context, id int, body IpamServiceTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServiceTemplatesUpdateResponse, error) { + rsp, err := c.IpamServiceTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServiceTemplatesUpdateResponse(rsp) +} + +// IpamServicesBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamServicesBulkDestroyResponse +func (c *ClientWithResponses) IpamServicesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesBulkDestroyResponse, error) { + rsp, err := c.IpamServicesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamServicesBulkDestroyWithResponse(ctx context.Context, body IpamServicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesBulkDestroyResponse, error) { + rsp, err := c.IpamServicesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body IpamServicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesUpdateResponse, error) { + rsp, err := c.IpamServicesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesUpdateResponse(rsp) +} + +// IpamVlanGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamVlanGroupsBulkDestroyResponse +func (c *ClientWithResponses) IpamVlanGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkDestroyResponse, error) { + rsp, err := c.IpamVlanGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlanGroupsBulkDestroyWithResponse(ctx context.Context, body IpamVlanGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkDestroyResponse, error) { + rsp, err := c.IpamVlanGroupsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body IpamVlanGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsUpdateResponse, error) { + rsp, err := c.IpamVlanGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsUpdateResponse(rsp) +} + +// IpamVlanGroupsAvailableVlansListWithResponse request returning *IpamVlanGroupsAvailableVlansListResponse +func (c *ClientWithResponses) IpamVlanGroupsAvailableVlansListWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*IpamVlanGroupsAvailableVlansListResponse, error) { + rsp, err := c.IpamVlanGroupsAvailableVlansList(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsAvailableVlansListResponse(rsp) +} + +// IpamVlanGroupsAvailableVlansCreateWithBodyWithResponse request with arbitrary body returning *IpamVlanGroupsAvailableVlansCreateResponse +func (c *ClientWithResponses) IpamVlanGroupsAvailableVlansCreateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsAvailableVlansCreateResponse, error) { + rsp, err := c.IpamVlanGroupsAvailableVlansCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsAvailableVlansCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlanGroupsAvailableVlansCreateWithResponse(ctx context.Context, id int, body IpamVlanGroupsAvailableVlansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsAvailableVlansCreateResponse, error) { + rsp, err := c.IpamVlanGroupsAvailableVlansCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsAvailableVlansCreateResponse(rsp) +} + +// IpamVlansBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamVlansBulkDestroyResponse +func (c *ClientWithResponses) IpamVlansBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansBulkDestroyResponse, error) { + rsp, err := c.IpamVlansBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlansBulkDestroyWithResponse(ctx context.Context, body IpamVlansBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansBulkDestroyResponse, error) { + rsp, err := c.IpamVlansBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body IpamVlansUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansUpdateResponse, error) { + rsp, err := c.IpamVlansUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansUpdateResponse(rsp) +} + +// IpamVrfsBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamVrfsBulkDestroyResponse +func (c *ClientWithResponses) IpamVrfsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsBulkDestroyResponse, error) { + rsp, err := c.IpamVrfsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamVrfsBulkDestroyWithResponse(ctx context.Context, body IpamVrfsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsBulkDestroyResponse, error) { + rsp, err := c.IpamVrfsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body IpamVrfsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsUpdateResponse, error) { + rsp, err := c.IpamVrfsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsUpdateResponse(rsp) +} + +// SchemaRetrieveWithResponse request returning *SchemaRetrieveResponse +func (c *ClientWithResponses) SchemaRetrieveWithResponse(ctx context.Context, params *SchemaRetrieveParams, reqEditors ...RequestEditorFn) (*SchemaRetrieveResponse, error) { + rsp, err := c.SchemaRetrieve(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseSchemaRetrieveResponse(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) +} + +// TenancyContactAssignmentsBulkDestroyWithBodyWithResponse request with arbitrary body returning *TenancyContactAssignmentsBulkDestroyResponse +func (c *ClientWithResponses) TenancyContactAssignmentsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsBulkDestroyResponse, error) { + rsp, err := c.TenancyContactAssignmentsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactAssignmentsBulkDestroyWithResponse(ctx context.Context, body TenancyContactAssignmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsBulkDestroyResponse, error) { + rsp, err := c.TenancyContactAssignmentsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsBulkDestroyResponse(rsp) +} + +// TenancyContactAssignmentsListWithResponse request returning *TenancyContactAssignmentsListResponse +func (c *ClientWithResponses) TenancyContactAssignmentsListWithResponse(ctx context.Context, params *TenancyContactAssignmentsListParams, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsListResponse, error) { + rsp, err := c.TenancyContactAssignmentsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsListResponse(rsp) +} + +// TenancyContactAssignmentsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactAssignmentsBulkPartialUpdateResponse +func (c *ClientWithResponses) TenancyContactAssignmentsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsBulkPartialUpdateResponse, error) { + rsp, err := c.TenancyContactAssignmentsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactAssignmentsBulkPartialUpdateWithResponse(ctx context.Context, body TenancyContactAssignmentsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsBulkPartialUpdateResponse, error) { + rsp, err := c.TenancyContactAssignmentsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsBulkPartialUpdateResponse(rsp) +} + +// TenancyContactAssignmentsCreateWithBodyWithResponse request with arbitrary body returning *TenancyContactAssignmentsCreateResponse +func (c *ClientWithResponses) TenancyContactAssignmentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsCreateResponse, error) { + rsp, err := c.TenancyContactAssignmentsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsCreateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactAssignmentsCreateWithResponse(ctx context.Context, body TenancyContactAssignmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsCreateResponse, error) { + rsp, err := c.TenancyContactAssignmentsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsCreateResponse(rsp) +} + +// TenancyContactAssignmentsBulkUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactAssignmentsBulkUpdateResponse +func (c *ClientWithResponses) TenancyContactAssignmentsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsBulkUpdateResponse, error) { + rsp, err := c.TenancyContactAssignmentsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactAssignmentsBulkUpdateWithResponse(ctx context.Context, body TenancyContactAssignmentsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsBulkUpdateResponse, error) { + rsp, err := c.TenancyContactAssignmentsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsBulkUpdateResponse(rsp) +} + +// TenancyContactAssignmentsDestroyWithResponse request returning *TenancyContactAssignmentsDestroyResponse +func (c *ClientWithResponses) TenancyContactAssignmentsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsDestroyResponse, error) { + rsp, err := c.TenancyContactAssignmentsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsDestroyResponse(rsp) +} + +// TenancyContactAssignmentsRetrieveWithResponse request returning *TenancyContactAssignmentsRetrieveResponse +func (c *ClientWithResponses) TenancyContactAssignmentsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsRetrieveResponse, error) { + rsp, err := c.TenancyContactAssignmentsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsRetrieveResponse(rsp) +} + +// TenancyContactAssignmentsPartialUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactAssignmentsPartialUpdateResponse +func (c *ClientWithResponses) TenancyContactAssignmentsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsPartialUpdateResponse, error) { + rsp, err := c.TenancyContactAssignmentsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactAssignmentsPartialUpdateWithResponse(ctx context.Context, id int, body TenancyContactAssignmentsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsPartialUpdateResponse, error) { + rsp, err := c.TenancyContactAssignmentsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsPartialUpdateResponse(rsp) +} + +// TenancyContactAssignmentsUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactAssignmentsUpdateResponse +func (c *ClientWithResponses) TenancyContactAssignmentsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsUpdateResponse, error) { + rsp, err := c.TenancyContactAssignmentsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactAssignmentsUpdateWithResponse(ctx context.Context, id int, body TenancyContactAssignmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactAssignmentsUpdateResponse, error) { + rsp, err := c.TenancyContactAssignmentsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactAssignmentsUpdateResponse(rsp) +} + +// TenancyContactGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *TenancyContactGroupsBulkDestroyResponse +func (c *ClientWithResponses) TenancyContactGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactGroupsBulkDestroyResponse, error) { + rsp, err := c.TenancyContactGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactGroupsBulkDestroyWithResponse(ctx context.Context, body TenancyContactGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactGroupsBulkDestroyResponse, error) { + rsp, err := c.TenancyContactGroupsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsBulkDestroyResponse(rsp) +} + +// TenancyContactGroupsListWithResponse request returning *TenancyContactGroupsListResponse +func (c *ClientWithResponses) TenancyContactGroupsListWithResponse(ctx context.Context, params *TenancyContactGroupsListParams, reqEditors ...RequestEditorFn) (*TenancyContactGroupsListResponse, error) { + rsp, err := c.TenancyContactGroupsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsListResponse(rsp) +} + +// TenancyContactGroupsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactGroupsBulkPartialUpdateResponse +func (c *ClientWithResponses) TenancyContactGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.TenancyContactGroupsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactGroupsBulkPartialUpdateWithResponse(ctx context.Context, body TenancyContactGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.TenancyContactGroupsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsBulkPartialUpdateResponse(rsp) +} + +// TenancyContactGroupsCreateWithBodyWithResponse request with arbitrary body returning *TenancyContactGroupsCreateResponse +func (c *ClientWithResponses) TenancyContactGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactGroupsCreateResponse, error) { + rsp, err := c.TenancyContactGroupsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsCreateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactGroupsCreateWithResponse(ctx context.Context, body TenancyContactGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactGroupsCreateResponse, error) { + rsp, err := c.TenancyContactGroupsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsCreateResponse(rsp) +} + +// TenancyContactGroupsBulkUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactGroupsBulkUpdateResponse +func (c *ClientWithResponses) TenancyContactGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactGroupsBulkUpdateResponse, error) { + rsp, err := c.TenancyContactGroupsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactGroupsBulkUpdateWithResponse(ctx context.Context, body TenancyContactGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactGroupsBulkUpdateResponse, error) { + rsp, err := c.TenancyContactGroupsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsBulkUpdateResponse(rsp) +} + +// TenancyContactGroupsDestroyWithResponse request returning *TenancyContactGroupsDestroyResponse +func (c *ClientWithResponses) TenancyContactGroupsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactGroupsDestroyResponse, error) { + rsp, err := c.TenancyContactGroupsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsDestroyResponse(rsp) +} + +// TenancyContactGroupsRetrieveWithResponse request returning *TenancyContactGroupsRetrieveResponse +func (c *ClientWithResponses) TenancyContactGroupsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactGroupsRetrieveResponse, error) { + rsp, err := c.TenancyContactGroupsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsRetrieveResponse(rsp) +} + +// TenancyContactGroupsPartialUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactGroupsPartialUpdateResponse +func (c *ClientWithResponses) TenancyContactGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactGroupsPartialUpdateResponse, error) { + rsp, err := c.TenancyContactGroupsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactGroupsPartialUpdateWithResponse(ctx context.Context, id int, body TenancyContactGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactGroupsPartialUpdateResponse, error) { + rsp, err := c.TenancyContactGroupsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsPartialUpdateResponse(rsp) +} + +// TenancyContactGroupsUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactGroupsUpdateResponse +func (c *ClientWithResponses) TenancyContactGroupsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactGroupsUpdateResponse, error) { + rsp, err := c.TenancyContactGroupsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactGroupsUpdateWithResponse(ctx context.Context, id int, body TenancyContactGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactGroupsUpdateResponse, error) { + rsp, err := c.TenancyContactGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactGroupsUpdateResponse(rsp) +} + +// TenancyContactRolesBulkDestroyWithBodyWithResponse request with arbitrary body returning *TenancyContactRolesBulkDestroyResponse +func (c *ClientWithResponses) TenancyContactRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactRolesBulkDestroyResponse, error) { + rsp, err := c.TenancyContactRolesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactRolesBulkDestroyWithResponse(ctx context.Context, body TenancyContactRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactRolesBulkDestroyResponse, error) { + rsp, err := c.TenancyContactRolesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesBulkDestroyResponse(rsp) +} + +// TenancyContactRolesListWithResponse request returning *TenancyContactRolesListResponse +func (c *ClientWithResponses) TenancyContactRolesListWithResponse(ctx context.Context, params *TenancyContactRolesListParams, reqEditors ...RequestEditorFn) (*TenancyContactRolesListResponse, error) { + rsp, err := c.TenancyContactRolesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesListResponse(rsp) +} + +// TenancyContactRolesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactRolesBulkPartialUpdateResponse +func (c *ClientWithResponses) TenancyContactRolesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactRolesBulkPartialUpdateResponse, error) { + rsp, err := c.TenancyContactRolesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactRolesBulkPartialUpdateWithResponse(ctx context.Context, body TenancyContactRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactRolesBulkPartialUpdateResponse, error) { + rsp, err := c.TenancyContactRolesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesBulkPartialUpdateResponse(rsp) +} + +// TenancyContactRolesCreateWithBodyWithResponse request with arbitrary body returning *TenancyContactRolesCreateResponse +func (c *ClientWithResponses) TenancyContactRolesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactRolesCreateResponse, error) { + rsp, err := c.TenancyContactRolesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesCreateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactRolesCreateWithResponse(ctx context.Context, body TenancyContactRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactRolesCreateResponse, error) { + rsp, err := c.TenancyContactRolesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesCreateResponse(rsp) +} + +// TenancyContactRolesBulkUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactRolesBulkUpdateResponse +func (c *ClientWithResponses) TenancyContactRolesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactRolesBulkUpdateResponse, error) { + rsp, err := c.TenancyContactRolesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactRolesBulkUpdateWithResponse(ctx context.Context, body TenancyContactRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactRolesBulkUpdateResponse, error) { + rsp, err := c.TenancyContactRolesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesBulkUpdateResponse(rsp) +} + +// TenancyContactRolesDestroyWithResponse request returning *TenancyContactRolesDestroyResponse +func (c *ClientWithResponses) TenancyContactRolesDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactRolesDestroyResponse, error) { + rsp, err := c.TenancyContactRolesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesDestroyResponse(rsp) +} + +// TenancyContactRolesRetrieveWithResponse request returning *TenancyContactRolesRetrieveResponse +func (c *ClientWithResponses) TenancyContactRolesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactRolesRetrieveResponse, error) { + rsp, err := c.TenancyContactRolesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesRetrieveResponse(rsp) +} + +// TenancyContactRolesPartialUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactRolesPartialUpdateResponse +func (c *ClientWithResponses) TenancyContactRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactRolesPartialUpdateResponse, error) { + rsp, err := c.TenancyContactRolesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactRolesPartialUpdateWithResponse(ctx context.Context, id int, body TenancyContactRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactRolesPartialUpdateResponse, error) { + rsp, err := c.TenancyContactRolesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesPartialUpdateResponse(rsp) +} + +// TenancyContactRolesUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactRolesUpdateResponse +func (c *ClientWithResponses) TenancyContactRolesUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactRolesUpdateResponse, error) { + rsp, err := c.TenancyContactRolesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactRolesUpdateWithResponse(ctx context.Context, id int, body TenancyContactRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactRolesUpdateResponse, error) { + rsp, err := c.TenancyContactRolesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactRolesUpdateResponse(rsp) +} + +// TenancyContactsBulkDestroyWithBodyWithResponse request with arbitrary body returning *TenancyContactsBulkDestroyResponse +func (c *ClientWithResponses) TenancyContactsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactsBulkDestroyResponse, error) { + rsp, err := c.TenancyContactsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactsBulkDestroyWithResponse(ctx context.Context, body TenancyContactsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactsBulkDestroyResponse, error) { + rsp, err := c.TenancyContactsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsBulkDestroyResponse(rsp) +} + +// TenancyContactsListWithResponse request returning *TenancyContactsListResponse +func (c *ClientWithResponses) TenancyContactsListWithResponse(ctx context.Context, params *TenancyContactsListParams, reqEditors ...RequestEditorFn) (*TenancyContactsListResponse, error) { + rsp, err := c.TenancyContactsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsListResponse(rsp) +} + +// TenancyContactsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactsBulkPartialUpdateResponse +func (c *ClientWithResponses) TenancyContactsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactsBulkPartialUpdateResponse, error) { + rsp, err := c.TenancyContactsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactsBulkPartialUpdateWithResponse(ctx context.Context, body TenancyContactsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactsBulkPartialUpdateResponse, error) { + rsp, err := c.TenancyContactsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsBulkPartialUpdateResponse(rsp) +} + +// TenancyContactsCreateWithBodyWithResponse request with arbitrary body returning *TenancyContactsCreateResponse +func (c *ClientWithResponses) TenancyContactsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactsCreateResponse, error) { + rsp, err := c.TenancyContactsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsCreateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactsCreateWithResponse(ctx context.Context, body TenancyContactsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactsCreateResponse, error) { + rsp, err := c.TenancyContactsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsCreateResponse(rsp) +} + +// TenancyContactsBulkUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactsBulkUpdateResponse +func (c *ClientWithResponses) TenancyContactsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactsBulkUpdateResponse, error) { + rsp, err := c.TenancyContactsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactsBulkUpdateWithResponse(ctx context.Context, body TenancyContactsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactsBulkUpdateResponse, error) { + rsp, err := c.TenancyContactsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsBulkUpdateResponse(rsp) +} + +// TenancyContactsDestroyWithResponse request returning *TenancyContactsDestroyResponse +func (c *ClientWithResponses) TenancyContactsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactsDestroyResponse, error) { + rsp, err := c.TenancyContactsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsDestroyResponse(rsp) +} + +// TenancyContactsRetrieveWithResponse request returning *TenancyContactsRetrieveResponse +func (c *ClientWithResponses) TenancyContactsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*TenancyContactsRetrieveResponse, error) { + rsp, err := c.TenancyContactsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsRetrieveResponse(rsp) +} + +// TenancyContactsPartialUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactsPartialUpdateResponse +func (c *ClientWithResponses) TenancyContactsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactsPartialUpdateResponse, error) { + rsp, err := c.TenancyContactsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactsPartialUpdateWithResponse(ctx context.Context, id int, body TenancyContactsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactsPartialUpdateResponse, error) { + rsp, err := c.TenancyContactsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsPartialUpdateResponse(rsp) +} + +// TenancyContactsUpdateWithBodyWithResponse request with arbitrary body returning *TenancyContactsUpdateResponse +func (c *ClientWithResponses) TenancyContactsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyContactsUpdateResponse, error) { + rsp, err := c.TenancyContactsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyContactsUpdateWithResponse(ctx context.Context, id int, body TenancyContactsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyContactsUpdateResponse, error) { + rsp, err := c.TenancyContactsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyContactsUpdateResponse(rsp) +} + +// TenancyTenantGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *TenancyTenantGroupsBulkDestroyResponse +func (c *ClientWithResponses) TenancyTenantGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkDestroyResponse, error) { + rsp, err := c.TenancyTenantGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantGroupsBulkDestroyWithResponse(ctx context.Context, body TenancyTenantGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkDestroyResponse, error) { + rsp, err := c.TenancyTenantGroupsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body TenancyTenantGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsUpdateResponse, error) { + rsp, err := c.TenancyTenantGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsUpdateResponse(rsp) +} + +// TenancyTenantsBulkDestroyWithBodyWithResponse request with arbitrary body returning *TenancyTenantsBulkDestroyResponse +func (c *ClientWithResponses) TenancyTenantsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkDestroyResponse, error) { + rsp, err := c.TenancyTenantsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantsBulkDestroyWithResponse(ctx context.Context, body TenancyTenantsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkDestroyResponse, error) { + rsp, err := c.TenancyTenantsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, 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) +} + +// UsersGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *UsersGroupsBulkDestroyResponse +func (c *ClientWithResponses) UsersGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersGroupsBulkDestroyResponse, error) { + rsp, err := c.UsersGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) UsersGroupsBulkDestroyWithResponse(ctx context.Context, body UsersGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsBulkDestroyResponse, error) { + rsp, err := c.UsersGroupsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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) +} + +// UsersPermissionsBulkDestroyWithBodyWithResponse request with arbitrary body returning *UsersPermissionsBulkDestroyResponse +func (c *ClientWithResponses) UsersPermissionsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkDestroyResponse, error) { + rsp, err := c.UsersPermissionsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) UsersPermissionsBulkDestroyWithResponse(ctx context.Context, body UsersPermissionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkDestroyResponse, error) { + rsp, err := c.UsersPermissionsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body UsersPermissionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsUpdateResponse, error) { + rsp, err := c.UsersPermissionsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsUpdateResponse(rsp) +} + +// UsersTokensBulkDestroyWithBodyWithResponse request with arbitrary body returning *UsersTokensBulkDestroyResponse +func (c *ClientWithResponses) UsersTokensBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensBulkDestroyResponse, error) { + rsp, err := c.UsersTokensBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) UsersTokensBulkDestroyWithResponse(ctx context.Context, body UsersTokensBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensBulkDestroyResponse, error) { + rsp, err := c.UsersTokensBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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) +} + +// UsersTokensProvisionCreateWithBodyWithResponse request with arbitrary body returning *UsersTokensProvisionCreateResponse +func (c *ClientWithResponses) UsersTokensProvisionCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensProvisionCreateResponse, error) { + rsp, err := c.UsersTokensProvisionCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensProvisionCreateResponse(rsp) +} + +func (c *ClientWithResponses) UsersTokensProvisionCreateWithResponse(ctx context.Context, body UsersTokensProvisionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensProvisionCreateResponse, error) { + rsp, err := c.UsersTokensProvisionCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensProvisionCreateResponse(rsp) +} + +// UsersTokensDestroyWithResponse request returning *UsersTokensDestroyResponse +func (c *ClientWithResponses) UsersTokensDestroyWithResponse(ctx context.Context, id int, 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 int, 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 int, 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 int, 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 int, 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 int, body UsersTokensUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensUpdateResponse, error) { + rsp, err := c.UsersTokensUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensUpdateResponse(rsp) +} + +// UsersUsersBulkDestroyWithBodyWithResponse request with arbitrary body returning *UsersUsersBulkDestroyResponse +func (c *ClientWithResponses) UsersUsersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersBulkDestroyResponse, error) { + rsp, err := c.UsersUsersBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) UsersUsersBulkDestroyWithResponse(ctx context.Context, body UsersUsersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersBulkDestroyResponse, error) { + rsp, err := c.UsersUsersBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body UsersUsersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersUpdateResponse, error) { + rsp, err := c.UsersUsersUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersUpdateResponse(rsp) +} + +// VirtualizationClusterGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterGroupsBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationClusterGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClusterGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterGroupsBulkDestroyWithResponse(ctx context.Context, body VirtualizationClusterGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClusterGroupsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body VirtualizationClusterGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsUpdateResponse, error) { + rsp, err := c.VirtualizationClusterGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsUpdateResponse(rsp) +} + +// VirtualizationClusterTypesBulkDestroyWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterTypesBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationClusterTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClusterTypesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterTypesBulkDestroyWithResponse(ctx context.Context, body VirtualizationClusterTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClusterTypesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body VirtualizationClusterTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesUpdateResponse, error) { + rsp, err := c.VirtualizationClusterTypesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesUpdateResponse(rsp) +} + +// VirtualizationClustersBulkDestroyWithBodyWithResponse request with arbitrary body returning *VirtualizationClustersBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationClustersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClustersBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClustersBulkDestroyWithResponse(ctx context.Context, body VirtualizationClustersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClustersBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body VirtualizationClustersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersUpdateResponse, error) { + rsp, err := c.VirtualizationClustersUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersUpdateResponse(rsp) +} + +// VirtualizationInterfacesBulkDestroyWithBodyWithResponse request with arbitrary body returning *VirtualizationInterfacesBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationInterfacesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationInterfacesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationInterfacesBulkDestroyWithResponse(ctx context.Context, body VirtualizationInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationInterfacesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body VirtualizationInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesUpdateResponse, error) { + rsp, err := c.VirtualizationInterfacesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesUpdateResponse(rsp) +} + +// VirtualizationVirtualMachinesBulkDestroyWithBodyWithResponse request with arbitrary body returning *VirtualizationVirtualMachinesBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationVirtualMachinesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationVirtualMachinesBulkDestroyWithResponse(ctx context.Context, body VirtualizationVirtualMachinesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + 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 int, 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 int, 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 int, 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 int, 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 int, 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 int, body VirtualizationVirtualMachinesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesUpdateResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesUpdateResponse(rsp) +} + +// WirelessWirelessLanGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLanGroupsBulkDestroyResponse +func (c *ClientWithResponses) WirelessWirelessLanGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsBulkDestroyResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLanGroupsBulkDestroyWithResponse(ctx context.Context, body WirelessWirelessLanGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsBulkDestroyResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsBulkDestroyResponse(rsp) +} + +// WirelessWirelessLanGroupsListWithResponse request returning *WirelessWirelessLanGroupsListResponse +func (c *ClientWithResponses) WirelessWirelessLanGroupsListWithResponse(ctx context.Context, params *WirelessWirelessLanGroupsListParams, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsListResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsListResponse(rsp) +} + +// WirelessWirelessLanGroupsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLanGroupsBulkPartialUpdateResponse +func (c *ClientWithResponses) WirelessWirelessLanGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLanGroupsBulkPartialUpdateWithResponse(ctx context.Context, body WirelessWirelessLanGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsBulkPartialUpdateResponse(rsp) +} + +// WirelessWirelessLanGroupsCreateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLanGroupsCreateResponse +func (c *ClientWithResponses) WirelessWirelessLanGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsCreateResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsCreateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLanGroupsCreateWithResponse(ctx context.Context, body WirelessWirelessLanGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsCreateResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsCreateResponse(rsp) +} + +// WirelessWirelessLanGroupsBulkUpdateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLanGroupsBulkUpdateResponse +func (c *ClientWithResponses) WirelessWirelessLanGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsBulkUpdateResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLanGroupsBulkUpdateWithResponse(ctx context.Context, body WirelessWirelessLanGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsBulkUpdateResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsBulkUpdateResponse(rsp) +} + +// WirelessWirelessLanGroupsDestroyWithResponse request returning *WirelessWirelessLanGroupsDestroyResponse +func (c *ClientWithResponses) WirelessWirelessLanGroupsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsDestroyResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsDestroyResponse(rsp) +} + +// WirelessWirelessLanGroupsRetrieveWithResponse request returning *WirelessWirelessLanGroupsRetrieveResponse +func (c *ClientWithResponses) WirelessWirelessLanGroupsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsRetrieveResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsRetrieveResponse(rsp) +} + +// WirelessWirelessLanGroupsPartialUpdateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLanGroupsPartialUpdateResponse +func (c *ClientWithResponses) WirelessWirelessLanGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsPartialUpdateResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLanGroupsPartialUpdateWithResponse(ctx context.Context, id int, body WirelessWirelessLanGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsPartialUpdateResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsPartialUpdateResponse(rsp) +} + +// WirelessWirelessLanGroupsUpdateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLanGroupsUpdateResponse +func (c *ClientWithResponses) WirelessWirelessLanGroupsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsUpdateResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLanGroupsUpdateWithResponse(ctx context.Context, id int, body WirelessWirelessLanGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLanGroupsUpdateResponse, error) { + rsp, err := c.WirelessWirelessLanGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLanGroupsUpdateResponse(rsp) +} + +// WirelessWirelessLansBulkDestroyWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLansBulkDestroyResponse +func (c *ClientWithResponses) WirelessWirelessLansBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLansBulkDestroyResponse, error) { + rsp, err := c.WirelessWirelessLansBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLansBulkDestroyWithResponse(ctx context.Context, body WirelessWirelessLansBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLansBulkDestroyResponse, error) { + rsp, err := c.WirelessWirelessLansBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansBulkDestroyResponse(rsp) +} + +// WirelessWirelessLansListWithResponse request returning *WirelessWirelessLansListResponse +func (c *ClientWithResponses) WirelessWirelessLansListWithResponse(ctx context.Context, params *WirelessWirelessLansListParams, reqEditors ...RequestEditorFn) (*WirelessWirelessLansListResponse, error) { + rsp, err := c.WirelessWirelessLansList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansListResponse(rsp) +} + +// WirelessWirelessLansBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLansBulkPartialUpdateResponse +func (c *ClientWithResponses) WirelessWirelessLansBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLansBulkPartialUpdateResponse, error) { + rsp, err := c.WirelessWirelessLansBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLansBulkPartialUpdateWithResponse(ctx context.Context, body WirelessWirelessLansBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLansBulkPartialUpdateResponse, error) { + rsp, err := c.WirelessWirelessLansBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansBulkPartialUpdateResponse(rsp) +} + +// WirelessWirelessLansCreateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLansCreateResponse +func (c *ClientWithResponses) WirelessWirelessLansCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLansCreateResponse, error) { + rsp, err := c.WirelessWirelessLansCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansCreateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLansCreateWithResponse(ctx context.Context, body WirelessWirelessLansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLansCreateResponse, error) { + rsp, err := c.WirelessWirelessLansCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansCreateResponse(rsp) +} + +// WirelessWirelessLansBulkUpdateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLansBulkUpdateResponse +func (c *ClientWithResponses) WirelessWirelessLansBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLansBulkUpdateResponse, error) { + rsp, err := c.WirelessWirelessLansBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLansBulkUpdateWithResponse(ctx context.Context, body WirelessWirelessLansBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLansBulkUpdateResponse, error) { + rsp, err := c.WirelessWirelessLansBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansBulkUpdateResponse(rsp) +} + +// WirelessWirelessLansDestroyWithResponse request returning *WirelessWirelessLansDestroyResponse +func (c *ClientWithResponses) WirelessWirelessLansDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*WirelessWirelessLansDestroyResponse, error) { + rsp, err := c.WirelessWirelessLansDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansDestroyResponse(rsp) +} + +// WirelessWirelessLansRetrieveWithResponse request returning *WirelessWirelessLansRetrieveResponse +func (c *ClientWithResponses) WirelessWirelessLansRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*WirelessWirelessLansRetrieveResponse, error) { + rsp, err := c.WirelessWirelessLansRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansRetrieveResponse(rsp) +} + +// WirelessWirelessLansPartialUpdateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLansPartialUpdateResponse +func (c *ClientWithResponses) WirelessWirelessLansPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLansPartialUpdateResponse, error) { + rsp, err := c.WirelessWirelessLansPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLansPartialUpdateWithResponse(ctx context.Context, id int, body WirelessWirelessLansPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLansPartialUpdateResponse, error) { + rsp, err := c.WirelessWirelessLansPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansPartialUpdateResponse(rsp) +} + +// WirelessWirelessLansUpdateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLansUpdateResponse +func (c *ClientWithResponses) WirelessWirelessLansUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLansUpdateResponse, error) { + rsp, err := c.WirelessWirelessLansUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansUpdateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLansUpdateWithResponse(ctx context.Context, id int, body WirelessWirelessLansUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLansUpdateResponse, error) { + rsp, err := c.WirelessWirelessLansUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLansUpdateResponse(rsp) +} + +// WirelessWirelessLinksBulkDestroyWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLinksBulkDestroyResponse +func (c *ClientWithResponses) WirelessWirelessLinksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksBulkDestroyResponse, error) { + rsp, err := c.WirelessWirelessLinksBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLinksBulkDestroyWithResponse(ctx context.Context, body WirelessWirelessLinksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksBulkDestroyResponse, error) { + rsp, err := c.WirelessWirelessLinksBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksBulkDestroyResponse(rsp) +} + +// WirelessWirelessLinksListWithResponse request returning *WirelessWirelessLinksListResponse +func (c *ClientWithResponses) WirelessWirelessLinksListWithResponse(ctx context.Context, params *WirelessWirelessLinksListParams, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksListResponse, error) { + rsp, err := c.WirelessWirelessLinksList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksListResponse(rsp) +} + +// WirelessWirelessLinksBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLinksBulkPartialUpdateResponse +func (c *ClientWithResponses) WirelessWirelessLinksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksBulkPartialUpdateResponse, error) { + rsp, err := c.WirelessWirelessLinksBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLinksBulkPartialUpdateWithResponse(ctx context.Context, body WirelessWirelessLinksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksBulkPartialUpdateResponse, error) { + rsp, err := c.WirelessWirelessLinksBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksBulkPartialUpdateResponse(rsp) +} + +// WirelessWirelessLinksCreateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLinksCreateResponse +func (c *ClientWithResponses) WirelessWirelessLinksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksCreateResponse, error) { + rsp, err := c.WirelessWirelessLinksCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksCreateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLinksCreateWithResponse(ctx context.Context, body WirelessWirelessLinksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksCreateResponse, error) { + rsp, err := c.WirelessWirelessLinksCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksCreateResponse(rsp) +} + +// WirelessWirelessLinksBulkUpdateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLinksBulkUpdateResponse +func (c *ClientWithResponses) WirelessWirelessLinksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksBulkUpdateResponse, error) { + rsp, err := c.WirelessWirelessLinksBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLinksBulkUpdateWithResponse(ctx context.Context, body WirelessWirelessLinksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksBulkUpdateResponse, error) { + rsp, err := c.WirelessWirelessLinksBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksBulkUpdateResponse(rsp) +} + +// WirelessWirelessLinksDestroyWithResponse request returning *WirelessWirelessLinksDestroyResponse +func (c *ClientWithResponses) WirelessWirelessLinksDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksDestroyResponse, error) { + rsp, err := c.WirelessWirelessLinksDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksDestroyResponse(rsp) +} + +// WirelessWirelessLinksRetrieveWithResponse request returning *WirelessWirelessLinksRetrieveResponse +func (c *ClientWithResponses) WirelessWirelessLinksRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksRetrieveResponse, error) { + rsp, err := c.WirelessWirelessLinksRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksRetrieveResponse(rsp) +} + +// WirelessWirelessLinksPartialUpdateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLinksPartialUpdateResponse +func (c *ClientWithResponses) WirelessWirelessLinksPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksPartialUpdateResponse, error) { + rsp, err := c.WirelessWirelessLinksPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLinksPartialUpdateWithResponse(ctx context.Context, id int, body WirelessWirelessLinksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksPartialUpdateResponse, error) { + rsp, err := c.WirelessWirelessLinksPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksPartialUpdateResponse(rsp) +} + +// WirelessWirelessLinksUpdateWithBodyWithResponse request with arbitrary body returning *WirelessWirelessLinksUpdateResponse +func (c *ClientWithResponses) WirelessWirelessLinksUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksUpdateResponse, error) { + rsp, err := c.WirelessWirelessLinksUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksUpdateResponse(rsp) +} + +func (c *ClientWithResponses) WirelessWirelessLinksUpdateWithResponse(ctx context.Context, id int, body WirelessWirelessLinksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*WirelessWirelessLinksUpdateResponse, error) { + rsp, err := c.WirelessWirelessLinksUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseWirelessWirelessLinksUpdateResponse(rsp) +} + +// ParseCircuitsCircuitTerminationsBulkDestroyResponse parses an HTTP response from a CircuitsCircuitTerminationsBulkDestroyWithResponse call +func ParseCircuitsCircuitTerminationsBulkDestroyResponse(rsp *http.Response) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedCircuitTerminationList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsBulkPartialUpdateResponse parses an HTTP response from a CircuitsCircuitTerminationsBulkPartialUpdateWithResponse call +func ParseCircuitsCircuitTerminationsBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []CircuitTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsCreateResponse parses an HTTP response from a CircuitsCircuitTerminationsCreateWithResponse call +func ParseCircuitsCircuitTerminationsCreateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest CircuitTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsBulkUpdateResponse parses an HTTP response from a CircuitsCircuitTerminationsBulkUpdateWithResponse call +func ParseCircuitsCircuitTerminationsBulkUpdateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []CircuitTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsDestroyResponse parses an HTTP response from a CircuitsCircuitTerminationsDestroyWithResponse call +func ParseCircuitsCircuitTerminationsDestroyResponse(rsp *http.Response) (*CircuitsCircuitTerminationsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CircuitTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsPartialUpdateResponse parses an HTTP response from a CircuitsCircuitTerminationsPartialUpdateWithResponse call +func ParseCircuitsCircuitTerminationsPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CircuitTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsUpdateResponse parses an HTTP response from a CircuitsCircuitTerminationsUpdateWithResponse call +func ParseCircuitsCircuitTerminationsUpdateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CircuitTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsPathsRetrieveResponse parses an HTTP response from a CircuitsCircuitTerminationsPathsRetrieveWithResponse call +func ParseCircuitsCircuitTerminationsPathsRetrieveResponse(rsp *http.Response) (*CircuitsCircuitTerminationsPathsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsPathsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CircuitTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitTypesBulkDestroyResponse parses an HTTP response from a CircuitsCircuitTypesBulkDestroyWithResponse call +func ParseCircuitsCircuitTypesBulkDestroyResponse(rsp *http.Response) (*CircuitsCircuitTypesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedCircuitTypeList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitTypesBulkPartialUpdateResponse parses an HTTP response from a CircuitsCircuitTypesBulkPartialUpdateWithResponse call +func ParseCircuitsCircuitTypesBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitTypesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []CircuitType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitTypesCreateResponse parses an HTTP response from a CircuitsCircuitTypesCreateWithResponse call +func ParseCircuitsCircuitTypesCreateResponse(rsp *http.Response) (*CircuitsCircuitTypesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest CircuitType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitTypesBulkUpdateResponse parses an HTTP response from a CircuitsCircuitTypesBulkUpdateWithResponse call +func ParseCircuitsCircuitTypesBulkUpdateResponse(rsp *http.Response) (*CircuitsCircuitTypesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []CircuitType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitTypesDestroyResponse parses an HTTP response from a CircuitsCircuitTypesDestroyWithResponse call +func ParseCircuitsCircuitTypesDestroyResponse(rsp *http.Response) (*CircuitsCircuitTypesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CircuitType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitTypesPartialUpdateResponse parses an HTTP response from a CircuitsCircuitTypesPartialUpdateWithResponse call +func ParseCircuitsCircuitTypesPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitTypesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CircuitType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitTypesUpdateResponse parses an HTTP response from a CircuitsCircuitTypesUpdateWithResponse call +func ParseCircuitsCircuitTypesUpdateResponse(rsp *http.Response) (*CircuitsCircuitTypesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CircuitType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitsBulkDestroyResponse parses an HTTP response from a CircuitsCircuitsBulkDestroyWithResponse call +func ParseCircuitsCircuitsBulkDestroyResponse(rsp *http.Response) (*CircuitsCircuitsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedCircuitList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitsBulkPartialUpdateResponse parses an HTTP response from a CircuitsCircuitsBulkPartialUpdateWithResponse call +func ParseCircuitsCircuitsBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Circuit + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitsCreateResponse parses an HTTP response from a CircuitsCircuitsCreateWithResponse call +func ParseCircuitsCircuitsCreateResponse(rsp *http.Response) (*CircuitsCircuitsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Circuit + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitsBulkUpdateResponse parses an HTTP response from a CircuitsCircuitsBulkUpdateWithResponse call +func ParseCircuitsCircuitsBulkUpdateResponse(rsp *http.Response) (*CircuitsCircuitsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Circuit + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitsDestroyResponse parses an HTTP response from a CircuitsCircuitsDestroyWithResponse call +func ParseCircuitsCircuitsDestroyResponse(rsp *http.Response) (*CircuitsCircuitsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Circuit + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitsPartialUpdateResponse parses an HTTP response from a CircuitsCircuitsPartialUpdateWithResponse call +func ParseCircuitsCircuitsPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Circuit + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsCircuitsUpdateResponse parses an HTTP response from a CircuitsCircuitsUpdateWithResponse call +func ParseCircuitsCircuitsUpdateResponse(rsp *http.Response) (*CircuitsCircuitsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Circuit + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProviderAccountsBulkDestroyResponse parses an HTTP response from a CircuitsProviderAccountsBulkDestroyWithResponse call +func ParseCircuitsProviderAccountsBulkDestroyResponse(rsp *http.Response) (*CircuitsProviderAccountsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderAccountsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProviderAccountsListResponse parses an HTTP response from a CircuitsProviderAccountsListWithResponse call +func ParseCircuitsProviderAccountsListResponse(rsp *http.Response) (*CircuitsProviderAccountsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderAccountsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedProviderAccountList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProviderAccountsBulkPartialUpdateResponse parses an HTTP response from a CircuitsProviderAccountsBulkPartialUpdateWithResponse call +func ParseCircuitsProviderAccountsBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsProviderAccountsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderAccountsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ProviderAccount + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProviderAccountsCreateResponse parses an HTTP response from a CircuitsProviderAccountsCreateWithResponse call +func ParseCircuitsProviderAccountsCreateResponse(rsp *http.Response) (*CircuitsProviderAccountsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderAccountsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ProviderAccount + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseCircuitsProviderAccountsBulkUpdateResponse parses an HTTP response from a CircuitsProviderAccountsBulkUpdateWithResponse call +func ParseCircuitsProviderAccountsBulkUpdateResponse(rsp *http.Response) (*CircuitsProviderAccountsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderAccountsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ProviderAccount + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProviderAccountsDestroyResponse parses an HTTP response from a CircuitsProviderAccountsDestroyWithResponse call +func ParseCircuitsProviderAccountsDestroyResponse(rsp *http.Response) (*CircuitsProviderAccountsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderAccountsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProviderAccountsRetrieveResponse parses an HTTP response from a CircuitsProviderAccountsRetrieveWithResponse call +func ParseCircuitsProviderAccountsRetrieveResponse(rsp *http.Response) (*CircuitsProviderAccountsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderAccountsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ProviderAccount + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProviderAccountsPartialUpdateResponse parses an HTTP response from a CircuitsProviderAccountsPartialUpdateWithResponse call +func ParseCircuitsProviderAccountsPartialUpdateResponse(rsp *http.Response) (*CircuitsProviderAccountsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderAccountsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ProviderAccount + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProviderAccountsUpdateResponse parses an HTTP response from a CircuitsProviderAccountsUpdateWithResponse call +func ParseCircuitsProviderAccountsUpdateResponse(rsp *http.Response) (*CircuitsProviderAccountsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderAccountsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ProviderAccount + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProviderNetworksBulkDestroyResponse parses an HTTP response from a CircuitsProviderNetworksBulkDestroyWithResponse call +func ParseCircuitsProviderNetworksBulkDestroyResponse(rsp *http.Response) (*CircuitsProviderNetworksBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedProviderNetworkList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProviderNetworksBulkPartialUpdateResponse parses an HTTP response from a CircuitsProviderNetworksBulkPartialUpdateWithResponse call +func ParseCircuitsProviderNetworksBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsProviderNetworksBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ProviderNetwork + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProviderNetworksCreateResponse parses an HTTP response from a CircuitsProviderNetworksCreateWithResponse call +func ParseCircuitsProviderNetworksCreateResponse(rsp *http.Response) (*CircuitsProviderNetworksCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ProviderNetwork + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseCircuitsProviderNetworksBulkUpdateResponse parses an HTTP response from a CircuitsProviderNetworksBulkUpdateWithResponse call +func ParseCircuitsProviderNetworksBulkUpdateResponse(rsp *http.Response) (*CircuitsProviderNetworksBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ProviderNetwork + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProviderNetworksDestroyResponse parses an HTTP response from a CircuitsProviderNetworksDestroyWithResponse call +func ParseCircuitsProviderNetworksDestroyResponse(rsp *http.Response) (*CircuitsProviderNetworksDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ProviderNetwork + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProviderNetworksPartialUpdateResponse parses an HTTP response from a CircuitsProviderNetworksPartialUpdateWithResponse call +func ParseCircuitsProviderNetworksPartialUpdateResponse(rsp *http.Response) (*CircuitsProviderNetworksPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ProviderNetwork + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProviderNetworksUpdateResponse parses an HTTP response from a CircuitsProviderNetworksUpdateWithResponse call +func ParseCircuitsProviderNetworksUpdateResponse(rsp *http.Response) (*CircuitsProviderNetworksUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ProviderNetwork + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProvidersBulkDestroyResponse parses an HTTP response from a CircuitsProvidersBulkDestroyWithResponse call +func ParseCircuitsProvidersBulkDestroyResponse(rsp *http.Response) (*CircuitsProvidersBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedProviderList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProvidersBulkPartialUpdateResponse parses an HTTP response from a CircuitsProvidersBulkPartialUpdateWithResponse call +func ParseCircuitsProvidersBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsProvidersBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Provider + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProvidersCreateResponse parses an HTTP response from a CircuitsProvidersCreateWithResponse call +func ParseCircuitsProvidersCreateResponse(rsp *http.Response) (*CircuitsProvidersCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Provider + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseCircuitsProvidersBulkUpdateResponse parses an HTTP response from a CircuitsProvidersBulkUpdateWithResponse call +func ParseCircuitsProvidersBulkUpdateResponse(rsp *http.Response) (*CircuitsProvidersBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Provider + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProvidersDestroyResponse parses an HTTP response from a CircuitsProvidersDestroyWithResponse call +func ParseCircuitsProvidersDestroyResponse(rsp *http.Response) (*CircuitsProvidersDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Provider + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProvidersPartialUpdateResponse parses an HTTP response from a CircuitsProvidersPartialUpdateWithResponse call +func ParseCircuitsProvidersPartialUpdateResponse(rsp *http.Response) (*CircuitsProvidersPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Provider + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCircuitsProvidersUpdateResponse parses an HTTP response from a CircuitsProvidersUpdateWithResponse call +func ParseCircuitsProvidersUpdateResponse(rsp *http.Response) (*CircuitsProvidersUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Provider + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCoreDataFilesListResponse parses an HTTP response from a CoreDataFilesListWithResponse call +func ParseCoreDataFilesListResponse(rsp *http.Response) (*CoreDataFilesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CoreDataFilesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedDataFileList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCoreDataFilesRetrieveResponse parses an HTTP response from a CoreDataFilesRetrieveWithResponse call +func ParseCoreDataFilesRetrieveResponse(rsp *http.Response) (*CoreDataFilesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CoreDataFilesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DataFile + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCoreDataSourcesBulkDestroyResponse parses an HTTP response from a CoreDataSourcesBulkDestroyWithResponse call +func ParseCoreDataSourcesBulkDestroyResponse(rsp *http.Response) (*CoreDataSourcesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CoreDataSourcesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCoreDataSourcesListResponse parses an HTTP response from a CoreDataSourcesListWithResponse call +func ParseCoreDataSourcesListResponse(rsp *http.Response) (*CoreDataSourcesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CoreDataSourcesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedDataSourceList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCoreDataSourcesBulkPartialUpdateResponse parses an HTTP response from a CoreDataSourcesBulkPartialUpdateWithResponse call +func ParseCoreDataSourcesBulkPartialUpdateResponse(rsp *http.Response) (*CoreDataSourcesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CoreDataSourcesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []DataSource + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCoreDataSourcesCreateResponse parses an HTTP response from a CoreDataSourcesCreateWithResponse call +func ParseCoreDataSourcesCreateResponse(rsp *http.Response) (*CoreDataSourcesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CoreDataSourcesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest DataSource + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseCoreDataSourcesBulkUpdateResponse parses an HTTP response from a CoreDataSourcesBulkUpdateWithResponse call +func ParseCoreDataSourcesBulkUpdateResponse(rsp *http.Response) (*CoreDataSourcesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CoreDataSourcesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []DataSource + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCoreDataSourcesDestroyResponse parses an HTTP response from a CoreDataSourcesDestroyWithResponse call +func ParseCoreDataSourcesDestroyResponse(rsp *http.Response) (*CoreDataSourcesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CoreDataSourcesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCoreDataSourcesRetrieveResponse parses an HTTP response from a CoreDataSourcesRetrieveWithResponse call +func ParseCoreDataSourcesRetrieveResponse(rsp *http.Response) (*CoreDataSourcesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CoreDataSourcesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DataSource + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCoreDataSourcesPartialUpdateResponse parses an HTTP response from a CoreDataSourcesPartialUpdateWithResponse call +func ParseCoreDataSourcesPartialUpdateResponse(rsp *http.Response) (*CoreDataSourcesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CoreDataSourcesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DataSource + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCoreDataSourcesUpdateResponse parses an HTTP response from a CoreDataSourcesUpdateWithResponse call +func ParseCoreDataSourcesUpdateResponse(rsp *http.Response) (*CoreDataSourcesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CoreDataSourcesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DataSource + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCoreDataSourcesSyncCreateResponse parses an HTTP response from a CoreDataSourcesSyncCreateWithResponse call +func ParseCoreDataSourcesSyncCreateResponse(rsp *http.Response) (*CoreDataSourcesSyncCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CoreDataSourcesSyncCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DataSource + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCoreJobsListResponse parses an HTTP response from a CoreJobsListWithResponse call +func ParseCoreJobsListResponse(rsp *http.Response) (*CoreJobsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CoreJobsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedJobList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseCoreJobsRetrieveResponse parses an HTTP response from a CoreJobsRetrieveWithResponse call +func ParseCoreJobsRetrieveResponse(rsp *http.Response) (*CoreJobsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CoreJobsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Job + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimCableTerminationsBulkDestroyResponse parses an HTTP response from a DcimCableTerminationsBulkDestroyWithResponse call +func ParseDcimCableTerminationsBulkDestroyResponse(rsp *http.Response) (*DcimCableTerminationsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCableTerminationsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimCableTerminationsListResponse parses an HTTP response from a DcimCableTerminationsListWithResponse call +func ParseDcimCableTerminationsListResponse(rsp *http.Response) (*DcimCableTerminationsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCableTerminationsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedCableTerminationList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimCableTerminationsBulkPartialUpdateResponse parses an HTTP response from a DcimCableTerminationsBulkPartialUpdateWithResponse call +func ParseDcimCableTerminationsBulkPartialUpdateResponse(rsp *http.Response) (*DcimCableTerminationsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCableTerminationsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []CableTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimCableTerminationsCreateResponse parses an HTTP response from a DcimCableTerminationsCreateWithResponse call +func ParseDcimCableTerminationsCreateResponse(rsp *http.Response) (*DcimCableTerminationsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCableTerminationsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest CableTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimCableTerminationsBulkUpdateResponse parses an HTTP response from a DcimCableTerminationsBulkUpdateWithResponse call +func ParseDcimCableTerminationsBulkUpdateResponse(rsp *http.Response) (*DcimCableTerminationsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCableTerminationsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []CableTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimCableTerminationsDestroyResponse parses an HTTP response from a DcimCableTerminationsDestroyWithResponse call +func ParseDcimCableTerminationsDestroyResponse(rsp *http.Response) (*DcimCableTerminationsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCableTerminationsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimCableTerminationsRetrieveResponse parses an HTTP response from a DcimCableTerminationsRetrieveWithResponse call +func ParseDcimCableTerminationsRetrieveResponse(rsp *http.Response) (*DcimCableTerminationsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCableTerminationsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CableTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimCableTerminationsPartialUpdateResponse parses an HTTP response from a DcimCableTerminationsPartialUpdateWithResponse call +func ParseDcimCableTerminationsPartialUpdateResponse(rsp *http.Response) (*DcimCableTerminationsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCableTerminationsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CableTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimCableTerminationsUpdateResponse parses an HTTP response from a DcimCableTerminationsUpdateWithResponse call +func ParseDcimCableTerminationsUpdateResponse(rsp *http.Response) (*DcimCableTerminationsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCableTerminationsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CableTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimCablesBulkDestroyResponse parses an HTTP response from a DcimCablesBulkDestroyWithResponse call +func ParseDcimCablesBulkDestroyResponse(rsp *http.Response) (*DcimCablesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedCableList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimCablesBulkPartialUpdateResponse parses an HTTP response from a DcimCablesBulkPartialUpdateWithResponse call +func ParseDcimCablesBulkPartialUpdateResponse(rsp *http.Response) (*DcimCablesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Cable + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimCablesCreateResponse parses an HTTP response from a DcimCablesCreateWithResponse call +func ParseDcimCablesCreateResponse(rsp *http.Response) (*DcimCablesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Cable + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimCablesBulkUpdateResponse parses an HTTP response from a DcimCablesBulkUpdateWithResponse call +func ParseDcimCablesBulkUpdateResponse(rsp *http.Response) (*DcimCablesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Cable + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimCablesDestroyResponse parses an HTTP response from a DcimCablesDestroyWithResponse call +func ParseDcimCablesDestroyResponse(rsp *http.Response) (*DcimCablesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Cable + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimCablesPartialUpdateResponse parses an HTTP response from a DcimCablesPartialUpdateWithResponse call +func ParseDcimCablesPartialUpdateResponse(rsp *http.Response) (*DcimCablesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Cable + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimCablesUpdateResponse parses an HTTP response from a DcimCablesUpdateWithResponse call +func ParseDcimCablesUpdateResponse(rsp *http.Response) (*DcimCablesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Cable + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConnectedDeviceListResponse parses an HTTP response from a DcimConnectedDeviceListWithResponse call +func ParseDcimConnectedDeviceListResponse(rsp *http.Response) (*DcimConnectedDeviceListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConnectedDeviceListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Device + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesBulkDestroyResponse parses an HTTP response from a DcimConsolePortTemplatesBulkDestroyWithResponse call +func ParseDcimConsolePortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimConsolePortTemplatesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedConsolePortTemplateList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimConsolePortTemplatesBulkPartialUpdateWithResponse call +func ParseDcimConsolePortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimConsolePortTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ConsolePortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesCreateResponse parses an HTTP response from a DcimConsolePortTemplatesCreateWithResponse call +func ParseDcimConsolePortTemplatesCreateResponse(rsp *http.Response) (*DcimConsolePortTemplatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ConsolePortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesBulkUpdateResponse parses an HTTP response from a DcimConsolePortTemplatesBulkUpdateWithResponse call +func ParseDcimConsolePortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimConsolePortTemplatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ConsolePortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesDestroyResponse parses an HTTP response from a DcimConsolePortTemplatesDestroyWithResponse call +func ParseDcimConsolePortTemplatesDestroyResponse(rsp *http.Response) (*DcimConsolePortTemplatesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConsolePortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesPartialUpdateResponse parses an HTTP response from a DcimConsolePortTemplatesPartialUpdateWithResponse call +func ParseDcimConsolePortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimConsolePortTemplatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConsolePortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesUpdateResponse parses an HTTP response from a DcimConsolePortTemplatesUpdateWithResponse call +func ParseDcimConsolePortTemplatesUpdateResponse(rsp *http.Response) (*DcimConsolePortTemplatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConsolePortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortsBulkDestroyResponse parses an HTTP response from a DcimConsolePortsBulkDestroyWithResponse call +func ParseDcimConsolePortsBulkDestroyResponse(rsp *http.Response) (*DcimConsolePortsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedConsolePortList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortsBulkPartialUpdateResponse parses an HTTP response from a DcimConsolePortsBulkPartialUpdateWithResponse call +func ParseDcimConsolePortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimConsolePortsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ConsolePort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortsCreateResponse parses an HTTP response from a DcimConsolePortsCreateWithResponse call +func ParseDcimConsolePortsCreateResponse(rsp *http.Response) (*DcimConsolePortsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ConsolePort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortsBulkUpdateResponse parses an HTTP response from a DcimConsolePortsBulkUpdateWithResponse call +func ParseDcimConsolePortsBulkUpdateResponse(rsp *http.Response) (*DcimConsolePortsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ConsolePort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortsDestroyResponse parses an HTTP response from a DcimConsolePortsDestroyWithResponse call +func ParseDcimConsolePortsDestroyResponse(rsp *http.Response) (*DcimConsolePortsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConsolePort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortsPartialUpdateResponse parses an HTTP response from a DcimConsolePortsPartialUpdateWithResponse call +func ParseDcimConsolePortsPartialUpdateResponse(rsp *http.Response) (*DcimConsolePortsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConsolePort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortsUpdateResponse parses an HTTP response from a DcimConsolePortsUpdateWithResponse call +func ParseDcimConsolePortsUpdateResponse(rsp *http.Response) (*DcimConsolePortsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConsolePort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsolePortsTraceRetrieveResponse parses an HTTP response from a DcimConsolePortsTraceRetrieveWithResponse call +func ParseDcimConsolePortsTraceRetrieveResponse(rsp *http.Response) (*DcimConsolePortsTraceRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsTraceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConsolePort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesBulkDestroyResponse parses an HTTP response from a DcimConsoleServerPortTemplatesBulkDestroyWithResponse call +func ParseDcimConsoleServerPortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedConsoleServerPortTemplateList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesBulkPartialUpdateWithResponse call +func ParseDcimConsoleServerPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ConsoleServerPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesCreateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesCreateWithResponse call +func ParseDcimConsoleServerPortTemplatesCreateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ConsoleServerPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesBulkUpdateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesBulkUpdateWithResponse call +func ParseDcimConsoleServerPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ConsoleServerPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesDestroyResponse parses an HTTP response from a DcimConsoleServerPortTemplatesDestroyWithResponse call +func ParseDcimConsoleServerPortTemplatesDestroyResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConsoleServerPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesPartialUpdateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesPartialUpdateWithResponse call +func ParseDcimConsoleServerPortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConsoleServerPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesUpdateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesUpdateWithResponse call +func ParseDcimConsoleServerPortTemplatesUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConsoleServerPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortsBulkDestroyResponse parses an HTTP response from a DcimConsoleServerPortsBulkDestroyWithResponse call +func ParseDcimConsoleServerPortsBulkDestroyResponse(rsp *http.Response) (*DcimConsoleServerPortsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedConsoleServerPortList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortsBulkPartialUpdateResponse parses an HTTP response from a DcimConsoleServerPortsBulkPartialUpdateWithResponse call +func ParseDcimConsoleServerPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ConsoleServerPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortsCreateResponse parses an HTTP response from a DcimConsoleServerPortsCreateWithResponse call +func ParseDcimConsoleServerPortsCreateResponse(rsp *http.Response) (*DcimConsoleServerPortsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ConsoleServerPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortsBulkUpdateResponse parses an HTTP response from a DcimConsoleServerPortsBulkUpdateWithResponse call +func ParseDcimConsoleServerPortsBulkUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ConsoleServerPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortsDestroyResponse parses an HTTP response from a DcimConsoleServerPortsDestroyWithResponse call +func ParseDcimConsoleServerPortsDestroyResponse(rsp *http.Response) (*DcimConsoleServerPortsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConsoleServerPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortsPartialUpdateResponse parses an HTTP response from a DcimConsoleServerPortsPartialUpdateWithResponse call +func ParseDcimConsoleServerPortsPartialUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConsoleServerPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortsUpdateResponse parses an HTTP response from a DcimConsoleServerPortsUpdateWithResponse call +func ParseDcimConsoleServerPortsUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConsoleServerPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimConsoleServerPortsTraceRetrieveResponse parses an HTTP response from a DcimConsoleServerPortsTraceRetrieveWithResponse call +func ParseDcimConsoleServerPortsTraceRetrieveResponse(rsp *http.Response) (*DcimConsoleServerPortsTraceRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsTraceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConsoleServerPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesBulkDestroyResponse parses an HTTP response from a DcimDeviceBayTemplatesBulkDestroyWithResponse call +func ParseDcimDeviceBayTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimDeviceBayTemplatesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedDeviceBayTemplateList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimDeviceBayTemplatesBulkPartialUpdateWithResponse call +func ParseDcimDeviceBayTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []DeviceBayTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesCreateResponse parses an HTTP response from a DcimDeviceBayTemplatesCreateWithResponse call +func ParseDcimDeviceBayTemplatesCreateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest DeviceBayTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesBulkUpdateResponse parses an HTTP response from a DcimDeviceBayTemplatesBulkUpdateWithResponse call +func ParseDcimDeviceBayTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []DeviceBayTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesDestroyResponse parses an HTTP response from a DcimDeviceBayTemplatesDestroyWithResponse call +func ParseDcimDeviceBayTemplatesDestroyResponse(rsp *http.Response) (*DcimDeviceBayTemplatesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceBayTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesPartialUpdateResponse parses an HTTP response from a DcimDeviceBayTemplatesPartialUpdateWithResponse call +func ParseDcimDeviceBayTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceBayTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesUpdateResponse parses an HTTP response from a DcimDeviceBayTemplatesUpdateWithResponse call +func ParseDcimDeviceBayTemplatesUpdateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceBayTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceBaysBulkDestroyResponse parses an HTTP response from a DcimDeviceBaysBulkDestroyWithResponse call +func ParseDcimDeviceBaysBulkDestroyResponse(rsp *http.Response) (*DcimDeviceBaysBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedDeviceBayList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceBaysBulkPartialUpdateResponse parses an HTTP response from a DcimDeviceBaysBulkPartialUpdateWithResponse call +func ParseDcimDeviceBaysBulkPartialUpdateResponse(rsp *http.Response) (*DcimDeviceBaysBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []DeviceBay + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceBaysCreateResponse parses an HTTP response from a DcimDeviceBaysCreateWithResponse call +func ParseDcimDeviceBaysCreateResponse(rsp *http.Response) (*DcimDeviceBaysCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest DeviceBay + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceBaysBulkUpdateResponse parses an HTTP response from a DcimDeviceBaysBulkUpdateWithResponse call +func ParseDcimDeviceBaysBulkUpdateResponse(rsp *http.Response) (*DcimDeviceBaysBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []DeviceBay + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceBaysDestroyResponse parses an HTTP response from a DcimDeviceBaysDestroyWithResponse call +func ParseDcimDeviceBaysDestroyResponse(rsp *http.Response) (*DcimDeviceBaysDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceBay + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceBaysPartialUpdateResponse parses an HTTP response from a DcimDeviceBaysPartialUpdateWithResponse call +func ParseDcimDeviceBaysPartialUpdateResponse(rsp *http.Response) (*DcimDeviceBaysPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceBay + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceBaysUpdateResponse parses an HTTP response from a DcimDeviceBaysUpdateWithResponse call +func ParseDcimDeviceBaysUpdateResponse(rsp *http.Response) (*DcimDeviceBaysUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceBay + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceRolesBulkDestroyResponse parses an HTTP response from a DcimDeviceRolesBulkDestroyWithResponse call +func ParseDcimDeviceRolesBulkDestroyResponse(rsp *http.Response) (*DcimDeviceRolesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedDeviceRoleList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceRolesBulkPartialUpdateResponse parses an HTTP response from a DcimDeviceRolesBulkPartialUpdateWithResponse call +func ParseDcimDeviceRolesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDeviceRolesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []DeviceRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceRolesCreateResponse parses an HTTP response from a DcimDeviceRolesCreateWithResponse call +func ParseDcimDeviceRolesCreateResponse(rsp *http.Response) (*DcimDeviceRolesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest DeviceRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceRolesBulkUpdateResponse parses an HTTP response from a DcimDeviceRolesBulkUpdateWithResponse call +func ParseDcimDeviceRolesBulkUpdateResponse(rsp *http.Response) (*DcimDeviceRolesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []DeviceRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceRolesDestroyResponse parses an HTTP response from a DcimDeviceRolesDestroyWithResponse call +func ParseDcimDeviceRolesDestroyResponse(rsp *http.Response) (*DcimDeviceRolesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceRolesPartialUpdateResponse parses an HTTP response from a DcimDeviceRolesPartialUpdateWithResponse call +func ParseDcimDeviceRolesPartialUpdateResponse(rsp *http.Response) (*DcimDeviceRolesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceRolesUpdateResponse parses an HTTP response from a DcimDeviceRolesUpdateWithResponse call +func ParseDcimDeviceRolesUpdateResponse(rsp *http.Response) (*DcimDeviceRolesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceTypesBulkDestroyResponse parses an HTTP response from a DcimDeviceTypesBulkDestroyWithResponse call +func ParseDcimDeviceTypesBulkDestroyResponse(rsp *http.Response) (*DcimDeviceTypesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedDeviceTypeList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceTypesBulkPartialUpdateResponse parses an HTTP response from a DcimDeviceTypesBulkPartialUpdateWithResponse call +func ParseDcimDeviceTypesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDeviceTypesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []DeviceType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceTypesCreateResponse parses an HTTP response from a DcimDeviceTypesCreateWithResponse call +func ParseDcimDeviceTypesCreateResponse(rsp *http.Response) (*DcimDeviceTypesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest DeviceType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceTypesBulkUpdateResponse parses an HTTP response from a DcimDeviceTypesBulkUpdateWithResponse call +func ParseDcimDeviceTypesBulkUpdateResponse(rsp *http.Response) (*DcimDeviceTypesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []DeviceType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceTypesDestroyResponse parses an HTTP response from a DcimDeviceTypesDestroyWithResponse call +func ParseDcimDeviceTypesDestroyResponse(rsp *http.Response) (*DcimDeviceTypesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceTypesPartialUpdateResponse parses an HTTP response from a DcimDeviceTypesPartialUpdateWithResponse call +func ParseDcimDeviceTypesPartialUpdateResponse(rsp *http.Response) (*DcimDeviceTypesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDeviceTypesUpdateResponse parses an HTTP response from a DcimDeviceTypesUpdateWithResponse call +func ParseDcimDeviceTypesUpdateResponse(rsp *http.Response) (*DcimDeviceTypesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDevicesBulkDestroyResponse parses an HTTP response from a DcimDevicesBulkDestroyWithResponse call +func ParseDcimDevicesBulkDestroyResponse(rsp *http.Response) (*DcimDevicesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedDeviceWithConfigContextList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDevicesBulkPartialUpdateResponse parses an HTTP response from a DcimDevicesBulkPartialUpdateWithResponse call +func ParseDcimDevicesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDevicesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []DeviceWithConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDevicesCreateResponse parses an HTTP response from a DcimDevicesCreateWithResponse call +func ParseDcimDevicesCreateResponse(rsp *http.Response) (*DcimDevicesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest DeviceWithConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimDevicesBulkUpdateResponse parses an HTTP response from a DcimDevicesBulkUpdateWithResponse call +func ParseDcimDevicesBulkUpdateResponse(rsp *http.Response) (*DcimDevicesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []DeviceWithConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDevicesDestroyResponse parses an HTTP response from a DcimDevicesDestroyWithResponse call +func ParseDcimDevicesDestroyResponse(rsp *http.Response) (*DcimDevicesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceWithConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDevicesPartialUpdateResponse parses an HTTP response from a DcimDevicesPartialUpdateWithResponse call +func ParseDcimDevicesPartialUpdateResponse(rsp *http.Response) (*DcimDevicesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceWithConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDevicesUpdateResponse parses an HTTP response from a DcimDevicesUpdateWithResponse call +func ParseDcimDevicesUpdateResponse(rsp *http.Response) (*DcimDevicesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceWithConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimDevicesRenderConfigCreateResponse parses an HTTP response from a DcimDevicesRenderConfigCreateWithResponse call +func ParseDcimDevicesRenderConfigCreateResponse(rsp *http.Response) (*DcimDevicesRenderConfigCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesRenderConfigCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest DeviceWithConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case rsp.StatusCode == 200: + // Content-type (text/plain) unsupported + + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesBulkDestroyResponse parses an HTTP response from a DcimFrontPortTemplatesBulkDestroyWithResponse call +func ParseDcimFrontPortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimFrontPortTemplatesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedFrontPortTemplateList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimFrontPortTemplatesBulkPartialUpdateWithResponse call +func ParseDcimFrontPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimFrontPortTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []FrontPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesCreateResponse parses an HTTP response from a DcimFrontPortTemplatesCreateWithResponse call +func ParseDcimFrontPortTemplatesCreateResponse(rsp *http.Response) (*DcimFrontPortTemplatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest FrontPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesBulkUpdateResponse parses an HTTP response from a DcimFrontPortTemplatesBulkUpdateWithResponse call +func ParseDcimFrontPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimFrontPortTemplatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []FrontPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesDestroyResponse parses an HTTP response from a DcimFrontPortTemplatesDestroyWithResponse call +func ParseDcimFrontPortTemplatesDestroyResponse(rsp *http.Response) (*DcimFrontPortTemplatesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest FrontPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesPartialUpdateResponse parses an HTTP response from a DcimFrontPortTemplatesPartialUpdateWithResponse call +func ParseDcimFrontPortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimFrontPortTemplatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest FrontPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesUpdateResponse parses an HTTP response from a DcimFrontPortTemplatesUpdateWithResponse call +func ParseDcimFrontPortTemplatesUpdateResponse(rsp *http.Response) (*DcimFrontPortTemplatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest FrontPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimFrontPortsBulkDestroyResponse parses an HTTP response from a DcimFrontPortsBulkDestroyWithResponse call +func ParseDcimFrontPortsBulkDestroyResponse(rsp *http.Response) (*DcimFrontPortsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedFrontPortList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimFrontPortsBulkPartialUpdateResponse parses an HTTP response from a DcimFrontPortsBulkPartialUpdateWithResponse call +func ParseDcimFrontPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimFrontPortsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []FrontPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimFrontPortsCreateResponse parses an HTTP response from a DcimFrontPortsCreateWithResponse call +func ParseDcimFrontPortsCreateResponse(rsp *http.Response) (*DcimFrontPortsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest FrontPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimFrontPortsBulkUpdateResponse parses an HTTP response from a DcimFrontPortsBulkUpdateWithResponse call +func ParseDcimFrontPortsBulkUpdateResponse(rsp *http.Response) (*DcimFrontPortsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []FrontPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimFrontPortsDestroyResponse parses an HTTP response from a DcimFrontPortsDestroyWithResponse call +func ParseDcimFrontPortsDestroyResponse(rsp *http.Response) (*DcimFrontPortsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest FrontPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimFrontPortsPartialUpdateResponse parses an HTTP response from a DcimFrontPortsPartialUpdateWithResponse call +func ParseDcimFrontPortsPartialUpdateResponse(rsp *http.Response) (*DcimFrontPortsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest FrontPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimFrontPortsUpdateResponse parses an HTTP response from a DcimFrontPortsUpdateWithResponse call +func ParseDcimFrontPortsUpdateResponse(rsp *http.Response) (*DcimFrontPortsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest FrontPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimFrontPortsPathsRetrieveResponse parses an HTTP response from a DcimFrontPortsPathsRetrieveWithResponse call +func ParseDcimFrontPortsPathsRetrieveResponse(rsp *http.Response) (*DcimFrontPortsPathsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsPathsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest FrontPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesBulkDestroyResponse parses an HTTP response from a DcimInterfaceTemplatesBulkDestroyWithResponse call +func ParseDcimInterfaceTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimInterfaceTemplatesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedInterfaceTemplateList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimInterfaceTemplatesBulkPartialUpdateWithResponse call +func ParseDcimInterfaceTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimInterfaceTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []InterfaceTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesCreateResponse parses an HTTP response from a DcimInterfaceTemplatesCreateWithResponse call +func ParseDcimInterfaceTemplatesCreateResponse(rsp *http.Response) (*DcimInterfaceTemplatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest InterfaceTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesBulkUpdateResponse parses an HTTP response from a DcimInterfaceTemplatesBulkUpdateWithResponse call +func ParseDcimInterfaceTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimInterfaceTemplatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []InterfaceTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesDestroyResponse parses an HTTP response from a DcimInterfaceTemplatesDestroyWithResponse call +func ParseDcimInterfaceTemplatesDestroyResponse(rsp *http.Response) (*DcimInterfaceTemplatesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest InterfaceTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesPartialUpdateResponse parses an HTTP response from a DcimInterfaceTemplatesPartialUpdateWithResponse call +func ParseDcimInterfaceTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimInterfaceTemplatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest InterfaceTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesUpdateResponse parses an HTTP response from a DcimInterfaceTemplatesUpdateWithResponse call +func ParseDcimInterfaceTemplatesUpdateResponse(rsp *http.Response) (*DcimInterfaceTemplatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest InterfaceTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInterfacesBulkDestroyResponse parses an HTTP response from a DcimInterfacesBulkDestroyWithResponse call +func ParseDcimInterfacesBulkDestroyResponse(rsp *http.Response) (*DcimInterfacesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedInterfaceList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInterfacesBulkPartialUpdateResponse parses an HTTP response from a DcimInterfacesBulkPartialUpdateWithResponse call +func ParseDcimInterfacesBulkPartialUpdateResponse(rsp *http.Response) (*DcimInterfacesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Interface + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInterfacesCreateResponse parses an HTTP response from a DcimInterfacesCreateWithResponse call +func ParseDcimInterfacesCreateResponse(rsp *http.Response) (*DcimInterfacesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Interface + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimInterfacesBulkUpdateResponse parses an HTTP response from a DcimInterfacesBulkUpdateWithResponse call +func ParseDcimInterfacesBulkUpdateResponse(rsp *http.Response) (*DcimInterfacesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Interface + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInterfacesDestroyResponse parses an HTTP response from a DcimInterfacesDestroyWithResponse call +func ParseDcimInterfacesDestroyResponse(rsp *http.Response) (*DcimInterfacesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Interface + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInterfacesPartialUpdateResponse parses an HTTP response from a DcimInterfacesPartialUpdateWithResponse call +func ParseDcimInterfacesPartialUpdateResponse(rsp *http.Response) (*DcimInterfacesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Interface + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInterfacesUpdateResponse parses an HTTP response from a DcimInterfacesUpdateWithResponse call +func ParseDcimInterfacesUpdateResponse(rsp *http.Response) (*DcimInterfacesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Interface + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInterfacesTraceRetrieveResponse parses an HTTP response from a DcimInterfacesTraceRetrieveWithResponse call +func ParseDcimInterfacesTraceRetrieveResponse(rsp *http.Response) (*DcimInterfacesTraceRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesTraceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Interface + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemRolesBulkDestroyResponse parses an HTTP response from a DcimInventoryItemRolesBulkDestroyWithResponse call +func ParseDcimInventoryItemRolesBulkDestroyResponse(rsp *http.Response) (*DcimInventoryItemRolesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemRolesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInventoryItemRolesListResponse parses an HTTP response from a DcimInventoryItemRolesListWithResponse call +func ParseDcimInventoryItemRolesListResponse(rsp *http.Response) (*DcimInventoryItemRolesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemRolesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedInventoryItemRoleList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemRolesBulkPartialUpdateResponse parses an HTTP response from a DcimInventoryItemRolesBulkPartialUpdateWithResponse call +func ParseDcimInventoryItemRolesBulkPartialUpdateResponse(rsp *http.Response) (*DcimInventoryItemRolesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemRolesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []InventoryItemRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemRolesCreateResponse parses an HTTP response from a DcimInventoryItemRolesCreateWithResponse call +func ParseDcimInventoryItemRolesCreateResponse(rsp *http.Response) (*DcimInventoryItemRolesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemRolesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest InventoryItemRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemRolesBulkUpdateResponse parses an HTTP response from a DcimInventoryItemRolesBulkUpdateWithResponse call +func ParseDcimInventoryItemRolesBulkUpdateResponse(rsp *http.Response) (*DcimInventoryItemRolesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemRolesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []InventoryItemRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemRolesDestroyResponse parses an HTTP response from a DcimInventoryItemRolesDestroyWithResponse call +func ParseDcimInventoryItemRolesDestroyResponse(rsp *http.Response) (*DcimInventoryItemRolesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemRolesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInventoryItemRolesRetrieveResponse parses an HTTP response from a DcimInventoryItemRolesRetrieveWithResponse call +func ParseDcimInventoryItemRolesRetrieveResponse(rsp *http.Response) (*DcimInventoryItemRolesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemRolesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest InventoryItemRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemRolesPartialUpdateResponse parses an HTTP response from a DcimInventoryItemRolesPartialUpdateWithResponse call +func ParseDcimInventoryItemRolesPartialUpdateResponse(rsp *http.Response) (*DcimInventoryItemRolesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemRolesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest InventoryItemRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemRolesUpdateResponse parses an HTTP response from a DcimInventoryItemRolesUpdateWithResponse call +func ParseDcimInventoryItemRolesUpdateResponse(rsp *http.Response) (*DcimInventoryItemRolesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemRolesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest InventoryItemRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemTemplatesBulkDestroyResponse parses an HTTP response from a DcimInventoryItemTemplatesBulkDestroyWithResponse call +func ParseDcimInventoryItemTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimInventoryItemTemplatesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInventoryItemTemplatesListResponse parses an HTTP response from a DcimInventoryItemTemplatesListWithResponse call +func ParseDcimInventoryItemTemplatesListResponse(rsp *http.Response) (*DcimInventoryItemTemplatesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedInventoryItemTemplateList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimInventoryItemTemplatesBulkPartialUpdateWithResponse call +func ParseDcimInventoryItemTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimInventoryItemTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []InventoryItemTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemTemplatesCreateResponse parses an HTTP response from a DcimInventoryItemTemplatesCreateWithResponse call +func ParseDcimInventoryItemTemplatesCreateResponse(rsp *http.Response) (*DcimInventoryItemTemplatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest InventoryItemTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemTemplatesBulkUpdateResponse parses an HTTP response from a DcimInventoryItemTemplatesBulkUpdateWithResponse call +func ParseDcimInventoryItemTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimInventoryItemTemplatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []InventoryItemTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemTemplatesDestroyResponse parses an HTTP response from a DcimInventoryItemTemplatesDestroyWithResponse call +func ParseDcimInventoryItemTemplatesDestroyResponse(rsp *http.Response) (*DcimInventoryItemTemplatesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInventoryItemTemplatesRetrieveResponse parses an HTTP response from a DcimInventoryItemTemplatesRetrieveWithResponse call +func ParseDcimInventoryItemTemplatesRetrieveResponse(rsp *http.Response) (*DcimInventoryItemTemplatesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest InventoryItemTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemTemplatesPartialUpdateResponse parses an HTTP response from a DcimInventoryItemTemplatesPartialUpdateWithResponse call +func ParseDcimInventoryItemTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimInventoryItemTemplatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest InventoryItemTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemTemplatesUpdateResponse parses an HTTP response from a DcimInventoryItemTemplatesUpdateWithResponse call +func ParseDcimInventoryItemTemplatesUpdateResponse(rsp *http.Response) (*DcimInventoryItemTemplatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest InventoryItemTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemsBulkDestroyResponse parses an HTTP response from a DcimInventoryItemsBulkDestroyWithResponse call +func ParseDcimInventoryItemsBulkDestroyResponse(rsp *http.Response) (*DcimInventoryItemsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedInventoryItemList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemsBulkPartialUpdateResponse parses an HTTP response from a DcimInventoryItemsBulkPartialUpdateWithResponse call +func ParseDcimInventoryItemsBulkPartialUpdateResponse(rsp *http.Response) (*DcimInventoryItemsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []InventoryItem + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemsCreateResponse parses an HTTP response from a DcimInventoryItemsCreateWithResponse call +func ParseDcimInventoryItemsCreateResponse(rsp *http.Response) (*DcimInventoryItemsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest InventoryItem + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemsBulkUpdateResponse parses an HTTP response from a DcimInventoryItemsBulkUpdateWithResponse call +func ParseDcimInventoryItemsBulkUpdateResponse(rsp *http.Response) (*DcimInventoryItemsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []InventoryItem + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemsDestroyResponse parses an HTTP response from a DcimInventoryItemsDestroyWithResponse call +func ParseDcimInventoryItemsDestroyResponse(rsp *http.Response) (*DcimInventoryItemsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest InventoryItem + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemsPartialUpdateResponse parses an HTTP response from a DcimInventoryItemsPartialUpdateWithResponse call +func ParseDcimInventoryItemsPartialUpdateResponse(rsp *http.Response) (*DcimInventoryItemsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest InventoryItem + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimInventoryItemsUpdateResponse parses an HTTP response from a DcimInventoryItemsUpdateWithResponse call +func ParseDcimInventoryItemsUpdateResponse(rsp *http.Response) (*DcimInventoryItemsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest InventoryItem + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimLocationsBulkDestroyResponse parses an HTTP response from a DcimLocationsBulkDestroyWithResponse call +func ParseDcimLocationsBulkDestroyResponse(rsp *http.Response) (*DcimLocationsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationsListResponse parses an HTTP response from a DcimLocationsListWithResponse call +func ParseDcimLocationsListResponse(rsp *http.Response) (*DcimLocationsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedLocationList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimLocationsBulkPartialUpdateResponse parses an HTTP response from a DcimLocationsBulkPartialUpdateWithResponse call +func ParseDcimLocationsBulkPartialUpdateResponse(rsp *http.Response) (*DcimLocationsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Location + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimLocationsCreateResponse parses an HTTP response from a DcimLocationsCreateWithResponse call +func ParseDcimLocationsCreateResponse(rsp *http.Response) (*DcimLocationsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Location + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimLocationsBulkUpdateResponse parses an HTTP response from a DcimLocationsBulkUpdateWithResponse call +func ParseDcimLocationsBulkUpdateResponse(rsp *http.Response) (*DcimLocationsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Location + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimLocationsDestroyResponse parses an HTTP response from a DcimLocationsDestroyWithResponse call +func ParseDcimLocationsDestroyResponse(rsp *http.Response) (*DcimLocationsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationsRetrieveResponse parses an HTTP response from a DcimLocationsRetrieveWithResponse call +func ParseDcimLocationsRetrieveResponse(rsp *http.Response) (*DcimLocationsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Location + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimLocationsPartialUpdateResponse parses an HTTP response from a DcimLocationsPartialUpdateWithResponse call +func ParseDcimLocationsPartialUpdateResponse(rsp *http.Response) (*DcimLocationsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Location + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimLocationsUpdateResponse parses an HTTP response from a DcimLocationsUpdateWithResponse call +func ParseDcimLocationsUpdateResponse(rsp *http.Response) (*DcimLocationsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Location + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimManufacturersBulkDestroyResponse parses an HTTP response from a DcimManufacturersBulkDestroyWithResponse call +func ParseDcimManufacturersBulkDestroyResponse(rsp *http.Response) (*DcimManufacturersBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedManufacturerList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimManufacturersBulkPartialUpdateResponse parses an HTTP response from a DcimManufacturersBulkPartialUpdateWithResponse call +func ParseDcimManufacturersBulkPartialUpdateResponse(rsp *http.Response) (*DcimManufacturersBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Manufacturer + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimManufacturersCreateResponse parses an HTTP response from a DcimManufacturersCreateWithResponse call +func ParseDcimManufacturersCreateResponse(rsp *http.Response) (*DcimManufacturersCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Manufacturer + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimManufacturersBulkUpdateResponse parses an HTTP response from a DcimManufacturersBulkUpdateWithResponse call +func ParseDcimManufacturersBulkUpdateResponse(rsp *http.Response) (*DcimManufacturersBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Manufacturer + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimManufacturersDestroyResponse parses an HTTP response from a DcimManufacturersDestroyWithResponse call +func ParseDcimManufacturersDestroyResponse(rsp *http.Response) (*DcimManufacturersDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Manufacturer + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimManufacturersPartialUpdateResponse parses an HTTP response from a DcimManufacturersPartialUpdateWithResponse call +func ParseDcimManufacturersPartialUpdateResponse(rsp *http.Response) (*DcimManufacturersPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Manufacturer + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimManufacturersUpdateResponse parses an HTTP response from a DcimManufacturersUpdateWithResponse call +func ParseDcimManufacturersUpdateResponse(rsp *http.Response) (*DcimManufacturersUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Manufacturer + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleBayTemplatesBulkDestroyResponse parses an HTTP response from a DcimModuleBayTemplatesBulkDestroyWithResponse call +func ParseDcimModuleBayTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimModuleBayTemplatesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBayTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimModuleBayTemplatesListResponse parses an HTTP response from a DcimModuleBayTemplatesListWithResponse call +func ParseDcimModuleBayTemplatesListResponse(rsp *http.Response) (*DcimModuleBayTemplatesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBayTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedModuleBayTemplateList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleBayTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimModuleBayTemplatesBulkPartialUpdateWithResponse call +func ParseDcimModuleBayTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimModuleBayTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBayTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ModuleBayTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleBayTemplatesCreateResponse parses an HTTP response from a DcimModuleBayTemplatesCreateWithResponse call +func ParseDcimModuleBayTemplatesCreateResponse(rsp *http.Response) (*DcimModuleBayTemplatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBayTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ModuleBayTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimModuleBayTemplatesBulkUpdateResponse parses an HTTP response from a DcimModuleBayTemplatesBulkUpdateWithResponse call +func ParseDcimModuleBayTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimModuleBayTemplatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBayTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ModuleBayTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleBayTemplatesDestroyResponse parses an HTTP response from a DcimModuleBayTemplatesDestroyWithResponse call +func ParseDcimModuleBayTemplatesDestroyResponse(rsp *http.Response) (*DcimModuleBayTemplatesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBayTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimModuleBayTemplatesRetrieveResponse parses an HTTP response from a DcimModuleBayTemplatesRetrieveWithResponse call +func ParseDcimModuleBayTemplatesRetrieveResponse(rsp *http.Response) (*DcimModuleBayTemplatesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBayTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ModuleBayTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleBayTemplatesPartialUpdateResponse parses an HTTP response from a DcimModuleBayTemplatesPartialUpdateWithResponse call +func ParseDcimModuleBayTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimModuleBayTemplatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBayTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ModuleBayTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleBayTemplatesUpdateResponse parses an HTTP response from a DcimModuleBayTemplatesUpdateWithResponse call +func ParseDcimModuleBayTemplatesUpdateResponse(rsp *http.Response) (*DcimModuleBayTemplatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBayTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ModuleBayTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleBaysBulkDestroyResponse parses an HTTP response from a DcimModuleBaysBulkDestroyWithResponse call +func ParseDcimModuleBaysBulkDestroyResponse(rsp *http.Response) (*DcimModuleBaysBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBaysBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimModuleBaysListResponse parses an HTTP response from a DcimModuleBaysListWithResponse call +func ParseDcimModuleBaysListResponse(rsp *http.Response) (*DcimModuleBaysListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBaysListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedModuleBayList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleBaysBulkPartialUpdateResponse parses an HTTP response from a DcimModuleBaysBulkPartialUpdateWithResponse call +func ParseDcimModuleBaysBulkPartialUpdateResponse(rsp *http.Response) (*DcimModuleBaysBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBaysBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ModuleBay + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleBaysCreateResponse parses an HTTP response from a DcimModuleBaysCreateWithResponse call +func ParseDcimModuleBaysCreateResponse(rsp *http.Response) (*DcimModuleBaysCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBaysCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ModuleBay + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimModuleBaysBulkUpdateResponse parses an HTTP response from a DcimModuleBaysBulkUpdateWithResponse call +func ParseDcimModuleBaysBulkUpdateResponse(rsp *http.Response) (*DcimModuleBaysBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBaysBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ModuleBay + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleBaysDestroyResponse parses an HTTP response from a DcimModuleBaysDestroyWithResponse call +func ParseDcimModuleBaysDestroyResponse(rsp *http.Response) (*DcimModuleBaysDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBaysDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimModuleBaysRetrieveResponse parses an HTTP response from a DcimModuleBaysRetrieveWithResponse call +func ParseDcimModuleBaysRetrieveResponse(rsp *http.Response) (*DcimModuleBaysRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBaysRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ModuleBay + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleBaysPartialUpdateResponse parses an HTTP response from a DcimModuleBaysPartialUpdateWithResponse call +func ParseDcimModuleBaysPartialUpdateResponse(rsp *http.Response) (*DcimModuleBaysPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBaysPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ModuleBay + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleBaysUpdateResponse parses an HTTP response from a DcimModuleBaysUpdateWithResponse call +func ParseDcimModuleBaysUpdateResponse(rsp *http.Response) (*DcimModuleBaysUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleBaysUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ModuleBay + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleTypesBulkDestroyResponse parses an HTTP response from a DcimModuleTypesBulkDestroyWithResponse call +func ParseDcimModuleTypesBulkDestroyResponse(rsp *http.Response) (*DcimModuleTypesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleTypesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimModuleTypesListResponse parses an HTTP response from a DcimModuleTypesListWithResponse call +func ParseDcimModuleTypesListResponse(rsp *http.Response) (*DcimModuleTypesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleTypesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedModuleTypeList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleTypesBulkPartialUpdateResponse parses an HTTP response from a DcimModuleTypesBulkPartialUpdateWithResponse call +func ParseDcimModuleTypesBulkPartialUpdateResponse(rsp *http.Response) (*DcimModuleTypesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleTypesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ModuleType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleTypesCreateResponse parses an HTTP response from a DcimModuleTypesCreateWithResponse call +func ParseDcimModuleTypesCreateResponse(rsp *http.Response) (*DcimModuleTypesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleTypesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ModuleType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimModuleTypesBulkUpdateResponse parses an HTTP response from a DcimModuleTypesBulkUpdateWithResponse call +func ParseDcimModuleTypesBulkUpdateResponse(rsp *http.Response) (*DcimModuleTypesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleTypesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ModuleType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleTypesDestroyResponse parses an HTTP response from a DcimModuleTypesDestroyWithResponse call +func ParseDcimModuleTypesDestroyResponse(rsp *http.Response) (*DcimModuleTypesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleTypesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimModuleTypesRetrieveResponse parses an HTTP response from a DcimModuleTypesRetrieveWithResponse call +func ParseDcimModuleTypesRetrieveResponse(rsp *http.Response) (*DcimModuleTypesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleTypesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ModuleType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleTypesPartialUpdateResponse parses an HTTP response from a DcimModuleTypesPartialUpdateWithResponse call +func ParseDcimModuleTypesPartialUpdateResponse(rsp *http.Response) (*DcimModuleTypesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleTypesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ModuleType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModuleTypesUpdateResponse parses an HTTP response from a DcimModuleTypesUpdateWithResponse call +func ParseDcimModuleTypesUpdateResponse(rsp *http.Response) (*DcimModuleTypesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModuleTypesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ModuleType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModulesBulkDestroyResponse parses an HTTP response from a DcimModulesBulkDestroyWithResponse call +func ParseDcimModulesBulkDestroyResponse(rsp *http.Response) (*DcimModulesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModulesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimModulesListResponse parses an HTTP response from a DcimModulesListWithResponse call +func ParseDcimModulesListResponse(rsp *http.Response) (*DcimModulesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModulesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedModuleList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModulesBulkPartialUpdateResponse parses an HTTP response from a DcimModulesBulkPartialUpdateWithResponse call +func ParseDcimModulesBulkPartialUpdateResponse(rsp *http.Response) (*DcimModulesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModulesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Module + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModulesCreateResponse parses an HTTP response from a DcimModulesCreateWithResponse call +func ParseDcimModulesCreateResponse(rsp *http.Response) (*DcimModulesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModulesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Module + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimModulesBulkUpdateResponse parses an HTTP response from a DcimModulesBulkUpdateWithResponse call +func ParseDcimModulesBulkUpdateResponse(rsp *http.Response) (*DcimModulesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModulesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Module + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModulesDestroyResponse parses an HTTP response from a DcimModulesDestroyWithResponse call +func ParseDcimModulesDestroyResponse(rsp *http.Response) (*DcimModulesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModulesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimModulesRetrieveResponse parses an HTTP response from a DcimModulesRetrieveWithResponse call +func ParseDcimModulesRetrieveResponse(rsp *http.Response) (*DcimModulesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModulesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Module + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModulesPartialUpdateResponse parses an HTTP response from a DcimModulesPartialUpdateWithResponse call +func ParseDcimModulesPartialUpdateResponse(rsp *http.Response) (*DcimModulesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModulesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Module + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimModulesUpdateResponse parses an HTTP response from a DcimModulesUpdateWithResponse call +func ParseDcimModulesUpdateResponse(rsp *http.Response) (*DcimModulesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimModulesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Module + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPlatformsBulkDestroyResponse parses an HTTP response from a DcimPlatformsBulkDestroyWithResponse call +func ParseDcimPlatformsBulkDestroyResponse(rsp *http.Response) (*DcimPlatformsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedPlatformList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPlatformsBulkPartialUpdateResponse parses an HTTP response from a DcimPlatformsBulkPartialUpdateWithResponse call +func ParseDcimPlatformsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPlatformsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Platform + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPlatformsCreateResponse parses an HTTP response from a DcimPlatformsCreateWithResponse call +func ParseDcimPlatformsCreateResponse(rsp *http.Response) (*DcimPlatformsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Platform + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimPlatformsBulkUpdateResponse parses an HTTP response from a DcimPlatformsBulkUpdateWithResponse call +func ParseDcimPlatformsBulkUpdateResponse(rsp *http.Response) (*DcimPlatformsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Platform + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPlatformsDestroyResponse parses an HTTP response from a DcimPlatformsDestroyWithResponse call +func ParseDcimPlatformsDestroyResponse(rsp *http.Response) (*DcimPlatformsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Platform + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPlatformsPartialUpdateResponse parses an HTTP response from a DcimPlatformsPartialUpdateWithResponse call +func ParseDcimPlatformsPartialUpdateResponse(rsp *http.Response) (*DcimPlatformsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Platform + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPlatformsUpdateResponse parses an HTTP response from a DcimPlatformsUpdateWithResponse call +func ParseDcimPlatformsUpdateResponse(rsp *http.Response) (*DcimPlatformsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Platform + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerFeedsBulkDestroyResponse parses an HTTP response from a DcimPowerFeedsBulkDestroyWithResponse call +func ParseDcimPowerFeedsBulkDestroyResponse(rsp *http.Response) (*DcimPowerFeedsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedPowerFeedList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerFeedsBulkPartialUpdateResponse parses an HTTP response from a DcimPowerFeedsBulkPartialUpdateWithResponse call +func ParseDcimPowerFeedsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerFeedsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []PowerFeed + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerFeedsCreateResponse parses an HTTP response from a DcimPowerFeedsCreateWithResponse call +func ParseDcimPowerFeedsCreateResponse(rsp *http.Response) (*DcimPowerFeedsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest PowerFeed + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimPowerFeedsBulkUpdateResponse parses an HTTP response from a DcimPowerFeedsBulkUpdateWithResponse call +func ParseDcimPowerFeedsBulkUpdateResponse(rsp *http.Response) (*DcimPowerFeedsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []PowerFeed + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerFeedsDestroyResponse parses an HTTP response from a DcimPowerFeedsDestroyWithResponse call +func ParseDcimPowerFeedsDestroyResponse(rsp *http.Response) (*DcimPowerFeedsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerFeed + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerFeedsPartialUpdateResponse parses an HTTP response from a DcimPowerFeedsPartialUpdateWithResponse call +func ParseDcimPowerFeedsPartialUpdateResponse(rsp *http.Response) (*DcimPowerFeedsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerFeed + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerFeedsUpdateResponse parses an HTTP response from a DcimPowerFeedsUpdateWithResponse call +func ParseDcimPowerFeedsUpdateResponse(rsp *http.Response) (*DcimPowerFeedsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerFeed + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerFeedsTraceRetrieveResponse parses an HTTP response from a DcimPowerFeedsTraceRetrieveWithResponse call +func ParseDcimPowerFeedsTraceRetrieveResponse(rsp *http.Response) (*DcimPowerFeedsTraceRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsTraceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerFeed + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesBulkDestroyResponse parses an HTTP response from a DcimPowerOutletTemplatesBulkDestroyWithResponse call +func ParseDcimPowerOutletTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimPowerOutletTemplatesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedPowerOutletTemplateList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimPowerOutletTemplatesBulkPartialUpdateWithResponse call +func ParseDcimPowerOutletTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []PowerOutletTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesCreateResponse parses an HTTP response from a DcimPowerOutletTemplatesCreateWithResponse call +func ParseDcimPowerOutletTemplatesCreateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest PowerOutletTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesBulkUpdateResponse parses an HTTP response from a DcimPowerOutletTemplatesBulkUpdateWithResponse call +func ParseDcimPowerOutletTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []PowerOutletTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesDestroyResponse parses an HTTP response from a DcimPowerOutletTemplatesDestroyWithResponse call +func ParseDcimPowerOutletTemplatesDestroyResponse(rsp *http.Response) (*DcimPowerOutletTemplatesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerOutletTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesPartialUpdateResponse parses an HTTP response from a DcimPowerOutletTemplatesPartialUpdateWithResponse call +func ParseDcimPowerOutletTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerOutletTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesUpdateResponse parses an HTTP response from a DcimPowerOutletTemplatesUpdateWithResponse call +func ParseDcimPowerOutletTemplatesUpdateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerOutletTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletsBulkDestroyResponse parses an HTTP response from a DcimPowerOutletsBulkDestroyWithResponse call +func ParseDcimPowerOutletsBulkDestroyResponse(rsp *http.Response) (*DcimPowerOutletsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedPowerOutletList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletsBulkPartialUpdateResponse parses an HTTP response from a DcimPowerOutletsBulkPartialUpdateWithResponse call +func ParseDcimPowerOutletsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerOutletsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []PowerOutlet + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletsCreateResponse parses an HTTP response from a DcimPowerOutletsCreateWithResponse call +func ParseDcimPowerOutletsCreateResponse(rsp *http.Response) (*DcimPowerOutletsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest PowerOutlet + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletsBulkUpdateResponse parses an HTTP response from a DcimPowerOutletsBulkUpdateWithResponse call +func ParseDcimPowerOutletsBulkUpdateResponse(rsp *http.Response) (*DcimPowerOutletsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []PowerOutlet + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletsDestroyResponse parses an HTTP response from a DcimPowerOutletsDestroyWithResponse call +func ParseDcimPowerOutletsDestroyResponse(rsp *http.Response) (*DcimPowerOutletsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerOutlet + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletsPartialUpdateResponse parses an HTTP response from a DcimPowerOutletsPartialUpdateWithResponse call +func ParseDcimPowerOutletsPartialUpdateResponse(rsp *http.Response) (*DcimPowerOutletsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerOutlet + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletsUpdateResponse parses an HTTP response from a DcimPowerOutletsUpdateWithResponse call +func ParseDcimPowerOutletsUpdateResponse(rsp *http.Response) (*DcimPowerOutletsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerOutlet + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerOutletsTraceRetrieveResponse parses an HTTP response from a DcimPowerOutletsTraceRetrieveWithResponse call +func ParseDcimPowerOutletsTraceRetrieveResponse(rsp *http.Response) (*DcimPowerOutletsTraceRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsTraceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerOutlet + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPanelsBulkDestroyResponse parses an HTTP response from a DcimPowerPanelsBulkDestroyWithResponse call +func ParseDcimPowerPanelsBulkDestroyResponse(rsp *http.Response) (*DcimPowerPanelsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedPowerPanelList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPanelsBulkPartialUpdateResponse parses an HTTP response from a DcimPowerPanelsBulkPartialUpdateWithResponse call +func ParseDcimPowerPanelsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerPanelsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []PowerPanel + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPanelsCreateResponse parses an HTTP response from a DcimPowerPanelsCreateWithResponse call +func ParseDcimPowerPanelsCreateResponse(rsp *http.Response) (*DcimPowerPanelsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest PowerPanel + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPanelsBulkUpdateResponse parses an HTTP response from a DcimPowerPanelsBulkUpdateWithResponse call +func ParseDcimPowerPanelsBulkUpdateResponse(rsp *http.Response) (*DcimPowerPanelsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []PowerPanel + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPanelsDestroyResponse parses an HTTP response from a DcimPowerPanelsDestroyWithResponse call +func ParseDcimPowerPanelsDestroyResponse(rsp *http.Response) (*DcimPowerPanelsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerPanel + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPanelsPartialUpdateResponse parses an HTTP response from a DcimPowerPanelsPartialUpdateWithResponse call +func ParseDcimPowerPanelsPartialUpdateResponse(rsp *http.Response) (*DcimPowerPanelsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerPanel + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPanelsUpdateResponse parses an HTTP response from a DcimPowerPanelsUpdateWithResponse call +func ParseDcimPowerPanelsUpdateResponse(rsp *http.Response) (*DcimPowerPanelsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerPanel + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesBulkDestroyResponse parses an HTTP response from a DcimPowerPortTemplatesBulkDestroyWithResponse call +func ParseDcimPowerPortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimPowerPortTemplatesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedPowerPortTemplateList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimPowerPortTemplatesBulkPartialUpdateWithResponse call +func ParseDcimPowerPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerPortTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []PowerPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesCreateResponse parses an HTTP response from a DcimPowerPortTemplatesCreateWithResponse call +func ParseDcimPowerPortTemplatesCreateResponse(rsp *http.Response) (*DcimPowerPortTemplatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest PowerPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesBulkUpdateResponse parses an HTTP response from a DcimPowerPortTemplatesBulkUpdateWithResponse call +func ParseDcimPowerPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimPowerPortTemplatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []PowerPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesDestroyResponse parses an HTTP response from a DcimPowerPortTemplatesDestroyWithResponse call +func ParseDcimPowerPortTemplatesDestroyResponse(rsp *http.Response) (*DcimPowerPortTemplatesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesPartialUpdateResponse parses an HTTP response from a DcimPowerPortTemplatesPartialUpdateWithResponse call +func ParseDcimPowerPortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimPowerPortTemplatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesUpdateResponse parses an HTTP response from a DcimPowerPortTemplatesUpdateWithResponse call +func ParseDcimPowerPortTemplatesUpdateResponse(rsp *http.Response) (*DcimPowerPortTemplatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortsBulkDestroyResponse parses an HTTP response from a DcimPowerPortsBulkDestroyWithResponse call +func ParseDcimPowerPortsBulkDestroyResponse(rsp *http.Response) (*DcimPowerPortsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedPowerPortList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortsBulkPartialUpdateResponse parses an HTTP response from a DcimPowerPortsBulkPartialUpdateWithResponse call +func ParseDcimPowerPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerPortsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []PowerPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortsCreateResponse parses an HTTP response from a DcimPowerPortsCreateWithResponse call +func ParseDcimPowerPortsCreateResponse(rsp *http.Response) (*DcimPowerPortsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest PowerPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortsBulkUpdateResponse parses an HTTP response from a DcimPowerPortsBulkUpdateWithResponse call +func ParseDcimPowerPortsBulkUpdateResponse(rsp *http.Response) (*DcimPowerPortsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []PowerPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortsDestroyResponse parses an HTTP response from a DcimPowerPortsDestroyWithResponse call +func ParseDcimPowerPortsDestroyResponse(rsp *http.Response) (*DcimPowerPortsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortsPartialUpdateResponse parses an HTTP response from a DcimPowerPortsPartialUpdateWithResponse call +func ParseDcimPowerPortsPartialUpdateResponse(rsp *http.Response) (*DcimPowerPortsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortsUpdateResponse parses an HTTP response from a DcimPowerPortsUpdateWithResponse call +func ParseDcimPowerPortsUpdateResponse(rsp *http.Response) (*DcimPowerPortsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimPowerPortsTraceRetrieveResponse parses an HTTP response from a DcimPowerPortsTraceRetrieveWithResponse call +func ParseDcimPowerPortsTraceRetrieveResponse(rsp *http.Response) (*DcimPowerPortsTraceRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsTraceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PowerPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRackReservationsBulkDestroyResponse parses an HTTP response from a DcimRackReservationsBulkDestroyWithResponse call +func ParseDcimRackReservationsBulkDestroyResponse(rsp *http.Response) (*DcimRackReservationsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedRackReservationList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRackReservationsBulkPartialUpdateResponse parses an HTTP response from a DcimRackReservationsBulkPartialUpdateWithResponse call +func ParseDcimRackReservationsBulkPartialUpdateResponse(rsp *http.Response) (*DcimRackReservationsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []RackReservation + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRackReservationsCreateResponse parses an HTTP response from a DcimRackReservationsCreateWithResponse call +func ParseDcimRackReservationsCreateResponse(rsp *http.Response) (*DcimRackReservationsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest RackReservation + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimRackReservationsBulkUpdateResponse parses an HTTP response from a DcimRackReservationsBulkUpdateWithResponse call +func ParseDcimRackReservationsBulkUpdateResponse(rsp *http.Response) (*DcimRackReservationsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []RackReservation + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRackReservationsDestroyResponse parses an HTTP response from a DcimRackReservationsDestroyWithResponse call +func ParseDcimRackReservationsDestroyResponse(rsp *http.Response) (*DcimRackReservationsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RackReservation + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRackReservationsPartialUpdateResponse parses an HTTP response from a DcimRackReservationsPartialUpdateWithResponse call +func ParseDcimRackReservationsPartialUpdateResponse(rsp *http.Response) (*DcimRackReservationsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RackReservation + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRackReservationsUpdateResponse parses an HTTP response from a DcimRackReservationsUpdateWithResponse call +func ParseDcimRackReservationsUpdateResponse(rsp *http.Response) (*DcimRackReservationsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RackReservation + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRackRolesBulkDestroyResponse parses an HTTP response from a DcimRackRolesBulkDestroyWithResponse call +func ParseDcimRackRolesBulkDestroyResponse(rsp *http.Response) (*DcimRackRolesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedRackRoleList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRackRolesBulkPartialUpdateResponse parses an HTTP response from a DcimRackRolesBulkPartialUpdateWithResponse call +func ParseDcimRackRolesBulkPartialUpdateResponse(rsp *http.Response) (*DcimRackRolesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []RackRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRackRolesCreateResponse parses an HTTP response from a DcimRackRolesCreateWithResponse call +func ParseDcimRackRolesCreateResponse(rsp *http.Response) (*DcimRackRolesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest RackRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimRackRolesBulkUpdateResponse parses an HTTP response from a DcimRackRolesBulkUpdateWithResponse call +func ParseDcimRackRolesBulkUpdateResponse(rsp *http.Response) (*DcimRackRolesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []RackRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRackRolesDestroyResponse parses an HTTP response from a DcimRackRolesDestroyWithResponse call +func ParseDcimRackRolesDestroyResponse(rsp *http.Response) (*DcimRackRolesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RackRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRackRolesPartialUpdateResponse parses an HTTP response from a DcimRackRolesPartialUpdateWithResponse call +func ParseDcimRackRolesPartialUpdateResponse(rsp *http.Response) (*DcimRackRolesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RackRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRackRolesUpdateResponse parses an HTTP response from a DcimRackRolesUpdateWithResponse call +func ParseDcimRackRolesUpdateResponse(rsp *http.Response) (*DcimRackRolesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RackRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRacksBulkDestroyResponse parses an HTTP response from a DcimRacksBulkDestroyWithResponse call +func ParseDcimRacksBulkDestroyResponse(rsp *http.Response) (*DcimRacksBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedRackList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRacksBulkPartialUpdateResponse parses an HTTP response from a DcimRacksBulkPartialUpdateWithResponse call +func ParseDcimRacksBulkPartialUpdateResponse(rsp *http.Response) (*DcimRacksBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Rack + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRacksCreateResponse parses an HTTP response from a DcimRacksCreateWithResponse call +func ParseDcimRacksCreateResponse(rsp *http.Response) (*DcimRacksCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Rack + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimRacksBulkUpdateResponse parses an HTTP response from a DcimRacksBulkUpdateWithResponse call +func ParseDcimRacksBulkUpdateResponse(rsp *http.Response) (*DcimRacksBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Rack + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRacksDestroyResponse parses an HTTP response from a DcimRacksDestroyWithResponse call +func ParseDcimRacksDestroyResponse(rsp *http.Response) (*DcimRacksDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Rack + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRacksPartialUpdateResponse parses an HTTP response from a DcimRacksPartialUpdateWithResponse call +func ParseDcimRacksPartialUpdateResponse(rsp *http.Response) (*DcimRacksPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Rack + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRacksUpdateResponse parses an HTTP response from a DcimRacksUpdateWithResponse call +func ParseDcimRacksUpdateResponse(rsp *http.Response) (*DcimRacksUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Rack + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRacksElevationRetrieveResponse parses an HTTP response from a DcimRacksElevationRetrieveWithResponse call +func ParseDcimRacksElevationRetrieveResponse(rsp *http.Response) (*DcimRacksElevationRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksElevationRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Rack + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortTemplatesBulkDestroyResponse parses an HTTP response from a DcimRearPortTemplatesBulkDestroyWithResponse call +func ParseDcimRearPortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimRearPortTemplatesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedRearPortTemplateList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimRearPortTemplatesBulkPartialUpdateWithResponse call +func ParseDcimRearPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimRearPortTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []RearPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortTemplatesCreateResponse parses an HTTP response from a DcimRearPortTemplatesCreateWithResponse call +func ParseDcimRearPortTemplatesCreateResponse(rsp *http.Response) (*DcimRearPortTemplatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest RearPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortTemplatesBulkUpdateResponse parses an HTTP response from a DcimRearPortTemplatesBulkUpdateWithResponse call +func ParseDcimRearPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimRearPortTemplatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []RearPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortTemplatesDestroyResponse parses an HTTP response from a DcimRearPortTemplatesDestroyWithResponse call +func ParseDcimRearPortTemplatesDestroyResponse(rsp *http.Response) (*DcimRearPortTemplatesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RearPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortTemplatesPartialUpdateResponse parses an HTTP response from a DcimRearPortTemplatesPartialUpdateWithResponse call +func ParseDcimRearPortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimRearPortTemplatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RearPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortTemplatesUpdateResponse parses an HTTP response from a DcimRearPortTemplatesUpdateWithResponse call +func ParseDcimRearPortTemplatesUpdateResponse(rsp *http.Response) (*DcimRearPortTemplatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RearPortTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortsBulkDestroyResponse parses an HTTP response from a DcimRearPortsBulkDestroyWithResponse call +func ParseDcimRearPortsBulkDestroyResponse(rsp *http.Response) (*DcimRearPortsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedRearPortList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortsBulkPartialUpdateResponse parses an HTTP response from a DcimRearPortsBulkPartialUpdateWithResponse call +func ParseDcimRearPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimRearPortsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []RearPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortsCreateResponse parses an HTTP response from a DcimRearPortsCreateWithResponse call +func ParseDcimRearPortsCreateResponse(rsp *http.Response) (*DcimRearPortsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest RearPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortsBulkUpdateResponse parses an HTTP response from a DcimRearPortsBulkUpdateWithResponse call +func ParseDcimRearPortsBulkUpdateResponse(rsp *http.Response) (*DcimRearPortsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []RearPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortsDestroyResponse parses an HTTP response from a DcimRearPortsDestroyWithResponse call +func ParseDcimRearPortsDestroyResponse(rsp *http.Response) (*DcimRearPortsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RearPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortsPartialUpdateResponse parses an HTTP response from a DcimRearPortsPartialUpdateWithResponse call +func ParseDcimRearPortsPartialUpdateResponse(rsp *http.Response) (*DcimRearPortsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RearPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortsUpdateResponse parses an HTTP response from a DcimRearPortsUpdateWithResponse call +func ParseDcimRearPortsUpdateResponse(rsp *http.Response) (*DcimRearPortsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RearPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRearPortsPathsRetrieveResponse parses an HTTP response from a DcimRearPortsPathsRetrieveWithResponse call +func ParseDcimRearPortsPathsRetrieveResponse(rsp *http.Response) (*DcimRearPortsPathsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsPathsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RearPort + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRegionsBulkDestroyResponse parses an HTTP response from a DcimRegionsBulkDestroyWithResponse call +func ParseDcimRegionsBulkDestroyResponse(rsp *http.Response) (*DcimRegionsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedRegionList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRegionsBulkPartialUpdateResponse parses an HTTP response from a DcimRegionsBulkPartialUpdateWithResponse call +func ParseDcimRegionsBulkPartialUpdateResponse(rsp *http.Response) (*DcimRegionsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Region + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRegionsCreateResponse parses an HTTP response from a DcimRegionsCreateWithResponse call +func ParseDcimRegionsCreateResponse(rsp *http.Response) (*DcimRegionsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Region + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimRegionsBulkUpdateResponse parses an HTTP response from a DcimRegionsBulkUpdateWithResponse call +func ParseDcimRegionsBulkUpdateResponse(rsp *http.Response) (*DcimRegionsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Region + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRegionsDestroyResponse parses an HTTP response from a DcimRegionsDestroyWithResponse call +func ParseDcimRegionsDestroyResponse(rsp *http.Response) (*DcimRegionsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Region + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRegionsPartialUpdateResponse parses an HTTP response from a DcimRegionsPartialUpdateWithResponse call +func ParseDcimRegionsPartialUpdateResponse(rsp *http.Response) (*DcimRegionsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Region + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimRegionsUpdateResponse parses an HTTP response from a DcimRegionsUpdateWithResponse call +func ParseDcimRegionsUpdateResponse(rsp *http.Response) (*DcimRegionsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Region + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimSiteGroupsBulkDestroyResponse parses an HTTP response from a DcimSiteGroupsBulkDestroyWithResponse call +func ParseDcimSiteGroupsBulkDestroyResponse(rsp *http.Response) (*DcimSiteGroupsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSiteGroupsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimSiteGroupsListResponse parses an HTTP response from a DcimSiteGroupsListWithResponse call +func ParseDcimSiteGroupsListResponse(rsp *http.Response) (*DcimSiteGroupsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSiteGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedSiteGroupList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimSiteGroupsBulkPartialUpdateResponse parses an HTTP response from a DcimSiteGroupsBulkPartialUpdateWithResponse call +func ParseDcimSiteGroupsBulkPartialUpdateResponse(rsp *http.Response) (*DcimSiteGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSiteGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []SiteGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimSiteGroupsCreateResponse parses an HTTP response from a DcimSiteGroupsCreateWithResponse call +func ParseDcimSiteGroupsCreateResponse(rsp *http.Response) (*DcimSiteGroupsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSiteGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest SiteGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimSiteGroupsBulkUpdateResponse parses an HTTP response from a DcimSiteGroupsBulkUpdateWithResponse call +func ParseDcimSiteGroupsBulkUpdateResponse(rsp *http.Response) (*DcimSiteGroupsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSiteGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []SiteGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimSiteGroupsDestroyResponse parses an HTTP response from a DcimSiteGroupsDestroyWithResponse call +func ParseDcimSiteGroupsDestroyResponse(rsp *http.Response) (*DcimSiteGroupsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSiteGroupsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimSiteGroupsRetrieveResponse parses an HTTP response from a DcimSiteGroupsRetrieveWithResponse call +func ParseDcimSiteGroupsRetrieveResponse(rsp *http.Response) (*DcimSiteGroupsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSiteGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SiteGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimSiteGroupsPartialUpdateResponse parses an HTTP response from a DcimSiteGroupsPartialUpdateWithResponse call +func ParseDcimSiteGroupsPartialUpdateResponse(rsp *http.Response) (*DcimSiteGroupsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSiteGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SiteGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimSiteGroupsUpdateResponse parses an HTTP response from a DcimSiteGroupsUpdateWithResponse call +func ParseDcimSiteGroupsUpdateResponse(rsp *http.Response) (*DcimSiteGroupsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSiteGroupsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SiteGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimSitesBulkDestroyResponse parses an HTTP response from a DcimSitesBulkDestroyWithResponse call +func ParseDcimSitesBulkDestroyResponse(rsp *http.Response) (*DcimSitesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedSiteList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimSitesBulkPartialUpdateResponse parses an HTTP response from a DcimSitesBulkPartialUpdateWithResponse call +func ParseDcimSitesBulkPartialUpdateResponse(rsp *http.Response) (*DcimSitesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Site + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimSitesCreateResponse parses an HTTP response from a DcimSitesCreateWithResponse call +func ParseDcimSitesCreateResponse(rsp *http.Response) (*DcimSitesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Site + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimSitesBulkUpdateResponse parses an HTTP response from a DcimSitesBulkUpdateWithResponse call +func ParseDcimSitesBulkUpdateResponse(rsp *http.Response) (*DcimSitesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Site + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimSitesDestroyResponse parses an HTTP response from a DcimSitesDestroyWithResponse call +func ParseDcimSitesDestroyResponse(rsp *http.Response) (*DcimSitesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Site + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimSitesPartialUpdateResponse parses an HTTP response from a DcimSitesPartialUpdateWithResponse call +func ParseDcimSitesPartialUpdateResponse(rsp *http.Response) (*DcimSitesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Site + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimSitesUpdateResponse parses an HTTP response from a DcimSitesUpdateWithResponse call +func ParseDcimSitesUpdateResponse(rsp *http.Response) (*DcimSitesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Site + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimVirtualChassisBulkDestroyResponse parses an HTTP response from a DcimVirtualChassisBulkDestroyWithResponse call +func ParseDcimVirtualChassisBulkDestroyResponse(rsp *http.Response) (*DcimVirtualChassisBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedVirtualChassisList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimVirtualChassisBulkPartialUpdateResponse parses an HTTP response from a DcimVirtualChassisBulkPartialUpdateWithResponse call +func ParseDcimVirtualChassisBulkPartialUpdateResponse(rsp *http.Response) (*DcimVirtualChassisBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []VirtualChassis + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimVirtualChassisCreateResponse parses an HTTP response from a DcimVirtualChassisCreateWithResponse call +func ParseDcimVirtualChassisCreateResponse(rsp *http.Response) (*DcimVirtualChassisCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest VirtualChassis + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimVirtualChassisBulkUpdateResponse parses an HTTP response from a DcimVirtualChassisBulkUpdateWithResponse call +func ParseDcimVirtualChassisBulkUpdateResponse(rsp *http.Response) (*DcimVirtualChassisBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []VirtualChassis + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimVirtualChassisDestroyResponse parses an HTTP response from a DcimVirtualChassisDestroyWithResponse call +func ParseDcimVirtualChassisDestroyResponse(rsp *http.Response) (*DcimVirtualChassisDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VirtualChassis + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimVirtualChassisPartialUpdateResponse parses an HTTP response from a DcimVirtualChassisPartialUpdateWithResponse call +func ParseDcimVirtualChassisPartialUpdateResponse(rsp *http.Response) (*DcimVirtualChassisPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VirtualChassis + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimVirtualChassisUpdateResponse parses an HTTP response from a DcimVirtualChassisUpdateWithResponse call +func ParseDcimVirtualChassisUpdateResponse(rsp *http.Response) (*DcimVirtualChassisUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VirtualChassis + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimVirtualDeviceContextsBulkDestroyResponse parses an HTTP response from a DcimVirtualDeviceContextsBulkDestroyWithResponse call +func ParseDcimVirtualDeviceContextsBulkDestroyResponse(rsp *http.Response) (*DcimVirtualDeviceContextsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualDeviceContextsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimVirtualDeviceContextsListResponse parses an HTTP response from a DcimVirtualDeviceContextsListWithResponse call +func ParseDcimVirtualDeviceContextsListResponse(rsp *http.Response) (*DcimVirtualDeviceContextsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualDeviceContextsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedVirtualDeviceContextList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimVirtualDeviceContextsBulkPartialUpdateResponse parses an HTTP response from a DcimVirtualDeviceContextsBulkPartialUpdateWithResponse call +func ParseDcimVirtualDeviceContextsBulkPartialUpdateResponse(rsp *http.Response) (*DcimVirtualDeviceContextsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualDeviceContextsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []VirtualDeviceContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimVirtualDeviceContextsCreateResponse parses an HTTP response from a DcimVirtualDeviceContextsCreateWithResponse call +func ParseDcimVirtualDeviceContextsCreateResponse(rsp *http.Response) (*DcimVirtualDeviceContextsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualDeviceContextsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest VirtualDeviceContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseDcimVirtualDeviceContextsBulkUpdateResponse parses an HTTP response from a DcimVirtualDeviceContextsBulkUpdateWithResponse call +func ParseDcimVirtualDeviceContextsBulkUpdateResponse(rsp *http.Response) (*DcimVirtualDeviceContextsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualDeviceContextsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []VirtualDeviceContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimVirtualDeviceContextsDestroyResponse parses an HTTP response from a DcimVirtualDeviceContextsDestroyWithResponse call +func ParseDcimVirtualDeviceContextsDestroyResponse(rsp *http.Response) (*DcimVirtualDeviceContextsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualDeviceContextsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimVirtualDeviceContextsRetrieveResponse parses an HTTP response from a DcimVirtualDeviceContextsRetrieveWithResponse call +func ParseDcimVirtualDeviceContextsRetrieveResponse(rsp *http.Response) (*DcimVirtualDeviceContextsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualDeviceContextsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VirtualDeviceContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimVirtualDeviceContextsPartialUpdateResponse parses an HTTP response from a DcimVirtualDeviceContextsPartialUpdateWithResponse call +func ParseDcimVirtualDeviceContextsPartialUpdateResponse(rsp *http.Response) (*DcimVirtualDeviceContextsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualDeviceContextsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VirtualDeviceContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseDcimVirtualDeviceContextsUpdateResponse parses an HTTP response from a DcimVirtualDeviceContextsUpdateWithResponse call +func ParseDcimVirtualDeviceContextsUpdateResponse(rsp *http.Response) (*DcimVirtualDeviceContextsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualDeviceContextsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VirtualDeviceContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasBookmarksBulkDestroyResponse parses an HTTP response from a ExtrasBookmarksBulkDestroyWithResponse call +func ParseExtrasBookmarksBulkDestroyResponse(rsp *http.Response) (*ExtrasBookmarksBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasBookmarksBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasBookmarksListResponse parses an HTTP response from a ExtrasBookmarksListWithResponse call +func ParseExtrasBookmarksListResponse(rsp *http.Response) (*ExtrasBookmarksListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasBookmarksListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedBookmarkList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasBookmarksBulkPartialUpdateResponse parses an HTTP response from a ExtrasBookmarksBulkPartialUpdateWithResponse call +func ParseExtrasBookmarksBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasBookmarksBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasBookmarksBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Bookmark + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasBookmarksCreateResponse parses an HTTP response from a ExtrasBookmarksCreateWithResponse call +func ParseExtrasBookmarksCreateResponse(rsp *http.Response) (*ExtrasBookmarksCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasBookmarksCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Bookmark + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseExtrasBookmarksBulkUpdateResponse parses an HTTP response from a ExtrasBookmarksBulkUpdateWithResponse call +func ParseExtrasBookmarksBulkUpdateResponse(rsp *http.Response) (*ExtrasBookmarksBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasBookmarksBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Bookmark + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasBookmarksDestroyResponse parses an HTTP response from a ExtrasBookmarksDestroyWithResponse call +func ParseExtrasBookmarksDestroyResponse(rsp *http.Response) (*ExtrasBookmarksDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasBookmarksDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasBookmarksRetrieveResponse parses an HTTP response from a ExtrasBookmarksRetrieveWithResponse call +func ParseExtrasBookmarksRetrieveResponse(rsp *http.Response) (*ExtrasBookmarksRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasBookmarksRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Bookmark + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasBookmarksPartialUpdateResponse parses an HTTP response from a ExtrasBookmarksPartialUpdateWithResponse call +func ParseExtrasBookmarksPartialUpdateResponse(rsp *http.Response) (*ExtrasBookmarksPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasBookmarksPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Bookmark + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasBookmarksUpdateResponse parses an HTTP response from a ExtrasBookmarksUpdateWithResponse call +func ParseExtrasBookmarksUpdateResponse(rsp *http.Response) (*ExtrasBookmarksUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasBookmarksUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Bookmark + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigContextsBulkDestroyResponse parses an HTTP response from a ExtrasConfigContextsBulkDestroyWithResponse call +func ParseExtrasConfigContextsBulkDestroyResponse(rsp *http.Response) (*ExtrasConfigContextsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedConfigContextList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigContextsBulkPartialUpdateResponse parses an HTTP response from a ExtrasConfigContextsBulkPartialUpdateWithResponse call +func ParseExtrasConfigContextsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasConfigContextsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigContextsCreateResponse parses an HTTP response from a ExtrasConfigContextsCreateWithResponse call +func ParseExtrasConfigContextsCreateResponse(rsp *http.Response) (*ExtrasConfigContextsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigContextsBulkUpdateResponse parses an HTTP response from a ExtrasConfigContextsBulkUpdateWithResponse call +func ParseExtrasConfigContextsBulkUpdateResponse(rsp *http.Response) (*ExtrasConfigContextsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigContextsDestroyResponse parses an HTTP response from a ExtrasConfigContextsDestroyWithResponse call +func ParseExtrasConfigContextsDestroyResponse(rsp *http.Response) (*ExtrasConfigContextsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigContextsPartialUpdateResponse parses an HTTP response from a ExtrasConfigContextsPartialUpdateWithResponse call +func ParseExtrasConfigContextsPartialUpdateResponse(rsp *http.Response) (*ExtrasConfigContextsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigContextsUpdateResponse parses an HTTP response from a ExtrasConfigContextsUpdateWithResponse call +func ParseExtrasConfigContextsUpdateResponse(rsp *http.Response) (*ExtrasConfigContextsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigContextsSyncCreateResponse parses an HTTP response from a ExtrasConfigContextsSyncCreateWithResponse call +func ParseExtrasConfigContextsSyncCreateResponse(rsp *http.Response) (*ExtrasConfigContextsSyncCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsSyncCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigTemplatesBulkDestroyResponse parses an HTTP response from a ExtrasConfigTemplatesBulkDestroyWithResponse call +func ParseExtrasConfigTemplatesBulkDestroyResponse(rsp *http.Response) (*ExtrasConfigTemplatesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigTemplatesListResponse parses an HTTP response from a ExtrasConfigTemplatesListWithResponse call +func ParseExtrasConfigTemplatesListResponse(rsp *http.Response) (*ExtrasConfigTemplatesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedConfigTemplateList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigTemplatesBulkPartialUpdateResponse parses an HTTP response from a ExtrasConfigTemplatesBulkPartialUpdateWithResponse call +func ParseExtrasConfigTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasConfigTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ConfigTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigTemplatesCreateResponse parses an HTTP response from a ExtrasConfigTemplatesCreateWithResponse call +func ParseExtrasConfigTemplatesCreateResponse(rsp *http.Response) (*ExtrasConfigTemplatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ConfigTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigTemplatesBulkUpdateResponse parses an HTTP response from a ExtrasConfigTemplatesBulkUpdateWithResponse call +func ParseExtrasConfigTemplatesBulkUpdateResponse(rsp *http.Response) (*ExtrasConfigTemplatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ConfigTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigTemplatesDestroyResponse parses an HTTP response from a ExtrasConfigTemplatesDestroyWithResponse call +func ParseExtrasConfigTemplatesDestroyResponse(rsp *http.Response) (*ExtrasConfigTemplatesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigTemplatesRetrieveResponse parses an HTTP response from a ExtrasConfigTemplatesRetrieveWithResponse call +func ParseExtrasConfigTemplatesRetrieveResponse(rsp *http.Response) (*ExtrasConfigTemplatesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConfigTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigTemplatesPartialUpdateResponse parses an HTTP response from a ExtrasConfigTemplatesPartialUpdateWithResponse call +func ParseExtrasConfigTemplatesPartialUpdateResponse(rsp *http.Response) (*ExtrasConfigTemplatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConfigTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigTemplatesUpdateResponse parses an HTTP response from a ExtrasConfigTemplatesUpdateWithResponse call +func ParseExtrasConfigTemplatesUpdateResponse(rsp *http.Response) (*ExtrasConfigTemplatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConfigTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasConfigTemplatesRenderCreateResponse parses an HTTP response from a ExtrasConfigTemplatesRenderCreateWithResponse call +func ParseExtrasConfigTemplatesRenderCreateResponse(rsp *http.Response) (*ExtrasConfigTemplatesRenderCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigTemplatesRenderCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConfigTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case rsp.StatusCode == 200: + // Content-type (text/plain) unsupported + + } + + return response, nil +} + +// ParseExtrasConfigTemplatesSyncCreateResponse parses an HTTP response from a ExtrasConfigTemplatesSyncCreateWithResponse call +func ParseExtrasConfigTemplatesSyncCreateResponse(rsp *http.Response) (*ExtrasConfigTemplatesSyncCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigTemplatesSyncCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ConfigTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasContentTypesListResponse parses an HTTP response from a ExtrasContentTypesListWithResponse call +func ParseExtrasContentTypesListResponse(rsp *http.Response) (*ExtrasContentTypesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasContentTypesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedContentTypeList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasContentTypesRetrieveResponse parses an HTTP response from a ExtrasContentTypesRetrieveWithResponse call +func ParseExtrasContentTypesRetrieveResponse(rsp *http.Response) (*ExtrasContentTypesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasContentTypesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ContentType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldChoiceSetsBulkDestroyResponse parses an HTTP response from a ExtrasCustomFieldChoiceSetsBulkDestroyWithResponse call +func ParseExtrasCustomFieldChoiceSetsBulkDestroyResponse(rsp *http.Response) (*ExtrasCustomFieldChoiceSetsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoiceSetsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldChoiceSetsListResponse parses an HTTP response from a ExtrasCustomFieldChoiceSetsListWithResponse call +func ParseExtrasCustomFieldChoiceSetsListResponse(rsp *http.Response) (*ExtrasCustomFieldChoiceSetsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoiceSetsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedCustomFieldChoiceSetList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse parses an HTTP response from a ExtrasCustomFieldChoiceSetsBulkPartialUpdateWithResponse call +func ParseExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoiceSetsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []CustomFieldChoiceSet + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldChoiceSetsCreateResponse parses an HTTP response from a ExtrasCustomFieldChoiceSetsCreateWithResponse call +func ParseExtrasCustomFieldChoiceSetsCreateResponse(rsp *http.Response) (*ExtrasCustomFieldChoiceSetsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoiceSetsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest CustomFieldChoiceSet + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldChoiceSetsBulkUpdateResponse parses an HTTP response from a ExtrasCustomFieldChoiceSetsBulkUpdateWithResponse call +func ParseExtrasCustomFieldChoiceSetsBulkUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldChoiceSetsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoiceSetsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []CustomFieldChoiceSet + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldChoiceSetsDestroyResponse parses an HTTP response from a ExtrasCustomFieldChoiceSetsDestroyWithResponse call +func ParseExtrasCustomFieldChoiceSetsDestroyResponse(rsp *http.Response) (*ExtrasCustomFieldChoiceSetsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoiceSetsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldChoiceSetsRetrieveResponse parses an HTTP response from a ExtrasCustomFieldChoiceSetsRetrieveWithResponse call +func ParseExtrasCustomFieldChoiceSetsRetrieveResponse(rsp *http.Response) (*ExtrasCustomFieldChoiceSetsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoiceSetsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CustomFieldChoiceSet + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldChoiceSetsPartialUpdateResponse parses an HTTP response from a ExtrasCustomFieldChoiceSetsPartialUpdateWithResponse call +func ParseExtrasCustomFieldChoiceSetsPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldChoiceSetsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoiceSetsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CustomFieldChoiceSet + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldChoiceSetsUpdateResponse parses an HTTP response from a ExtrasCustomFieldChoiceSetsUpdateWithResponse call +func ParseExtrasCustomFieldChoiceSetsUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldChoiceSetsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoiceSetsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CustomFieldChoiceSet + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldChoiceSetsChoicesRetrieveResponse parses an HTTP response from a ExtrasCustomFieldChoiceSetsChoicesRetrieveWithResponse call +func ParseExtrasCustomFieldChoiceSetsChoicesRetrieveResponse(rsp *http.Response) (*ExtrasCustomFieldChoiceSetsChoicesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoiceSetsChoicesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CustomFieldChoiceSet + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldsBulkDestroyResponse parses an HTTP response from a ExtrasCustomFieldsBulkDestroyWithResponse call +func ParseExtrasCustomFieldsBulkDestroyResponse(rsp *http.Response) (*ExtrasCustomFieldsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedCustomFieldList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldsBulkPartialUpdateResponse parses an HTTP response from a ExtrasCustomFieldsBulkPartialUpdateWithResponse call +func ParseExtrasCustomFieldsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []CustomField + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldsCreateResponse parses an HTTP response from a ExtrasCustomFieldsCreateWithResponse call +func ParseExtrasCustomFieldsCreateResponse(rsp *http.Response) (*ExtrasCustomFieldsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest CustomField + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldsBulkUpdateResponse parses an HTTP response from a ExtrasCustomFieldsBulkUpdateWithResponse call +func ParseExtrasCustomFieldsBulkUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []CustomField + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldsDestroyResponse parses an HTTP response from a ExtrasCustomFieldsDestroyWithResponse call +func ParseExtrasCustomFieldsDestroyResponse(rsp *http.Response) (*ExtrasCustomFieldsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CustomField + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldsPartialUpdateResponse parses an HTTP response from a ExtrasCustomFieldsPartialUpdateWithResponse call +func ParseExtrasCustomFieldsPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CustomField + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomFieldsUpdateResponse parses an HTTP response from a ExtrasCustomFieldsUpdateWithResponse call +func ParseExtrasCustomFieldsUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CustomField + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomLinksBulkDestroyResponse parses an HTTP response from a ExtrasCustomLinksBulkDestroyWithResponse call +func ParseExtrasCustomLinksBulkDestroyResponse(rsp *http.Response) (*ExtrasCustomLinksBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedCustomLinkList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomLinksBulkPartialUpdateResponse parses an HTTP response from a ExtrasCustomLinksBulkPartialUpdateWithResponse call +func ParseExtrasCustomLinksBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomLinksBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []CustomLink + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomLinksCreateResponse parses an HTTP response from a ExtrasCustomLinksCreateWithResponse call +func ParseExtrasCustomLinksCreateResponse(rsp *http.Response) (*ExtrasCustomLinksCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest CustomLink + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomLinksBulkUpdateResponse parses an HTTP response from a ExtrasCustomLinksBulkUpdateWithResponse call +func ParseExtrasCustomLinksBulkUpdateResponse(rsp *http.Response) (*ExtrasCustomLinksBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []CustomLink + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomLinksDestroyResponse parses an HTTP response from a ExtrasCustomLinksDestroyWithResponse call +func ParseExtrasCustomLinksDestroyResponse(rsp *http.Response) (*ExtrasCustomLinksDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CustomLink + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomLinksPartialUpdateResponse parses an HTTP response from a ExtrasCustomLinksPartialUpdateWithResponse call +func ParseExtrasCustomLinksPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomLinksPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CustomLink + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasCustomLinksUpdateResponse parses an HTTP response from a ExtrasCustomLinksUpdateWithResponse call +func ParseExtrasCustomLinksUpdateResponse(rsp *http.Response) (*ExtrasCustomLinksUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest CustomLink + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasDashboardDestroyResponse parses an HTTP response from a ExtrasDashboardDestroyWithResponse call +func ParseExtrasDashboardDestroyResponse(rsp *http.Response) (*ExtrasDashboardDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDashboardDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDashboardRetrieveResponse parses an HTTP response from a ExtrasDashboardRetrieveWithResponse call +func ParseExtrasDashboardRetrieveResponse(rsp *http.Response) (*ExtrasDashboardRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDashboardRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Dashboard + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasDashboardPartialUpdateResponse parses an HTTP response from a ExtrasDashboardPartialUpdateWithResponse call +func ParseExtrasDashboardPartialUpdateResponse(rsp *http.Response) (*ExtrasDashboardPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDashboardPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Dashboard + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasDashboardUpdateResponse parses an HTTP response from a ExtrasDashboardUpdateWithResponse call +func ParseExtrasDashboardUpdateResponse(rsp *http.Response) (*ExtrasDashboardUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDashboardUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Dashboard + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasExportTemplatesBulkDestroyResponse parses an HTTP response from a ExtrasExportTemplatesBulkDestroyWithResponse call +func ParseExtrasExportTemplatesBulkDestroyResponse(rsp *http.Response) (*ExtrasExportTemplatesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedExportTemplateList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasExportTemplatesBulkPartialUpdateResponse parses an HTTP response from a ExtrasExportTemplatesBulkPartialUpdateWithResponse call +func ParseExtrasExportTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasExportTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ExportTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasExportTemplatesCreateResponse parses an HTTP response from a ExtrasExportTemplatesCreateWithResponse call +func ParseExtrasExportTemplatesCreateResponse(rsp *http.Response) (*ExtrasExportTemplatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ExportTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseExtrasExportTemplatesBulkUpdateResponse parses an HTTP response from a ExtrasExportTemplatesBulkUpdateWithResponse call +func ParseExtrasExportTemplatesBulkUpdateResponse(rsp *http.Response) (*ExtrasExportTemplatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ExportTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasExportTemplatesDestroyResponse parses an HTTP response from a ExtrasExportTemplatesDestroyWithResponse call +func ParseExtrasExportTemplatesDestroyResponse(rsp *http.Response) (*ExtrasExportTemplatesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ExportTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasExportTemplatesPartialUpdateResponse parses an HTTP response from a ExtrasExportTemplatesPartialUpdateWithResponse call +func ParseExtrasExportTemplatesPartialUpdateResponse(rsp *http.Response) (*ExtrasExportTemplatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ExportTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasExportTemplatesUpdateResponse parses an HTTP response from a ExtrasExportTemplatesUpdateWithResponse call +func ParseExtrasExportTemplatesUpdateResponse(rsp *http.Response) (*ExtrasExportTemplatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ExportTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasExportTemplatesSyncCreateResponse parses an HTTP response from a ExtrasExportTemplatesSyncCreateWithResponse call +func ParseExtrasExportTemplatesSyncCreateResponse(rsp *http.Response) (*ExtrasExportTemplatesSyncCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesSyncCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ExportTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasImageAttachmentsBulkDestroyResponse parses an HTTP response from a ExtrasImageAttachmentsBulkDestroyWithResponse call +func ParseExtrasImageAttachmentsBulkDestroyResponse(rsp *http.Response) (*ExtrasImageAttachmentsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedImageAttachmentList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasImageAttachmentsBulkPartialUpdateResponse parses an HTTP response from a ExtrasImageAttachmentsBulkPartialUpdateWithResponse call +func ParseExtrasImageAttachmentsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasImageAttachmentsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ImageAttachment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasImageAttachmentsCreateResponse parses an HTTP response from a ExtrasImageAttachmentsCreateWithResponse call +func ParseExtrasImageAttachmentsCreateResponse(rsp *http.Response) (*ExtrasImageAttachmentsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ImageAttachment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseExtrasImageAttachmentsBulkUpdateResponse parses an HTTP response from a ExtrasImageAttachmentsBulkUpdateWithResponse call +func ParseExtrasImageAttachmentsBulkUpdateResponse(rsp *http.Response) (*ExtrasImageAttachmentsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ImageAttachment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasImageAttachmentsDestroyResponse parses an HTTP response from a ExtrasImageAttachmentsDestroyWithResponse call +func ParseExtrasImageAttachmentsDestroyResponse(rsp *http.Response) (*ExtrasImageAttachmentsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ImageAttachment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasImageAttachmentsPartialUpdateResponse parses an HTTP response from a ExtrasImageAttachmentsPartialUpdateWithResponse call +func ParseExtrasImageAttachmentsPartialUpdateResponse(rsp *http.Response) (*ExtrasImageAttachmentsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ImageAttachment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasImageAttachmentsUpdateResponse parses an HTTP response from a ExtrasImageAttachmentsUpdateWithResponse call +func ParseExtrasImageAttachmentsUpdateResponse(rsp *http.Response) (*ExtrasImageAttachmentsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ImageAttachment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasJournalEntriesBulkDestroyResponse parses an HTTP response from a ExtrasJournalEntriesBulkDestroyWithResponse call +func ParseExtrasJournalEntriesBulkDestroyResponse(rsp *http.Response) (*ExtrasJournalEntriesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJournalEntriesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJournalEntriesListResponse parses an HTTP response from a ExtrasJournalEntriesListWithResponse call +func ParseExtrasJournalEntriesListResponse(rsp *http.Response) (*ExtrasJournalEntriesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJournalEntriesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedJournalEntryList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasJournalEntriesBulkPartialUpdateResponse parses an HTTP response from a ExtrasJournalEntriesBulkPartialUpdateWithResponse call +func ParseExtrasJournalEntriesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasJournalEntriesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJournalEntriesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []JournalEntry + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasJournalEntriesCreateResponse parses an HTTP response from a ExtrasJournalEntriesCreateWithResponse call +func ParseExtrasJournalEntriesCreateResponse(rsp *http.Response) (*ExtrasJournalEntriesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJournalEntriesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest JournalEntry + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseExtrasJournalEntriesBulkUpdateResponse parses an HTTP response from a ExtrasJournalEntriesBulkUpdateWithResponse call +func ParseExtrasJournalEntriesBulkUpdateResponse(rsp *http.Response) (*ExtrasJournalEntriesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJournalEntriesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []JournalEntry + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasJournalEntriesDestroyResponse parses an HTTP response from a ExtrasJournalEntriesDestroyWithResponse call +func ParseExtrasJournalEntriesDestroyResponse(rsp *http.Response) (*ExtrasJournalEntriesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJournalEntriesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJournalEntriesRetrieveResponse parses an HTTP response from a ExtrasJournalEntriesRetrieveWithResponse call +func ParseExtrasJournalEntriesRetrieveResponse(rsp *http.Response) (*ExtrasJournalEntriesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJournalEntriesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest JournalEntry + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasJournalEntriesPartialUpdateResponse parses an HTTP response from a ExtrasJournalEntriesPartialUpdateWithResponse call +func ParseExtrasJournalEntriesPartialUpdateResponse(rsp *http.Response) (*ExtrasJournalEntriesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJournalEntriesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest JournalEntry + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasJournalEntriesUpdateResponse parses an HTTP response from a ExtrasJournalEntriesUpdateWithResponse call +func ParseExtrasJournalEntriesUpdateResponse(rsp *http.Response) (*ExtrasJournalEntriesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJournalEntriesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest JournalEntry + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasObjectChangesListResponse parses an HTTP response from a ExtrasObjectChangesListWithResponse call +func ParseExtrasObjectChangesListResponse(rsp *http.Response) (*ExtrasObjectChangesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasObjectChangesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedObjectChangeList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasObjectChangesRetrieveResponse parses an HTTP response from a ExtrasObjectChangesRetrieveWithResponse call +func ParseExtrasObjectChangesRetrieveResponse(rsp *http.Response) (*ExtrasObjectChangesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasObjectChangesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ObjectChange + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasSavedFiltersBulkDestroyResponse parses an HTTP response from a ExtrasSavedFiltersBulkDestroyWithResponse call +func ParseExtrasSavedFiltersBulkDestroyResponse(rsp *http.Response) (*ExtrasSavedFiltersBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSavedFiltersBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSavedFiltersListResponse parses an HTTP response from a ExtrasSavedFiltersListWithResponse call +func ParseExtrasSavedFiltersListResponse(rsp *http.Response) (*ExtrasSavedFiltersListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSavedFiltersListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedSavedFilterList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasSavedFiltersBulkPartialUpdateResponse parses an HTTP response from a ExtrasSavedFiltersBulkPartialUpdateWithResponse call +func ParseExtrasSavedFiltersBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasSavedFiltersBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSavedFiltersBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []SavedFilter + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasSavedFiltersCreateResponse parses an HTTP response from a ExtrasSavedFiltersCreateWithResponse call +func ParseExtrasSavedFiltersCreateResponse(rsp *http.Response) (*ExtrasSavedFiltersCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSavedFiltersCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest SavedFilter + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseExtrasSavedFiltersBulkUpdateResponse parses an HTTP response from a ExtrasSavedFiltersBulkUpdateWithResponse call +func ParseExtrasSavedFiltersBulkUpdateResponse(rsp *http.Response) (*ExtrasSavedFiltersBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSavedFiltersBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []SavedFilter + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasSavedFiltersDestroyResponse parses an HTTP response from a ExtrasSavedFiltersDestroyWithResponse call +func ParseExtrasSavedFiltersDestroyResponse(rsp *http.Response) (*ExtrasSavedFiltersDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSavedFiltersDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSavedFiltersRetrieveResponse parses an HTTP response from a ExtrasSavedFiltersRetrieveWithResponse call +func ParseExtrasSavedFiltersRetrieveResponse(rsp *http.Response) (*ExtrasSavedFiltersRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSavedFiltersRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SavedFilter + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasSavedFiltersPartialUpdateResponse parses an HTTP response from a ExtrasSavedFiltersPartialUpdateWithResponse call +func ParseExtrasSavedFiltersPartialUpdateResponse(rsp *http.Response) (*ExtrasSavedFiltersPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSavedFiltersPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SavedFilter + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasSavedFiltersUpdateResponse parses an HTTP response from a ExtrasSavedFiltersUpdateWithResponse call +func ParseExtrasSavedFiltersUpdateResponse(rsp *http.Response) (*ExtrasSavedFiltersUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSavedFiltersUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest SavedFilter + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasTagsBulkDestroyResponse parses an HTTP response from a ExtrasTagsBulkDestroyWithResponse call +func ParseExtrasTagsBulkDestroyResponse(rsp *http.Response) (*ExtrasTagsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedTagList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasTagsBulkPartialUpdateResponse parses an HTTP response from a ExtrasTagsBulkPartialUpdateWithResponse call +func ParseExtrasTagsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasTagsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Tag + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasTagsCreateResponse parses an HTTP response from a ExtrasTagsCreateWithResponse call +func ParseExtrasTagsCreateResponse(rsp *http.Response) (*ExtrasTagsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Tag + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseExtrasTagsBulkUpdateResponse parses an HTTP response from a ExtrasTagsBulkUpdateWithResponse call +func ParseExtrasTagsBulkUpdateResponse(rsp *http.Response) (*ExtrasTagsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Tag + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasTagsDestroyResponse parses an HTTP response from a ExtrasTagsDestroyWithResponse call +func ParseExtrasTagsDestroyResponse(rsp *http.Response) (*ExtrasTagsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Tag + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasTagsPartialUpdateResponse parses an HTTP response from a ExtrasTagsPartialUpdateWithResponse call +func ParseExtrasTagsPartialUpdateResponse(rsp *http.Response) (*ExtrasTagsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Tag + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasTagsUpdateResponse parses an HTTP response from a ExtrasTagsUpdateWithResponse call +func ParseExtrasTagsUpdateResponse(rsp *http.Response) (*ExtrasTagsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Tag + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasWebhooksBulkDestroyResponse parses an HTTP response from a ExtrasWebhooksBulkDestroyWithResponse call +func ParseExtrasWebhooksBulkDestroyResponse(rsp *http.Response) (*ExtrasWebhooksBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedWebhookList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasWebhooksBulkPartialUpdateResponse parses an HTTP response from a ExtrasWebhooksBulkPartialUpdateWithResponse call +func ParseExtrasWebhooksBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasWebhooksBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Webhook + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasWebhooksCreateResponse parses an HTTP response from a ExtrasWebhooksCreateWithResponse call +func ParseExtrasWebhooksCreateResponse(rsp *http.Response) (*ExtrasWebhooksCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Webhook + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseExtrasWebhooksBulkUpdateResponse parses an HTTP response from a ExtrasWebhooksBulkUpdateWithResponse call +func ParseExtrasWebhooksBulkUpdateResponse(rsp *http.Response) (*ExtrasWebhooksBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Webhook + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasWebhooksDestroyResponse parses an HTTP response from a ExtrasWebhooksDestroyWithResponse call +func ParseExtrasWebhooksDestroyResponse(rsp *http.Response) (*ExtrasWebhooksDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Webhook + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasWebhooksPartialUpdateResponse parses an HTTP response from a ExtrasWebhooksPartialUpdateWithResponse call +func ParseExtrasWebhooksPartialUpdateResponse(rsp *http.Response) (*ExtrasWebhooksPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Webhook + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseExtrasWebhooksUpdateResponse parses an HTTP response from a ExtrasWebhooksUpdateWithResponse call +func ParseExtrasWebhooksUpdateResponse(rsp *http.Response) (*ExtrasWebhooksUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Webhook + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAggregatesBulkDestroyResponse parses an HTTP response from a IpamAggregatesBulkDestroyWithResponse call +func ParseIpamAggregatesBulkDestroyResponse(rsp *http.Response) (*IpamAggregatesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedAggregateList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAggregatesBulkPartialUpdateResponse parses an HTTP response from a IpamAggregatesBulkPartialUpdateWithResponse call +func ParseIpamAggregatesBulkPartialUpdateResponse(rsp *http.Response) (*IpamAggregatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Aggregate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAggregatesCreateResponse parses an HTTP response from a IpamAggregatesCreateWithResponse call +func ParseIpamAggregatesCreateResponse(rsp *http.Response) (*IpamAggregatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Aggregate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamAggregatesBulkUpdateResponse parses an HTTP response from a IpamAggregatesBulkUpdateWithResponse call +func ParseIpamAggregatesBulkUpdateResponse(rsp *http.Response) (*IpamAggregatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Aggregate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAggregatesDestroyResponse parses an HTTP response from a IpamAggregatesDestroyWithResponse call +func ParseIpamAggregatesDestroyResponse(rsp *http.Response) (*IpamAggregatesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Aggregate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAggregatesPartialUpdateResponse parses an HTTP response from a IpamAggregatesPartialUpdateWithResponse call +func ParseIpamAggregatesPartialUpdateResponse(rsp *http.Response) (*IpamAggregatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Aggregate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAggregatesUpdateResponse parses an HTTP response from a IpamAggregatesUpdateWithResponse call +func ParseIpamAggregatesUpdateResponse(rsp *http.Response) (*IpamAggregatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Aggregate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAsnRangesBulkDestroyResponse parses an HTTP response from a IpamAsnRangesBulkDestroyWithResponse call +func ParseIpamAsnRangesBulkDestroyResponse(rsp *http.Response) (*IpamAsnRangesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnRangesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamAsnRangesListResponse parses an HTTP response from a IpamAsnRangesListWithResponse call +func ParseIpamAsnRangesListResponse(rsp *http.Response) (*IpamAsnRangesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnRangesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedASNRangeList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAsnRangesBulkPartialUpdateResponse parses an HTTP response from a IpamAsnRangesBulkPartialUpdateWithResponse call +func ParseIpamAsnRangesBulkPartialUpdateResponse(rsp *http.Response) (*IpamAsnRangesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnRangesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ASNRange + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAsnRangesCreateResponse parses an HTTP response from a IpamAsnRangesCreateWithResponse call +func ParseIpamAsnRangesCreateResponse(rsp *http.Response) (*IpamAsnRangesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnRangesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ASNRange + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamAsnRangesBulkUpdateResponse parses an HTTP response from a IpamAsnRangesBulkUpdateWithResponse call +func ParseIpamAsnRangesBulkUpdateResponse(rsp *http.Response) (*IpamAsnRangesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnRangesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ASNRange + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAsnRangesDestroyResponse parses an HTTP response from a IpamAsnRangesDestroyWithResponse call +func ParseIpamAsnRangesDestroyResponse(rsp *http.Response) (*IpamAsnRangesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnRangesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamAsnRangesRetrieveResponse parses an HTTP response from a IpamAsnRangesRetrieveWithResponse call +func ParseIpamAsnRangesRetrieveResponse(rsp *http.Response) (*IpamAsnRangesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnRangesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ASNRange + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAsnRangesPartialUpdateResponse parses an HTTP response from a IpamAsnRangesPartialUpdateWithResponse call +func ParseIpamAsnRangesPartialUpdateResponse(rsp *http.Response) (*IpamAsnRangesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnRangesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ASNRange + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAsnRangesUpdateResponse parses an HTTP response from a IpamAsnRangesUpdateWithResponse call +func ParseIpamAsnRangesUpdateResponse(rsp *http.Response) (*IpamAsnRangesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnRangesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ASNRange + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAsnRangesAvailableAsnsListResponse parses an HTTP response from a IpamAsnRangesAvailableAsnsListWithResponse call +func ParseIpamAsnRangesAvailableAsnsListResponse(rsp *http.Response) (*IpamAsnRangesAvailableAsnsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnRangesAvailableAsnsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []AvailableASN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAsnRangesAvailableAsnsCreateResponse parses an HTTP response from a IpamAsnRangesAvailableAsnsCreateWithResponse call +func ParseIpamAsnRangesAvailableAsnsCreateResponse(rsp *http.Response) (*IpamAsnRangesAvailableAsnsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnRangesAvailableAsnsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest []ASN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamAsnsBulkDestroyResponse parses an HTTP response from a IpamAsnsBulkDestroyWithResponse call +func ParseIpamAsnsBulkDestroyResponse(rsp *http.Response) (*IpamAsnsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamAsnsListResponse parses an HTTP response from a IpamAsnsListWithResponse call +func ParseIpamAsnsListResponse(rsp *http.Response) (*IpamAsnsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedASNList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAsnsBulkPartialUpdateResponse parses an HTTP response from a IpamAsnsBulkPartialUpdateWithResponse call +func ParseIpamAsnsBulkPartialUpdateResponse(rsp *http.Response) (*IpamAsnsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ASN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAsnsCreateResponse parses an HTTP response from a IpamAsnsCreateWithResponse call +func ParseIpamAsnsCreateResponse(rsp *http.Response) (*IpamAsnsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ASN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamAsnsBulkUpdateResponse parses an HTTP response from a IpamAsnsBulkUpdateWithResponse call +func ParseIpamAsnsBulkUpdateResponse(rsp *http.Response) (*IpamAsnsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ASN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAsnsDestroyResponse parses an HTTP response from a IpamAsnsDestroyWithResponse call +func ParseIpamAsnsDestroyResponse(rsp *http.Response) (*IpamAsnsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamAsnsRetrieveResponse parses an HTTP response from a IpamAsnsRetrieveWithResponse call +func ParseIpamAsnsRetrieveResponse(rsp *http.Response) (*IpamAsnsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ASN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAsnsPartialUpdateResponse parses an HTTP response from a IpamAsnsPartialUpdateWithResponse call +func ParseIpamAsnsPartialUpdateResponse(rsp *http.Response) (*IpamAsnsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ASN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamAsnsUpdateResponse parses an HTTP response from a IpamAsnsUpdateWithResponse call +func ParseIpamAsnsUpdateResponse(rsp *http.Response) (*IpamAsnsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAsnsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ASN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamFhrpGroupAssignmentsBulkDestroyResponse parses an HTTP response from a IpamFhrpGroupAssignmentsBulkDestroyWithResponse call +func ParseIpamFhrpGroupAssignmentsBulkDestroyResponse(rsp *http.Response) (*IpamFhrpGroupAssignmentsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupAssignmentsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamFhrpGroupAssignmentsListResponse parses an HTTP response from a IpamFhrpGroupAssignmentsListWithResponse call +func ParseIpamFhrpGroupAssignmentsListResponse(rsp *http.Response) (*IpamFhrpGroupAssignmentsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupAssignmentsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedFHRPGroupAssignmentList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamFhrpGroupAssignmentsBulkPartialUpdateResponse parses an HTTP response from a IpamFhrpGroupAssignmentsBulkPartialUpdateWithResponse call +func ParseIpamFhrpGroupAssignmentsBulkPartialUpdateResponse(rsp *http.Response) (*IpamFhrpGroupAssignmentsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupAssignmentsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []FHRPGroupAssignment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamFhrpGroupAssignmentsCreateResponse parses an HTTP response from a IpamFhrpGroupAssignmentsCreateWithResponse call +func ParseIpamFhrpGroupAssignmentsCreateResponse(rsp *http.Response) (*IpamFhrpGroupAssignmentsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupAssignmentsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest FHRPGroupAssignment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamFhrpGroupAssignmentsBulkUpdateResponse parses an HTTP response from a IpamFhrpGroupAssignmentsBulkUpdateWithResponse call +func ParseIpamFhrpGroupAssignmentsBulkUpdateResponse(rsp *http.Response) (*IpamFhrpGroupAssignmentsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupAssignmentsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []FHRPGroupAssignment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamFhrpGroupAssignmentsDestroyResponse parses an HTTP response from a IpamFhrpGroupAssignmentsDestroyWithResponse call +func ParseIpamFhrpGroupAssignmentsDestroyResponse(rsp *http.Response) (*IpamFhrpGroupAssignmentsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupAssignmentsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamFhrpGroupAssignmentsRetrieveResponse parses an HTTP response from a IpamFhrpGroupAssignmentsRetrieveWithResponse call +func ParseIpamFhrpGroupAssignmentsRetrieveResponse(rsp *http.Response) (*IpamFhrpGroupAssignmentsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupAssignmentsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest FHRPGroupAssignment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamFhrpGroupAssignmentsPartialUpdateResponse parses an HTTP response from a IpamFhrpGroupAssignmentsPartialUpdateWithResponse call +func ParseIpamFhrpGroupAssignmentsPartialUpdateResponse(rsp *http.Response) (*IpamFhrpGroupAssignmentsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupAssignmentsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest FHRPGroupAssignment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamFhrpGroupAssignmentsUpdateResponse parses an HTTP response from a IpamFhrpGroupAssignmentsUpdateWithResponse call +func ParseIpamFhrpGroupAssignmentsUpdateResponse(rsp *http.Response) (*IpamFhrpGroupAssignmentsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupAssignmentsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest FHRPGroupAssignment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamFhrpGroupsBulkDestroyResponse parses an HTTP response from a IpamFhrpGroupsBulkDestroyWithResponse call +func ParseIpamFhrpGroupsBulkDestroyResponse(rsp *http.Response) (*IpamFhrpGroupsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamFhrpGroupsListResponse parses an HTTP response from a IpamFhrpGroupsListWithResponse call +func ParseIpamFhrpGroupsListResponse(rsp *http.Response) (*IpamFhrpGroupsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedFHRPGroupList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamFhrpGroupsBulkPartialUpdateResponse parses an HTTP response from a IpamFhrpGroupsBulkPartialUpdateWithResponse call +func ParseIpamFhrpGroupsBulkPartialUpdateResponse(rsp *http.Response) (*IpamFhrpGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []FHRPGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamFhrpGroupsCreateResponse parses an HTTP response from a IpamFhrpGroupsCreateWithResponse call +func ParseIpamFhrpGroupsCreateResponse(rsp *http.Response) (*IpamFhrpGroupsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest FHRPGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamFhrpGroupsBulkUpdateResponse parses an HTTP response from a IpamFhrpGroupsBulkUpdateWithResponse call +func ParseIpamFhrpGroupsBulkUpdateResponse(rsp *http.Response) (*IpamFhrpGroupsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []FHRPGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamFhrpGroupsDestroyResponse parses an HTTP response from a IpamFhrpGroupsDestroyWithResponse call +func ParseIpamFhrpGroupsDestroyResponse(rsp *http.Response) (*IpamFhrpGroupsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamFhrpGroupsRetrieveResponse parses an HTTP response from a IpamFhrpGroupsRetrieveWithResponse call +func ParseIpamFhrpGroupsRetrieveResponse(rsp *http.Response) (*IpamFhrpGroupsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest FHRPGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamFhrpGroupsPartialUpdateResponse parses an HTTP response from a IpamFhrpGroupsPartialUpdateWithResponse call +func ParseIpamFhrpGroupsPartialUpdateResponse(rsp *http.Response) (*IpamFhrpGroupsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest FHRPGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamFhrpGroupsUpdateResponse parses an HTTP response from a IpamFhrpGroupsUpdateWithResponse call +func ParseIpamFhrpGroupsUpdateResponse(rsp *http.Response) (*IpamFhrpGroupsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamFhrpGroupsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest FHRPGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamIpAddressesBulkDestroyResponse parses an HTTP response from a IpamIpAddressesBulkDestroyWithResponse call +func ParseIpamIpAddressesBulkDestroyResponse(rsp *http.Response) (*IpamIpAddressesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedIPAddressList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamIpAddressesBulkPartialUpdateResponse parses an HTTP response from a IpamIpAddressesBulkPartialUpdateWithResponse call +func ParseIpamIpAddressesBulkPartialUpdateResponse(rsp *http.Response) (*IpamIpAddressesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []IPAddress + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamIpAddressesCreateResponse parses an HTTP response from a IpamIpAddressesCreateWithResponse call +func ParseIpamIpAddressesCreateResponse(rsp *http.Response) (*IpamIpAddressesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest IPAddress + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamIpAddressesBulkUpdateResponse parses an HTTP response from a IpamIpAddressesBulkUpdateWithResponse call +func ParseIpamIpAddressesBulkUpdateResponse(rsp *http.Response) (*IpamIpAddressesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []IPAddress + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamIpAddressesDestroyResponse parses an HTTP response from a IpamIpAddressesDestroyWithResponse call +func ParseIpamIpAddressesDestroyResponse(rsp *http.Response) (*IpamIpAddressesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest IPAddress + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamIpAddressesPartialUpdateResponse parses an HTTP response from a IpamIpAddressesPartialUpdateWithResponse call +func ParseIpamIpAddressesPartialUpdateResponse(rsp *http.Response) (*IpamIpAddressesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest IPAddress + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamIpAddressesUpdateResponse parses an HTTP response from a IpamIpAddressesUpdateWithResponse call +func ParseIpamIpAddressesUpdateResponse(rsp *http.Response) (*IpamIpAddressesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest IPAddress + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamIpRangesBulkDestroyResponse parses an HTTP response from a IpamIpRangesBulkDestroyWithResponse call +func ParseIpamIpRangesBulkDestroyResponse(rsp *http.Response) (*IpamIpRangesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpRangesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamIpRangesListResponse parses an HTTP response from a IpamIpRangesListWithResponse call +func ParseIpamIpRangesListResponse(rsp *http.Response) (*IpamIpRangesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpRangesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedIPRangeList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamIpRangesBulkPartialUpdateResponse parses an HTTP response from a IpamIpRangesBulkPartialUpdateWithResponse call +func ParseIpamIpRangesBulkPartialUpdateResponse(rsp *http.Response) (*IpamIpRangesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpRangesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []IPRange + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamIpRangesCreateResponse parses an HTTP response from a IpamIpRangesCreateWithResponse call +func ParseIpamIpRangesCreateResponse(rsp *http.Response) (*IpamIpRangesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpRangesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest IPRange + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamIpRangesBulkUpdateResponse parses an HTTP response from a IpamIpRangesBulkUpdateWithResponse call +func ParseIpamIpRangesBulkUpdateResponse(rsp *http.Response) (*IpamIpRangesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpRangesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []IPRange + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamIpRangesDestroyResponse parses an HTTP response from a IpamIpRangesDestroyWithResponse call +func ParseIpamIpRangesDestroyResponse(rsp *http.Response) (*IpamIpRangesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpRangesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamIpRangesRetrieveResponse parses an HTTP response from a IpamIpRangesRetrieveWithResponse call +func ParseIpamIpRangesRetrieveResponse(rsp *http.Response) (*IpamIpRangesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpRangesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest IPRange + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamIpRangesPartialUpdateResponse parses an HTTP response from a IpamIpRangesPartialUpdateWithResponse call +func ParseIpamIpRangesPartialUpdateResponse(rsp *http.Response) (*IpamIpRangesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpRangesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest IPRange + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamIpRangesUpdateResponse parses an HTTP response from a IpamIpRangesUpdateWithResponse call +func ParseIpamIpRangesUpdateResponse(rsp *http.Response) (*IpamIpRangesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpRangesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest IPRange + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamIpRangesAvailableIpsListResponse parses an HTTP response from a IpamIpRangesAvailableIpsListWithResponse call +func ParseIpamIpRangesAvailableIpsListResponse(rsp *http.Response) (*IpamIpRangesAvailableIpsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpRangesAvailableIpsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []AvailableIP + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamIpRangesAvailableIpsCreateResponse parses an HTTP response from a IpamIpRangesAvailableIpsCreateWithResponse call +func ParseIpamIpRangesAvailableIpsCreateResponse(rsp *http.Response) (*IpamIpRangesAvailableIpsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpRangesAvailableIpsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest []IPAddress + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamL2vpnTerminationsBulkDestroyResponse parses an HTTP response from a IpamL2vpnTerminationsBulkDestroyWithResponse call +func ParseIpamL2vpnTerminationsBulkDestroyResponse(rsp *http.Response) (*IpamL2vpnTerminationsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnTerminationsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamL2vpnTerminationsListResponse parses an HTTP response from a IpamL2vpnTerminationsListWithResponse call +func ParseIpamL2vpnTerminationsListResponse(rsp *http.Response) (*IpamL2vpnTerminationsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnTerminationsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedL2VPNTerminationList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamL2vpnTerminationsBulkPartialUpdateResponse parses an HTTP response from a IpamL2vpnTerminationsBulkPartialUpdateWithResponse call +func ParseIpamL2vpnTerminationsBulkPartialUpdateResponse(rsp *http.Response) (*IpamL2vpnTerminationsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnTerminationsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []L2VPNTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamL2vpnTerminationsCreateResponse parses an HTTP response from a IpamL2vpnTerminationsCreateWithResponse call +func ParseIpamL2vpnTerminationsCreateResponse(rsp *http.Response) (*IpamL2vpnTerminationsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnTerminationsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest L2VPNTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamL2vpnTerminationsBulkUpdateResponse parses an HTTP response from a IpamL2vpnTerminationsBulkUpdateWithResponse call +func ParseIpamL2vpnTerminationsBulkUpdateResponse(rsp *http.Response) (*IpamL2vpnTerminationsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnTerminationsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []L2VPNTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamL2vpnTerminationsDestroyResponse parses an HTTP response from a IpamL2vpnTerminationsDestroyWithResponse call +func ParseIpamL2vpnTerminationsDestroyResponse(rsp *http.Response) (*IpamL2vpnTerminationsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnTerminationsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamL2vpnTerminationsRetrieveResponse parses an HTTP response from a IpamL2vpnTerminationsRetrieveWithResponse call +func ParseIpamL2vpnTerminationsRetrieveResponse(rsp *http.Response) (*IpamL2vpnTerminationsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnTerminationsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest L2VPNTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamL2vpnTerminationsPartialUpdateResponse parses an HTTP response from a IpamL2vpnTerminationsPartialUpdateWithResponse call +func ParseIpamL2vpnTerminationsPartialUpdateResponse(rsp *http.Response) (*IpamL2vpnTerminationsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnTerminationsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest L2VPNTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamL2vpnTerminationsUpdateResponse parses an HTTP response from a IpamL2vpnTerminationsUpdateWithResponse call +func ParseIpamL2vpnTerminationsUpdateResponse(rsp *http.Response) (*IpamL2vpnTerminationsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnTerminationsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest L2VPNTermination + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamL2vpnsBulkDestroyResponse parses an HTTP response from a IpamL2vpnsBulkDestroyWithResponse call +func ParseIpamL2vpnsBulkDestroyResponse(rsp *http.Response) (*IpamL2vpnsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamL2vpnsListResponse parses an HTTP response from a IpamL2vpnsListWithResponse call +func ParseIpamL2vpnsListResponse(rsp *http.Response) (*IpamL2vpnsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedL2VPNList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamL2vpnsBulkPartialUpdateResponse parses an HTTP response from a IpamL2vpnsBulkPartialUpdateWithResponse call +func ParseIpamL2vpnsBulkPartialUpdateResponse(rsp *http.Response) (*IpamL2vpnsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []L2VPN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamL2vpnsCreateResponse parses an HTTP response from a IpamL2vpnsCreateWithResponse call +func ParseIpamL2vpnsCreateResponse(rsp *http.Response) (*IpamL2vpnsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest L2VPN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamL2vpnsBulkUpdateResponse parses an HTTP response from a IpamL2vpnsBulkUpdateWithResponse call +func ParseIpamL2vpnsBulkUpdateResponse(rsp *http.Response) (*IpamL2vpnsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []L2VPN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamL2vpnsDestroyResponse parses an HTTP response from a IpamL2vpnsDestroyWithResponse call +func ParseIpamL2vpnsDestroyResponse(rsp *http.Response) (*IpamL2vpnsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamL2vpnsRetrieveResponse parses an HTTP response from a IpamL2vpnsRetrieveWithResponse call +func ParseIpamL2vpnsRetrieveResponse(rsp *http.Response) (*IpamL2vpnsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest L2VPN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamL2vpnsPartialUpdateResponse parses an HTTP response from a IpamL2vpnsPartialUpdateWithResponse call +func ParseIpamL2vpnsPartialUpdateResponse(rsp *http.Response) (*IpamL2vpnsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest L2VPN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamL2vpnsUpdateResponse parses an HTTP response from a IpamL2vpnsUpdateWithResponse call +func ParseIpamL2vpnsUpdateResponse(rsp *http.Response) (*IpamL2vpnsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamL2vpnsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest L2VPN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamPrefixesBulkDestroyResponse parses an HTTP response from a IpamPrefixesBulkDestroyWithResponse call +func ParseIpamPrefixesBulkDestroyResponse(rsp *http.Response) (*IpamPrefixesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedPrefixList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamPrefixesBulkPartialUpdateResponse parses an HTTP response from a IpamPrefixesBulkPartialUpdateWithResponse call +func ParseIpamPrefixesBulkPartialUpdateResponse(rsp *http.Response) (*IpamPrefixesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Prefix + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamPrefixesCreateResponse parses an HTTP response from a IpamPrefixesCreateWithResponse call +func ParseIpamPrefixesCreateResponse(rsp *http.Response) (*IpamPrefixesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Prefix + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamPrefixesBulkUpdateResponse parses an HTTP response from a IpamPrefixesBulkUpdateWithResponse call +func ParseIpamPrefixesBulkUpdateResponse(rsp *http.Response) (*IpamPrefixesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Prefix + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamPrefixesDestroyResponse parses an HTTP response from a IpamPrefixesDestroyWithResponse call +func ParseIpamPrefixesDestroyResponse(rsp *http.Response) (*IpamPrefixesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Prefix + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamPrefixesPartialUpdateResponse parses an HTTP response from a IpamPrefixesPartialUpdateWithResponse call +func ParseIpamPrefixesPartialUpdateResponse(rsp *http.Response) (*IpamPrefixesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Prefix + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamPrefixesUpdateResponse parses an HTTP response from a IpamPrefixesUpdateWithResponse call +func ParseIpamPrefixesUpdateResponse(rsp *http.Response) (*IpamPrefixesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Prefix + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamPrefixesAvailableIpsListResponse parses an HTTP response from a IpamPrefixesAvailableIpsListWithResponse call +func ParseIpamPrefixesAvailableIpsListResponse(rsp *http.Response) (*IpamPrefixesAvailableIpsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesAvailableIpsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []AvailableIP + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamPrefixesAvailableIpsCreateResponse parses an HTTP response from a IpamPrefixesAvailableIpsCreateWithResponse call +func ParseIpamPrefixesAvailableIpsCreateResponse(rsp *http.Response) (*IpamPrefixesAvailableIpsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesAvailableIpsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest []IPAddress + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamPrefixesAvailablePrefixesListResponse parses an HTTP response from a IpamPrefixesAvailablePrefixesListWithResponse call +func ParseIpamPrefixesAvailablePrefixesListResponse(rsp *http.Response) (*IpamPrefixesAvailablePrefixesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesAvailablePrefixesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []AvailablePrefix + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamPrefixesAvailablePrefixesCreateResponse parses an HTTP response from a IpamPrefixesAvailablePrefixesCreateWithResponse call +func ParseIpamPrefixesAvailablePrefixesCreateResponse(rsp *http.Response) (*IpamPrefixesAvailablePrefixesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesAvailablePrefixesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest []Prefix + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamRirsBulkDestroyResponse parses an HTTP response from a IpamRirsBulkDestroyWithResponse call +func ParseIpamRirsBulkDestroyResponse(rsp *http.Response) (*IpamRirsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedRIRList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRirsBulkPartialUpdateResponse parses an HTTP response from a IpamRirsBulkPartialUpdateWithResponse call +func ParseIpamRirsBulkPartialUpdateResponse(rsp *http.Response) (*IpamRirsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []RIR + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRirsCreateResponse parses an HTTP response from a IpamRirsCreateWithResponse call +func ParseIpamRirsCreateResponse(rsp *http.Response) (*IpamRirsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest RIR + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamRirsBulkUpdateResponse parses an HTTP response from a IpamRirsBulkUpdateWithResponse call +func ParseIpamRirsBulkUpdateResponse(rsp *http.Response) (*IpamRirsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []RIR + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRirsDestroyResponse parses an HTTP response from a IpamRirsDestroyWithResponse call +func ParseIpamRirsDestroyResponse(rsp *http.Response) (*IpamRirsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RIR + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRirsPartialUpdateResponse parses an HTTP response from a IpamRirsPartialUpdateWithResponse call +func ParseIpamRirsPartialUpdateResponse(rsp *http.Response) (*IpamRirsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RIR + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRirsUpdateResponse parses an HTTP response from a IpamRirsUpdateWithResponse call +func ParseIpamRirsUpdateResponse(rsp *http.Response) (*IpamRirsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RIR + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRolesBulkDestroyResponse parses an HTTP response from a IpamRolesBulkDestroyWithResponse call +func ParseIpamRolesBulkDestroyResponse(rsp *http.Response) (*IpamRolesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedRoleList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRolesBulkPartialUpdateResponse parses an HTTP response from a IpamRolesBulkPartialUpdateWithResponse call +func ParseIpamRolesBulkPartialUpdateResponse(rsp *http.Response) (*IpamRolesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Role + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRolesCreateResponse parses an HTTP response from a IpamRolesCreateWithResponse call +func ParseIpamRolesCreateResponse(rsp *http.Response) (*IpamRolesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Role + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamRolesBulkUpdateResponse parses an HTTP response from a IpamRolesBulkUpdateWithResponse call +func ParseIpamRolesBulkUpdateResponse(rsp *http.Response) (*IpamRolesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Role + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRolesDestroyResponse parses an HTTP response from a IpamRolesDestroyWithResponse call +func ParseIpamRolesDestroyResponse(rsp *http.Response) (*IpamRolesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Role + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRolesPartialUpdateResponse parses an HTTP response from a IpamRolesPartialUpdateWithResponse call +func ParseIpamRolesPartialUpdateResponse(rsp *http.Response) (*IpamRolesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Role + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRolesUpdateResponse parses an HTTP response from a IpamRolesUpdateWithResponse call +func ParseIpamRolesUpdateResponse(rsp *http.Response) (*IpamRolesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Role + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRouteTargetsBulkDestroyResponse parses an HTTP response from a IpamRouteTargetsBulkDestroyWithResponse call +func ParseIpamRouteTargetsBulkDestroyResponse(rsp *http.Response) (*IpamRouteTargetsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedRouteTargetList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRouteTargetsBulkPartialUpdateResponse parses an HTTP response from a IpamRouteTargetsBulkPartialUpdateWithResponse call +func ParseIpamRouteTargetsBulkPartialUpdateResponse(rsp *http.Response) (*IpamRouteTargetsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []RouteTarget + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRouteTargetsCreateResponse parses an HTTP response from a IpamRouteTargetsCreateWithResponse call +func ParseIpamRouteTargetsCreateResponse(rsp *http.Response) (*IpamRouteTargetsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest RouteTarget + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamRouteTargetsBulkUpdateResponse parses an HTTP response from a IpamRouteTargetsBulkUpdateWithResponse call +func ParseIpamRouteTargetsBulkUpdateResponse(rsp *http.Response) (*IpamRouteTargetsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []RouteTarget + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRouteTargetsDestroyResponse parses an HTTP response from a IpamRouteTargetsDestroyWithResponse call +func ParseIpamRouteTargetsDestroyResponse(rsp *http.Response) (*IpamRouteTargetsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RouteTarget + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRouteTargetsPartialUpdateResponse parses an HTTP response from a IpamRouteTargetsPartialUpdateWithResponse call +func ParseIpamRouteTargetsPartialUpdateResponse(rsp *http.Response) (*IpamRouteTargetsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RouteTarget + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamRouteTargetsUpdateResponse parses an HTTP response from a IpamRouteTargetsUpdateWithResponse call +func ParseIpamRouteTargetsUpdateResponse(rsp *http.Response) (*IpamRouteTargetsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest RouteTarget + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamServiceTemplatesBulkDestroyResponse parses an HTTP response from a IpamServiceTemplatesBulkDestroyWithResponse call +func ParseIpamServiceTemplatesBulkDestroyResponse(rsp *http.Response) (*IpamServiceTemplatesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServiceTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamServiceTemplatesListResponse parses an HTTP response from a IpamServiceTemplatesListWithResponse call +func ParseIpamServiceTemplatesListResponse(rsp *http.Response) (*IpamServiceTemplatesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServiceTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedServiceTemplateList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamServiceTemplatesBulkPartialUpdateResponse parses an HTTP response from a IpamServiceTemplatesBulkPartialUpdateWithResponse call +func ParseIpamServiceTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*IpamServiceTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServiceTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ServiceTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamServiceTemplatesCreateResponse parses an HTTP response from a IpamServiceTemplatesCreateWithResponse call +func ParseIpamServiceTemplatesCreateResponse(rsp *http.Response) (*IpamServiceTemplatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServiceTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ServiceTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamServiceTemplatesBulkUpdateResponse parses an HTTP response from a IpamServiceTemplatesBulkUpdateWithResponse call +func ParseIpamServiceTemplatesBulkUpdateResponse(rsp *http.Response) (*IpamServiceTemplatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServiceTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ServiceTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamServiceTemplatesDestroyResponse parses an HTTP response from a IpamServiceTemplatesDestroyWithResponse call +func ParseIpamServiceTemplatesDestroyResponse(rsp *http.Response) (*IpamServiceTemplatesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServiceTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamServiceTemplatesRetrieveResponse parses an HTTP response from a IpamServiceTemplatesRetrieveWithResponse call +func ParseIpamServiceTemplatesRetrieveResponse(rsp *http.Response) (*IpamServiceTemplatesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServiceTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ServiceTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamServiceTemplatesPartialUpdateResponse parses an HTTP response from a IpamServiceTemplatesPartialUpdateWithResponse call +func ParseIpamServiceTemplatesPartialUpdateResponse(rsp *http.Response) (*IpamServiceTemplatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServiceTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ServiceTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamServiceTemplatesUpdateResponse parses an HTTP response from a IpamServiceTemplatesUpdateWithResponse call +func ParseIpamServiceTemplatesUpdateResponse(rsp *http.Response) (*IpamServiceTemplatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServiceTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ServiceTemplate + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamServicesBulkDestroyResponse parses an HTTP response from a IpamServicesBulkDestroyWithResponse call +func ParseIpamServicesBulkDestroyResponse(rsp *http.Response) (*IpamServicesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedServiceList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamServicesBulkPartialUpdateResponse parses an HTTP response from a IpamServicesBulkPartialUpdateWithResponse call +func ParseIpamServicesBulkPartialUpdateResponse(rsp *http.Response) (*IpamServicesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Service + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamServicesCreateResponse parses an HTTP response from a IpamServicesCreateWithResponse call +func ParseIpamServicesCreateResponse(rsp *http.Response) (*IpamServicesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Service + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamServicesBulkUpdateResponse parses an HTTP response from a IpamServicesBulkUpdateWithResponse call +func ParseIpamServicesBulkUpdateResponse(rsp *http.Response) (*IpamServicesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Service + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamServicesDestroyResponse parses an HTTP response from a IpamServicesDestroyWithResponse call +func ParseIpamServicesDestroyResponse(rsp *http.Response) (*IpamServicesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Service + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamServicesPartialUpdateResponse parses an HTTP response from a IpamServicesPartialUpdateWithResponse call +func ParseIpamServicesPartialUpdateResponse(rsp *http.Response) (*IpamServicesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Service + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamServicesUpdateResponse parses an HTTP response from a IpamServicesUpdateWithResponse call +func ParseIpamServicesUpdateResponse(rsp *http.Response) (*IpamServicesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Service + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVlanGroupsBulkDestroyResponse parses an HTTP response from a IpamVlanGroupsBulkDestroyWithResponse call +func ParseIpamVlanGroupsBulkDestroyResponse(rsp *http.Response) (*IpamVlanGroupsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedVLANGroupList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVlanGroupsBulkPartialUpdateResponse parses an HTTP response from a IpamVlanGroupsBulkPartialUpdateWithResponse call +func ParseIpamVlanGroupsBulkPartialUpdateResponse(rsp *http.Response) (*IpamVlanGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []VLANGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVlanGroupsCreateResponse parses an HTTP response from a IpamVlanGroupsCreateWithResponse call +func ParseIpamVlanGroupsCreateResponse(rsp *http.Response) (*IpamVlanGroupsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest VLANGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamVlanGroupsBulkUpdateResponse parses an HTTP response from a IpamVlanGroupsBulkUpdateWithResponse call +func ParseIpamVlanGroupsBulkUpdateResponse(rsp *http.Response) (*IpamVlanGroupsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []VLANGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVlanGroupsDestroyResponse parses an HTTP response from a IpamVlanGroupsDestroyWithResponse call +func ParseIpamVlanGroupsDestroyResponse(rsp *http.Response) (*IpamVlanGroupsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VLANGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVlanGroupsPartialUpdateResponse parses an HTTP response from a IpamVlanGroupsPartialUpdateWithResponse call +func ParseIpamVlanGroupsPartialUpdateResponse(rsp *http.Response) (*IpamVlanGroupsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VLANGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVlanGroupsUpdateResponse parses an HTTP response from a IpamVlanGroupsUpdateWithResponse call +func ParseIpamVlanGroupsUpdateResponse(rsp *http.Response) (*IpamVlanGroupsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VLANGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVlanGroupsAvailableVlansListResponse parses an HTTP response from a IpamVlanGroupsAvailableVlansListWithResponse call +func ParseIpamVlanGroupsAvailableVlansListResponse(rsp *http.Response) (*IpamVlanGroupsAvailableVlansListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsAvailableVlansListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []AvailableVLAN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVlanGroupsAvailableVlansCreateResponse parses an HTTP response from a IpamVlanGroupsAvailableVlansCreateWithResponse call +func ParseIpamVlanGroupsAvailableVlansCreateResponse(rsp *http.Response) (*IpamVlanGroupsAvailableVlansCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsAvailableVlansCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest []VLAN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamVlansBulkDestroyResponse parses an HTTP response from a IpamVlansBulkDestroyWithResponse call +func ParseIpamVlansBulkDestroyResponse(rsp *http.Response) (*IpamVlansBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedVLANList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVlansBulkPartialUpdateResponse parses an HTTP response from a IpamVlansBulkPartialUpdateWithResponse call +func ParseIpamVlansBulkPartialUpdateResponse(rsp *http.Response) (*IpamVlansBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []VLAN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVlansCreateResponse parses an HTTP response from a IpamVlansCreateWithResponse call +func ParseIpamVlansCreateResponse(rsp *http.Response) (*IpamVlansCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest VLAN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamVlansBulkUpdateResponse parses an HTTP response from a IpamVlansBulkUpdateWithResponse call +func ParseIpamVlansBulkUpdateResponse(rsp *http.Response) (*IpamVlansBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []VLAN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVlansDestroyResponse parses an HTTP response from a IpamVlansDestroyWithResponse call +func ParseIpamVlansDestroyResponse(rsp *http.Response) (*IpamVlansDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VLAN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVlansPartialUpdateResponse parses an HTTP response from a IpamVlansPartialUpdateWithResponse call +func ParseIpamVlansPartialUpdateResponse(rsp *http.Response) (*IpamVlansPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VLAN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVlansUpdateResponse parses an HTTP response from a IpamVlansUpdateWithResponse call +func ParseIpamVlansUpdateResponse(rsp *http.Response) (*IpamVlansUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VLAN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVrfsBulkDestroyResponse parses an HTTP response from a IpamVrfsBulkDestroyWithResponse call +func ParseIpamVrfsBulkDestroyResponse(rsp *http.Response) (*IpamVrfsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedVRFList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVrfsBulkPartialUpdateResponse parses an HTTP response from a IpamVrfsBulkPartialUpdateWithResponse call +func ParseIpamVrfsBulkPartialUpdateResponse(rsp *http.Response) (*IpamVrfsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []VRF + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVrfsCreateResponse parses an HTTP response from a IpamVrfsCreateWithResponse call +func ParseIpamVrfsCreateResponse(rsp *http.Response) (*IpamVrfsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest VRF + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseIpamVrfsBulkUpdateResponse parses an HTTP response from a IpamVrfsBulkUpdateWithResponse call +func ParseIpamVrfsBulkUpdateResponse(rsp *http.Response) (*IpamVrfsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []VRF + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVrfsDestroyResponse parses an HTTP response from a IpamVrfsDestroyWithResponse call +func ParseIpamVrfsDestroyResponse(rsp *http.Response) (*IpamVrfsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VRF + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVrfsPartialUpdateResponse parses an HTTP response from a IpamVrfsPartialUpdateWithResponse call +func ParseIpamVrfsPartialUpdateResponse(rsp *http.Response) (*IpamVrfsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VRF + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseIpamVrfsUpdateResponse parses an HTTP response from a IpamVrfsUpdateWithResponse call +func ParseIpamVrfsUpdateResponse(rsp *http.Response) (*IpamVrfsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VRF + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseSchemaRetrieveResponse parses an HTTP response from a SchemaRetrieveWithResponse call +func ParseSchemaRetrieveResponse(rsp *http.Response) (*SchemaRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &SchemaRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case rsp.Header.Get("Content-Type") == "application/json" && rsp.StatusCode == 200: + var dest map[string]interface{} + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case rsp.Header.Get("Content-Type") == "application/vnd.oai.openapi+json" && rsp.StatusCode == 200: + var dest map[string]interface{} + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.ApplicationvndOaiOpenapiJSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "yaml") && rsp.StatusCode == 200: + var dest map[string]interface{} + if err := yaml.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.YAML200 = &dest + + case rsp.StatusCode == 200: + // Content-type (application/vnd.oai.openapi) unsupported + + } + + return response, nil +} + +// ParseStatusRetrieveResponse parses an HTTP response from a StatusRetrieveWithResponse call +func ParseStatusRetrieveResponse(rsp *http.Response) (*StatusRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &StatusRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest map[string]interface{} + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactAssignmentsBulkDestroyResponse parses an HTTP response from a TenancyContactAssignmentsBulkDestroyWithResponse call +func ParseTenancyContactAssignmentsBulkDestroyResponse(rsp *http.Response) (*TenancyContactAssignmentsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactAssignmentsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyContactAssignmentsListResponse parses an HTTP response from a TenancyContactAssignmentsListWithResponse call +func ParseTenancyContactAssignmentsListResponse(rsp *http.Response) (*TenancyContactAssignmentsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactAssignmentsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedContactAssignmentList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactAssignmentsBulkPartialUpdateResponse parses an HTTP response from a TenancyContactAssignmentsBulkPartialUpdateWithResponse call +func ParseTenancyContactAssignmentsBulkPartialUpdateResponse(rsp *http.Response) (*TenancyContactAssignmentsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactAssignmentsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ContactAssignment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactAssignmentsCreateResponse parses an HTTP response from a TenancyContactAssignmentsCreateWithResponse call +func ParseTenancyContactAssignmentsCreateResponse(rsp *http.Response) (*TenancyContactAssignmentsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactAssignmentsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ContactAssignment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseTenancyContactAssignmentsBulkUpdateResponse parses an HTTP response from a TenancyContactAssignmentsBulkUpdateWithResponse call +func ParseTenancyContactAssignmentsBulkUpdateResponse(rsp *http.Response) (*TenancyContactAssignmentsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactAssignmentsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ContactAssignment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactAssignmentsDestroyResponse parses an HTTP response from a TenancyContactAssignmentsDestroyWithResponse call +func ParseTenancyContactAssignmentsDestroyResponse(rsp *http.Response) (*TenancyContactAssignmentsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactAssignmentsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyContactAssignmentsRetrieveResponse parses an HTTP response from a TenancyContactAssignmentsRetrieveWithResponse call +func ParseTenancyContactAssignmentsRetrieveResponse(rsp *http.Response) (*TenancyContactAssignmentsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactAssignmentsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ContactAssignment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactAssignmentsPartialUpdateResponse parses an HTTP response from a TenancyContactAssignmentsPartialUpdateWithResponse call +func ParseTenancyContactAssignmentsPartialUpdateResponse(rsp *http.Response) (*TenancyContactAssignmentsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactAssignmentsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ContactAssignment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactAssignmentsUpdateResponse parses an HTTP response from a TenancyContactAssignmentsUpdateWithResponse call +func ParseTenancyContactAssignmentsUpdateResponse(rsp *http.Response) (*TenancyContactAssignmentsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactAssignmentsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ContactAssignment + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactGroupsBulkDestroyResponse parses an HTTP response from a TenancyContactGroupsBulkDestroyWithResponse call +func ParseTenancyContactGroupsBulkDestroyResponse(rsp *http.Response) (*TenancyContactGroupsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactGroupsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyContactGroupsListResponse parses an HTTP response from a TenancyContactGroupsListWithResponse call +func ParseTenancyContactGroupsListResponse(rsp *http.Response) (*TenancyContactGroupsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedContactGroupList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactGroupsBulkPartialUpdateResponse parses an HTTP response from a TenancyContactGroupsBulkPartialUpdateWithResponse call +func ParseTenancyContactGroupsBulkPartialUpdateResponse(rsp *http.Response) (*TenancyContactGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ContactGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactGroupsCreateResponse parses an HTTP response from a TenancyContactGroupsCreateWithResponse call +func ParseTenancyContactGroupsCreateResponse(rsp *http.Response) (*TenancyContactGroupsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ContactGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseTenancyContactGroupsBulkUpdateResponse parses an HTTP response from a TenancyContactGroupsBulkUpdateWithResponse call +func ParseTenancyContactGroupsBulkUpdateResponse(rsp *http.Response) (*TenancyContactGroupsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ContactGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactGroupsDestroyResponse parses an HTTP response from a TenancyContactGroupsDestroyWithResponse call +func ParseTenancyContactGroupsDestroyResponse(rsp *http.Response) (*TenancyContactGroupsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactGroupsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyContactGroupsRetrieveResponse parses an HTTP response from a TenancyContactGroupsRetrieveWithResponse call +func ParseTenancyContactGroupsRetrieveResponse(rsp *http.Response) (*TenancyContactGroupsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ContactGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactGroupsPartialUpdateResponse parses an HTTP response from a TenancyContactGroupsPartialUpdateWithResponse call +func ParseTenancyContactGroupsPartialUpdateResponse(rsp *http.Response) (*TenancyContactGroupsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ContactGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactGroupsUpdateResponse parses an HTTP response from a TenancyContactGroupsUpdateWithResponse call +func ParseTenancyContactGroupsUpdateResponse(rsp *http.Response) (*TenancyContactGroupsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactGroupsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ContactGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactRolesBulkDestroyResponse parses an HTTP response from a TenancyContactRolesBulkDestroyWithResponse call +func ParseTenancyContactRolesBulkDestroyResponse(rsp *http.Response) (*TenancyContactRolesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactRolesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyContactRolesListResponse parses an HTTP response from a TenancyContactRolesListWithResponse call +func ParseTenancyContactRolesListResponse(rsp *http.Response) (*TenancyContactRolesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactRolesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedContactRoleList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactRolesBulkPartialUpdateResponse parses an HTTP response from a TenancyContactRolesBulkPartialUpdateWithResponse call +func ParseTenancyContactRolesBulkPartialUpdateResponse(rsp *http.Response) (*TenancyContactRolesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactRolesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ContactRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactRolesCreateResponse parses an HTTP response from a TenancyContactRolesCreateWithResponse call +func ParseTenancyContactRolesCreateResponse(rsp *http.Response) (*TenancyContactRolesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactRolesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ContactRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseTenancyContactRolesBulkUpdateResponse parses an HTTP response from a TenancyContactRolesBulkUpdateWithResponse call +func ParseTenancyContactRolesBulkUpdateResponse(rsp *http.Response) (*TenancyContactRolesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactRolesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ContactRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactRolesDestroyResponse parses an HTTP response from a TenancyContactRolesDestroyWithResponse call +func ParseTenancyContactRolesDestroyResponse(rsp *http.Response) (*TenancyContactRolesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactRolesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyContactRolesRetrieveResponse parses an HTTP response from a TenancyContactRolesRetrieveWithResponse call +func ParseTenancyContactRolesRetrieveResponse(rsp *http.Response) (*TenancyContactRolesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactRolesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ContactRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactRolesPartialUpdateResponse parses an HTTP response from a TenancyContactRolesPartialUpdateWithResponse call +func ParseTenancyContactRolesPartialUpdateResponse(rsp *http.Response) (*TenancyContactRolesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactRolesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ContactRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactRolesUpdateResponse parses an HTTP response from a TenancyContactRolesUpdateWithResponse call +func ParseTenancyContactRolesUpdateResponse(rsp *http.Response) (*TenancyContactRolesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactRolesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ContactRole + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactsBulkDestroyResponse parses an HTTP response from a TenancyContactsBulkDestroyWithResponse call +func ParseTenancyContactsBulkDestroyResponse(rsp *http.Response) (*TenancyContactsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyContactsListResponse parses an HTTP response from a TenancyContactsListWithResponse call +func ParseTenancyContactsListResponse(rsp *http.Response) (*TenancyContactsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedContactList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactsBulkPartialUpdateResponse parses an HTTP response from a TenancyContactsBulkPartialUpdateWithResponse call +func ParseTenancyContactsBulkPartialUpdateResponse(rsp *http.Response) (*TenancyContactsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Contact + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactsCreateResponse parses an HTTP response from a TenancyContactsCreateWithResponse call +func ParseTenancyContactsCreateResponse(rsp *http.Response) (*TenancyContactsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Contact + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseTenancyContactsBulkUpdateResponse parses an HTTP response from a TenancyContactsBulkUpdateWithResponse call +func ParseTenancyContactsBulkUpdateResponse(rsp *http.Response) (*TenancyContactsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Contact + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactsDestroyResponse parses an HTTP response from a TenancyContactsDestroyWithResponse call +func ParseTenancyContactsDestroyResponse(rsp *http.Response) (*TenancyContactsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyContactsRetrieveResponse parses an HTTP response from a TenancyContactsRetrieveWithResponse call +func ParseTenancyContactsRetrieveResponse(rsp *http.Response) (*TenancyContactsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Contact + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactsPartialUpdateResponse parses an HTTP response from a TenancyContactsPartialUpdateWithResponse call +func ParseTenancyContactsPartialUpdateResponse(rsp *http.Response) (*TenancyContactsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Contact + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyContactsUpdateResponse parses an HTTP response from a TenancyContactsUpdateWithResponse call +func ParseTenancyContactsUpdateResponse(rsp *http.Response) (*TenancyContactsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyContactsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Contact + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyTenantGroupsBulkDestroyResponse parses an HTTP response from a TenancyTenantGroupsBulkDestroyWithResponse call +func ParseTenancyTenantGroupsBulkDestroyResponse(rsp *http.Response) (*TenancyTenantGroupsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedTenantGroupList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyTenantGroupsBulkPartialUpdateResponse parses an HTTP response from a TenancyTenantGroupsBulkPartialUpdateWithResponse call +func ParseTenancyTenantGroupsBulkPartialUpdateResponse(rsp *http.Response) (*TenancyTenantGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []TenantGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyTenantGroupsCreateResponse parses an HTTP response from a TenancyTenantGroupsCreateWithResponse call +func ParseTenancyTenantGroupsCreateResponse(rsp *http.Response) (*TenancyTenantGroupsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest TenantGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseTenancyTenantGroupsBulkUpdateResponse parses an HTTP response from a TenancyTenantGroupsBulkUpdateWithResponse call +func ParseTenancyTenantGroupsBulkUpdateResponse(rsp *http.Response) (*TenancyTenantGroupsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []TenantGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyTenantGroupsDestroyResponse parses an HTTP response from a TenancyTenantGroupsDestroyWithResponse call +func ParseTenancyTenantGroupsDestroyResponse(rsp *http.Response) (*TenancyTenantGroupsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest TenantGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyTenantGroupsPartialUpdateResponse parses an HTTP response from a TenancyTenantGroupsPartialUpdateWithResponse call +func ParseTenancyTenantGroupsPartialUpdateResponse(rsp *http.Response) (*TenancyTenantGroupsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest TenantGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyTenantGroupsUpdateResponse parses an HTTP response from a TenancyTenantGroupsUpdateWithResponse call +func ParseTenancyTenantGroupsUpdateResponse(rsp *http.Response) (*TenancyTenantGroupsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest TenantGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyTenantsBulkDestroyResponse parses an HTTP response from a TenancyTenantsBulkDestroyWithResponse call +func ParseTenancyTenantsBulkDestroyResponse(rsp *http.Response) (*TenancyTenantsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedTenantList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyTenantsBulkPartialUpdateResponse parses an HTTP response from a TenancyTenantsBulkPartialUpdateWithResponse call +func ParseTenancyTenantsBulkPartialUpdateResponse(rsp *http.Response) (*TenancyTenantsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Tenant + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyTenantsCreateResponse parses an HTTP response from a TenancyTenantsCreateWithResponse call +func ParseTenancyTenantsCreateResponse(rsp *http.Response) (*TenancyTenantsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Tenant + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseTenancyTenantsBulkUpdateResponse parses an HTTP response from a TenancyTenantsBulkUpdateWithResponse call +func ParseTenancyTenantsBulkUpdateResponse(rsp *http.Response) (*TenancyTenantsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Tenant + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyTenantsDestroyResponse parses an HTTP response from a TenancyTenantsDestroyWithResponse call +func ParseTenancyTenantsDestroyResponse(rsp *http.Response) (*TenancyTenantsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Tenant + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyTenantsPartialUpdateResponse parses an HTTP response from a TenancyTenantsPartialUpdateWithResponse call +func ParseTenancyTenantsPartialUpdateResponse(rsp *http.Response) (*TenancyTenantsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Tenant + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseTenancyTenantsUpdateResponse parses an HTTP response from a TenancyTenantsUpdateWithResponse call +func ParseTenancyTenantsUpdateResponse(rsp *http.Response) (*TenancyTenantsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Tenant + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersConfigRetrieveResponse parses an HTTP response from a UsersConfigRetrieveWithResponse call +func ParseUsersConfigRetrieveResponse(rsp *http.Response) (*UsersConfigRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersConfigRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest map[string]interface{} + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersGroupsBulkDestroyResponse parses an HTTP response from a UsersGroupsBulkDestroyWithResponse call +func ParseUsersGroupsBulkDestroyResponse(rsp *http.Response) (*UsersGroupsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedGroupList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersGroupsBulkPartialUpdateResponse parses an HTTP response from a UsersGroupsBulkPartialUpdateWithResponse call +func ParseUsersGroupsBulkPartialUpdateResponse(rsp *http.Response) (*UsersGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Group + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersGroupsCreateResponse parses an HTTP response from a UsersGroupsCreateWithResponse call +func ParseUsersGroupsCreateResponse(rsp *http.Response) (*UsersGroupsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Group + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseUsersGroupsBulkUpdateResponse parses an HTTP response from a UsersGroupsBulkUpdateWithResponse call +func ParseUsersGroupsBulkUpdateResponse(rsp *http.Response) (*UsersGroupsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Group + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersGroupsDestroyResponse parses an HTTP response from a UsersGroupsDestroyWithResponse call +func ParseUsersGroupsDestroyResponse(rsp *http.Response) (*UsersGroupsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Group + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersGroupsPartialUpdateResponse parses an HTTP response from a UsersGroupsPartialUpdateWithResponse call +func ParseUsersGroupsPartialUpdateResponse(rsp *http.Response) (*UsersGroupsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Group + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersGroupsUpdateResponse parses an HTTP response from a UsersGroupsUpdateWithResponse call +func ParseUsersGroupsUpdateResponse(rsp *http.Response) (*UsersGroupsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Group + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersPermissionsBulkDestroyResponse parses an HTTP response from a UsersPermissionsBulkDestroyWithResponse call +func ParseUsersPermissionsBulkDestroyResponse(rsp *http.Response) (*UsersPermissionsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedObjectPermissionList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersPermissionsBulkPartialUpdateResponse parses an HTTP response from a UsersPermissionsBulkPartialUpdateWithResponse call +func ParseUsersPermissionsBulkPartialUpdateResponse(rsp *http.Response) (*UsersPermissionsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ObjectPermission + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersPermissionsCreateResponse parses an HTTP response from a UsersPermissionsCreateWithResponse call +func ParseUsersPermissionsCreateResponse(rsp *http.Response) (*UsersPermissionsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ObjectPermission + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseUsersPermissionsBulkUpdateResponse parses an HTTP response from a UsersPermissionsBulkUpdateWithResponse call +func ParseUsersPermissionsBulkUpdateResponse(rsp *http.Response) (*UsersPermissionsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ObjectPermission + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersPermissionsDestroyResponse parses an HTTP response from a UsersPermissionsDestroyWithResponse call +func ParseUsersPermissionsDestroyResponse(rsp *http.Response) (*UsersPermissionsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ObjectPermission + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersPermissionsPartialUpdateResponse parses an HTTP response from a UsersPermissionsPartialUpdateWithResponse call +func ParseUsersPermissionsPartialUpdateResponse(rsp *http.Response) (*UsersPermissionsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ObjectPermission + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersPermissionsUpdateResponse parses an HTTP response from a UsersPermissionsUpdateWithResponse call +func ParseUsersPermissionsUpdateResponse(rsp *http.Response) (*UsersPermissionsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ObjectPermission + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersTokensBulkDestroyResponse parses an HTTP response from a UsersTokensBulkDestroyWithResponse call +func ParseUsersTokensBulkDestroyResponse(rsp *http.Response) (*UsersTokensBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedTokenList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersTokensBulkPartialUpdateResponse parses an HTTP response from a UsersTokensBulkPartialUpdateWithResponse call +func ParseUsersTokensBulkPartialUpdateResponse(rsp *http.Response) (*UsersTokensBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Token + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersTokensCreateResponse parses an HTTP response from a UsersTokensCreateWithResponse call +func ParseUsersTokensCreateResponse(rsp *http.Response) (*UsersTokensCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Token + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseUsersTokensBulkUpdateResponse parses an HTTP response from a UsersTokensBulkUpdateWithResponse call +func ParseUsersTokensBulkUpdateResponse(rsp *http.Response) (*UsersTokensBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Token + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersTokensProvisionCreateResponse parses an HTTP response from a UsersTokensProvisionCreateWithResponse call +func ParseUsersTokensProvisionCreateResponse(rsp *http.Response) (*UsersTokensProvisionCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensProvisionCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest TokenProvision + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: + var dest map[string]interface{} + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON401 = &dest + + } + + return response, nil +} + +// ParseUsersTokensDestroyResponse parses an HTTP response from a UsersTokensDestroyWithResponse call +func ParseUsersTokensDestroyResponse(rsp *http.Response) (*UsersTokensDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Token + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersTokensPartialUpdateResponse parses an HTTP response from a UsersTokensPartialUpdateWithResponse call +func ParseUsersTokensPartialUpdateResponse(rsp *http.Response) (*UsersTokensPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Token + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersTokensUpdateResponse parses an HTTP response from a UsersTokensUpdateWithResponse call +func ParseUsersTokensUpdateResponse(rsp *http.Response) (*UsersTokensUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Token + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersUsersBulkDestroyResponse parses an HTTP response from a UsersUsersBulkDestroyWithResponse call +func ParseUsersUsersBulkDestroyResponse(rsp *http.Response) (*UsersUsersBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedUserList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersUsersBulkPartialUpdateResponse parses an HTTP response from a UsersUsersBulkPartialUpdateWithResponse call +func ParseUsersUsersBulkPartialUpdateResponse(rsp *http.Response) (*UsersUsersBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []User + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersUsersCreateResponse parses an HTTP response from a UsersUsersCreateWithResponse call +func ParseUsersUsersCreateResponse(rsp *http.Response) (*UsersUsersCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest User + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseUsersUsersBulkUpdateResponse parses an HTTP response from a UsersUsersBulkUpdateWithResponse call +func ParseUsersUsersBulkUpdateResponse(rsp *http.Response) (*UsersUsersBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []User + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersUsersDestroyResponse parses an HTTP response from a UsersUsersDestroyWithResponse call +func ParseUsersUsersDestroyResponse(rsp *http.Response) (*UsersUsersDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest User + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersUsersPartialUpdateResponse parses an HTTP response from a UsersUsersPartialUpdateWithResponse call +func ParseUsersUsersPartialUpdateResponse(rsp *http.Response) (*UsersUsersPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest User + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseUsersUsersUpdateResponse parses an HTTP response from a UsersUsersUpdateWithResponse call +func ParseUsersUsersUpdateResponse(rsp *http.Response) (*UsersUsersUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest User + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsBulkDestroyResponse parses an HTTP response from a VirtualizationClusterGroupsBulkDestroyWithResponse call +func ParseVirtualizationClusterGroupsBulkDestroyResponse(rsp *http.Response) (*VirtualizationClusterGroupsBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedClusterGroupList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsBulkPartialUpdateResponse parses an HTTP response from a VirtualizationClusterGroupsBulkPartialUpdateWithResponse call +func ParseVirtualizationClusterGroupsBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationClusterGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ClusterGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsCreateResponse parses an HTTP response from a VirtualizationClusterGroupsCreateWithResponse call +func ParseVirtualizationClusterGroupsCreateResponse(rsp *http.Response) (*VirtualizationClusterGroupsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ClusterGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsBulkUpdateResponse parses an HTTP response from a VirtualizationClusterGroupsBulkUpdateWithResponse call +func ParseVirtualizationClusterGroupsBulkUpdateResponse(rsp *http.Response) (*VirtualizationClusterGroupsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ClusterGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsDestroyResponse parses an HTTP response from a VirtualizationClusterGroupsDestroyWithResponse call +func ParseVirtualizationClusterGroupsDestroyResponse(rsp *http.Response) (*VirtualizationClusterGroupsDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ClusterGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsPartialUpdateResponse parses an HTTP response from a VirtualizationClusterGroupsPartialUpdateWithResponse call +func ParseVirtualizationClusterGroupsPartialUpdateResponse(rsp *http.Response) (*VirtualizationClusterGroupsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ClusterGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsUpdateResponse parses an HTTP response from a VirtualizationClusterGroupsUpdateWithResponse call +func ParseVirtualizationClusterGroupsUpdateResponse(rsp *http.Response) (*VirtualizationClusterGroupsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ClusterGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClusterTypesBulkDestroyResponse parses an HTTP response from a VirtualizationClusterTypesBulkDestroyWithResponse call +func ParseVirtualizationClusterTypesBulkDestroyResponse(rsp *http.Response) (*VirtualizationClusterTypesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedClusterTypeList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClusterTypesBulkPartialUpdateResponse parses an HTTP response from a VirtualizationClusterTypesBulkPartialUpdateWithResponse call +func ParseVirtualizationClusterTypesBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationClusterTypesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ClusterType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClusterTypesCreateResponse parses an HTTP response from a VirtualizationClusterTypesCreateWithResponse call +func ParseVirtualizationClusterTypesCreateResponse(rsp *http.Response) (*VirtualizationClusterTypesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest ClusterType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClusterTypesBulkUpdateResponse parses an HTTP response from a VirtualizationClusterTypesBulkUpdateWithResponse call +func ParseVirtualizationClusterTypesBulkUpdateResponse(rsp *http.Response) (*VirtualizationClusterTypesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []ClusterType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClusterTypesDestroyResponse parses an HTTP response from a VirtualizationClusterTypesDestroyWithResponse call +func ParseVirtualizationClusterTypesDestroyResponse(rsp *http.Response) (*VirtualizationClusterTypesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ClusterType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClusterTypesPartialUpdateResponse parses an HTTP response from a VirtualizationClusterTypesPartialUpdateWithResponse call +func ParseVirtualizationClusterTypesPartialUpdateResponse(rsp *http.Response) (*VirtualizationClusterTypesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ClusterType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClusterTypesUpdateResponse parses an HTTP response from a VirtualizationClusterTypesUpdateWithResponse call +func ParseVirtualizationClusterTypesUpdateResponse(rsp *http.Response) (*VirtualizationClusterTypesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest ClusterType + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClustersBulkDestroyResponse parses an HTTP response from a VirtualizationClustersBulkDestroyWithResponse call +func ParseVirtualizationClustersBulkDestroyResponse(rsp *http.Response) (*VirtualizationClustersBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedClusterList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClustersBulkPartialUpdateResponse parses an HTTP response from a VirtualizationClustersBulkPartialUpdateWithResponse call +func ParseVirtualizationClustersBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationClustersBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Cluster + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClustersCreateResponse parses an HTTP response from a VirtualizationClustersCreateWithResponse call +func ParseVirtualizationClustersCreateResponse(rsp *http.Response) (*VirtualizationClustersCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest Cluster + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClustersBulkUpdateResponse parses an HTTP response from a VirtualizationClustersBulkUpdateWithResponse call +func ParseVirtualizationClustersBulkUpdateResponse(rsp *http.Response) (*VirtualizationClustersBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []Cluster + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClustersDestroyResponse parses an HTTP response from a VirtualizationClustersDestroyWithResponse call +func ParseVirtualizationClustersDestroyResponse(rsp *http.Response) (*VirtualizationClustersDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Cluster + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClustersPartialUpdateResponse parses an HTTP response from a VirtualizationClustersPartialUpdateWithResponse call +func ParseVirtualizationClustersPartialUpdateResponse(rsp *http.Response) (*VirtualizationClustersPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Cluster + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationClustersUpdateResponse parses an HTTP response from a VirtualizationClustersUpdateWithResponse call +func ParseVirtualizationClustersUpdateResponse(rsp *http.Response) (*VirtualizationClustersUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest Cluster + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationInterfacesBulkDestroyResponse parses an HTTP response from a VirtualizationInterfacesBulkDestroyWithResponse call +func ParseVirtualizationInterfacesBulkDestroyResponse(rsp *http.Response) (*VirtualizationInterfacesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedVMInterfaceList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationInterfacesBulkPartialUpdateResponse parses an HTTP response from a VirtualizationInterfacesBulkPartialUpdateWithResponse call +func ParseVirtualizationInterfacesBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationInterfacesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []VMInterface + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationInterfacesCreateResponse parses an HTTP response from a VirtualizationInterfacesCreateWithResponse call +func ParseVirtualizationInterfacesCreateResponse(rsp *http.Response) (*VirtualizationInterfacesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest VMInterface + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseVirtualizationInterfacesBulkUpdateResponse parses an HTTP response from a VirtualizationInterfacesBulkUpdateWithResponse call +func ParseVirtualizationInterfacesBulkUpdateResponse(rsp *http.Response) (*VirtualizationInterfacesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []VMInterface + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationInterfacesDestroyResponse parses an HTTP response from a VirtualizationInterfacesDestroyWithResponse call +func ParseVirtualizationInterfacesDestroyResponse(rsp *http.Response) (*VirtualizationInterfacesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VMInterface + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationInterfacesPartialUpdateResponse parses an HTTP response from a VirtualizationInterfacesPartialUpdateWithResponse call +func ParseVirtualizationInterfacesPartialUpdateResponse(rsp *http.Response) (*VirtualizationInterfacesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VMInterface + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationInterfacesUpdateResponse parses an HTTP response from a VirtualizationInterfacesUpdateWithResponse call +func ParseVirtualizationInterfacesUpdateResponse(rsp *http.Response) (*VirtualizationInterfacesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VMInterface + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesBulkDestroyResponse parses an HTTP response from a VirtualizationVirtualMachinesBulkDestroyWithResponse call +func ParseVirtualizationVirtualMachinesBulkDestroyResponse(rsp *http.Response) (*VirtualizationVirtualMachinesBulkDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedVirtualMachineWithConfigContextList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesBulkPartialUpdateResponse parses an HTTP response from a VirtualizationVirtualMachinesBulkPartialUpdateWithResponse call +func ParseVirtualizationVirtualMachinesBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []VirtualMachineWithConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesCreateResponse parses an HTTP response from a VirtualizationVirtualMachinesCreateWithResponse call +func ParseVirtualizationVirtualMachinesCreateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest VirtualMachineWithConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesBulkUpdateResponse parses an HTTP response from a VirtualizationVirtualMachinesBulkUpdateWithResponse call +func ParseVirtualizationVirtualMachinesBulkUpdateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []VirtualMachineWithConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesDestroyResponse parses an HTTP response from a VirtualizationVirtualMachinesDestroyWithResponse call +func ParseVirtualizationVirtualMachinesDestroyResponse(rsp *http.Response) (*VirtualizationVirtualMachinesDestroyResponse, error) { + bodyBytes, err := io.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 := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VirtualMachineWithConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesPartialUpdateResponse parses an HTTP response from a VirtualizationVirtualMachinesPartialUpdateWithResponse call +func ParseVirtualizationVirtualMachinesPartialUpdateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VirtualMachineWithConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesUpdateResponse parses an HTTP response from a VirtualizationVirtualMachinesUpdateWithResponse call +func ParseVirtualizationVirtualMachinesUpdateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest VirtualMachineWithConfigContext + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLanGroupsBulkDestroyResponse parses an HTTP response from a WirelessWirelessLanGroupsBulkDestroyWithResponse call +func ParseWirelessWirelessLanGroupsBulkDestroyResponse(rsp *http.Response) (*WirelessWirelessLanGroupsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLanGroupsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseWirelessWirelessLanGroupsListResponse parses an HTTP response from a WirelessWirelessLanGroupsListWithResponse call +func ParseWirelessWirelessLanGroupsListResponse(rsp *http.Response) (*WirelessWirelessLanGroupsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLanGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedWirelessLANGroupList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLanGroupsBulkPartialUpdateResponse parses an HTTP response from a WirelessWirelessLanGroupsBulkPartialUpdateWithResponse call +func ParseWirelessWirelessLanGroupsBulkPartialUpdateResponse(rsp *http.Response) (*WirelessWirelessLanGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLanGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []WirelessLANGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLanGroupsCreateResponse parses an HTTP response from a WirelessWirelessLanGroupsCreateWithResponse call +func ParseWirelessWirelessLanGroupsCreateResponse(rsp *http.Response) (*WirelessWirelessLanGroupsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLanGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest WirelessLANGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLanGroupsBulkUpdateResponse parses an HTTP response from a WirelessWirelessLanGroupsBulkUpdateWithResponse call +func ParseWirelessWirelessLanGroupsBulkUpdateResponse(rsp *http.Response) (*WirelessWirelessLanGroupsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLanGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []WirelessLANGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLanGroupsDestroyResponse parses an HTTP response from a WirelessWirelessLanGroupsDestroyWithResponse call +func ParseWirelessWirelessLanGroupsDestroyResponse(rsp *http.Response) (*WirelessWirelessLanGroupsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLanGroupsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseWirelessWirelessLanGroupsRetrieveResponse parses an HTTP response from a WirelessWirelessLanGroupsRetrieveWithResponse call +func ParseWirelessWirelessLanGroupsRetrieveResponse(rsp *http.Response) (*WirelessWirelessLanGroupsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLanGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest WirelessLANGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLanGroupsPartialUpdateResponse parses an HTTP response from a WirelessWirelessLanGroupsPartialUpdateWithResponse call +func ParseWirelessWirelessLanGroupsPartialUpdateResponse(rsp *http.Response) (*WirelessWirelessLanGroupsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLanGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest WirelessLANGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLanGroupsUpdateResponse parses an HTTP response from a WirelessWirelessLanGroupsUpdateWithResponse call +func ParseWirelessWirelessLanGroupsUpdateResponse(rsp *http.Response) (*WirelessWirelessLanGroupsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLanGroupsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest WirelessLANGroup + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLansBulkDestroyResponse parses an HTTP response from a WirelessWirelessLansBulkDestroyWithResponse call +func ParseWirelessWirelessLansBulkDestroyResponse(rsp *http.Response) (*WirelessWirelessLansBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLansBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseWirelessWirelessLansListResponse parses an HTTP response from a WirelessWirelessLansListWithResponse call +func ParseWirelessWirelessLansListResponse(rsp *http.Response) (*WirelessWirelessLansListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLansListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedWirelessLANList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLansBulkPartialUpdateResponse parses an HTTP response from a WirelessWirelessLansBulkPartialUpdateWithResponse call +func ParseWirelessWirelessLansBulkPartialUpdateResponse(rsp *http.Response) (*WirelessWirelessLansBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLansBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []WirelessLAN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLansCreateResponse parses an HTTP response from a WirelessWirelessLansCreateWithResponse call +func ParseWirelessWirelessLansCreateResponse(rsp *http.Response) (*WirelessWirelessLansCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLansCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest WirelessLAN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLansBulkUpdateResponse parses an HTTP response from a WirelessWirelessLansBulkUpdateWithResponse call +func ParseWirelessWirelessLansBulkUpdateResponse(rsp *http.Response) (*WirelessWirelessLansBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLansBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []WirelessLAN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLansDestroyResponse parses an HTTP response from a WirelessWirelessLansDestroyWithResponse call +func ParseWirelessWirelessLansDestroyResponse(rsp *http.Response) (*WirelessWirelessLansDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLansDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseWirelessWirelessLansRetrieveResponse parses an HTTP response from a WirelessWirelessLansRetrieveWithResponse call +func ParseWirelessWirelessLansRetrieveResponse(rsp *http.Response) (*WirelessWirelessLansRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLansRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest WirelessLAN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLansPartialUpdateResponse parses an HTTP response from a WirelessWirelessLansPartialUpdateWithResponse call +func ParseWirelessWirelessLansPartialUpdateResponse(rsp *http.Response) (*WirelessWirelessLansPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLansPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest WirelessLAN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLansUpdateResponse parses an HTTP response from a WirelessWirelessLansUpdateWithResponse call +func ParseWirelessWirelessLansUpdateResponse(rsp *http.Response) (*WirelessWirelessLansUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLansUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest WirelessLAN + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLinksBulkDestroyResponse parses an HTTP response from a WirelessWirelessLinksBulkDestroyWithResponse call +func ParseWirelessWirelessLinksBulkDestroyResponse(rsp *http.Response) (*WirelessWirelessLinksBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLinksBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseWirelessWirelessLinksListResponse parses an HTTP response from a WirelessWirelessLinksListWithResponse call +func ParseWirelessWirelessLinksListResponse(rsp *http.Response) (*WirelessWirelessLinksListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLinksListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest PaginatedWirelessLinkList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLinksBulkPartialUpdateResponse parses an HTTP response from a WirelessWirelessLinksBulkPartialUpdateWithResponse call +func ParseWirelessWirelessLinksBulkPartialUpdateResponse(rsp *http.Response) (*WirelessWirelessLinksBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLinksBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []WirelessLink + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLinksCreateResponse parses an HTTP response from a WirelessWirelessLinksCreateWithResponse call +func ParseWirelessWirelessLinksCreateResponse(rsp *http.Response) (*WirelessWirelessLinksCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLinksCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 201: + var dest WirelessLink + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON201 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLinksBulkUpdateResponse parses an HTTP response from a WirelessWirelessLinksBulkUpdateWithResponse call +func ParseWirelessWirelessLinksBulkUpdateResponse(rsp *http.Response) (*WirelessWirelessLinksBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLinksBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest []WirelessLink + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLinksDestroyResponse parses an HTTP response from a WirelessWirelessLinksDestroyWithResponse call +func ParseWirelessWirelessLinksDestroyResponse(rsp *http.Response) (*WirelessWirelessLinksDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLinksDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseWirelessWirelessLinksRetrieveResponse parses an HTTP response from a WirelessWirelessLinksRetrieveWithResponse call +func ParseWirelessWirelessLinksRetrieveResponse(rsp *http.Response) (*WirelessWirelessLinksRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLinksRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest WirelessLink + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLinksPartialUpdateResponse parses an HTTP response from a WirelessWirelessLinksPartialUpdateWithResponse call +func ParseWirelessWirelessLinksPartialUpdateResponse(rsp *http.Response) (*WirelessWirelessLinksPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLinksPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest WirelessLink + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} + +// ParseWirelessWirelessLinksUpdateResponse parses an HTTP response from a WirelessWirelessLinksUpdateWithResponse call +func ParseWirelessWirelessLinksUpdateResponse(rsp *http.Response) (*WirelessWirelessLinksUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &WirelessWirelessLinksUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest WirelessLink + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + } + + return response, nil +} diff --git a/types.go b/types.go new file mode 100644 index 0000000000..e6966a8826 --- /dev/null +++ b/types.go @@ -0,0 +1,47987 @@ +// Package netbox provides primitives to interact with the openapi HTTP API. +// +// Code generated by github.com/deepmap/oapi-codegen version v1.15.0 DO NOT EDIT. +package netbox + +import ( + "time" + + openapi_types "github.com/oapi-codegen/runtime/types" +) + +const ( + CookieAuthScopes = "cookieAuth.Scopes" + TokenAuthScopes = "tokenAuth.Scopes" +) + +// 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 CableLengthUnitLabel. +const ( + CableLengthUnitLabelCentimeters CableLengthUnitLabel = "Centimeters" + CableLengthUnitLabelFeet CableLengthUnitLabel = "Feet" + CableLengthUnitLabelInches CableLengthUnitLabel = "Inches" + CableLengthUnitLabelKilometers CableLengthUnitLabel = "Kilometers" + CableLengthUnitLabelMeters CableLengthUnitLabel = "Meters" + CableLengthUnitLabelMiles CableLengthUnitLabel = "Miles" +) + +// Defines values for CableLengthUnitValue. +const ( + CableLengthUnitValueCm CableLengthUnitValue = "cm" + CableLengthUnitValueEmpty CableLengthUnitValue = "" + CableLengthUnitValueFt CableLengthUnitValue = "ft" + CableLengthUnitValueIn CableLengthUnitValue = "in" + CableLengthUnitValueKm CableLengthUnitValue = "km" + CableLengthUnitValueM CableLengthUnitValue = "m" + CableLengthUnitValueMi CableLengthUnitValue = "mi" +) + +// 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 CableType. +const ( + CableTypeAoc CableType = "aoc" + CableTypeCat3 CableType = "cat3" + CableTypeCat5 CableType = "cat5" + CableTypeCat5e CableType = "cat5e" + CableTypeCat6 CableType = "cat6" + CableTypeCat6a CableType = "cat6a" + CableTypeCat7 CableType = "cat7" + CableTypeCat7a CableType = "cat7a" + CableTypeCat8 CableType = "cat8" + CableTypeCoaxial CableType = "coaxial" + CableTypeDacActive CableType = "dac-active" + CableTypeDacPassive CableType = "dac-passive" + CableTypeEmpty CableType = "" + CableTypeMmf CableType = "mmf" + CableTypeMmfOm1 CableType = "mmf-om1" + CableTypeMmfOm2 CableType = "mmf-om2" + CableTypeMmfOm3 CableType = "mmf-om3" + CableTypeMmfOm4 CableType = "mmf-om4" + CableTypeMmfOm5 CableType = "mmf-om5" + CableTypeMrj21Trunk CableType = "mrj21-trunk" + CableTypePower CableType = "power" + CableTypeSmf CableType = "smf" + CableTypeSmfOs1 CableType = "smf-os1" + CableTypeSmfOs2 CableType = "smf-os2" +) + +// Defines values for CableRequestLengthUnit. +const ( + CableRequestLengthUnitCm CableRequestLengthUnit = "cm" + CableRequestLengthUnitEmpty CableRequestLengthUnit = "" + CableRequestLengthUnitFt CableRequestLengthUnit = "ft" + CableRequestLengthUnitIn CableRequestLengthUnit = "in" + CableRequestLengthUnitKm CableRequestLengthUnit = "km" + CableRequestLengthUnitM CableRequestLengthUnit = "m" + CableRequestLengthUnitMi CableRequestLengthUnit = "mi" +) + +// Defines values for CableRequestStatus. +const ( + CableRequestStatusConnected CableRequestStatus = "connected" + CableRequestStatusDecommissioning CableRequestStatus = "decommissioning" + CableRequestStatusPlanned CableRequestStatus = "planned" +) + +// Defines values for CableRequestType. +const ( + CableRequestTypeAoc CableRequestType = "aoc" + CableRequestTypeCat3 CableRequestType = "cat3" + CableRequestTypeCat5 CableRequestType = "cat5" + CableRequestTypeCat5e CableRequestType = "cat5e" + CableRequestTypeCat6 CableRequestType = "cat6" + CableRequestTypeCat6a CableRequestType = "cat6a" + CableRequestTypeCat7 CableRequestType = "cat7" + CableRequestTypeCat7a CableRequestType = "cat7a" + CableRequestTypeCat8 CableRequestType = "cat8" + CableRequestTypeCoaxial CableRequestType = "coaxial" + CableRequestTypeDacActive CableRequestType = "dac-active" + CableRequestTypeDacPassive CableRequestType = "dac-passive" + CableRequestTypeEmpty CableRequestType = "" + CableRequestTypeMmf CableRequestType = "mmf" + CableRequestTypeMmfOm1 CableRequestType = "mmf-om1" + CableRequestTypeMmfOm2 CableRequestType = "mmf-om2" + CableRequestTypeMmfOm3 CableRequestType = "mmf-om3" + CableRequestTypeMmfOm4 CableRequestType = "mmf-om4" + CableRequestTypeMmfOm5 CableRequestType = "mmf-om5" + CableRequestTypeMrj21Trunk CableRequestType = "mrj21-trunk" + CableRequestTypePower CableRequestType = "power" + CableRequestTypeSmf CableRequestType = "smf" + CableRequestTypeSmfOs1 CableRequestType = "smf-os1" + CableRequestTypeSmfOs2 CableRequestType = "smf-os2" +) + +// Defines values for CableTerminationCableEnd. +const ( + CableTerminationCableEndA CableTerminationCableEnd = "A" + CableTerminationCableEndB CableTerminationCableEnd = "B" +) + +// Defines values for CableTerminationRequestCableEnd. +const ( + CableTerminationRequestCableEndA CableTerminationRequestCableEnd = "A" + CableTerminationRequestCableEndB CableTerminationRequestCableEnd = "B" +) + +// 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 CircuitRequestStatus. +const ( + CircuitRequestStatusActive CircuitRequestStatus = "active" + CircuitRequestStatusDecommissioned CircuitRequestStatus = "decommissioned" + CircuitRequestStatusDeprovisioning CircuitRequestStatus = "deprovisioning" + CircuitRequestStatusOffline CircuitRequestStatus = "offline" + CircuitRequestStatusPlanned CircuitRequestStatus = "planned" + CircuitRequestStatusProvisioning CircuitRequestStatus = "provisioning" +) + +// Defines values for CircuitTerminationTermSide. +const ( + CircuitTerminationTermSideA CircuitTerminationTermSide = "A" + CircuitTerminationTermSideZ CircuitTerminationTermSide = "Z" +) + +// Defines values for CircuitTerminationRequestTermSide. +const ( + CircuitTerminationRequestTermSideA CircuitTerminationRequestTermSide = "A" + CircuitTerminationRequestTermSideZ CircuitTerminationRequestTermSide = "Z" +) + +// Defines values for ClusterStatusLabel. +const ( + ClusterStatusLabelActive ClusterStatusLabel = "Active" + ClusterStatusLabelDecommissioning ClusterStatusLabel = "Decommissioning" + ClusterStatusLabelOffline ClusterStatusLabel = "Offline" + ClusterStatusLabelPlanned ClusterStatusLabel = "Planned" + ClusterStatusLabelStaging ClusterStatusLabel = "Staging" +) + +// Defines values for ClusterStatusValue. +const ( + ClusterStatusValueActive ClusterStatusValue = "active" + ClusterStatusValueDecommissioning ClusterStatusValue = "decommissioning" + ClusterStatusValueOffline ClusterStatusValue = "offline" + ClusterStatusValuePlanned ClusterStatusValue = "planned" + ClusterStatusValueStaging ClusterStatusValue = "staging" +) + +// Defines values for ClusterRequestStatus. +const ( + ClusterRequestStatusActive ClusterRequestStatus = "active" + ClusterRequestStatusDecommissioning ClusterRequestStatus = "decommissioning" + ClusterRequestStatusOffline ClusterRequestStatus = "offline" + ClusterRequestStatusPlanned ClusterRequestStatus = "planned" + ClusterRequestStatusStaging ClusterRequestStatus = "staging" +) + +// Defines values for ConsolePortSpeedLabel. +const ( + ConsolePortSpeedLabelN1152Kbps ConsolePortSpeedLabel = "115.2 kbps" + ConsolePortSpeedLabelN1200Bps ConsolePortSpeedLabel = "1200 bps" + ConsolePortSpeedLabelN192Kbps ConsolePortSpeedLabel = "19.2 kbps" + ConsolePortSpeedLabelN2400Bps ConsolePortSpeedLabel = "2400 bps" + ConsolePortSpeedLabelN384Kbps ConsolePortSpeedLabel = "38.4 kbps" + ConsolePortSpeedLabelN4800Bps ConsolePortSpeedLabel = "4800 bps" + ConsolePortSpeedLabelN576Kbps ConsolePortSpeedLabel = "57.6 kbps" + ConsolePortSpeedLabelN9600Bps ConsolePortSpeedLabel = "9600 bps" +) + +// Defines values for ConsolePortSpeedValue. +const ( + ConsolePortSpeedValueN115200 ConsolePortSpeedValue = 115200 + ConsolePortSpeedValueN1200 ConsolePortSpeedValue = 1200 + ConsolePortSpeedValueN19200 ConsolePortSpeedValue = 19200 + ConsolePortSpeedValueN2400 ConsolePortSpeedValue = 2400 + ConsolePortSpeedValueN38400 ConsolePortSpeedValue = 38400 + ConsolePortSpeedValueN4800 ConsolePortSpeedValue = 4800 + ConsolePortSpeedValueN57600 ConsolePortSpeedValue = 57600 + ConsolePortSpeedValueN9600 ConsolePortSpeedValue = 9600 +) + +// Defines values for ConsolePortTypeLabel. +const ( + ConsolePortTypeLabelDB25 ConsolePortTypeLabel = "DB-25" + ConsolePortTypeLabelDE9 ConsolePortTypeLabel = "DE-9" + ConsolePortTypeLabelMiniDIN8 ConsolePortTypeLabel = "Mini-DIN 8" + ConsolePortTypeLabelOther ConsolePortTypeLabel = "Other" + ConsolePortTypeLabelRJ11 ConsolePortTypeLabel = "RJ-11" + ConsolePortTypeLabelRJ12 ConsolePortTypeLabel = "RJ-12" + ConsolePortTypeLabelRJ45 ConsolePortTypeLabel = "RJ-45" + ConsolePortTypeLabelUSBMicroA ConsolePortTypeLabel = "USB Micro A" + ConsolePortTypeLabelUSBMicroAB ConsolePortTypeLabel = "USB Micro AB" + 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" + ConsolePortTypeValueEmpty ConsolePortTypeValue = "" + ConsolePortTypeValueMiniDin8 ConsolePortTypeValue = "mini-din-8" + 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" + ConsolePortTypeValueUsbMicroAb ConsolePortTypeValue = "usb-micro-ab" + ConsolePortTypeValueUsbMicroB ConsolePortTypeValue = "usb-micro-b" + ConsolePortTypeValueUsbMiniA ConsolePortTypeValue = "usb-mini-a" + ConsolePortTypeValueUsbMiniB ConsolePortTypeValue = "usb-mini-b" +) + +// Defines values for ConsolePortRequestSpeed. +const ( + ConsolePortRequestSpeedN115200 ConsolePortRequestSpeed = 115200 + ConsolePortRequestSpeedN1200 ConsolePortRequestSpeed = 1200 + ConsolePortRequestSpeedN19200 ConsolePortRequestSpeed = 19200 + ConsolePortRequestSpeedN2400 ConsolePortRequestSpeed = 2400 + ConsolePortRequestSpeedN38400 ConsolePortRequestSpeed = 38400 + ConsolePortRequestSpeedN4800 ConsolePortRequestSpeed = 4800 + ConsolePortRequestSpeedN57600 ConsolePortRequestSpeed = 57600 + ConsolePortRequestSpeedN9600 ConsolePortRequestSpeed = 9600 +) + +// Defines values for ConsolePortRequestType. +const ( + ConsolePortRequestTypeDb25 ConsolePortRequestType = "db-25" + ConsolePortRequestTypeDe9 ConsolePortRequestType = "de-9" + ConsolePortRequestTypeEmpty ConsolePortRequestType = "" + ConsolePortRequestTypeMiniDin8 ConsolePortRequestType = "mini-din-8" + ConsolePortRequestTypeOther ConsolePortRequestType = "other" + ConsolePortRequestTypeRj11 ConsolePortRequestType = "rj-11" + ConsolePortRequestTypeRj12 ConsolePortRequestType = "rj-12" + ConsolePortRequestTypeRj45 ConsolePortRequestType = "rj-45" + ConsolePortRequestTypeUsbA ConsolePortRequestType = "usb-a" + ConsolePortRequestTypeUsbB ConsolePortRequestType = "usb-b" + ConsolePortRequestTypeUsbC ConsolePortRequestType = "usb-c" + ConsolePortRequestTypeUsbMicroA ConsolePortRequestType = "usb-micro-a" + ConsolePortRequestTypeUsbMicroAb ConsolePortRequestType = "usb-micro-ab" + ConsolePortRequestTypeUsbMicroB ConsolePortRequestType = "usb-micro-b" + ConsolePortRequestTypeUsbMiniA ConsolePortRequestType = "usb-mini-a" + ConsolePortRequestTypeUsbMiniB ConsolePortRequestType = "usb-mini-b" +) + +// Defines values for ConsolePortTemplateTypeLabel. +const ( + ConsolePortTemplateTypeLabelDB25 ConsolePortTemplateTypeLabel = "DB-25" + ConsolePortTemplateTypeLabelDE9 ConsolePortTemplateTypeLabel = "DE-9" + ConsolePortTemplateTypeLabelMiniDIN8 ConsolePortTemplateTypeLabel = "Mini-DIN 8" + ConsolePortTemplateTypeLabelOther ConsolePortTemplateTypeLabel = "Other" + ConsolePortTemplateTypeLabelRJ11 ConsolePortTemplateTypeLabel = "RJ-11" + ConsolePortTemplateTypeLabelRJ12 ConsolePortTemplateTypeLabel = "RJ-12" + ConsolePortTemplateTypeLabelRJ45 ConsolePortTemplateTypeLabel = "RJ-45" + ConsolePortTemplateTypeLabelUSBMicroA ConsolePortTemplateTypeLabel = "USB Micro A" + ConsolePortTemplateTypeLabelUSBMicroAB ConsolePortTemplateTypeLabel = "USB Micro AB" + 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" + ConsolePortTemplateTypeValueEmpty ConsolePortTemplateTypeValue = "" + ConsolePortTemplateTypeValueMiniDin8 ConsolePortTemplateTypeValue = "mini-din-8" + 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" + ConsolePortTemplateTypeValueUsbMicroAb ConsolePortTemplateTypeValue = "usb-micro-ab" + ConsolePortTemplateTypeValueUsbMicroB ConsolePortTemplateTypeValue = "usb-micro-b" + ConsolePortTemplateTypeValueUsbMiniA ConsolePortTemplateTypeValue = "usb-mini-a" + ConsolePortTemplateTypeValueUsbMiniB ConsolePortTemplateTypeValue = "usb-mini-b" +) + +// Defines values for ConsolePortTemplateRequestType. +const ( + ConsolePortTemplateRequestTypeDb25 ConsolePortTemplateRequestType = "db-25" + ConsolePortTemplateRequestTypeDe9 ConsolePortTemplateRequestType = "de-9" + ConsolePortTemplateRequestTypeEmpty ConsolePortTemplateRequestType = "" + ConsolePortTemplateRequestTypeMiniDin8 ConsolePortTemplateRequestType = "mini-din-8" + ConsolePortTemplateRequestTypeOther ConsolePortTemplateRequestType = "other" + ConsolePortTemplateRequestTypeRj11 ConsolePortTemplateRequestType = "rj-11" + ConsolePortTemplateRequestTypeRj12 ConsolePortTemplateRequestType = "rj-12" + ConsolePortTemplateRequestTypeRj45 ConsolePortTemplateRequestType = "rj-45" + ConsolePortTemplateRequestTypeUsbA ConsolePortTemplateRequestType = "usb-a" + ConsolePortTemplateRequestTypeUsbB ConsolePortTemplateRequestType = "usb-b" + ConsolePortTemplateRequestTypeUsbC ConsolePortTemplateRequestType = "usb-c" + ConsolePortTemplateRequestTypeUsbMicroA ConsolePortTemplateRequestType = "usb-micro-a" + ConsolePortTemplateRequestTypeUsbMicroAb ConsolePortTemplateRequestType = "usb-micro-ab" + ConsolePortTemplateRequestTypeUsbMicroB ConsolePortTemplateRequestType = "usb-micro-b" + ConsolePortTemplateRequestTypeUsbMiniA ConsolePortTemplateRequestType = "usb-mini-a" + ConsolePortTemplateRequestTypeUsbMiniB ConsolePortTemplateRequestType = "usb-mini-b" +) + +// Defines values for ConsoleServerPortSpeedLabel. +const ( + ConsoleServerPortSpeedLabelN1152Kbps ConsoleServerPortSpeedLabel = "115.2 kbps" + ConsoleServerPortSpeedLabelN1200Bps ConsoleServerPortSpeedLabel = "1200 bps" + ConsoleServerPortSpeedLabelN192Kbps ConsoleServerPortSpeedLabel = "19.2 kbps" + ConsoleServerPortSpeedLabelN2400Bps ConsoleServerPortSpeedLabel = "2400 bps" + ConsoleServerPortSpeedLabelN384Kbps ConsoleServerPortSpeedLabel = "38.4 kbps" + ConsoleServerPortSpeedLabelN4800Bps ConsoleServerPortSpeedLabel = "4800 bps" + ConsoleServerPortSpeedLabelN576Kbps ConsoleServerPortSpeedLabel = "57.6 kbps" + ConsoleServerPortSpeedLabelN9600Bps ConsoleServerPortSpeedLabel = "9600 bps" +) + +// Defines values for ConsoleServerPortSpeedValue. +const ( + ConsoleServerPortSpeedValueN115200 ConsoleServerPortSpeedValue = 115200 + ConsoleServerPortSpeedValueN1200 ConsoleServerPortSpeedValue = 1200 + ConsoleServerPortSpeedValueN19200 ConsoleServerPortSpeedValue = 19200 + ConsoleServerPortSpeedValueN2400 ConsoleServerPortSpeedValue = 2400 + ConsoleServerPortSpeedValueN38400 ConsoleServerPortSpeedValue = 38400 + ConsoleServerPortSpeedValueN4800 ConsoleServerPortSpeedValue = 4800 + ConsoleServerPortSpeedValueN57600 ConsoleServerPortSpeedValue = 57600 + ConsoleServerPortSpeedValueN9600 ConsoleServerPortSpeedValue = 9600 +) + +// Defines values for ConsoleServerPortTypeLabel. +const ( + ConsoleServerPortTypeLabelDB25 ConsoleServerPortTypeLabel = "DB-25" + ConsoleServerPortTypeLabelDE9 ConsoleServerPortTypeLabel = "DE-9" + ConsoleServerPortTypeLabelMiniDIN8 ConsoleServerPortTypeLabel = "Mini-DIN 8" + ConsoleServerPortTypeLabelOther ConsoleServerPortTypeLabel = "Other" + ConsoleServerPortTypeLabelRJ11 ConsoleServerPortTypeLabel = "RJ-11" + ConsoleServerPortTypeLabelRJ12 ConsoleServerPortTypeLabel = "RJ-12" + ConsoleServerPortTypeLabelRJ45 ConsoleServerPortTypeLabel = "RJ-45" + ConsoleServerPortTypeLabelUSBMicroA ConsoleServerPortTypeLabel = "USB Micro A" + ConsoleServerPortTypeLabelUSBMicroAB ConsoleServerPortTypeLabel = "USB Micro AB" + 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" + ConsoleServerPortTypeValueEmpty ConsoleServerPortTypeValue = "" + ConsoleServerPortTypeValueMiniDin8 ConsoleServerPortTypeValue = "mini-din-8" + 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" + ConsoleServerPortTypeValueUsbMicroAb ConsoleServerPortTypeValue = "usb-micro-ab" + ConsoleServerPortTypeValueUsbMicroB ConsoleServerPortTypeValue = "usb-micro-b" + ConsoleServerPortTypeValueUsbMiniA ConsoleServerPortTypeValue = "usb-mini-a" + ConsoleServerPortTypeValueUsbMiniB ConsoleServerPortTypeValue = "usb-mini-b" +) + +// Defines values for ConsoleServerPortRequestSpeed. +const ( + ConsoleServerPortRequestSpeedN115200 ConsoleServerPortRequestSpeed = 115200 + ConsoleServerPortRequestSpeedN1200 ConsoleServerPortRequestSpeed = 1200 + ConsoleServerPortRequestSpeedN19200 ConsoleServerPortRequestSpeed = 19200 + ConsoleServerPortRequestSpeedN2400 ConsoleServerPortRequestSpeed = 2400 + ConsoleServerPortRequestSpeedN38400 ConsoleServerPortRequestSpeed = 38400 + ConsoleServerPortRequestSpeedN4800 ConsoleServerPortRequestSpeed = 4800 + ConsoleServerPortRequestSpeedN57600 ConsoleServerPortRequestSpeed = 57600 + ConsoleServerPortRequestSpeedN9600 ConsoleServerPortRequestSpeed = 9600 +) + +// Defines values for ConsoleServerPortRequestType. +const ( + ConsoleServerPortRequestTypeDb25 ConsoleServerPortRequestType = "db-25" + ConsoleServerPortRequestTypeDe9 ConsoleServerPortRequestType = "de-9" + ConsoleServerPortRequestTypeEmpty ConsoleServerPortRequestType = "" + ConsoleServerPortRequestTypeMiniDin8 ConsoleServerPortRequestType = "mini-din-8" + ConsoleServerPortRequestTypeOther ConsoleServerPortRequestType = "other" + ConsoleServerPortRequestTypeRj11 ConsoleServerPortRequestType = "rj-11" + ConsoleServerPortRequestTypeRj12 ConsoleServerPortRequestType = "rj-12" + ConsoleServerPortRequestTypeRj45 ConsoleServerPortRequestType = "rj-45" + ConsoleServerPortRequestTypeUsbA ConsoleServerPortRequestType = "usb-a" + ConsoleServerPortRequestTypeUsbB ConsoleServerPortRequestType = "usb-b" + ConsoleServerPortRequestTypeUsbC ConsoleServerPortRequestType = "usb-c" + ConsoleServerPortRequestTypeUsbMicroA ConsoleServerPortRequestType = "usb-micro-a" + ConsoleServerPortRequestTypeUsbMicroAb ConsoleServerPortRequestType = "usb-micro-ab" + ConsoleServerPortRequestTypeUsbMicroB ConsoleServerPortRequestType = "usb-micro-b" + ConsoleServerPortRequestTypeUsbMiniA ConsoleServerPortRequestType = "usb-mini-a" + ConsoleServerPortRequestTypeUsbMiniB ConsoleServerPortRequestType = "usb-mini-b" +) + +// Defines values for ConsoleServerPortTemplateTypeLabel. +const ( + ConsoleServerPortTemplateTypeLabelDB25 ConsoleServerPortTemplateTypeLabel = "DB-25" + ConsoleServerPortTemplateTypeLabelDE9 ConsoleServerPortTemplateTypeLabel = "DE-9" + ConsoleServerPortTemplateTypeLabelMiniDIN8 ConsoleServerPortTemplateTypeLabel = "Mini-DIN 8" + ConsoleServerPortTemplateTypeLabelOther ConsoleServerPortTemplateTypeLabel = "Other" + ConsoleServerPortTemplateTypeLabelRJ11 ConsoleServerPortTemplateTypeLabel = "RJ-11" + ConsoleServerPortTemplateTypeLabelRJ12 ConsoleServerPortTemplateTypeLabel = "RJ-12" + ConsoleServerPortTemplateTypeLabelRJ45 ConsoleServerPortTemplateTypeLabel = "RJ-45" + ConsoleServerPortTemplateTypeLabelUSBMicroA ConsoleServerPortTemplateTypeLabel = "USB Micro A" + ConsoleServerPortTemplateTypeLabelUSBMicroAB ConsoleServerPortTemplateTypeLabel = "USB Micro AB" + 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" + ConsoleServerPortTemplateTypeValueEmpty ConsoleServerPortTemplateTypeValue = "" + ConsoleServerPortTemplateTypeValueMiniDin8 ConsoleServerPortTemplateTypeValue = "mini-din-8" + 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" + ConsoleServerPortTemplateTypeValueUsbMicroAb ConsoleServerPortTemplateTypeValue = "usb-micro-ab" + ConsoleServerPortTemplateTypeValueUsbMicroB ConsoleServerPortTemplateTypeValue = "usb-micro-b" + ConsoleServerPortTemplateTypeValueUsbMiniA ConsoleServerPortTemplateTypeValue = "usb-mini-a" + ConsoleServerPortTemplateTypeValueUsbMiniB ConsoleServerPortTemplateTypeValue = "usb-mini-b" +) + +// Defines values for ConsoleServerPortTemplateRequestType. +const ( + ConsoleServerPortTemplateRequestTypeDb25 ConsoleServerPortTemplateRequestType = "db-25" + ConsoleServerPortTemplateRequestTypeDe9 ConsoleServerPortTemplateRequestType = "de-9" + ConsoleServerPortTemplateRequestTypeEmpty ConsoleServerPortTemplateRequestType = "" + ConsoleServerPortTemplateRequestTypeMiniDin8 ConsoleServerPortTemplateRequestType = "mini-din-8" + ConsoleServerPortTemplateRequestTypeOther ConsoleServerPortTemplateRequestType = "other" + ConsoleServerPortTemplateRequestTypeRj11 ConsoleServerPortTemplateRequestType = "rj-11" + ConsoleServerPortTemplateRequestTypeRj12 ConsoleServerPortTemplateRequestType = "rj-12" + ConsoleServerPortTemplateRequestTypeRj45 ConsoleServerPortTemplateRequestType = "rj-45" + ConsoleServerPortTemplateRequestTypeUsbA ConsoleServerPortTemplateRequestType = "usb-a" + ConsoleServerPortTemplateRequestTypeUsbB ConsoleServerPortTemplateRequestType = "usb-b" + ConsoleServerPortTemplateRequestTypeUsbC ConsoleServerPortTemplateRequestType = "usb-c" + ConsoleServerPortTemplateRequestTypeUsbMicroA ConsoleServerPortTemplateRequestType = "usb-micro-a" + ConsoleServerPortTemplateRequestTypeUsbMicroAb ConsoleServerPortTemplateRequestType = "usb-micro-ab" + ConsoleServerPortTemplateRequestTypeUsbMicroB ConsoleServerPortTemplateRequestType = "usb-micro-b" + ConsoleServerPortTemplateRequestTypeUsbMiniA ConsoleServerPortTemplateRequestType = "usb-mini-a" + ConsoleServerPortTemplateRequestTypeUsbMiniB ConsoleServerPortTemplateRequestType = "usb-mini-b" +) + +// Defines values for ContactAssignmentPriorityLabel. +const ( + ContactAssignmentPriorityLabelInactive ContactAssignmentPriorityLabel = "Inactive" + ContactAssignmentPriorityLabelPrimary ContactAssignmentPriorityLabel = "Primary" + ContactAssignmentPriorityLabelSecondary ContactAssignmentPriorityLabel = "Secondary" + ContactAssignmentPriorityLabelTertiary ContactAssignmentPriorityLabel = "Tertiary" +) + +// Defines values for ContactAssignmentPriorityValue. +const ( + ContactAssignmentPriorityValueEmpty ContactAssignmentPriorityValue = "" + ContactAssignmentPriorityValueInactive ContactAssignmentPriorityValue = "inactive" + ContactAssignmentPriorityValuePrimary ContactAssignmentPriorityValue = "primary" + ContactAssignmentPriorityValueSecondary ContactAssignmentPriorityValue = "secondary" + ContactAssignmentPriorityValueTertiary ContactAssignmentPriorityValue = "tertiary" +) + +// Defines values for ContactAssignmentRequestPriority. +const ( + ContactAssignmentRequestPriorityEmpty ContactAssignmentRequestPriority = "" + ContactAssignmentRequestPriorityInactive ContactAssignmentRequestPriority = "inactive" + ContactAssignmentRequestPriorityPrimary ContactAssignmentRequestPriority = "primary" + ContactAssignmentRequestPrioritySecondary ContactAssignmentRequestPriority = "secondary" + ContactAssignmentRequestPriorityTertiary ContactAssignmentRequestPriority = "tertiary" +) + +// 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" + CustomFieldTypeLabelDateTime CustomFieldTypeLabel = "Date & time" + CustomFieldTypeLabelDecimal CustomFieldTypeLabel = "Decimal" + CustomFieldTypeLabelInteger CustomFieldTypeLabel = "Integer" + CustomFieldTypeLabelJSON CustomFieldTypeLabel = "JSON" + CustomFieldTypeLabelMultipleObjects CustomFieldTypeLabel = "Multiple objects" + CustomFieldTypeLabelMultipleSelection CustomFieldTypeLabel = "Multiple selection" + CustomFieldTypeLabelObject CustomFieldTypeLabel = "Object" + CustomFieldTypeLabelSelection CustomFieldTypeLabel = "Selection" + CustomFieldTypeLabelText CustomFieldTypeLabel = "Text" + CustomFieldTypeLabelTextLong CustomFieldTypeLabel = "Text (long)" + CustomFieldTypeLabelURL CustomFieldTypeLabel = "URL" +) + +// Defines values for CustomFieldTypeValue. +const ( + CustomFieldTypeValueBoolean CustomFieldTypeValue = "boolean" + CustomFieldTypeValueDate CustomFieldTypeValue = "date" + CustomFieldTypeValueDatetime CustomFieldTypeValue = "datetime" + CustomFieldTypeValueDecimal CustomFieldTypeValue = "decimal" + CustomFieldTypeValueInteger CustomFieldTypeValue = "integer" + CustomFieldTypeValueJson CustomFieldTypeValue = "json" + CustomFieldTypeValueLongtext CustomFieldTypeValue = "longtext" + CustomFieldTypeValueMultiobject CustomFieldTypeValue = "multiobject" + CustomFieldTypeValueMultiselect CustomFieldTypeValue = "multiselect" + CustomFieldTypeValueObject CustomFieldTypeValue = "object" + CustomFieldTypeValueSelect CustomFieldTypeValue = "select" + CustomFieldTypeValueText CustomFieldTypeValue = "text" + CustomFieldTypeValueUrl CustomFieldTypeValue = "url" +) + +// Defines values for CustomFieldUiVisibilityLabel. +const ( + CustomFieldUiVisibilityLabelHidden CustomFieldUiVisibilityLabel = "Hidden" + CustomFieldUiVisibilityLabelHiddenIfUnset CustomFieldUiVisibilityLabel = "Hidden (if unset)" + CustomFieldUiVisibilityLabelReadOnly CustomFieldUiVisibilityLabel = "Read-only" + CustomFieldUiVisibilityLabelReadwrite CustomFieldUiVisibilityLabel = "Read/write" +) + +// Defines values for CustomFieldUiVisibilityValue. +const ( + CustomFieldUiVisibilityValueHidden CustomFieldUiVisibilityValue = "hidden" + CustomFieldUiVisibilityValueHiddenIfunset CustomFieldUiVisibilityValue = "hidden-ifunset" + CustomFieldUiVisibilityValueReadOnly CustomFieldUiVisibilityValue = "read-only" + CustomFieldUiVisibilityValueReadWrite CustomFieldUiVisibilityValue = "read-write" +) + +// Defines values for CustomFieldChoiceSetBaseChoicesLabel. +const ( + IATAAirportCodes CustomFieldChoiceSetBaseChoicesLabel = "IATA (Airport codes)" + ISO3166CountryCodes CustomFieldChoiceSetBaseChoicesLabel = "ISO 3166 (Country codes)" + UNLOCODELocationCodes CustomFieldChoiceSetBaseChoicesLabel = "UN/LOCODE (Location codes)" +) + +// Defines values for CustomFieldChoiceSetBaseChoicesValue. +const ( + CustomFieldChoiceSetBaseChoicesValueIATA CustomFieldChoiceSetBaseChoicesValue = "IATA" + CustomFieldChoiceSetBaseChoicesValueISO3166 CustomFieldChoiceSetBaseChoicesValue = "ISO_3166" + CustomFieldChoiceSetBaseChoicesValueUNLOCODE CustomFieldChoiceSetBaseChoicesValue = "UN_LOCODE" +) + +// Defines values for CustomFieldChoiceSetRequestBaseChoices. +const ( + CustomFieldChoiceSetRequestBaseChoicesIATA CustomFieldChoiceSetRequestBaseChoices = "IATA" + CustomFieldChoiceSetRequestBaseChoicesISO3166 CustomFieldChoiceSetRequestBaseChoices = "ISO_3166" + CustomFieldChoiceSetRequestBaseChoicesUNLOCODE CustomFieldChoiceSetRequestBaseChoices = "UN_LOCODE" +) + +// Defines values for CustomFieldRequestFilterLogic. +const ( + CustomFieldRequestFilterLogicDisabled CustomFieldRequestFilterLogic = "disabled" + CustomFieldRequestFilterLogicExact CustomFieldRequestFilterLogic = "exact" + CustomFieldRequestFilterLogicLoose CustomFieldRequestFilterLogic = "loose" +) + +// Defines values for CustomFieldRequestType. +const ( + CustomFieldRequestTypeBoolean CustomFieldRequestType = "boolean" + CustomFieldRequestTypeDate CustomFieldRequestType = "date" + CustomFieldRequestTypeDatetime CustomFieldRequestType = "datetime" + CustomFieldRequestTypeDecimal CustomFieldRequestType = "decimal" + CustomFieldRequestTypeInteger CustomFieldRequestType = "integer" + CustomFieldRequestTypeJson CustomFieldRequestType = "json" + CustomFieldRequestTypeLongtext CustomFieldRequestType = "longtext" + CustomFieldRequestTypeMultiobject CustomFieldRequestType = "multiobject" + CustomFieldRequestTypeMultiselect CustomFieldRequestType = "multiselect" + CustomFieldRequestTypeObject CustomFieldRequestType = "object" + CustomFieldRequestTypeSelect CustomFieldRequestType = "select" + CustomFieldRequestTypeText CustomFieldRequestType = "text" + CustomFieldRequestTypeUrl CustomFieldRequestType = "url" +) + +// Defines values for CustomFieldRequestUiVisibility. +const ( + CustomFieldRequestUiVisibilityHidden CustomFieldRequestUiVisibility = "hidden" + CustomFieldRequestUiVisibilityHiddenIfunset CustomFieldRequestUiVisibility = "hidden-ifunset" + CustomFieldRequestUiVisibilityReadOnly CustomFieldRequestUiVisibility = "read-only" + CustomFieldRequestUiVisibilityReadWrite CustomFieldRequestUiVisibility = "read-write" +) + +// Defines values for CustomLinkButtonClass. +const ( + CustomLinkButtonClassBlack CustomLinkButtonClass = "black" + CustomLinkButtonClassBlue CustomLinkButtonClass = "blue" + CustomLinkButtonClassCyan CustomLinkButtonClass = "cyan" + CustomLinkButtonClassGhostDark CustomLinkButtonClass = "ghost-dark" + CustomLinkButtonClassGray CustomLinkButtonClass = "gray" + CustomLinkButtonClassGreen CustomLinkButtonClass = "green" + CustomLinkButtonClassIndigo CustomLinkButtonClass = "indigo" + CustomLinkButtonClassOrange CustomLinkButtonClass = "orange" + CustomLinkButtonClassOutlineDark CustomLinkButtonClass = "outline-dark" + CustomLinkButtonClassPink CustomLinkButtonClass = "pink" + CustomLinkButtonClassPurple CustomLinkButtonClass = "purple" + CustomLinkButtonClassRed CustomLinkButtonClass = "red" + CustomLinkButtonClassTeal CustomLinkButtonClass = "teal" + CustomLinkButtonClassWhite CustomLinkButtonClass = "white" + CustomLinkButtonClassYellow CustomLinkButtonClass = "yellow" +) + +// Defines values for CustomLinkRequestButtonClass. +const ( + CustomLinkRequestButtonClassBlack CustomLinkRequestButtonClass = "black" + CustomLinkRequestButtonClassBlue CustomLinkRequestButtonClass = "blue" + CustomLinkRequestButtonClassCyan CustomLinkRequestButtonClass = "cyan" + CustomLinkRequestButtonClassGhostDark CustomLinkRequestButtonClass = "ghost-dark" + CustomLinkRequestButtonClassGray CustomLinkRequestButtonClass = "gray" + CustomLinkRequestButtonClassGreen CustomLinkRequestButtonClass = "green" + CustomLinkRequestButtonClassIndigo CustomLinkRequestButtonClass = "indigo" + CustomLinkRequestButtonClassOrange CustomLinkRequestButtonClass = "orange" + CustomLinkRequestButtonClassOutlineDark CustomLinkRequestButtonClass = "outline-dark" + CustomLinkRequestButtonClassPink CustomLinkRequestButtonClass = "pink" + CustomLinkRequestButtonClassPurple CustomLinkRequestButtonClass = "purple" + CustomLinkRequestButtonClassRed CustomLinkRequestButtonClass = "red" + CustomLinkRequestButtonClassTeal CustomLinkRequestButtonClass = "teal" + CustomLinkRequestButtonClassWhite CustomLinkRequestButtonClass = "white" + CustomLinkRequestButtonClassYellow CustomLinkRequestButtonClass = "yellow" +) + +// Defines values for DataSourceStatusLabel. +const ( + DataSourceStatusLabelCompleted DataSourceStatusLabel = "Completed" + DataSourceStatusLabelFailed DataSourceStatusLabel = "Failed" + DataSourceStatusLabelNew DataSourceStatusLabel = "New" + DataSourceStatusLabelQueued DataSourceStatusLabel = "Queued" + DataSourceStatusLabelSyncing DataSourceStatusLabel = "Syncing" +) + +// Defines values for DataSourceStatusValue. +const ( + DataSourceStatusValueCompleted DataSourceStatusValue = "completed" + DataSourceStatusValueFailed DataSourceStatusValue = "failed" + DataSourceStatusValueNew DataSourceStatusValue = "new" + DataSourceStatusValueQueued DataSourceStatusValue = "queued" + DataSourceStatusValueSyncing DataSourceStatusValue = "syncing" +) + +// Defines values for DataSourceTypeLabel. +const ( + DataSourceTypeLabelAmazonS3 DataSourceTypeLabel = "Amazon S3" + DataSourceTypeLabelGit DataSourceTypeLabel = "Git" + DataSourceTypeLabelLocal DataSourceTypeLabel = "Local" +) + +// Defines values for DataSourceTypeValue. +const ( + DataSourceTypeValueAmazonS3 DataSourceTypeValue = "amazon-s3" + DataSourceTypeValueGit DataSourceTypeValue = "git" + DataSourceTypeValueLocal DataSourceTypeValue = "local" +) + +// Defines values for DataSourceRequestType. +const ( + DataSourceRequestTypeAmazonS3 DataSourceRequestType = "amazon-s3" + DataSourceRequestTypeGit DataSourceRequestType = "git" + DataSourceRequestTypeLocal DataSourceRequestType = "local" +) + +// Defines values for DeviceAirflowLabel. +const ( + DeviceAirflowLabelFrontToRear DeviceAirflowLabel = "Front to rear" + DeviceAirflowLabelLeftToRight DeviceAirflowLabel = "Left to right" + DeviceAirflowLabelMixed DeviceAirflowLabel = "Mixed" + DeviceAirflowLabelPassive DeviceAirflowLabel = "Passive" + DeviceAirflowLabelRearToFront DeviceAirflowLabel = "Rear to front" + DeviceAirflowLabelRightToLeft DeviceAirflowLabel = "Right to left" + DeviceAirflowLabelSideToRear DeviceAirflowLabel = "Side to rear" +) + +// Defines values for DeviceAirflowValue. +const ( + DeviceAirflowValueEmpty DeviceAirflowValue = "" + DeviceAirflowValueFrontToRear DeviceAirflowValue = "front-to-rear" + DeviceAirflowValueLeftToRight DeviceAirflowValue = "left-to-right" + DeviceAirflowValueMixed DeviceAirflowValue = "mixed" + DeviceAirflowValuePassive DeviceAirflowValue = "passive" + DeviceAirflowValueRearToFront DeviceAirflowValue = "rear-to-front" + DeviceAirflowValueRightToLeft DeviceAirflowValue = "right-to-left" + DeviceAirflowValueSideToRear DeviceAirflowValue = "side-to-rear" +) + +// Defines values for DeviceFaceLabel. +const ( + DeviceFaceLabelFront DeviceFaceLabel = "Front" + DeviceFaceLabelRear DeviceFaceLabel = "Rear" +) + +// Defines values for DeviceFaceValue. +const ( + DeviceFaceValueEmpty DeviceFaceValue = "" + 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 DeviceTypeAirflowLabel. +const ( + DeviceTypeAirflowLabelFrontToRear DeviceTypeAirflowLabel = "Front to rear" + DeviceTypeAirflowLabelLeftToRight DeviceTypeAirflowLabel = "Left to right" + DeviceTypeAirflowLabelMixed DeviceTypeAirflowLabel = "Mixed" + DeviceTypeAirflowLabelPassive DeviceTypeAirflowLabel = "Passive" + DeviceTypeAirflowLabelRearToFront DeviceTypeAirflowLabel = "Rear to front" + DeviceTypeAirflowLabelRightToLeft DeviceTypeAirflowLabel = "Right to left" + DeviceTypeAirflowLabelSideToRear DeviceTypeAirflowLabel = "Side to rear" +) + +// Defines values for DeviceTypeAirflowValue. +const ( + DeviceTypeAirflowValueEmpty DeviceTypeAirflowValue = "" + DeviceTypeAirflowValueFrontToRear DeviceTypeAirflowValue = "front-to-rear" + DeviceTypeAirflowValueLeftToRight DeviceTypeAirflowValue = "left-to-right" + DeviceTypeAirflowValueMixed DeviceTypeAirflowValue = "mixed" + DeviceTypeAirflowValuePassive DeviceTypeAirflowValue = "passive" + DeviceTypeAirflowValueRearToFront DeviceTypeAirflowValue = "rear-to-front" + DeviceTypeAirflowValueRightToLeft DeviceTypeAirflowValue = "right-to-left" + DeviceTypeAirflowValueSideToRear DeviceTypeAirflowValue = "side-to-rear" +) + +// Defines values for DeviceTypeSubdeviceRoleLabel. +const ( + DeviceTypeSubdeviceRoleLabelChild DeviceTypeSubdeviceRoleLabel = "Child" + DeviceTypeSubdeviceRoleLabelParent DeviceTypeSubdeviceRoleLabel = "Parent" +) + +// Defines values for DeviceTypeSubdeviceRoleValue. +const ( + DeviceTypeSubdeviceRoleValueChild DeviceTypeSubdeviceRoleValue = "child" + DeviceTypeSubdeviceRoleValueEmpty DeviceTypeSubdeviceRoleValue = "" + DeviceTypeSubdeviceRoleValueParent DeviceTypeSubdeviceRoleValue = "parent" +) + +// Defines values for DeviceTypeWeightUnitLabel. +const ( + DeviceTypeWeightUnitLabelGrams DeviceTypeWeightUnitLabel = "Grams" + DeviceTypeWeightUnitLabelKilograms DeviceTypeWeightUnitLabel = "Kilograms" + DeviceTypeWeightUnitLabelOunces DeviceTypeWeightUnitLabel = "Ounces" + DeviceTypeWeightUnitLabelPounds DeviceTypeWeightUnitLabel = "Pounds" +) + +// Defines values for DeviceTypeWeightUnitValue. +const ( + DeviceTypeWeightUnitValueEmpty DeviceTypeWeightUnitValue = "" + DeviceTypeWeightUnitValueG DeviceTypeWeightUnitValue = "g" + DeviceTypeWeightUnitValueKg DeviceTypeWeightUnitValue = "kg" + DeviceTypeWeightUnitValueLb DeviceTypeWeightUnitValue = "lb" + DeviceTypeWeightUnitValueOz DeviceTypeWeightUnitValue = "oz" +) + +// Defines values for DeviceTypeRequestAirflow. +const ( + DeviceTypeRequestAirflowEmpty DeviceTypeRequestAirflow = "" + DeviceTypeRequestAirflowFrontToRear DeviceTypeRequestAirflow = "front-to-rear" + DeviceTypeRequestAirflowLeftToRight DeviceTypeRequestAirflow = "left-to-right" + DeviceTypeRequestAirflowMixed DeviceTypeRequestAirflow = "mixed" + DeviceTypeRequestAirflowPassive DeviceTypeRequestAirflow = "passive" + DeviceTypeRequestAirflowRearToFront DeviceTypeRequestAirflow = "rear-to-front" + DeviceTypeRequestAirflowRightToLeft DeviceTypeRequestAirflow = "right-to-left" + DeviceTypeRequestAirflowSideToRear DeviceTypeRequestAirflow = "side-to-rear" +) + +// Defines values for DeviceTypeRequestSubdeviceRole. +const ( + DeviceTypeRequestSubdeviceRoleChild DeviceTypeRequestSubdeviceRole = "child" + DeviceTypeRequestSubdeviceRoleEmpty DeviceTypeRequestSubdeviceRole = "" + DeviceTypeRequestSubdeviceRoleParent DeviceTypeRequestSubdeviceRole = "parent" +) + +// Defines values for DeviceTypeRequestWeightUnit. +const ( + DeviceTypeRequestWeightUnitEmpty DeviceTypeRequestWeightUnit = "" + DeviceTypeRequestWeightUnitG DeviceTypeRequestWeightUnit = "g" + DeviceTypeRequestWeightUnitKg DeviceTypeRequestWeightUnit = "kg" + DeviceTypeRequestWeightUnitLb DeviceTypeRequestWeightUnit = "lb" + DeviceTypeRequestWeightUnitOz DeviceTypeRequestWeightUnit = "oz" +) + +// Defines values for DeviceWithConfigContextAirflowLabel. +const ( + DeviceWithConfigContextAirflowLabelFrontToRear DeviceWithConfigContextAirflowLabel = "Front to rear" + DeviceWithConfigContextAirflowLabelLeftToRight DeviceWithConfigContextAirflowLabel = "Left to right" + DeviceWithConfigContextAirflowLabelMixed DeviceWithConfigContextAirflowLabel = "Mixed" + DeviceWithConfigContextAirflowLabelPassive DeviceWithConfigContextAirflowLabel = "Passive" + DeviceWithConfigContextAirflowLabelRearToFront DeviceWithConfigContextAirflowLabel = "Rear to front" + DeviceWithConfigContextAirflowLabelRightToLeft DeviceWithConfigContextAirflowLabel = "Right to left" + DeviceWithConfigContextAirflowLabelSideToRear DeviceWithConfigContextAirflowLabel = "Side to rear" +) + +// Defines values for DeviceWithConfigContextAirflowValue. +const ( + DeviceWithConfigContextAirflowValueEmpty DeviceWithConfigContextAirflowValue = "" + DeviceWithConfigContextAirflowValueFrontToRear DeviceWithConfigContextAirflowValue = "front-to-rear" + DeviceWithConfigContextAirflowValueLeftToRight DeviceWithConfigContextAirflowValue = "left-to-right" + DeviceWithConfigContextAirflowValueMixed DeviceWithConfigContextAirflowValue = "mixed" + DeviceWithConfigContextAirflowValuePassive DeviceWithConfigContextAirflowValue = "passive" + DeviceWithConfigContextAirflowValueRearToFront DeviceWithConfigContextAirflowValue = "rear-to-front" + DeviceWithConfigContextAirflowValueRightToLeft DeviceWithConfigContextAirflowValue = "right-to-left" + DeviceWithConfigContextAirflowValueSideToRear DeviceWithConfigContextAirflowValue = "side-to-rear" +) + +// Defines values for DeviceWithConfigContextFaceLabel. +const ( + DeviceWithConfigContextFaceLabelFront DeviceWithConfigContextFaceLabel = "Front" + DeviceWithConfigContextFaceLabelRear DeviceWithConfigContextFaceLabel = "Rear" +) + +// Defines values for DeviceWithConfigContextFaceValue. +const ( + DeviceWithConfigContextFaceValueEmpty DeviceWithConfigContextFaceValue = "" + 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 DeviceWithConfigContextRequestAirflow. +const ( + DeviceWithConfigContextRequestAirflowEmpty DeviceWithConfigContextRequestAirflow = "" + DeviceWithConfigContextRequestAirflowFrontToRear DeviceWithConfigContextRequestAirflow = "front-to-rear" + DeviceWithConfigContextRequestAirflowLeftToRight DeviceWithConfigContextRequestAirflow = "left-to-right" + DeviceWithConfigContextRequestAirflowMixed DeviceWithConfigContextRequestAirflow = "mixed" + DeviceWithConfigContextRequestAirflowPassive DeviceWithConfigContextRequestAirflow = "passive" + DeviceWithConfigContextRequestAirflowRearToFront DeviceWithConfigContextRequestAirflow = "rear-to-front" + DeviceWithConfigContextRequestAirflowRightToLeft DeviceWithConfigContextRequestAirflow = "right-to-left" + DeviceWithConfigContextRequestAirflowSideToRear DeviceWithConfigContextRequestAirflow = "side-to-rear" +) + +// Defines values for DeviceWithConfigContextRequestFace. +const ( + DeviceWithConfigContextRequestFaceEmpty DeviceWithConfigContextRequestFace = "" + DeviceWithConfigContextRequestFaceFront DeviceWithConfigContextRequestFace = "front" + DeviceWithConfigContextRequestFaceRear DeviceWithConfigContextRequestFace = "rear" +) + +// Defines values for DeviceWithConfigContextRequestStatus. +const ( + DeviceWithConfigContextRequestStatusActive DeviceWithConfigContextRequestStatus = "active" + DeviceWithConfigContextRequestStatusDecommissioning DeviceWithConfigContextRequestStatus = "decommissioning" + DeviceWithConfigContextRequestStatusFailed DeviceWithConfigContextRequestStatus = "failed" + DeviceWithConfigContextRequestStatusInventory DeviceWithConfigContextRequestStatus = "inventory" + DeviceWithConfigContextRequestStatusOffline DeviceWithConfigContextRequestStatus = "offline" + DeviceWithConfigContextRequestStatusPlanned DeviceWithConfigContextRequestStatus = "planned" + DeviceWithConfigContextRequestStatusStaged DeviceWithConfigContextRequestStatus = "staged" +) + +// Defines values for FHRPGroupAuthType. +const ( + FHRPGroupAuthTypeEmpty FHRPGroupAuthType = "" + FHRPGroupAuthTypeMd5 FHRPGroupAuthType = "md5" + FHRPGroupAuthTypePlaintext FHRPGroupAuthType = "plaintext" +) + +// Defines values for FHRPGroupProtocol. +const ( + FHRPGroupProtocolCarp FHRPGroupProtocol = "carp" + FHRPGroupProtocolClusterxl FHRPGroupProtocol = "clusterxl" + FHRPGroupProtocolGlbp FHRPGroupProtocol = "glbp" + FHRPGroupProtocolHsrp FHRPGroupProtocol = "hsrp" + FHRPGroupProtocolOther FHRPGroupProtocol = "other" + FHRPGroupProtocolVrrp2 FHRPGroupProtocol = "vrrp2" + FHRPGroupProtocolVrrp3 FHRPGroupProtocol = "vrrp3" +) + +// Defines values for FHRPGroupRequestAuthType. +const ( + FHRPGroupRequestAuthTypeEmpty FHRPGroupRequestAuthType = "" + FHRPGroupRequestAuthTypeMd5 FHRPGroupRequestAuthType = "md5" + FHRPGroupRequestAuthTypePlaintext FHRPGroupRequestAuthType = "plaintext" +) + +// Defines values for FHRPGroupRequestProtocol. +const ( + FHRPGroupRequestProtocolCarp FHRPGroupRequestProtocol = "carp" + FHRPGroupRequestProtocolClusterxl FHRPGroupRequestProtocol = "clusterxl" + FHRPGroupRequestProtocolGlbp FHRPGroupRequestProtocol = "glbp" + FHRPGroupRequestProtocolHsrp FHRPGroupRequestProtocol = "hsrp" + FHRPGroupRequestProtocolOther FHRPGroupRequestProtocol = "other" + FHRPGroupRequestProtocolVrrp2 FHRPGroupRequestProtocol = "vrrp2" + FHRPGroupRequestProtocolVrrp3 FHRPGroupRequestProtocol = "vrrp3" +) + +// Defines values for FrontPortTypeLabel. +const ( + FrontPortTypeLabelBNC FrontPortTypeLabel = "BNC" + FrontPortTypeLabelCS FrontPortTypeLabel = "CS" + FrontPortTypeLabelFC FrontPortTypeLabel = "FC" + FrontPortTypeLabelFConnector FrontPortTypeLabel = "F Connector" + FrontPortTypeLabelGG45 FrontPortTypeLabel = "GG45" + FrontPortTypeLabelLC FrontPortTypeLabel = "LC" + FrontPortTypeLabelLCAPC FrontPortTypeLabel = "LC/APC" + FrontPortTypeLabelLCPC FrontPortTypeLabel = "LC/PC" + FrontPortTypeLabelLCUPC FrontPortTypeLabel = "LC/UPC" + FrontPortTypeLabelLSH FrontPortTypeLabel = "LSH" + FrontPortTypeLabelLSHAPC FrontPortTypeLabel = "LSH/APC" + FrontPortTypeLabelLSHPC FrontPortTypeLabel = "LSH/PC" + FrontPortTypeLabelLSHUPC FrontPortTypeLabel = "LSH/UPC" + FrontPortTypeLabelLX5 FrontPortTypeLabel = "LX.5" + FrontPortTypeLabelLX5APC FrontPortTypeLabel = "LX.5/APC" + FrontPortTypeLabelLX5PC FrontPortTypeLabel = "LX.5/PC" + FrontPortTypeLabelLX5UPC FrontPortTypeLabel = "LX.5/UPC" + FrontPortTypeLabelMPO FrontPortTypeLabel = "MPO" + FrontPortTypeLabelMRJ21 FrontPortTypeLabel = "MRJ21" + FrontPortTypeLabelMTRJ FrontPortTypeLabel = "MTRJ" + FrontPortTypeLabelN110Punch FrontPortTypeLabel = "110 Punch" + FrontPortTypeLabelN4P2C FrontPortTypeLabel = "4P2C" + FrontPortTypeLabelN4P4C FrontPortTypeLabel = "4P4C" + FrontPortTypeLabelN6P2C FrontPortTypeLabel = "6P2C" + FrontPortTypeLabelN6P4C FrontPortTypeLabel = "6P4C" + FrontPortTypeLabelN6P6C FrontPortTypeLabel = "6P6C" + FrontPortTypeLabelN8P2C FrontPortTypeLabel = "8P2C" + FrontPortTypeLabelN8P4C FrontPortTypeLabel = "8P4C" + FrontPortTypeLabelN8P6C FrontPortTypeLabel = "8P6C" + FrontPortTypeLabelN8P8C FrontPortTypeLabel = "8P8C" + FrontPortTypeLabelNConnector FrontPortTypeLabel = "N Connector" + FrontPortTypeLabelOther FrontPortTypeLabel = "Other" + FrontPortTypeLabelSC FrontPortTypeLabel = "SC" + FrontPortTypeLabelSCAPC FrontPortTypeLabel = "SC/APC" + FrontPortTypeLabelSCPC FrontPortTypeLabel = "SC/PC" + FrontPortTypeLabelSCUPC FrontPortTypeLabel = "SC/UPC" + FrontPortTypeLabelSMA905 FrontPortTypeLabel = "SMA 905" + FrontPortTypeLabelSMA906 FrontPortTypeLabel = "SMA 906" + 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" + FrontPortTypeValueF FrontPortTypeValue = "f" + FrontPortTypeValueFc FrontPortTypeValue = "fc" + FrontPortTypeValueGg45 FrontPortTypeValue = "gg45" + FrontPortTypeValueLc FrontPortTypeValue = "lc" + FrontPortTypeValueLcApc FrontPortTypeValue = "lc-apc" + FrontPortTypeValueLcPc FrontPortTypeValue = "lc-pc" + FrontPortTypeValueLcUpc FrontPortTypeValue = "lc-upc" + FrontPortTypeValueLsh FrontPortTypeValue = "lsh" + FrontPortTypeValueLshApc FrontPortTypeValue = "lsh-apc" + FrontPortTypeValueLshPc FrontPortTypeValue = "lsh-pc" + FrontPortTypeValueLshUpc FrontPortTypeValue = "lsh-upc" + FrontPortTypeValueLx5 FrontPortTypeValue = "lx5" + FrontPortTypeValueLx5Apc FrontPortTypeValue = "lx5-apc" + FrontPortTypeValueLx5Pc FrontPortTypeValue = "lx5-pc" + FrontPortTypeValueLx5Upc FrontPortTypeValue = "lx5-upc" + FrontPortTypeValueMpo FrontPortTypeValue = "mpo" + FrontPortTypeValueMrj21 FrontPortTypeValue = "mrj21" + FrontPortTypeValueMtrj FrontPortTypeValue = "mtrj" + FrontPortTypeValueN FrontPortTypeValue = "n" + FrontPortTypeValueN110Punch FrontPortTypeValue = "110-punch" + FrontPortTypeValueN4p2c FrontPortTypeValue = "4p2c" + FrontPortTypeValueN4p4c FrontPortTypeValue = "4p4c" + FrontPortTypeValueN6p2c FrontPortTypeValue = "6p2c" + FrontPortTypeValueN6p4c FrontPortTypeValue = "6p4c" + FrontPortTypeValueN6p6c FrontPortTypeValue = "6p6c" + FrontPortTypeValueN8p2c FrontPortTypeValue = "8p2c" + FrontPortTypeValueN8p4c FrontPortTypeValue = "8p4c" + FrontPortTypeValueN8p6c FrontPortTypeValue = "8p6c" + FrontPortTypeValueN8p8c FrontPortTypeValue = "8p8c" + FrontPortTypeValueOther FrontPortTypeValue = "other" + FrontPortTypeValueSc FrontPortTypeValue = "sc" + FrontPortTypeValueScApc FrontPortTypeValue = "sc-apc" + FrontPortTypeValueScPc FrontPortTypeValue = "sc-pc" + FrontPortTypeValueScUpc FrontPortTypeValue = "sc-upc" + FrontPortTypeValueSma905 FrontPortTypeValue = "sma-905" + FrontPortTypeValueSma906 FrontPortTypeValue = "sma-906" + 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 FrontPortRequestType. +const ( + FrontPortRequestTypeBnc FrontPortRequestType = "bnc" + FrontPortRequestTypeCs FrontPortRequestType = "cs" + FrontPortRequestTypeF FrontPortRequestType = "f" + FrontPortRequestTypeFc FrontPortRequestType = "fc" + FrontPortRequestTypeGg45 FrontPortRequestType = "gg45" + FrontPortRequestTypeLc FrontPortRequestType = "lc" + FrontPortRequestTypeLcApc FrontPortRequestType = "lc-apc" + FrontPortRequestTypeLcPc FrontPortRequestType = "lc-pc" + FrontPortRequestTypeLcUpc FrontPortRequestType = "lc-upc" + FrontPortRequestTypeLsh FrontPortRequestType = "lsh" + FrontPortRequestTypeLshApc FrontPortRequestType = "lsh-apc" + FrontPortRequestTypeLshPc FrontPortRequestType = "lsh-pc" + FrontPortRequestTypeLshUpc FrontPortRequestType = "lsh-upc" + FrontPortRequestTypeLx5 FrontPortRequestType = "lx5" + FrontPortRequestTypeLx5Apc FrontPortRequestType = "lx5-apc" + FrontPortRequestTypeLx5Pc FrontPortRequestType = "lx5-pc" + FrontPortRequestTypeLx5Upc FrontPortRequestType = "lx5-upc" + FrontPortRequestTypeMpo FrontPortRequestType = "mpo" + FrontPortRequestTypeMrj21 FrontPortRequestType = "mrj21" + FrontPortRequestTypeMtrj FrontPortRequestType = "mtrj" + FrontPortRequestTypeN FrontPortRequestType = "n" + FrontPortRequestTypeN110Punch FrontPortRequestType = "110-punch" + FrontPortRequestTypeN4p2c FrontPortRequestType = "4p2c" + FrontPortRequestTypeN4p4c FrontPortRequestType = "4p4c" + FrontPortRequestTypeN6p2c FrontPortRequestType = "6p2c" + FrontPortRequestTypeN6p4c FrontPortRequestType = "6p4c" + FrontPortRequestTypeN6p6c FrontPortRequestType = "6p6c" + FrontPortRequestTypeN8p2c FrontPortRequestType = "8p2c" + FrontPortRequestTypeN8p4c FrontPortRequestType = "8p4c" + FrontPortRequestTypeN8p6c FrontPortRequestType = "8p6c" + FrontPortRequestTypeN8p8c FrontPortRequestType = "8p8c" + FrontPortRequestTypeOther FrontPortRequestType = "other" + FrontPortRequestTypeSc FrontPortRequestType = "sc" + FrontPortRequestTypeScApc FrontPortRequestType = "sc-apc" + FrontPortRequestTypeScPc FrontPortRequestType = "sc-pc" + FrontPortRequestTypeScUpc FrontPortRequestType = "sc-upc" + FrontPortRequestTypeSma905 FrontPortRequestType = "sma-905" + FrontPortRequestTypeSma906 FrontPortRequestType = "sma-906" + FrontPortRequestTypeSn FrontPortRequestType = "sn" + FrontPortRequestTypeSplice FrontPortRequestType = "splice" + FrontPortRequestTypeSt FrontPortRequestType = "st" + FrontPortRequestTypeTera1p FrontPortRequestType = "tera-1p" + FrontPortRequestTypeTera2p FrontPortRequestType = "tera-2p" + FrontPortRequestTypeTera4p FrontPortRequestType = "tera-4p" + FrontPortRequestTypeUrmP2 FrontPortRequestType = "urm-p2" + FrontPortRequestTypeUrmP4 FrontPortRequestType = "urm-p4" + FrontPortRequestTypeUrmP8 FrontPortRequestType = "urm-p8" +) + +// Defines values for FrontPortTemplateTypeLabel. +const ( + FrontPortTemplateTypeLabelBNC FrontPortTemplateTypeLabel = "BNC" + FrontPortTemplateTypeLabelCS FrontPortTemplateTypeLabel = "CS" + FrontPortTemplateTypeLabelFC FrontPortTemplateTypeLabel = "FC" + FrontPortTemplateTypeLabelFConnector FrontPortTemplateTypeLabel = "F Connector" + FrontPortTemplateTypeLabelGG45 FrontPortTemplateTypeLabel = "GG45" + FrontPortTemplateTypeLabelLC FrontPortTemplateTypeLabel = "LC" + FrontPortTemplateTypeLabelLCAPC FrontPortTemplateTypeLabel = "LC/APC" + FrontPortTemplateTypeLabelLCPC FrontPortTemplateTypeLabel = "LC/PC" + FrontPortTemplateTypeLabelLCUPC FrontPortTemplateTypeLabel = "LC/UPC" + FrontPortTemplateTypeLabelLSH FrontPortTemplateTypeLabel = "LSH" + FrontPortTemplateTypeLabelLSHAPC FrontPortTemplateTypeLabel = "LSH/APC" + FrontPortTemplateTypeLabelLSHPC FrontPortTemplateTypeLabel = "LSH/PC" + FrontPortTemplateTypeLabelLSHUPC FrontPortTemplateTypeLabel = "LSH/UPC" + FrontPortTemplateTypeLabelLX5 FrontPortTemplateTypeLabel = "LX.5" + FrontPortTemplateTypeLabelLX5APC FrontPortTemplateTypeLabel = "LX.5/APC" + FrontPortTemplateTypeLabelLX5PC FrontPortTemplateTypeLabel = "LX.5/PC" + FrontPortTemplateTypeLabelLX5UPC FrontPortTemplateTypeLabel = "LX.5/UPC" + FrontPortTemplateTypeLabelMPO FrontPortTemplateTypeLabel = "MPO" + FrontPortTemplateTypeLabelMRJ21 FrontPortTemplateTypeLabel = "MRJ21" + FrontPortTemplateTypeLabelMTRJ FrontPortTemplateTypeLabel = "MTRJ" + FrontPortTemplateTypeLabelN110Punch FrontPortTemplateTypeLabel = "110 Punch" + FrontPortTemplateTypeLabelN4P2C FrontPortTemplateTypeLabel = "4P2C" + FrontPortTemplateTypeLabelN4P4C FrontPortTemplateTypeLabel = "4P4C" + FrontPortTemplateTypeLabelN6P2C FrontPortTemplateTypeLabel = "6P2C" + FrontPortTemplateTypeLabelN6P4C FrontPortTemplateTypeLabel = "6P4C" + FrontPortTemplateTypeLabelN6P6C FrontPortTemplateTypeLabel = "6P6C" + FrontPortTemplateTypeLabelN8P2C FrontPortTemplateTypeLabel = "8P2C" + FrontPortTemplateTypeLabelN8P4C FrontPortTemplateTypeLabel = "8P4C" + FrontPortTemplateTypeLabelN8P6C FrontPortTemplateTypeLabel = "8P6C" + FrontPortTemplateTypeLabelN8P8C FrontPortTemplateTypeLabel = "8P8C" + FrontPortTemplateTypeLabelNConnector FrontPortTemplateTypeLabel = "N Connector" + FrontPortTemplateTypeLabelOther FrontPortTemplateTypeLabel = "Other" + FrontPortTemplateTypeLabelSC FrontPortTemplateTypeLabel = "SC" + FrontPortTemplateTypeLabelSCAPC FrontPortTemplateTypeLabel = "SC/APC" + FrontPortTemplateTypeLabelSCPC FrontPortTemplateTypeLabel = "SC/PC" + FrontPortTemplateTypeLabelSCUPC FrontPortTemplateTypeLabel = "SC/UPC" + FrontPortTemplateTypeLabelSMA905 FrontPortTemplateTypeLabel = "SMA 905" + FrontPortTemplateTypeLabelSMA906 FrontPortTemplateTypeLabel = "SMA 906" + 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" + FrontPortTemplateTypeValueF FrontPortTemplateTypeValue = "f" + FrontPortTemplateTypeValueFc FrontPortTemplateTypeValue = "fc" + FrontPortTemplateTypeValueGg45 FrontPortTemplateTypeValue = "gg45" + FrontPortTemplateTypeValueLc FrontPortTemplateTypeValue = "lc" + FrontPortTemplateTypeValueLcApc FrontPortTemplateTypeValue = "lc-apc" + FrontPortTemplateTypeValueLcPc FrontPortTemplateTypeValue = "lc-pc" + FrontPortTemplateTypeValueLcUpc FrontPortTemplateTypeValue = "lc-upc" + FrontPortTemplateTypeValueLsh FrontPortTemplateTypeValue = "lsh" + FrontPortTemplateTypeValueLshApc FrontPortTemplateTypeValue = "lsh-apc" + FrontPortTemplateTypeValueLshPc FrontPortTemplateTypeValue = "lsh-pc" + FrontPortTemplateTypeValueLshUpc FrontPortTemplateTypeValue = "lsh-upc" + FrontPortTemplateTypeValueLx5 FrontPortTemplateTypeValue = "lx5" + FrontPortTemplateTypeValueLx5Apc FrontPortTemplateTypeValue = "lx5-apc" + FrontPortTemplateTypeValueLx5Pc FrontPortTemplateTypeValue = "lx5-pc" + FrontPortTemplateTypeValueLx5Upc FrontPortTemplateTypeValue = "lx5-upc" + FrontPortTemplateTypeValueMpo FrontPortTemplateTypeValue = "mpo" + FrontPortTemplateTypeValueMrj21 FrontPortTemplateTypeValue = "mrj21" + FrontPortTemplateTypeValueMtrj FrontPortTemplateTypeValue = "mtrj" + FrontPortTemplateTypeValueN FrontPortTemplateTypeValue = "n" + FrontPortTemplateTypeValueN110Punch FrontPortTemplateTypeValue = "110-punch" + FrontPortTemplateTypeValueN4p2c FrontPortTemplateTypeValue = "4p2c" + FrontPortTemplateTypeValueN4p4c FrontPortTemplateTypeValue = "4p4c" + FrontPortTemplateTypeValueN6p2c FrontPortTemplateTypeValue = "6p2c" + FrontPortTemplateTypeValueN6p4c FrontPortTemplateTypeValue = "6p4c" + FrontPortTemplateTypeValueN6p6c FrontPortTemplateTypeValue = "6p6c" + FrontPortTemplateTypeValueN8p2c FrontPortTemplateTypeValue = "8p2c" + FrontPortTemplateTypeValueN8p4c FrontPortTemplateTypeValue = "8p4c" + FrontPortTemplateTypeValueN8p6c FrontPortTemplateTypeValue = "8p6c" + FrontPortTemplateTypeValueN8p8c FrontPortTemplateTypeValue = "8p8c" + FrontPortTemplateTypeValueOther FrontPortTemplateTypeValue = "other" + FrontPortTemplateTypeValueSc FrontPortTemplateTypeValue = "sc" + FrontPortTemplateTypeValueScApc FrontPortTemplateTypeValue = "sc-apc" + FrontPortTemplateTypeValueScPc FrontPortTemplateTypeValue = "sc-pc" + FrontPortTemplateTypeValueScUpc FrontPortTemplateTypeValue = "sc-upc" + FrontPortTemplateTypeValueSma905 FrontPortTemplateTypeValue = "sma-905" + FrontPortTemplateTypeValueSma906 FrontPortTemplateTypeValue = "sma-906" + 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 FrontPortTemplateRequestType. +const ( + FrontPortTemplateRequestTypeBnc FrontPortTemplateRequestType = "bnc" + FrontPortTemplateRequestTypeCs FrontPortTemplateRequestType = "cs" + FrontPortTemplateRequestTypeF FrontPortTemplateRequestType = "f" + FrontPortTemplateRequestTypeFc FrontPortTemplateRequestType = "fc" + FrontPortTemplateRequestTypeGg45 FrontPortTemplateRequestType = "gg45" + FrontPortTemplateRequestTypeLc FrontPortTemplateRequestType = "lc" + FrontPortTemplateRequestTypeLcApc FrontPortTemplateRequestType = "lc-apc" + FrontPortTemplateRequestTypeLcPc FrontPortTemplateRequestType = "lc-pc" + FrontPortTemplateRequestTypeLcUpc FrontPortTemplateRequestType = "lc-upc" + FrontPortTemplateRequestTypeLsh FrontPortTemplateRequestType = "lsh" + FrontPortTemplateRequestTypeLshApc FrontPortTemplateRequestType = "lsh-apc" + FrontPortTemplateRequestTypeLshPc FrontPortTemplateRequestType = "lsh-pc" + FrontPortTemplateRequestTypeLshUpc FrontPortTemplateRequestType = "lsh-upc" + FrontPortTemplateRequestTypeLx5 FrontPortTemplateRequestType = "lx5" + FrontPortTemplateRequestTypeLx5Apc FrontPortTemplateRequestType = "lx5-apc" + FrontPortTemplateRequestTypeLx5Pc FrontPortTemplateRequestType = "lx5-pc" + FrontPortTemplateRequestTypeLx5Upc FrontPortTemplateRequestType = "lx5-upc" + FrontPortTemplateRequestTypeMpo FrontPortTemplateRequestType = "mpo" + FrontPortTemplateRequestTypeMrj21 FrontPortTemplateRequestType = "mrj21" + FrontPortTemplateRequestTypeMtrj FrontPortTemplateRequestType = "mtrj" + FrontPortTemplateRequestTypeN FrontPortTemplateRequestType = "n" + FrontPortTemplateRequestTypeN110Punch FrontPortTemplateRequestType = "110-punch" + FrontPortTemplateRequestTypeN4p2c FrontPortTemplateRequestType = "4p2c" + FrontPortTemplateRequestTypeN4p4c FrontPortTemplateRequestType = "4p4c" + FrontPortTemplateRequestTypeN6p2c FrontPortTemplateRequestType = "6p2c" + FrontPortTemplateRequestTypeN6p4c FrontPortTemplateRequestType = "6p4c" + FrontPortTemplateRequestTypeN6p6c FrontPortTemplateRequestType = "6p6c" + FrontPortTemplateRequestTypeN8p2c FrontPortTemplateRequestType = "8p2c" + FrontPortTemplateRequestTypeN8p4c FrontPortTemplateRequestType = "8p4c" + FrontPortTemplateRequestTypeN8p6c FrontPortTemplateRequestType = "8p6c" + FrontPortTemplateRequestTypeN8p8c FrontPortTemplateRequestType = "8p8c" + FrontPortTemplateRequestTypeOther FrontPortTemplateRequestType = "other" + FrontPortTemplateRequestTypeSc FrontPortTemplateRequestType = "sc" + FrontPortTemplateRequestTypeScApc FrontPortTemplateRequestType = "sc-apc" + FrontPortTemplateRequestTypeScPc FrontPortTemplateRequestType = "sc-pc" + FrontPortTemplateRequestTypeScUpc FrontPortTemplateRequestType = "sc-upc" + FrontPortTemplateRequestTypeSma905 FrontPortTemplateRequestType = "sma-905" + FrontPortTemplateRequestTypeSma906 FrontPortTemplateRequestType = "sma-906" + FrontPortTemplateRequestTypeSn FrontPortTemplateRequestType = "sn" + FrontPortTemplateRequestTypeSplice FrontPortTemplateRequestType = "splice" + FrontPortTemplateRequestTypeSt FrontPortTemplateRequestType = "st" + FrontPortTemplateRequestTypeTera1p FrontPortTemplateRequestType = "tera-1p" + FrontPortTemplateRequestTypeTera2p FrontPortTemplateRequestType = "tera-2p" + FrontPortTemplateRequestTypeTera4p FrontPortTemplateRequestType = "tera-4p" + FrontPortTemplateRequestTypeUrmP2 FrontPortTemplateRequestType = "urm-p2" + FrontPortTemplateRequestTypeUrmP4 FrontPortTemplateRequestType = "urm-p4" + FrontPortTemplateRequestTypeUrmP8 FrontPortTemplateRequestType = "urm-p8" +) + +// 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" + IPAddressRoleValueEmpty IPAddressRoleValue = "" + 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 IPAddressRequestRole. +const ( + IPAddressRequestRoleAnycast IPAddressRequestRole = "anycast" + IPAddressRequestRoleCarp IPAddressRequestRole = "carp" + IPAddressRequestRoleEmpty IPAddressRequestRole = "" + IPAddressRequestRoleGlbp IPAddressRequestRole = "glbp" + IPAddressRequestRoleHsrp IPAddressRequestRole = "hsrp" + IPAddressRequestRoleLoopback IPAddressRequestRole = "loopback" + IPAddressRequestRoleSecondary IPAddressRequestRole = "secondary" + IPAddressRequestRoleVip IPAddressRequestRole = "vip" + IPAddressRequestRoleVrrp IPAddressRequestRole = "vrrp" +) + +// Defines values for IPAddressRequestStatus. +const ( + IPAddressRequestStatusActive IPAddressRequestStatus = "active" + IPAddressRequestStatusDeprecated IPAddressRequestStatus = "deprecated" + IPAddressRequestStatusDhcp IPAddressRequestStatus = "dhcp" + IPAddressRequestStatusReserved IPAddressRequestStatus = "reserved" + IPAddressRequestStatusSlaac IPAddressRequestStatus = "slaac" +) + +// Defines values for IPRangeFamilyLabel. +const ( + IPRangeFamilyLabelIPv4 IPRangeFamilyLabel = "IPv4" + IPRangeFamilyLabelIPv6 IPRangeFamilyLabel = "IPv6" +) + +// Defines values for IPRangeFamilyValue. +const ( + IPRangeFamilyValueN4 IPRangeFamilyValue = 4 + IPRangeFamilyValueN6 IPRangeFamilyValue = 6 +) + +// Defines values for IPRangeStatusLabel. +const ( + IPRangeStatusLabelActive IPRangeStatusLabel = "Active" + IPRangeStatusLabelDeprecated IPRangeStatusLabel = "Deprecated" + IPRangeStatusLabelReserved IPRangeStatusLabel = "Reserved" +) + +// Defines values for IPRangeStatusValue. +const ( + IPRangeStatusValueActive IPRangeStatusValue = "active" + IPRangeStatusValueDeprecated IPRangeStatusValue = "deprecated" + IPRangeStatusValueReserved IPRangeStatusValue = "reserved" +) + +// Defines values for IPRangeRequestStatus. +const ( + IPRangeRequestStatusActive IPRangeRequestStatus = "active" + IPRangeRequestStatusDeprecated IPRangeRequestStatus = "deprecated" + IPRangeRequestStatusReserved IPRangeRequestStatus = "reserved" +) + +// Defines values for InterfaceDuplexLabel. +const ( + InterfaceDuplexLabelAuto InterfaceDuplexLabel = "Auto" + InterfaceDuplexLabelFull InterfaceDuplexLabel = "Full" + InterfaceDuplexLabelHalf InterfaceDuplexLabel = "Half" +) + +// Defines values for InterfaceDuplexValue. +const ( + InterfaceDuplexValueAuto InterfaceDuplexValue = "auto" + InterfaceDuplexValueEmpty InterfaceDuplexValue = "" + InterfaceDuplexValueFull InterfaceDuplexValue = "full" + InterfaceDuplexValueHalf InterfaceDuplexValue = "half" +) + +// Defines values for InterfaceModeLabel. +const ( + InterfaceModeLabelAccess InterfaceModeLabel = "Access" + InterfaceModeLabelTagged InterfaceModeLabel = "Tagged" + InterfaceModeLabelTaggedAll InterfaceModeLabel = "Tagged (All)" +) + +// Defines values for InterfaceModeValue. +const ( + InterfaceModeValueAccess InterfaceModeValue = "access" + InterfaceModeValueEmpty InterfaceModeValue = "" + InterfaceModeValueTagged InterfaceModeValue = "tagged" + InterfaceModeValueTaggedAll InterfaceModeValue = "tagged-all" +) + +// Defines values for InterfacePoeModeLabel. +const ( + InterfacePoeModeLabelPD InterfacePoeModeLabel = "PD" + InterfacePoeModeLabelPSE InterfacePoeModeLabel = "PSE" +) + +// Defines values for InterfacePoeModeValue. +const ( + InterfacePoeModeValueEmpty InterfacePoeModeValue = "" + InterfacePoeModeValuePd InterfacePoeModeValue = "pd" + InterfacePoeModeValuePse InterfacePoeModeValue = "pse" +) + +// Defines values for InterfacePoeTypeLabel. +const ( + InterfacePoeTypeLabelN8023afType1 InterfacePoeTypeLabel = "802.3af (Type 1)" + InterfacePoeTypeLabelN8023atType2 InterfacePoeTypeLabel = "802.3at (Type 2)" + InterfacePoeTypeLabelN8023btType3 InterfacePoeTypeLabel = "802.3bt (Type 3)" + InterfacePoeTypeLabelN8023btType4 InterfacePoeTypeLabel = "802.3bt (Type 4)" + InterfacePoeTypeLabelPassive24V2Pair InterfacePoeTypeLabel = "Passive 24V (2-pair)" + InterfacePoeTypeLabelPassive24V4Pair InterfacePoeTypeLabel = "Passive 24V (4-pair)" + InterfacePoeTypeLabelPassive48V2Pair InterfacePoeTypeLabel = "Passive 48V (2-pair)" + InterfacePoeTypeLabelPassive48V4Pair InterfacePoeTypeLabel = "Passive 48V (4-pair)" +) + +// Defines values for InterfacePoeTypeValue. +const ( + InterfacePoeTypeValueEmpty InterfacePoeTypeValue = "" + InterfacePoeTypeValuePassive24v2pair InterfacePoeTypeValue = "passive-24v-2pair" + InterfacePoeTypeValuePassive24v4pair InterfacePoeTypeValue = "passive-24v-4pair" + InterfacePoeTypeValuePassive48v2pair InterfacePoeTypeValue = "passive-48v-2pair" + InterfacePoeTypeValuePassive48v4pair InterfacePoeTypeValue = "passive-48v-4pair" + InterfacePoeTypeValueType1Ieee8023af InterfacePoeTypeValue = "type1-ieee802.3af" + InterfacePoeTypeValueType2Ieee8023at InterfacePoeTypeValue = "type2-ieee802.3at" + InterfacePoeTypeValueType3Ieee8023bt InterfacePoeTypeValue = "type3-ieee802.3bt" + InterfacePoeTypeValueType4Ieee8023bt InterfacePoeTypeValue = "type4-ieee802.3bt" +) + +// Defines values for InterfaceRfChannelLabel. +const ( + N100550020MHz InterfaceRfChannelLabel = "100 (5500/20 MHz)" + N101645520MHz InterfaceRfChannelLabel = "101 (6455/20 MHz)" + N102457MHz InterfaceRfChannelLabel = "10 (2457 MHz)" + N102551040MHz InterfaceRfChannelLabel = "102 (5510/40 MHz)" + N103646580MHz InterfaceRfChannelLabel = "103 (6465/80 MHz)" + N104552020MHz InterfaceRfChannelLabel = "104 (5520/20 MHz)" + N105647520MHz InterfaceRfChannelLabel = "105 (6475/20 MHz)" + N106156432GHz InterfaceRfChannelLabel = "10 (61.56/4.32 GHz)" + N106553080MHz InterfaceRfChannelLabel = "106 (5530/80 MHz)" + N107648540MHz InterfaceRfChannelLabel = "107 (6485/40 MHz)" + N108554020MHz InterfaceRfChannelLabel = "108 (5540/20 MHz)" + N109649520MHz InterfaceRfChannelLabel = "109 (6495/20 MHz)" + N110555040MHz InterfaceRfChannelLabel = "110 (5550/40 MHz)" + N1116505160MHz InterfaceRfChannelLabel = "111 (6505/160 MHz)" + N112462MHz InterfaceRfChannelLabel = "11 (2462 MHz)" + N112556020MHz InterfaceRfChannelLabel = "112 (5560/20 MHz)" + N113651520MHz InterfaceRfChannelLabel = "113 (6515/20 MHz)" + N1145570160MHz InterfaceRfChannelLabel = "114 (5570/160 MHz)" + N115652540MHz InterfaceRfChannelLabel = "115 (6525/40 MHz)" + N11600540MHz InterfaceRfChannelLabel = "11 (6005/40 MHz)" + N116372432GHz InterfaceRfChannelLabel = "11 (63.72/4.32 GHz)" + N116558020MHz InterfaceRfChannelLabel = "116 (5580/20 MHz)" + N117653520MHz InterfaceRfChannelLabel = "117 (6535/20 MHz)" + N118559040MHz InterfaceRfChannelLabel = "118 (5590/40 MHz)" + N119654580MHz InterfaceRfChannelLabel = "119 (6545/80 MHz)" + N120560020MHz InterfaceRfChannelLabel = "120 (5600/20 MHz)" + N121655520MHz InterfaceRfChannelLabel = "121 (6555/20 MHz)" + N122467MHz InterfaceRfChannelLabel = "12 (2467 MHz)" + N122561080MHz InterfaceRfChannelLabel = "122 (5610/80 MHz)" + N123656540MHz InterfaceRfChannelLabel = "123 (6565/40 MHz)" + N12412MHz InterfaceRfChannelLabel = "1 (2412 MHz)" + N124562020MHz InterfaceRfChannelLabel = "124 (5620/20 MHz)" + N125657520MHz InterfaceRfChannelLabel = "125 (6575/20 MHz)" + N126563040MHz InterfaceRfChannelLabel = "126 (5630/40 MHz)" + N126588432GHz InterfaceRfChannelLabel = "12 (65.88/4.32 GHz)" + N128564020MHz InterfaceRfChannelLabel = "128 (5640/20 MHz)" + N129659520MHz InterfaceRfChannelLabel = "129 (6595/20 MHz)" + N131660540MHz InterfaceRfChannelLabel = "131 (6605/40 MHz)" + N132472MHz InterfaceRfChannelLabel = "13 (2472 MHz)" + N132566020MHz InterfaceRfChannelLabel = "132 (5660/20 MHz)" + N133661520MHz InterfaceRfChannelLabel = "133 (6615/20 MHz)" + N134567040MHz InterfaceRfChannelLabel = "134 (5670/40 MHz)" + N135662580MHz InterfaceRfChannelLabel = "135 (6625/80 MHz)" + N13601520MHz InterfaceRfChannelLabel = "13 (6015/20 MHz)" + N136568020MHz InterfaceRfChannelLabel = "136 (5680/20 MHz)" + N136804432GHz InterfaceRfChannelLabel = "13 (68.04/4.32 GHz)" + N137663520MHz InterfaceRfChannelLabel = "137 (6635/20 MHz)" + N138569080MHz InterfaceRfChannelLabel = "138 (5690/80 MHz)" + N139664540MHz InterfaceRfChannelLabel = "139 (6645/40 MHz)" + N140570020MHz InterfaceRfChannelLabel = "140 (5700/20 MHz)" + N141665520MHz InterfaceRfChannelLabel = "141 (6655/20 MHz)" + N142571040MHz InterfaceRfChannelLabel = "142 (5710/40 MHz)" + N1436665160MHz InterfaceRfChannelLabel = "143 (6665/160 MHz)" + N144572020MHz InterfaceRfChannelLabel = "144 (5720/20 MHz)" + N145667520MHz InterfaceRfChannelLabel = "145 (6675/20 MHz)" + N147668540MHz InterfaceRfChannelLabel = "147 (6685/40 MHz)" + N149574520MHz InterfaceRfChannelLabel = "149 (5745/20 MHz)" + N149669520MHz InterfaceRfChannelLabel = "149 (6695/20 MHz)" + N151575540MHz InterfaceRfChannelLabel = "151 (5755/40 MHz)" + N151670580MHz InterfaceRfChannelLabel = "151 (6705/80 MHz)" + N153576520MHz InterfaceRfChannelLabel = "153 (5765/20 MHz)" + N153671520MHz InterfaceRfChannelLabel = "153 (6715/20 MHz)" + N155577580MHz InterfaceRfChannelLabel = "155 (5775/80 MHz)" + N155672540MHz InterfaceRfChannelLabel = "155 (6725/40 MHz)" + N156025160MHz InterfaceRfChannelLabel = "15 (6025/160 MHz)" + N157578520MHz InterfaceRfChannelLabel = "157 (5785/20 MHz)" + N157673520MHz InterfaceRfChannelLabel = "157 (6735/20 MHz)" + N15832216GHz InterfaceRfChannelLabel = "1 (58.32/2.16 GHz)" + N1595520MHz InterfaceRfChannelLabel = "1 (5955/20 MHz)" + N159579540MHz InterfaceRfChannelLabel = "159 (5795/40 MHz)" + N1596745320MHz InterfaceRfChannelLabel = "159 (6745/320 MHz)" + N161580520MHz InterfaceRfChannelLabel = "161 (5805/20 MHz)" + N161675520MHz InterfaceRfChannelLabel = "161 (6755/20 MHz)" + N1635815160MHz InterfaceRfChannelLabel = "163 (5815/160 MHz)" + N163676540MHz InterfaceRfChannelLabel = "163 (6765/40 MHz)" + N165582520MHz InterfaceRfChannelLabel = "165 (5825/20 MHz)" + N165677520MHz InterfaceRfChannelLabel = "165 (6775/20 MHz)" + N167583540MHz InterfaceRfChannelLabel = "167 (5835/40 MHz)" + N167678580MHz InterfaceRfChannelLabel = "167 (6785/80 MHz)" + N169584520MHz InterfaceRfChannelLabel = "169 (5845/20 MHz)" + N169679520MHz InterfaceRfChannelLabel = "169 (6795/20 MHz)" + N171585580MHz InterfaceRfChannelLabel = "171 (5855/80 MHz)" + N171680540MHz InterfaceRfChannelLabel = "171 (6805/40 MHz)" + N173586520MHz InterfaceRfChannelLabel = "173 (5865/20 MHz)" + N173681520MHz InterfaceRfChannelLabel = "173 (6815/20 MHz)" + N175587540MHz InterfaceRfChannelLabel = "175 (5875/40 MHz)" + N1756825160MHz InterfaceRfChannelLabel = "175 (6825/160 MHz)" + N17603520MHz InterfaceRfChannelLabel = "17 (6035/20 MHz)" + N176048648GHz InterfaceRfChannelLabel = "17 (60.48/6.48 GHz)" + N177588520MHz InterfaceRfChannelLabel = "177 (5885/20 MHz)" + N177683520MHz InterfaceRfChannelLabel = "177 (6835/20 MHz)" + N179684540MHz InterfaceRfChannelLabel = "179 (6845/40 MHz)" + N181685520MHz InterfaceRfChannelLabel = "181 (6855/20 MHz)" + N183686580MHz InterfaceRfChannelLabel = "183 (6865/80 MHz)" + N185687520MHz InterfaceRfChannelLabel = "185 (6875/20 MHz)" + N186264648GHz InterfaceRfChannelLabel = "18 (62.64/6.48 GHz)" + N187688540MHz InterfaceRfChannelLabel = "187 (6885/40 MHz)" + N189689520MHz InterfaceRfChannelLabel = "189 (6895/20 MHz)" + N193691520MHz InterfaceRfChannelLabel = "193 (6915/20 MHz)" + N195692540MHz InterfaceRfChannelLabel = "195 (6925/40 MHz)" + N19604540MHz InterfaceRfChannelLabel = "19 (6045/40 MHz)" + N196480648GHz InterfaceRfChannelLabel = "19 (64.80/6.48 GHz)" + N197693520MHz InterfaceRfChannelLabel = "197 (6935/20 MHz)" + N199694580MHz InterfaceRfChannelLabel = "199 (6945/80 MHz)" + N201695520MHz InterfaceRfChannelLabel = "201 (6955/20 MHz)" + N203696540MHz InterfaceRfChannelLabel = "203 (6965/40 MHz)" + N205697520MHz InterfaceRfChannelLabel = "205 (6975/20 MHz)" + N206696648GHz InterfaceRfChannelLabel = "20 (66.96/6.48 GHz)" + N2076985160MHz InterfaceRfChannelLabel = "207 (6985/160 MHz)" + N209699520MHz InterfaceRfChannelLabel = "209 (6995/20 MHz)" + N211700540MHz InterfaceRfChannelLabel = "211 (7005/40 MHz)" + N213701520MHz InterfaceRfChannelLabel = "213 (7015/20 MHz)" + N215702580MHz InterfaceRfChannelLabel = "215 (7025/80 MHz)" + N21605520MHz InterfaceRfChannelLabel = "21 (6055/20 MHz)" + N217703520MHz InterfaceRfChannelLabel = "217 (7035/20 MHz)" + N219704540MHz InterfaceRfChannelLabel = "219 (7045/40 MHz)" + N221705520MHz InterfaceRfChannelLabel = "221 (7055/20 MHz)" + N22417MHz InterfaceRfChannelLabel = "2 (2417 MHz)" + N225707520MHz InterfaceRfChannelLabel = "225 (7075/20 MHz)" + N227708540MHz InterfaceRfChannelLabel = "227 (7085/40 MHz)" + N229709520MHz InterfaceRfChannelLabel = "229 (7095/20 MHz)" + N233711520MHz InterfaceRfChannelLabel = "233 (7115/20 MHz)" + N23606580MHz InterfaceRfChannelLabel = "23 (6065/80 MHz)" + N25607520MHz InterfaceRfChannelLabel = "25 (6075/20 MHz)" + N256156864GHz InterfaceRfChannelLabel = "25 (61.56/8.64 GHz)" + N26048216GHz InterfaceRfChannelLabel = "2 (60.48/2.16 GHz)" + N266372864GHz InterfaceRfChannelLabel = "26 (63.72/8.64 GHz)" + N27608540MHz InterfaceRfChannelLabel = "27 (6085/40 MHz)" + N276588864GHz InterfaceRfChannelLabel = "27 (65.88/8.64 GHz)" + N29609520MHz InterfaceRfChannelLabel = "29 (6095/20 MHz)" + N316105320MHz InterfaceRfChannelLabel = "31 (6105/320 MHz)" + N32422MHz InterfaceRfChannelLabel = "3 (2422 MHz)" + N32516020MHz InterfaceRfChannelLabel = "32 (5160/20 MHz)" + N33611520MHz InterfaceRfChannelLabel = "33 (6115/20 MHz)" + N34517040MHz InterfaceRfChannelLabel = "34 (5170/40 MHz)" + N35612540MHz InterfaceRfChannelLabel = "35 (6125/40 MHz)" + N3596540MHz InterfaceRfChannelLabel = "3 (5965/40 MHz)" + N36264216GHz InterfaceRfChannelLabel = "3 (62.64/2.16 GHz)" + N36518020MHz InterfaceRfChannelLabel = "36 (5180/20 MHz)" + N37613520MHz InterfaceRfChannelLabel = "37 (6135/20 MHz)" + N38519040MHz InterfaceRfChannelLabel = "38 (5190/40 MHz)" + N39614580MHz InterfaceRfChannelLabel = "39 (6145/80 MHz)" + N40520020MHz InterfaceRfChannelLabel = "40 (5200/20 MHz)" + N41615520MHz InterfaceRfChannelLabel = "41 (6155/20 MHz)" + N42427MHz InterfaceRfChannelLabel = "4 (2427 MHz)" + N42521080MHz InterfaceRfChannelLabel = "42 (5210/80 MHz)" + N43616540MHz InterfaceRfChannelLabel = "43 (6165/40 MHz)" + N44522020MHz InterfaceRfChannelLabel = "44 (5220/20 MHz)" + N45617520MHz InterfaceRfChannelLabel = "45 (6175/20 MHz)" + N46480216GHz InterfaceRfChannelLabel = "4 (64.80/2.16 GHz)" + N46523040MHz InterfaceRfChannelLabel = "46 (5230/40 MHz)" + N476185160MHz InterfaceRfChannelLabel = "47 (6185/160 MHz)" + N48524020MHz InterfaceRfChannelLabel = "48 (5240/20 MHz)" + N49619520MHz InterfaceRfChannelLabel = "49 (6195/20 MHz)" + N505250160MHz InterfaceRfChannelLabel = "50 (5250/160 MHz)" + N51620540MHz InterfaceRfChannelLabel = "51 (6205/40 MHz)" + N52432MHz InterfaceRfChannelLabel = "5 (2432 MHz)" + N52526020MHz InterfaceRfChannelLabel = "52 (5260/20 MHz)" + N53621520MHz InterfaceRfChannelLabel = "53 (6215/20 MHz)" + N54527040MHz InterfaceRfChannelLabel = "54 (5270/40 MHz)" + N55622580MHz InterfaceRfChannelLabel = "55 (6225/80 MHz)" + N5597520MHz InterfaceRfChannelLabel = "5 (5975/20 MHz)" + N56528020MHz InterfaceRfChannelLabel = "56 (5280/20 MHz)" + N56696216GHz InterfaceRfChannelLabel = "5 (66.96/2.16 GHz)" + N57623520MHz InterfaceRfChannelLabel = "57 (6235/20 MHz)" + N58529080MHz InterfaceRfChannelLabel = "58 (5290/80 MHz)" + N59624540MHz InterfaceRfChannelLabel = "59 (6245/40 MHz)" + N60530020MHz InterfaceRfChannelLabel = "60 (5300/20 MHz)" + N61625520MHz InterfaceRfChannelLabel = "61 (6255/20 MHz)" + N62437MHz InterfaceRfChannelLabel = "6 (2437 MHz)" + N62531040MHz InterfaceRfChannelLabel = "62 (5310/40 MHz)" + N64532020MHz InterfaceRfChannelLabel = "64 (5320/20 MHz)" + N65627520MHz InterfaceRfChannelLabel = "65 (6275/20 MHz)" + N66912216GHz InterfaceRfChannelLabel = "6 (69.12/2.16 GHz)" + N67628540MHz InterfaceRfChannelLabel = "67 (6285/40 MHz)" + N69629520MHz InterfaceRfChannelLabel = "69 (6295/20 MHz)" + N71630580MHz InterfaceRfChannelLabel = "71 (6305/80 MHz)" + N72442MHz InterfaceRfChannelLabel = "7 (2442 MHz)" + N73631520MHz InterfaceRfChannelLabel = "73 (6315/20 MHz)" + N75632540MHz InterfaceRfChannelLabel = "75 (6325/40 MHz)" + N7598580MHz InterfaceRfChannelLabel = "7 (5985/80 MHz)" + N77633520MHz InterfaceRfChannelLabel = "77 (6335/20 MHz)" + N796345160MHz InterfaceRfChannelLabel = "79 (6345/160 MHz)" + N81635520MHz InterfaceRfChannelLabel = "81 (6355/20 MHz)" + N82447MHz InterfaceRfChannelLabel = "8 (2447 MHz)" + N83636540MHz InterfaceRfChannelLabel = "83 (6365/40 MHz)" + N85637520MHz InterfaceRfChannelLabel = "85 (6375/20 MHz)" + N87638580MHz InterfaceRfChannelLabel = "87 (6385/80 MHz)" + N89639520MHz InterfaceRfChannelLabel = "89 (6395/20 MHz)" + N91640540MHz InterfaceRfChannelLabel = "91 (6405/40 MHz)" + N92452MHz InterfaceRfChannelLabel = "9 (2452 MHz)" + N93641520MHz InterfaceRfChannelLabel = "93 (6415/20 MHz)" + N956425320MHz InterfaceRfChannelLabel = "95 (6425/320 MHz)" + N95940432GHz InterfaceRfChannelLabel = "9 (59.40/4.32 GHz)" + N9599520MHz InterfaceRfChannelLabel = "9 (5995/20 MHz)" + N97643520MHz InterfaceRfChannelLabel = "97 (6435/20 MHz)" + N99644540MHz InterfaceRfChannelLabel = "99 (6445/40 MHz)" +) + +// Defines values for InterfaceRfChannelValue. +const ( + InterfaceRfChannelValueEmpty InterfaceRfChannelValue = "" + InterfaceRfChannelValueN24g10245722 InterfaceRfChannelValue = "2.4g-10-2457-22" + InterfaceRfChannelValueN24g11246222 InterfaceRfChannelValue = "2.4g-11-2462-22" + InterfaceRfChannelValueN24g12246722 InterfaceRfChannelValue = "2.4g-12-2467-22" + InterfaceRfChannelValueN24g1241222 InterfaceRfChannelValue = "2.4g-1-2412-22" + InterfaceRfChannelValueN24g13247222 InterfaceRfChannelValue = "2.4g-13-2472-22" + InterfaceRfChannelValueN24g2241722 InterfaceRfChannelValue = "2.4g-2-2417-22" + InterfaceRfChannelValueN24g3242222 InterfaceRfChannelValue = "2.4g-3-2422-22" + InterfaceRfChannelValueN24g4242722 InterfaceRfChannelValue = "2.4g-4-2427-22" + InterfaceRfChannelValueN24g5243222 InterfaceRfChannelValue = "2.4g-5-2432-22" + InterfaceRfChannelValueN24g6243722 InterfaceRfChannelValue = "2.4g-6-2437-22" + InterfaceRfChannelValueN24g7244222 InterfaceRfChannelValue = "2.4g-7-2442-22" + InterfaceRfChannelValueN24g8244722 InterfaceRfChannelValue = "2.4g-8-2447-22" + InterfaceRfChannelValueN24g9245222 InterfaceRfChannelValue = "2.4g-9-2452-22" + InterfaceRfChannelValueN5g100550020 InterfaceRfChannelValue = "5g-100-5500-20" + InterfaceRfChannelValueN5g102551040 InterfaceRfChannelValue = "5g-102-5510-40" + InterfaceRfChannelValueN5g104552020 InterfaceRfChannelValue = "5g-104-5520-20" + InterfaceRfChannelValueN5g106553080 InterfaceRfChannelValue = "5g-106-5530-80" + InterfaceRfChannelValueN5g108554020 InterfaceRfChannelValue = "5g-108-5540-20" + InterfaceRfChannelValueN5g110555040 InterfaceRfChannelValue = "5g-110-5550-40" + InterfaceRfChannelValueN5g112556020 InterfaceRfChannelValue = "5g-112-5560-20" + InterfaceRfChannelValueN5g1145570160 InterfaceRfChannelValue = "5g-114-5570-160" + InterfaceRfChannelValueN5g116558020 InterfaceRfChannelValue = "5g-116-5580-20" + InterfaceRfChannelValueN5g118559040 InterfaceRfChannelValue = "5g-118-5590-40" + InterfaceRfChannelValueN5g120560020 InterfaceRfChannelValue = "5g-120-5600-20" + InterfaceRfChannelValueN5g122561080 InterfaceRfChannelValue = "5g-122-5610-80" + InterfaceRfChannelValueN5g124562020 InterfaceRfChannelValue = "5g-124-5620-20" + InterfaceRfChannelValueN5g126563040 InterfaceRfChannelValue = "5g-126-5630-40" + InterfaceRfChannelValueN5g128564020 InterfaceRfChannelValue = "5g-128-5640-20" + InterfaceRfChannelValueN5g132566020 InterfaceRfChannelValue = "5g-132-5660-20" + InterfaceRfChannelValueN5g134567040 InterfaceRfChannelValue = "5g-134-5670-40" + InterfaceRfChannelValueN5g136568020 InterfaceRfChannelValue = "5g-136-5680-20" + InterfaceRfChannelValueN5g138569080 InterfaceRfChannelValue = "5g-138-5690-80" + InterfaceRfChannelValueN5g140570020 InterfaceRfChannelValue = "5g-140-5700-20" + InterfaceRfChannelValueN5g142571040 InterfaceRfChannelValue = "5g-142-5710-40" + InterfaceRfChannelValueN5g144572020 InterfaceRfChannelValue = "5g-144-5720-20" + InterfaceRfChannelValueN5g149574520 InterfaceRfChannelValue = "5g-149-5745-20" + InterfaceRfChannelValueN5g151575540 InterfaceRfChannelValue = "5g-151-5755-40" + InterfaceRfChannelValueN5g153576520 InterfaceRfChannelValue = "5g-153-5765-20" + InterfaceRfChannelValueN5g155577580 InterfaceRfChannelValue = "5g-155-5775-80" + InterfaceRfChannelValueN5g157578520 InterfaceRfChannelValue = "5g-157-5785-20" + InterfaceRfChannelValueN5g159579540 InterfaceRfChannelValue = "5g-159-5795-40" + InterfaceRfChannelValueN5g161580520 InterfaceRfChannelValue = "5g-161-5805-20" + InterfaceRfChannelValueN5g1635815160 InterfaceRfChannelValue = "5g-163-5815-160" + InterfaceRfChannelValueN5g165582520 InterfaceRfChannelValue = "5g-165-5825-20" + InterfaceRfChannelValueN5g167583540 InterfaceRfChannelValue = "5g-167-5835-40" + InterfaceRfChannelValueN5g169584520 InterfaceRfChannelValue = "5g-169-5845-20" + InterfaceRfChannelValueN5g171585580 InterfaceRfChannelValue = "5g-171-5855-80" + InterfaceRfChannelValueN5g173586520 InterfaceRfChannelValue = "5g-173-5865-20" + InterfaceRfChannelValueN5g175587540 InterfaceRfChannelValue = "5g-175-5875-40" + InterfaceRfChannelValueN5g177588520 InterfaceRfChannelValue = "5g-177-5885-20" + InterfaceRfChannelValueN5g32516020 InterfaceRfChannelValue = "5g-32-5160-20" + InterfaceRfChannelValueN5g34517040 InterfaceRfChannelValue = "5g-34-5170-40" + InterfaceRfChannelValueN5g36518020 InterfaceRfChannelValue = "5g-36-5180-20" + InterfaceRfChannelValueN5g38519040 InterfaceRfChannelValue = "5g-38-5190-40" + InterfaceRfChannelValueN5g40520020 InterfaceRfChannelValue = "5g-40-5200-20" + InterfaceRfChannelValueN5g42521080 InterfaceRfChannelValue = "5g-42-5210-80" + InterfaceRfChannelValueN5g44522020 InterfaceRfChannelValue = "5g-44-5220-20" + InterfaceRfChannelValueN5g46523040 InterfaceRfChannelValue = "5g-46-5230-40" + InterfaceRfChannelValueN5g48524020 InterfaceRfChannelValue = "5g-48-5240-20" + InterfaceRfChannelValueN5g505250160 InterfaceRfChannelValue = "5g-50-5250-160" + InterfaceRfChannelValueN5g52526020 InterfaceRfChannelValue = "5g-52-5260-20" + InterfaceRfChannelValueN5g54527040 InterfaceRfChannelValue = "5g-54-5270-40" + InterfaceRfChannelValueN5g56528020 InterfaceRfChannelValue = "5g-56-5280-20" + InterfaceRfChannelValueN5g58529080 InterfaceRfChannelValue = "5g-58-5290-80" + InterfaceRfChannelValueN5g60530020 InterfaceRfChannelValue = "5g-60-5300-20" + InterfaceRfChannelValueN5g62531040 InterfaceRfChannelValue = "5g-62-5310-40" + InterfaceRfChannelValueN5g64532020 InterfaceRfChannelValue = "5g-64-5320-20" + InterfaceRfChannelValueN60g10615604320 InterfaceRfChannelValue = "60g-10-61560-4320" + InterfaceRfChannelValueN60g11637204320 InterfaceRfChannelValue = "60g-11-63720-4320" + InterfaceRfChannelValueN60g12658804320 InterfaceRfChannelValue = "60g-12-65880-4320" + InterfaceRfChannelValueN60g13680404320 InterfaceRfChannelValue = "60g-13-68040-4320" + InterfaceRfChannelValueN60g1583202160 InterfaceRfChannelValue = "60g-1-58320-2160" + InterfaceRfChannelValueN60g17604806480 InterfaceRfChannelValue = "60g-17-60480-6480" + InterfaceRfChannelValueN60g18626406480 InterfaceRfChannelValue = "60g-18-62640-6480" + InterfaceRfChannelValueN60g19648006480 InterfaceRfChannelValue = "60g-19-64800-6480" + InterfaceRfChannelValueN60g20669606480 InterfaceRfChannelValue = "60g-20-66960-6480" + InterfaceRfChannelValueN60g25615606480 InterfaceRfChannelValue = "60g-25-61560-6480" + InterfaceRfChannelValueN60g2604802160 InterfaceRfChannelValue = "60g-2-60480-2160" + InterfaceRfChannelValueN60g26637206480 InterfaceRfChannelValue = "60g-26-63720-6480" + InterfaceRfChannelValueN60g27658806480 InterfaceRfChannelValue = "60g-27-65880-6480" + InterfaceRfChannelValueN60g3626402160 InterfaceRfChannelValue = "60g-3-62640-2160" + InterfaceRfChannelValueN60g4648002160 InterfaceRfChannelValue = "60g-4-64800-2160" + InterfaceRfChannelValueN60g5669602160 InterfaceRfChannelValue = "60g-5-66960-2160" + InterfaceRfChannelValueN60g6691202160 InterfaceRfChannelValue = "60g-6-69120-2160" + InterfaceRfChannelValueN60g9594004320 InterfaceRfChannelValue = "60g-9-59400-4320" + InterfaceRfChannelValueN6g101645520 InterfaceRfChannelValue = "6g-101-6455-20" + InterfaceRfChannelValueN6g103646580 InterfaceRfChannelValue = "6g-103-6465-80" + InterfaceRfChannelValueN6g105647520 InterfaceRfChannelValue = "6g-105-6475-20" + InterfaceRfChannelValueN6g107648540 InterfaceRfChannelValue = "6g-107-6485-40" + InterfaceRfChannelValueN6g109649520 InterfaceRfChannelValue = "6g-109-6495-20" + InterfaceRfChannelValueN6g1116505160 InterfaceRfChannelValue = "6g-111-6505-160" + InterfaceRfChannelValueN6g113651520 InterfaceRfChannelValue = "6g-113-6515-20" + InterfaceRfChannelValueN6g115652540 InterfaceRfChannelValue = "6g-115-6525-40" + InterfaceRfChannelValueN6g11600540 InterfaceRfChannelValue = "6g-11-6005-40" + InterfaceRfChannelValueN6g117653520 InterfaceRfChannelValue = "6g-117-6535-20" + InterfaceRfChannelValueN6g119654580 InterfaceRfChannelValue = "6g-119-6545-80" + InterfaceRfChannelValueN6g121655520 InterfaceRfChannelValue = "6g-121-6555-20" + InterfaceRfChannelValueN6g123656540 InterfaceRfChannelValue = "6g-123-6565-40" + InterfaceRfChannelValueN6g125657520 InterfaceRfChannelValue = "6g-125-6575-20" + InterfaceRfChannelValueN6g129659520 InterfaceRfChannelValue = "6g-129-6595-20" + InterfaceRfChannelValueN6g131660540 InterfaceRfChannelValue = "6g-131-6605-40" + InterfaceRfChannelValueN6g133661520 InterfaceRfChannelValue = "6g-133-6615-20" + InterfaceRfChannelValueN6g135662580 InterfaceRfChannelValue = "6g-135-6625-80" + InterfaceRfChannelValueN6g13601520 InterfaceRfChannelValue = "6g-13-6015-20" + InterfaceRfChannelValueN6g137663520 InterfaceRfChannelValue = "6g-137-6635-20" + InterfaceRfChannelValueN6g139664540 InterfaceRfChannelValue = "6g-139-6645-40" + InterfaceRfChannelValueN6g141665520 InterfaceRfChannelValue = "6g-141-6655-20" + InterfaceRfChannelValueN6g1436665160 InterfaceRfChannelValue = "6g-143-6665-160" + InterfaceRfChannelValueN6g145667520 InterfaceRfChannelValue = "6g-145-6675-20" + InterfaceRfChannelValueN6g147668540 InterfaceRfChannelValue = "6g-147-6685-40" + InterfaceRfChannelValueN6g149669520 InterfaceRfChannelValue = "6g-149-6695-20" + InterfaceRfChannelValueN6g151670580 InterfaceRfChannelValue = "6g-151-6705-80" + InterfaceRfChannelValueN6g153671520 InterfaceRfChannelValue = "6g-153-6715-20" + InterfaceRfChannelValueN6g155672540 InterfaceRfChannelValue = "6g-155-6725-40" + InterfaceRfChannelValueN6g156025160 InterfaceRfChannelValue = "6g-15-6025-160" + InterfaceRfChannelValueN6g157673520 InterfaceRfChannelValue = "6g-157-6735-20" + InterfaceRfChannelValueN6g1595520 InterfaceRfChannelValue = "6g-1-5955-20" + InterfaceRfChannelValueN6g1596745320 InterfaceRfChannelValue = "6g-159-6745-320" + InterfaceRfChannelValueN6g161675520 InterfaceRfChannelValue = "6g-161-6755-20" + InterfaceRfChannelValueN6g163676540 InterfaceRfChannelValue = "6g-163-6765-40" + InterfaceRfChannelValueN6g165677520 InterfaceRfChannelValue = "6g-165-6775-20" + InterfaceRfChannelValueN6g167678580 InterfaceRfChannelValue = "6g-167-6785-80" + InterfaceRfChannelValueN6g169679520 InterfaceRfChannelValue = "6g-169-6795-20" + InterfaceRfChannelValueN6g171680540 InterfaceRfChannelValue = "6g-171-6805-40" + InterfaceRfChannelValueN6g173681520 InterfaceRfChannelValue = "6g-173-6815-20" + InterfaceRfChannelValueN6g1756825160 InterfaceRfChannelValue = "6g-175-6825-160" + InterfaceRfChannelValueN6g17603520 InterfaceRfChannelValue = "6g-17-6035-20" + InterfaceRfChannelValueN6g177683520 InterfaceRfChannelValue = "6g-177-6835-20" + InterfaceRfChannelValueN6g179684540 InterfaceRfChannelValue = "6g-179-6845-40" + InterfaceRfChannelValueN6g181685520 InterfaceRfChannelValue = "6g-181-6855-20" + InterfaceRfChannelValueN6g183686580 InterfaceRfChannelValue = "6g-183-6865-80" + InterfaceRfChannelValueN6g185687520 InterfaceRfChannelValue = "6g-185-6875-20" + InterfaceRfChannelValueN6g187688540 InterfaceRfChannelValue = "6g-187-6885-40" + InterfaceRfChannelValueN6g189689520 InterfaceRfChannelValue = "6g-189-6895-20" + InterfaceRfChannelValueN6g193691520 InterfaceRfChannelValue = "6g-193-6915-20" + InterfaceRfChannelValueN6g195692540 InterfaceRfChannelValue = "6g-195-6925-40" + InterfaceRfChannelValueN6g19604540 InterfaceRfChannelValue = "6g-19-6045-40" + InterfaceRfChannelValueN6g197693520 InterfaceRfChannelValue = "6g-197-6935-20" + InterfaceRfChannelValueN6g199694580 InterfaceRfChannelValue = "6g-199-6945-80" + InterfaceRfChannelValueN6g201695520 InterfaceRfChannelValue = "6g-201-6955-20" + InterfaceRfChannelValueN6g203696540 InterfaceRfChannelValue = "6g-203-6965-40" + InterfaceRfChannelValueN6g205697520 InterfaceRfChannelValue = "6g-205-6975-20" + InterfaceRfChannelValueN6g2076985160 InterfaceRfChannelValue = "6g-207-6985-160" + InterfaceRfChannelValueN6g209699520 InterfaceRfChannelValue = "6g-209-6995-20" + InterfaceRfChannelValueN6g211700540 InterfaceRfChannelValue = "6g-211-7005-40" + InterfaceRfChannelValueN6g213701520 InterfaceRfChannelValue = "6g-213-7015-20" + InterfaceRfChannelValueN6g215702580 InterfaceRfChannelValue = "6g-215-7025-80" + InterfaceRfChannelValueN6g21605520 InterfaceRfChannelValue = "6g-21-6055-20" + InterfaceRfChannelValueN6g217703520 InterfaceRfChannelValue = "6g-217-7035-20" + InterfaceRfChannelValueN6g219704540 InterfaceRfChannelValue = "6g-219-7045-40" + InterfaceRfChannelValueN6g221705520 InterfaceRfChannelValue = "6g-221-7055-20" + InterfaceRfChannelValueN6g225707520 InterfaceRfChannelValue = "6g-225-7075-20" + InterfaceRfChannelValueN6g227708540 InterfaceRfChannelValue = "6g-227-7085-40" + InterfaceRfChannelValueN6g229709520 InterfaceRfChannelValue = "6g-229-7095-20" + InterfaceRfChannelValueN6g233711520 InterfaceRfChannelValue = "6g-233-7115-20" + InterfaceRfChannelValueN6g23606580 InterfaceRfChannelValue = "6g-23-6065-80" + InterfaceRfChannelValueN6g25607520 InterfaceRfChannelValue = "6g-25-6075-20" + InterfaceRfChannelValueN6g27608540 InterfaceRfChannelValue = "6g-27-6085-40" + InterfaceRfChannelValueN6g29609520 InterfaceRfChannelValue = "6g-29-6095-20" + InterfaceRfChannelValueN6g316105320 InterfaceRfChannelValue = "6g-31-6105-320" + InterfaceRfChannelValueN6g33611520 InterfaceRfChannelValue = "6g-33-6115-20" + InterfaceRfChannelValueN6g35612540 InterfaceRfChannelValue = "6g-35-6125-40" + InterfaceRfChannelValueN6g3596540 InterfaceRfChannelValue = "6g-3-5965-40" + InterfaceRfChannelValueN6g37613520 InterfaceRfChannelValue = "6g-37-6135-20" + InterfaceRfChannelValueN6g39614580 InterfaceRfChannelValue = "6g-39-6145-80" + InterfaceRfChannelValueN6g41615520 InterfaceRfChannelValue = "6g-41-6155-20" + InterfaceRfChannelValueN6g43616540 InterfaceRfChannelValue = "6g-43-6165-40" + InterfaceRfChannelValueN6g45617520 InterfaceRfChannelValue = "6g-45-6175-20" + InterfaceRfChannelValueN6g476185160 InterfaceRfChannelValue = "6g-47-6185-160" + InterfaceRfChannelValueN6g49619520 InterfaceRfChannelValue = "6g-49-6195-20" + InterfaceRfChannelValueN6g51620540 InterfaceRfChannelValue = "6g-51-6205-40" + InterfaceRfChannelValueN6g53621520 InterfaceRfChannelValue = "6g-53-6215-20" + InterfaceRfChannelValueN6g55622580 InterfaceRfChannelValue = "6g-55-6225-80" + InterfaceRfChannelValueN6g5597520 InterfaceRfChannelValue = "6g-5-5975-20" + InterfaceRfChannelValueN6g57623520 InterfaceRfChannelValue = "6g-57-6235-20" + InterfaceRfChannelValueN6g59624540 InterfaceRfChannelValue = "6g-59-6245-40" + InterfaceRfChannelValueN6g61625520 InterfaceRfChannelValue = "6g-61-6255-20" + InterfaceRfChannelValueN6g65627520 InterfaceRfChannelValue = "6g-65-6275-20" + InterfaceRfChannelValueN6g67628540 InterfaceRfChannelValue = "6g-67-6285-40" + InterfaceRfChannelValueN6g69629520 InterfaceRfChannelValue = "6g-69-6295-20" + InterfaceRfChannelValueN6g71630580 InterfaceRfChannelValue = "6g-71-6305-80" + InterfaceRfChannelValueN6g73631520 InterfaceRfChannelValue = "6g-73-6315-20" + InterfaceRfChannelValueN6g75632540 InterfaceRfChannelValue = "6g-75-6325-40" + InterfaceRfChannelValueN6g7598580 InterfaceRfChannelValue = "6g-7-5985-80" + InterfaceRfChannelValueN6g77633520 InterfaceRfChannelValue = "6g-77-6335-20" + InterfaceRfChannelValueN6g796345160 InterfaceRfChannelValue = "6g-79-6345-160" + InterfaceRfChannelValueN6g81635520 InterfaceRfChannelValue = "6g-81-6355-20" + InterfaceRfChannelValueN6g83636540 InterfaceRfChannelValue = "6g-83-6365-40" + InterfaceRfChannelValueN6g85637520 InterfaceRfChannelValue = "6g-85-6375-20" + InterfaceRfChannelValueN6g87638580 InterfaceRfChannelValue = "6g-87-6385-80" + InterfaceRfChannelValueN6g89639520 InterfaceRfChannelValue = "6g-89-6395-20" + InterfaceRfChannelValueN6g91640540 InterfaceRfChannelValue = "6g-91-6405-40" + InterfaceRfChannelValueN6g93641520 InterfaceRfChannelValue = "6g-93-6415-20" + InterfaceRfChannelValueN6g956425320 InterfaceRfChannelValue = "6g-95-6425-320" + InterfaceRfChannelValueN6g9599520 InterfaceRfChannelValue = "6g-9-5995-20" + InterfaceRfChannelValueN6g97643520 InterfaceRfChannelValue = "6g-97-6435-20" + InterfaceRfChannelValueN6g99644540 InterfaceRfChannelValue = "6g-99-6445-40" +) + +// Defines values for InterfaceRfRoleLabel. +const ( + InterfaceRfRoleLabelAccessPoint InterfaceRfRoleLabel = "Access point" + InterfaceRfRoleLabelStation InterfaceRfRoleLabel = "Station" +) + +// Defines values for InterfaceRfRoleValue. +const ( + InterfaceRfRoleValueAp InterfaceRfRoleValue = "ap" + InterfaceRfRoleValueEmpty InterfaceRfRoleValue = "" + InterfaceRfRoleValueStation InterfaceRfRoleValue = "station" +) + +// Defines values for InterfaceTypeLabel. +const ( + InterfaceTypeLabelBridge InterfaceTypeLabel = "Bridge" + InterfaceTypeLabelCDFP400GE InterfaceTypeLabel = "CDFP (400GE)" + InterfaceTypeLabelCDMA InterfaceTypeLabel = "CDMA" + InterfaceTypeLabelCFP100GE InterfaceTypeLabel = "CFP (100GE)" + InterfaceTypeLabelCFP2100GE InterfaceTypeLabel = "CFP2 (100GE)" + InterfaceTypeLabelCFP2200GE InterfaceTypeLabel = "CFP2 (200GE)" + InterfaceTypeLabelCFP2400GE InterfaceTypeLabel = "CFP2 (400GE)" + InterfaceTypeLabelCFP4100GE InterfaceTypeLabel = "CFP4 (100GE)" + InterfaceTypeLabelCPF8400GE InterfaceTypeLabel = "CPF8 (400GE)" + InterfaceTypeLabelCXP100GE InterfaceTypeLabel = "CXP (100GE)" + InterfaceTypeLabelCiscoCPAK100GE InterfaceTypeLabel = "Cisco CPAK (100GE)" + InterfaceTypeLabelCiscoFlexStack InterfaceTypeLabel = "Cisco FlexStack" + InterfaceTypeLabelCiscoFlexStackPlus InterfaceTypeLabel = "Cisco FlexStack Plus" + InterfaceTypeLabelCiscoStackWise InterfaceTypeLabel = "Cisco StackWise" + InterfaceTypeLabelCiscoStackWise160 InterfaceTypeLabel = "Cisco StackWise-160" + InterfaceTypeLabelCiscoStackWise1T InterfaceTypeLabel = "Cisco StackWise-1T" + InterfaceTypeLabelCiscoStackWise320 InterfaceTypeLabel = "Cisco StackWise-320" + InterfaceTypeLabelCiscoStackWise480 InterfaceTypeLabel = "Cisco StackWise-480" + InterfaceTypeLabelCiscoStackWise80 InterfaceTypeLabel = "Cisco StackWise-80" + InterfaceTypeLabelCiscoStackWisePlus InterfaceTypeLabel = "Cisco StackWise Plus" + InterfaceTypeLabelDDR4Gbps InterfaceTypeLabel = "DDR (4 Gbps)" + InterfaceTypeLabelDOCSIS InterfaceTypeLabel = "DOCSIS" + InterfaceTypeLabelDSFP100GE InterfaceTypeLabel = "DSFP (100GE)" + InterfaceTypeLabelE12048Mbps InterfaceTypeLabel = "E1 (2.048 Mbps)" + InterfaceTypeLabelE334Mbps InterfaceTypeLabel = "E3 (34 Mbps)" + InterfaceTypeLabelEDR25Gbps InterfaceTypeLabel = "EDR (25 Gbps)" + InterfaceTypeLabelEPON1Gbps InterfaceTypeLabel = "EPON (1 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)" + InterfaceTypeLabelGPON25Gbps125Gps InterfaceTypeLabel = "GPON (2.5 Gbps / 1.25 Gps)" + 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" + InterfaceTypeLabelIEEE80211ay InterfaceTypeLabel = "IEEE 802.11ay" + InterfaceTypeLabelIEEE80211bg InterfaceTypeLabel = "IEEE 802.11b/g" + InterfaceTypeLabelIEEE80211n InterfaceTypeLabel = "IEEE 802.11n" + InterfaceTypeLabelIEEE802151Bluetooth InterfaceTypeLabel = "IEEE 802.15.1 (Bluetooth)" + InterfaceTypeLabelJuniperVCP InterfaceTypeLabel = "Juniper VCP" + InterfaceTypeLabelLTE InterfaceTypeLabel = "LTE" + InterfaceTypeLabelLinkAggregationGroupLAG InterfaceTypeLabel = "Link Aggregation Group (LAG)" + InterfaceTypeLabelN1000BASEKX1GE InterfaceTypeLabel = "1000BASE-KX (1GE)" + InterfaceTypeLabelN1000BASET1GE InterfaceTypeLabel = "1000BASE-T (1GE)" + InterfaceTypeLabelN100BASEFX10100MEFIBER InterfaceTypeLabel = "100BASE-FX (10/100ME FIBER)" + InterfaceTypeLabelN100BASELFX10100MEFIBER InterfaceTypeLabel = "100BASE-LFX (10/100ME FIBER)" + InterfaceTypeLabelN100BASET110100MESinglePair InterfaceTypeLabel = "100BASE-T1 (10/100ME Single Pair)" + InterfaceTypeLabelN100BASETX10100ME InterfaceTypeLabel = "100BASE-TX (10/100ME)" + InterfaceTypeLabelN100GBASEKP4100GE InterfaceTypeLabel = "100GBASE-KP4 (100GE)" + InterfaceTypeLabelN100GBASEKR2100GE InterfaceTypeLabel = "100GBASE-KR2 (100GE)" + InterfaceTypeLabelN100GBASEKR4100GE InterfaceTypeLabel = "100GBASE-KR4 (100GE)" + InterfaceTypeLabelN10GBASECX410GE InterfaceTypeLabel = "10GBASE-CX4 (10GE)" + InterfaceTypeLabelN10GBASEKR10GE InterfaceTypeLabel = "10GBASE-KR (10GE)" + InterfaceTypeLabelN10GBASEKX410GE InterfaceTypeLabel = "10GBASE-KX4 (10GE)" + InterfaceTypeLabelN10GBASET10GE InterfaceTypeLabel = "10GBASE-T (10GE)" + InterfaceTypeLabelN10GEPON10Gbps InterfaceTypeLabel = "10G-EPON (10 Gbps)" + InterfaceTypeLabelN25GBASEKR25GE InterfaceTypeLabel = "25GBASE-KR (25GE)" + InterfaceTypeLabelN25GBASET25GE InterfaceTypeLabel = "2.5GBASE-T (2.5GE)" + InterfaceTypeLabelN40GBASEKR440GE InterfaceTypeLabel = "40GBASE-KR4 (40GE)" + InterfaceTypeLabelN50GBASEKR50GE InterfaceTypeLabel = "50GBASE-KR (50GE)" + InterfaceTypeLabelN5GBASET5GE InterfaceTypeLabel = "5GBASE-T (5GE)" + InterfaceTypeLabelNDR100Gbps InterfaceTypeLabel = "NDR (100 Gbps)" + InterfaceTypeLabelNGPON2TWDMPON4x10Gbps InterfaceTypeLabel = "NG-PON2 (TWDM-PON) (4x10 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)" + InterfaceTypeLabelOSFP800GE InterfaceTypeLabel = "OSFP (800GE)" + InterfaceTypeLabelOSFPRHS400GE InterfaceTypeLabel = "OSFP-RHS (400GE)" + InterfaceTypeLabelOther InterfaceTypeLabel = "Other" + InterfaceTypeLabelOtherWireless InterfaceTypeLabel = "Other (Wireless)" + InterfaceTypeLabelQDR8Gbps InterfaceTypeLabel = "QDR (8 Gbps)" + InterfaceTypeLabelQSFP112400GE InterfaceTypeLabel = "QSFP112 (400GE)" + InterfaceTypeLabelQSFP28100GE InterfaceTypeLabel = "QSFP28 (100GE)" + InterfaceTypeLabelQSFP28128GFC InterfaceTypeLabel = "QSFP28 (128GFC)" + InterfaceTypeLabelQSFP2850GE InterfaceTypeLabel = "QSFP28 (50GE)" + InterfaceTypeLabelQSFP40GE InterfaceTypeLabel = "QSFP+ (40GE)" + InterfaceTypeLabelQSFP56200GE InterfaceTypeLabel = "QSFP56 (200GE)" + InterfaceTypeLabelQSFP64GFC InterfaceTypeLabel = "QSFP+ (64GFC)" + InterfaceTypeLabelQSFPDD100GE InterfaceTypeLabel = "QSFP-DD (100GE)" + InterfaceTypeLabelQSFPDD200GE InterfaceTypeLabel = "QSFP-DD (200GE)" + InterfaceTypeLabelQSFPDD400GE InterfaceTypeLabel = "QSFP-DD (400GE)" + InterfaceTypeLabelQSFPDD800GE InterfaceTypeLabel = "QSFP-DD (800GE)" + 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)" + InterfaceTypeLabelSFP5650GE InterfaceTypeLabel = "SFP56 (50GE)" + InterfaceTypeLabelSFP8GFC InterfaceTypeLabel = "SFP+ (8GFC)" + InterfaceTypeLabelSFPDD100GE InterfaceTypeLabel = "SFP-DD (100GE)" + InterfaceTypeLabelT11544Mbps InterfaceTypeLabel = "T1 (1.544 Mbps)" + InterfaceTypeLabelT345Mbps InterfaceTypeLabel = "T3 (45 Mbps)" + InterfaceTypeLabelVirtual InterfaceTypeLabel = "Virtual" + InterfaceTypeLabelX210GE InterfaceTypeLabel = "X2 (10GE)" + InterfaceTypeLabelXDR250Gbps InterfaceTypeLabel = "XDR (250 Gbps)" + InterfaceTypeLabelXDSL InterfaceTypeLabel = "xDSL" + InterfaceTypeLabelXENPAK10GE InterfaceTypeLabel = "XENPAK (10GE)" + InterfaceTypeLabelXFP10GE InterfaceTypeLabel = "XFP (10GE)" + InterfaceTypeLabelXGPON10Gbps25Gbps InterfaceTypeLabel = "XG-PON (10 Gbps / 2.5 Gbps)" + InterfaceTypeLabelXGSPON10Gbps InterfaceTypeLabel = "XGS-PON (10 Gbps)" +) + +// Defines values for InterfaceTypeValue. +const ( + InterfaceTypeValueBridge InterfaceTypeValue = "bridge" + InterfaceTypeValueCdma InterfaceTypeValue = "cdma" + InterfaceTypeValueCiscoFlexstack InterfaceTypeValue = "cisco-flexstack" + InterfaceTypeValueCiscoFlexstackPlus InterfaceTypeValue = "cisco-flexstack-plus" + InterfaceTypeValueCiscoStackwise InterfaceTypeValue = "cisco-stackwise" + InterfaceTypeValueCiscoStackwise160 InterfaceTypeValue = "cisco-stackwise-160" + InterfaceTypeValueCiscoStackwise1t InterfaceTypeValue = "cisco-stackwise-1t" + InterfaceTypeValueCiscoStackwise320 InterfaceTypeValue = "cisco-stackwise-320" + InterfaceTypeValueCiscoStackwise480 InterfaceTypeValue = "cisco-stackwise-480" + InterfaceTypeValueCiscoStackwise80 InterfaceTypeValue = "cisco-stackwise-80" + InterfaceTypeValueCiscoStackwisePlus InterfaceTypeValue = "cisco-stackwise-plus" + InterfaceTypeValueDocsis InterfaceTypeValue = "docsis" + InterfaceTypeValueE1 InterfaceTypeValue = "e1" + InterfaceTypeValueE3 InterfaceTypeValue = "e3" + InterfaceTypeValueEpon InterfaceTypeValue = "epon" + InterfaceTypeValueExtremeSummitstack InterfaceTypeValue = "extreme-summitstack" + InterfaceTypeValueExtremeSummitstack128 InterfaceTypeValue = "extreme-summitstack-128" + InterfaceTypeValueExtremeSummitstack256 InterfaceTypeValue = "extreme-summitstack-256" + InterfaceTypeValueExtremeSummitstack512 InterfaceTypeValue = "extreme-summitstack-512" + InterfaceTypeValueGpon InterfaceTypeValue = "gpon" + InterfaceTypeValueGsm InterfaceTypeValue = "gsm" + InterfaceTypeValueIeee80211a InterfaceTypeValue = "ieee802.11a" + InterfaceTypeValueIeee80211ac InterfaceTypeValue = "ieee802.11ac" + InterfaceTypeValueIeee80211ad InterfaceTypeValue = "ieee802.11ad" + InterfaceTypeValueIeee80211ax InterfaceTypeValue = "ieee802.11ax" + InterfaceTypeValueIeee80211ay InterfaceTypeValue = "ieee802.11ay" + InterfaceTypeValueIeee80211g InterfaceTypeValue = "ieee802.11g" + InterfaceTypeValueIeee80211n InterfaceTypeValue = "ieee802.11n" + InterfaceTypeValueIeee802151 InterfaceTypeValue = "ieee802.15.1" + 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" + InterfaceTypeValueN1000baseKx InterfaceTypeValue = "1000base-kx" + InterfaceTypeValueN1000baseT InterfaceTypeValue = "1000base-t" + InterfaceTypeValueN1000baseXGbic InterfaceTypeValue = "1000base-x-gbic" + InterfaceTypeValueN1000baseXSfp InterfaceTypeValue = "1000base-x-sfp" + InterfaceTypeValueN100baseFx InterfaceTypeValue = "100base-fx" + InterfaceTypeValueN100baseLfx InterfaceTypeValue = "100base-lfx" + InterfaceTypeValueN100baseT1 InterfaceTypeValue = "100base-t1" + InterfaceTypeValueN100baseTx InterfaceTypeValue = "100base-tx" + InterfaceTypeValueN100gbaseKp4 InterfaceTypeValue = "100gbase-kp4" + InterfaceTypeValueN100gbaseKr2 InterfaceTypeValue = "100gbase-kr2" + InterfaceTypeValueN100gbaseKr4 InterfaceTypeValue = "100gbase-kr4" + InterfaceTypeValueN100gbaseXCfp InterfaceTypeValue = "100gbase-x-cfp" + InterfaceTypeValueN100gbaseXCfp2 InterfaceTypeValue = "100gbase-x-cfp2" + InterfaceTypeValueN100gbaseXCfp4 InterfaceTypeValue = "100gbase-x-cfp4" + InterfaceTypeValueN100gbaseXCpak InterfaceTypeValue = "100gbase-x-cpak" + InterfaceTypeValueN100gbaseXCxp InterfaceTypeValue = "100gbase-x-cxp" + InterfaceTypeValueN100gbaseXDsfp InterfaceTypeValue = "100gbase-x-dsfp" + InterfaceTypeValueN100gbaseXQsfp28 InterfaceTypeValue = "100gbase-x-qsfp28" + InterfaceTypeValueN100gbaseXQsfpdd InterfaceTypeValue = "100gbase-x-qsfpdd" + InterfaceTypeValueN100gbaseXSfpdd InterfaceTypeValue = "100gbase-x-sfpdd" + InterfaceTypeValueN10gEpon InterfaceTypeValue = "10g-epon" + InterfaceTypeValueN10gbaseCx4 InterfaceTypeValue = "10gbase-cx4" + InterfaceTypeValueN10gbaseKr InterfaceTypeValue = "10gbase-kr" + InterfaceTypeValueN10gbaseKx4 InterfaceTypeValue = "10gbase-kx4" + InterfaceTypeValueN10gbaseT InterfaceTypeValue = "10gbase-t" + InterfaceTypeValueN10gbaseXSfpp InterfaceTypeValue = "10gbase-x-sfpp" + InterfaceTypeValueN10gbaseXX2 InterfaceTypeValue = "10gbase-x-x2" + InterfaceTypeValueN10gbaseXXenpak InterfaceTypeValue = "10gbase-x-xenpak" + InterfaceTypeValueN10gbaseXXfp InterfaceTypeValue = "10gbase-x-xfp" + InterfaceTypeValueN128gfcQsfp28 InterfaceTypeValue = "128gfc-qsfp28" + InterfaceTypeValueN16gfcSfpp InterfaceTypeValue = "16gfc-sfpp" + InterfaceTypeValueN1gfcSfp InterfaceTypeValue = "1gfc-sfp" + InterfaceTypeValueN200gbaseXCfp2 InterfaceTypeValue = "200gbase-x-cfp2" + InterfaceTypeValueN200gbaseXQsfp56 InterfaceTypeValue = "200gbase-x-qsfp56" + InterfaceTypeValueN200gbaseXQsfpdd InterfaceTypeValue = "200gbase-x-qsfpdd" + InterfaceTypeValueN25gbaseKr InterfaceTypeValue = "25gbase-kr" + InterfaceTypeValueN25gbaseT InterfaceTypeValue = "2.5gbase-t" + InterfaceTypeValueN25gbaseXSfp28 InterfaceTypeValue = "25gbase-x-sfp28" + InterfaceTypeValueN2gfcSfp InterfaceTypeValue = "2gfc-sfp" + InterfaceTypeValueN32gfcSfp28 InterfaceTypeValue = "32gfc-sfp28" + InterfaceTypeValueN400gbaseXCdfp InterfaceTypeValue = "400gbase-x-cdfp" + InterfaceTypeValueN400gbaseXCfp2 InterfaceTypeValue = "400gbase-x-cfp2" + InterfaceTypeValueN400gbaseXCfp8 InterfaceTypeValue = "400gbase-x-cfp8" + InterfaceTypeValueN400gbaseXOsfp InterfaceTypeValue = "400gbase-x-osfp" + InterfaceTypeValueN400gbaseXOsfpRhs InterfaceTypeValue = "400gbase-x-osfp-rhs" + InterfaceTypeValueN400gbaseXQsfp112 InterfaceTypeValue = "400gbase-x-qsfp112" + InterfaceTypeValueN400gbaseXQsfpdd InterfaceTypeValue = "400gbase-x-qsfpdd" + InterfaceTypeValueN40gbaseKr4 InterfaceTypeValue = "40gbase-kr4" + InterfaceTypeValueN40gbaseXQsfpp InterfaceTypeValue = "40gbase-x-qsfpp" + InterfaceTypeValueN4gfcSfp InterfaceTypeValue = "4gfc-sfp" + InterfaceTypeValueN50gbaseKr InterfaceTypeValue = "50gbase-kr" + InterfaceTypeValueN50gbaseXSfp28 InterfaceTypeValue = "50gbase-x-sfp28" + InterfaceTypeValueN50gbaseXSfp56 InterfaceTypeValue = "50gbase-x-sfp56" + InterfaceTypeValueN5gbaseT InterfaceTypeValue = "5gbase-t" + InterfaceTypeValueN64gfcQsfpp InterfaceTypeValue = "64gfc-qsfpp" + InterfaceTypeValueN800gbaseXOsfp InterfaceTypeValue = "800gbase-x-osfp" + InterfaceTypeValueN800gbaseXQsfpdd InterfaceTypeValue = "800gbase-x-qsfpdd" + InterfaceTypeValueN8gfcSfpp InterfaceTypeValue = "8gfc-sfpp" + InterfaceTypeValueNgPon2 InterfaceTypeValue = "ng-pon2" + InterfaceTypeValueOther InterfaceTypeValue = "other" + InterfaceTypeValueOtherWireless InterfaceTypeValue = "other-wireless" + 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" + InterfaceTypeValueXdsl InterfaceTypeValue = "xdsl" + InterfaceTypeValueXgPon InterfaceTypeValue = "xg-pon" + InterfaceTypeValueXgsPon InterfaceTypeValue = "xgs-pon" +) + +// Defines values for InterfaceRequestDuplex. +const ( + InterfaceRequestDuplexAuto InterfaceRequestDuplex = "auto" + InterfaceRequestDuplexEmpty InterfaceRequestDuplex = "" + InterfaceRequestDuplexFull InterfaceRequestDuplex = "full" + InterfaceRequestDuplexHalf InterfaceRequestDuplex = "half" +) + +// Defines values for InterfaceRequestMode. +const ( + InterfaceRequestModeAccess InterfaceRequestMode = "access" + InterfaceRequestModeEmpty InterfaceRequestMode = "" + InterfaceRequestModeTagged InterfaceRequestMode = "tagged" + InterfaceRequestModeTaggedAll InterfaceRequestMode = "tagged-all" +) + +// Defines values for InterfaceRequestPoeMode. +const ( + InterfaceRequestPoeModeEmpty InterfaceRequestPoeMode = "" + InterfaceRequestPoeModePd InterfaceRequestPoeMode = "pd" + InterfaceRequestPoeModePse InterfaceRequestPoeMode = "pse" +) + +// Defines values for InterfaceRequestPoeType. +const ( + InterfaceRequestPoeTypeEmpty InterfaceRequestPoeType = "" + InterfaceRequestPoeTypePassive24v2pair InterfaceRequestPoeType = "passive-24v-2pair" + InterfaceRequestPoeTypePassive24v4pair InterfaceRequestPoeType = "passive-24v-4pair" + InterfaceRequestPoeTypePassive48v2pair InterfaceRequestPoeType = "passive-48v-2pair" + InterfaceRequestPoeTypePassive48v4pair InterfaceRequestPoeType = "passive-48v-4pair" + InterfaceRequestPoeTypeType1Ieee8023af InterfaceRequestPoeType = "type1-ieee802.3af" + InterfaceRequestPoeTypeType2Ieee8023at InterfaceRequestPoeType = "type2-ieee802.3at" + InterfaceRequestPoeTypeType3Ieee8023bt InterfaceRequestPoeType = "type3-ieee802.3bt" + InterfaceRequestPoeTypeType4Ieee8023bt InterfaceRequestPoeType = "type4-ieee802.3bt" +) + +// Defines values for InterfaceRequestRfChannel. +const ( + InterfaceRequestRfChannelEmpty InterfaceRequestRfChannel = "" + InterfaceRequestRfChannelN24g10245722 InterfaceRequestRfChannel = "2.4g-10-2457-22" + InterfaceRequestRfChannelN24g11246222 InterfaceRequestRfChannel = "2.4g-11-2462-22" + InterfaceRequestRfChannelN24g12246722 InterfaceRequestRfChannel = "2.4g-12-2467-22" + InterfaceRequestRfChannelN24g1241222 InterfaceRequestRfChannel = "2.4g-1-2412-22" + InterfaceRequestRfChannelN24g13247222 InterfaceRequestRfChannel = "2.4g-13-2472-22" + InterfaceRequestRfChannelN24g2241722 InterfaceRequestRfChannel = "2.4g-2-2417-22" + InterfaceRequestRfChannelN24g3242222 InterfaceRequestRfChannel = "2.4g-3-2422-22" + InterfaceRequestRfChannelN24g4242722 InterfaceRequestRfChannel = "2.4g-4-2427-22" + InterfaceRequestRfChannelN24g5243222 InterfaceRequestRfChannel = "2.4g-5-2432-22" + InterfaceRequestRfChannelN24g6243722 InterfaceRequestRfChannel = "2.4g-6-2437-22" + InterfaceRequestRfChannelN24g7244222 InterfaceRequestRfChannel = "2.4g-7-2442-22" + InterfaceRequestRfChannelN24g8244722 InterfaceRequestRfChannel = "2.4g-8-2447-22" + InterfaceRequestRfChannelN24g9245222 InterfaceRequestRfChannel = "2.4g-9-2452-22" + InterfaceRequestRfChannelN5g100550020 InterfaceRequestRfChannel = "5g-100-5500-20" + InterfaceRequestRfChannelN5g102551040 InterfaceRequestRfChannel = "5g-102-5510-40" + InterfaceRequestRfChannelN5g104552020 InterfaceRequestRfChannel = "5g-104-5520-20" + InterfaceRequestRfChannelN5g106553080 InterfaceRequestRfChannel = "5g-106-5530-80" + InterfaceRequestRfChannelN5g108554020 InterfaceRequestRfChannel = "5g-108-5540-20" + InterfaceRequestRfChannelN5g110555040 InterfaceRequestRfChannel = "5g-110-5550-40" + InterfaceRequestRfChannelN5g112556020 InterfaceRequestRfChannel = "5g-112-5560-20" + InterfaceRequestRfChannelN5g1145570160 InterfaceRequestRfChannel = "5g-114-5570-160" + InterfaceRequestRfChannelN5g116558020 InterfaceRequestRfChannel = "5g-116-5580-20" + InterfaceRequestRfChannelN5g118559040 InterfaceRequestRfChannel = "5g-118-5590-40" + InterfaceRequestRfChannelN5g120560020 InterfaceRequestRfChannel = "5g-120-5600-20" + InterfaceRequestRfChannelN5g122561080 InterfaceRequestRfChannel = "5g-122-5610-80" + InterfaceRequestRfChannelN5g124562020 InterfaceRequestRfChannel = "5g-124-5620-20" + InterfaceRequestRfChannelN5g126563040 InterfaceRequestRfChannel = "5g-126-5630-40" + InterfaceRequestRfChannelN5g128564020 InterfaceRequestRfChannel = "5g-128-5640-20" + InterfaceRequestRfChannelN5g132566020 InterfaceRequestRfChannel = "5g-132-5660-20" + InterfaceRequestRfChannelN5g134567040 InterfaceRequestRfChannel = "5g-134-5670-40" + InterfaceRequestRfChannelN5g136568020 InterfaceRequestRfChannel = "5g-136-5680-20" + InterfaceRequestRfChannelN5g138569080 InterfaceRequestRfChannel = "5g-138-5690-80" + InterfaceRequestRfChannelN5g140570020 InterfaceRequestRfChannel = "5g-140-5700-20" + InterfaceRequestRfChannelN5g142571040 InterfaceRequestRfChannel = "5g-142-5710-40" + InterfaceRequestRfChannelN5g144572020 InterfaceRequestRfChannel = "5g-144-5720-20" + InterfaceRequestRfChannelN5g149574520 InterfaceRequestRfChannel = "5g-149-5745-20" + InterfaceRequestRfChannelN5g151575540 InterfaceRequestRfChannel = "5g-151-5755-40" + InterfaceRequestRfChannelN5g153576520 InterfaceRequestRfChannel = "5g-153-5765-20" + InterfaceRequestRfChannelN5g155577580 InterfaceRequestRfChannel = "5g-155-5775-80" + InterfaceRequestRfChannelN5g157578520 InterfaceRequestRfChannel = "5g-157-5785-20" + InterfaceRequestRfChannelN5g159579540 InterfaceRequestRfChannel = "5g-159-5795-40" + InterfaceRequestRfChannelN5g161580520 InterfaceRequestRfChannel = "5g-161-5805-20" + InterfaceRequestRfChannelN5g1635815160 InterfaceRequestRfChannel = "5g-163-5815-160" + InterfaceRequestRfChannelN5g165582520 InterfaceRequestRfChannel = "5g-165-5825-20" + InterfaceRequestRfChannelN5g167583540 InterfaceRequestRfChannel = "5g-167-5835-40" + InterfaceRequestRfChannelN5g169584520 InterfaceRequestRfChannel = "5g-169-5845-20" + InterfaceRequestRfChannelN5g171585580 InterfaceRequestRfChannel = "5g-171-5855-80" + InterfaceRequestRfChannelN5g173586520 InterfaceRequestRfChannel = "5g-173-5865-20" + InterfaceRequestRfChannelN5g175587540 InterfaceRequestRfChannel = "5g-175-5875-40" + InterfaceRequestRfChannelN5g177588520 InterfaceRequestRfChannel = "5g-177-5885-20" + InterfaceRequestRfChannelN5g32516020 InterfaceRequestRfChannel = "5g-32-5160-20" + InterfaceRequestRfChannelN5g34517040 InterfaceRequestRfChannel = "5g-34-5170-40" + InterfaceRequestRfChannelN5g36518020 InterfaceRequestRfChannel = "5g-36-5180-20" + InterfaceRequestRfChannelN5g38519040 InterfaceRequestRfChannel = "5g-38-5190-40" + InterfaceRequestRfChannelN5g40520020 InterfaceRequestRfChannel = "5g-40-5200-20" + InterfaceRequestRfChannelN5g42521080 InterfaceRequestRfChannel = "5g-42-5210-80" + InterfaceRequestRfChannelN5g44522020 InterfaceRequestRfChannel = "5g-44-5220-20" + InterfaceRequestRfChannelN5g46523040 InterfaceRequestRfChannel = "5g-46-5230-40" + InterfaceRequestRfChannelN5g48524020 InterfaceRequestRfChannel = "5g-48-5240-20" + InterfaceRequestRfChannelN5g505250160 InterfaceRequestRfChannel = "5g-50-5250-160" + InterfaceRequestRfChannelN5g52526020 InterfaceRequestRfChannel = "5g-52-5260-20" + InterfaceRequestRfChannelN5g54527040 InterfaceRequestRfChannel = "5g-54-5270-40" + InterfaceRequestRfChannelN5g56528020 InterfaceRequestRfChannel = "5g-56-5280-20" + InterfaceRequestRfChannelN5g58529080 InterfaceRequestRfChannel = "5g-58-5290-80" + InterfaceRequestRfChannelN5g60530020 InterfaceRequestRfChannel = "5g-60-5300-20" + InterfaceRequestRfChannelN5g62531040 InterfaceRequestRfChannel = "5g-62-5310-40" + InterfaceRequestRfChannelN5g64532020 InterfaceRequestRfChannel = "5g-64-5320-20" + InterfaceRequestRfChannelN60g10615604320 InterfaceRequestRfChannel = "60g-10-61560-4320" + InterfaceRequestRfChannelN60g11637204320 InterfaceRequestRfChannel = "60g-11-63720-4320" + InterfaceRequestRfChannelN60g12658804320 InterfaceRequestRfChannel = "60g-12-65880-4320" + InterfaceRequestRfChannelN60g13680404320 InterfaceRequestRfChannel = "60g-13-68040-4320" + InterfaceRequestRfChannelN60g1583202160 InterfaceRequestRfChannel = "60g-1-58320-2160" + InterfaceRequestRfChannelN60g17604806480 InterfaceRequestRfChannel = "60g-17-60480-6480" + InterfaceRequestRfChannelN60g18626406480 InterfaceRequestRfChannel = "60g-18-62640-6480" + InterfaceRequestRfChannelN60g19648006480 InterfaceRequestRfChannel = "60g-19-64800-6480" + InterfaceRequestRfChannelN60g20669606480 InterfaceRequestRfChannel = "60g-20-66960-6480" + InterfaceRequestRfChannelN60g25615606480 InterfaceRequestRfChannel = "60g-25-61560-6480" + InterfaceRequestRfChannelN60g2604802160 InterfaceRequestRfChannel = "60g-2-60480-2160" + InterfaceRequestRfChannelN60g26637206480 InterfaceRequestRfChannel = "60g-26-63720-6480" + InterfaceRequestRfChannelN60g27658806480 InterfaceRequestRfChannel = "60g-27-65880-6480" + InterfaceRequestRfChannelN60g3626402160 InterfaceRequestRfChannel = "60g-3-62640-2160" + InterfaceRequestRfChannelN60g4648002160 InterfaceRequestRfChannel = "60g-4-64800-2160" + InterfaceRequestRfChannelN60g5669602160 InterfaceRequestRfChannel = "60g-5-66960-2160" + InterfaceRequestRfChannelN60g6691202160 InterfaceRequestRfChannel = "60g-6-69120-2160" + InterfaceRequestRfChannelN60g9594004320 InterfaceRequestRfChannel = "60g-9-59400-4320" + InterfaceRequestRfChannelN6g101645520 InterfaceRequestRfChannel = "6g-101-6455-20" + InterfaceRequestRfChannelN6g103646580 InterfaceRequestRfChannel = "6g-103-6465-80" + InterfaceRequestRfChannelN6g105647520 InterfaceRequestRfChannel = "6g-105-6475-20" + InterfaceRequestRfChannelN6g107648540 InterfaceRequestRfChannel = "6g-107-6485-40" + InterfaceRequestRfChannelN6g109649520 InterfaceRequestRfChannel = "6g-109-6495-20" + InterfaceRequestRfChannelN6g1116505160 InterfaceRequestRfChannel = "6g-111-6505-160" + InterfaceRequestRfChannelN6g113651520 InterfaceRequestRfChannel = "6g-113-6515-20" + InterfaceRequestRfChannelN6g115652540 InterfaceRequestRfChannel = "6g-115-6525-40" + InterfaceRequestRfChannelN6g11600540 InterfaceRequestRfChannel = "6g-11-6005-40" + InterfaceRequestRfChannelN6g117653520 InterfaceRequestRfChannel = "6g-117-6535-20" + InterfaceRequestRfChannelN6g119654580 InterfaceRequestRfChannel = "6g-119-6545-80" + InterfaceRequestRfChannelN6g121655520 InterfaceRequestRfChannel = "6g-121-6555-20" + InterfaceRequestRfChannelN6g123656540 InterfaceRequestRfChannel = "6g-123-6565-40" + InterfaceRequestRfChannelN6g125657520 InterfaceRequestRfChannel = "6g-125-6575-20" + InterfaceRequestRfChannelN6g129659520 InterfaceRequestRfChannel = "6g-129-6595-20" + InterfaceRequestRfChannelN6g131660540 InterfaceRequestRfChannel = "6g-131-6605-40" + InterfaceRequestRfChannelN6g133661520 InterfaceRequestRfChannel = "6g-133-6615-20" + InterfaceRequestRfChannelN6g135662580 InterfaceRequestRfChannel = "6g-135-6625-80" + InterfaceRequestRfChannelN6g13601520 InterfaceRequestRfChannel = "6g-13-6015-20" + InterfaceRequestRfChannelN6g137663520 InterfaceRequestRfChannel = "6g-137-6635-20" + InterfaceRequestRfChannelN6g139664540 InterfaceRequestRfChannel = "6g-139-6645-40" + InterfaceRequestRfChannelN6g141665520 InterfaceRequestRfChannel = "6g-141-6655-20" + InterfaceRequestRfChannelN6g1436665160 InterfaceRequestRfChannel = "6g-143-6665-160" + InterfaceRequestRfChannelN6g145667520 InterfaceRequestRfChannel = "6g-145-6675-20" + InterfaceRequestRfChannelN6g147668540 InterfaceRequestRfChannel = "6g-147-6685-40" + InterfaceRequestRfChannelN6g149669520 InterfaceRequestRfChannel = "6g-149-6695-20" + InterfaceRequestRfChannelN6g151670580 InterfaceRequestRfChannel = "6g-151-6705-80" + InterfaceRequestRfChannelN6g153671520 InterfaceRequestRfChannel = "6g-153-6715-20" + InterfaceRequestRfChannelN6g155672540 InterfaceRequestRfChannel = "6g-155-6725-40" + InterfaceRequestRfChannelN6g156025160 InterfaceRequestRfChannel = "6g-15-6025-160" + InterfaceRequestRfChannelN6g157673520 InterfaceRequestRfChannel = "6g-157-6735-20" + InterfaceRequestRfChannelN6g1595520 InterfaceRequestRfChannel = "6g-1-5955-20" + InterfaceRequestRfChannelN6g1596745320 InterfaceRequestRfChannel = "6g-159-6745-320" + InterfaceRequestRfChannelN6g161675520 InterfaceRequestRfChannel = "6g-161-6755-20" + InterfaceRequestRfChannelN6g163676540 InterfaceRequestRfChannel = "6g-163-6765-40" + InterfaceRequestRfChannelN6g165677520 InterfaceRequestRfChannel = "6g-165-6775-20" + InterfaceRequestRfChannelN6g167678580 InterfaceRequestRfChannel = "6g-167-6785-80" + InterfaceRequestRfChannelN6g169679520 InterfaceRequestRfChannel = "6g-169-6795-20" + InterfaceRequestRfChannelN6g171680540 InterfaceRequestRfChannel = "6g-171-6805-40" + InterfaceRequestRfChannelN6g173681520 InterfaceRequestRfChannel = "6g-173-6815-20" + InterfaceRequestRfChannelN6g1756825160 InterfaceRequestRfChannel = "6g-175-6825-160" + InterfaceRequestRfChannelN6g17603520 InterfaceRequestRfChannel = "6g-17-6035-20" + InterfaceRequestRfChannelN6g177683520 InterfaceRequestRfChannel = "6g-177-6835-20" + InterfaceRequestRfChannelN6g179684540 InterfaceRequestRfChannel = "6g-179-6845-40" + InterfaceRequestRfChannelN6g181685520 InterfaceRequestRfChannel = "6g-181-6855-20" + InterfaceRequestRfChannelN6g183686580 InterfaceRequestRfChannel = "6g-183-6865-80" + InterfaceRequestRfChannelN6g185687520 InterfaceRequestRfChannel = "6g-185-6875-20" + InterfaceRequestRfChannelN6g187688540 InterfaceRequestRfChannel = "6g-187-6885-40" + InterfaceRequestRfChannelN6g189689520 InterfaceRequestRfChannel = "6g-189-6895-20" + InterfaceRequestRfChannelN6g193691520 InterfaceRequestRfChannel = "6g-193-6915-20" + InterfaceRequestRfChannelN6g195692540 InterfaceRequestRfChannel = "6g-195-6925-40" + InterfaceRequestRfChannelN6g19604540 InterfaceRequestRfChannel = "6g-19-6045-40" + InterfaceRequestRfChannelN6g197693520 InterfaceRequestRfChannel = "6g-197-6935-20" + InterfaceRequestRfChannelN6g199694580 InterfaceRequestRfChannel = "6g-199-6945-80" + InterfaceRequestRfChannelN6g201695520 InterfaceRequestRfChannel = "6g-201-6955-20" + InterfaceRequestRfChannelN6g203696540 InterfaceRequestRfChannel = "6g-203-6965-40" + InterfaceRequestRfChannelN6g205697520 InterfaceRequestRfChannel = "6g-205-6975-20" + InterfaceRequestRfChannelN6g2076985160 InterfaceRequestRfChannel = "6g-207-6985-160" + InterfaceRequestRfChannelN6g209699520 InterfaceRequestRfChannel = "6g-209-6995-20" + InterfaceRequestRfChannelN6g211700540 InterfaceRequestRfChannel = "6g-211-7005-40" + InterfaceRequestRfChannelN6g213701520 InterfaceRequestRfChannel = "6g-213-7015-20" + InterfaceRequestRfChannelN6g215702580 InterfaceRequestRfChannel = "6g-215-7025-80" + InterfaceRequestRfChannelN6g21605520 InterfaceRequestRfChannel = "6g-21-6055-20" + InterfaceRequestRfChannelN6g217703520 InterfaceRequestRfChannel = "6g-217-7035-20" + InterfaceRequestRfChannelN6g219704540 InterfaceRequestRfChannel = "6g-219-7045-40" + InterfaceRequestRfChannelN6g221705520 InterfaceRequestRfChannel = "6g-221-7055-20" + InterfaceRequestRfChannelN6g225707520 InterfaceRequestRfChannel = "6g-225-7075-20" + InterfaceRequestRfChannelN6g227708540 InterfaceRequestRfChannel = "6g-227-7085-40" + InterfaceRequestRfChannelN6g229709520 InterfaceRequestRfChannel = "6g-229-7095-20" + InterfaceRequestRfChannelN6g233711520 InterfaceRequestRfChannel = "6g-233-7115-20" + InterfaceRequestRfChannelN6g23606580 InterfaceRequestRfChannel = "6g-23-6065-80" + InterfaceRequestRfChannelN6g25607520 InterfaceRequestRfChannel = "6g-25-6075-20" + InterfaceRequestRfChannelN6g27608540 InterfaceRequestRfChannel = "6g-27-6085-40" + InterfaceRequestRfChannelN6g29609520 InterfaceRequestRfChannel = "6g-29-6095-20" + InterfaceRequestRfChannelN6g316105320 InterfaceRequestRfChannel = "6g-31-6105-320" + InterfaceRequestRfChannelN6g33611520 InterfaceRequestRfChannel = "6g-33-6115-20" + InterfaceRequestRfChannelN6g35612540 InterfaceRequestRfChannel = "6g-35-6125-40" + InterfaceRequestRfChannelN6g3596540 InterfaceRequestRfChannel = "6g-3-5965-40" + InterfaceRequestRfChannelN6g37613520 InterfaceRequestRfChannel = "6g-37-6135-20" + InterfaceRequestRfChannelN6g39614580 InterfaceRequestRfChannel = "6g-39-6145-80" + InterfaceRequestRfChannelN6g41615520 InterfaceRequestRfChannel = "6g-41-6155-20" + InterfaceRequestRfChannelN6g43616540 InterfaceRequestRfChannel = "6g-43-6165-40" + InterfaceRequestRfChannelN6g45617520 InterfaceRequestRfChannel = "6g-45-6175-20" + InterfaceRequestRfChannelN6g476185160 InterfaceRequestRfChannel = "6g-47-6185-160" + InterfaceRequestRfChannelN6g49619520 InterfaceRequestRfChannel = "6g-49-6195-20" + InterfaceRequestRfChannelN6g51620540 InterfaceRequestRfChannel = "6g-51-6205-40" + InterfaceRequestRfChannelN6g53621520 InterfaceRequestRfChannel = "6g-53-6215-20" + InterfaceRequestRfChannelN6g55622580 InterfaceRequestRfChannel = "6g-55-6225-80" + InterfaceRequestRfChannelN6g5597520 InterfaceRequestRfChannel = "6g-5-5975-20" + InterfaceRequestRfChannelN6g57623520 InterfaceRequestRfChannel = "6g-57-6235-20" + InterfaceRequestRfChannelN6g59624540 InterfaceRequestRfChannel = "6g-59-6245-40" + InterfaceRequestRfChannelN6g61625520 InterfaceRequestRfChannel = "6g-61-6255-20" + InterfaceRequestRfChannelN6g65627520 InterfaceRequestRfChannel = "6g-65-6275-20" + InterfaceRequestRfChannelN6g67628540 InterfaceRequestRfChannel = "6g-67-6285-40" + InterfaceRequestRfChannelN6g69629520 InterfaceRequestRfChannel = "6g-69-6295-20" + InterfaceRequestRfChannelN6g71630580 InterfaceRequestRfChannel = "6g-71-6305-80" + InterfaceRequestRfChannelN6g73631520 InterfaceRequestRfChannel = "6g-73-6315-20" + InterfaceRequestRfChannelN6g75632540 InterfaceRequestRfChannel = "6g-75-6325-40" + InterfaceRequestRfChannelN6g7598580 InterfaceRequestRfChannel = "6g-7-5985-80" + InterfaceRequestRfChannelN6g77633520 InterfaceRequestRfChannel = "6g-77-6335-20" + InterfaceRequestRfChannelN6g796345160 InterfaceRequestRfChannel = "6g-79-6345-160" + InterfaceRequestRfChannelN6g81635520 InterfaceRequestRfChannel = "6g-81-6355-20" + InterfaceRequestRfChannelN6g83636540 InterfaceRequestRfChannel = "6g-83-6365-40" + InterfaceRequestRfChannelN6g85637520 InterfaceRequestRfChannel = "6g-85-6375-20" + InterfaceRequestRfChannelN6g87638580 InterfaceRequestRfChannel = "6g-87-6385-80" + InterfaceRequestRfChannelN6g89639520 InterfaceRequestRfChannel = "6g-89-6395-20" + InterfaceRequestRfChannelN6g91640540 InterfaceRequestRfChannel = "6g-91-6405-40" + InterfaceRequestRfChannelN6g93641520 InterfaceRequestRfChannel = "6g-93-6415-20" + InterfaceRequestRfChannelN6g956425320 InterfaceRequestRfChannel = "6g-95-6425-320" + InterfaceRequestRfChannelN6g9599520 InterfaceRequestRfChannel = "6g-9-5995-20" + InterfaceRequestRfChannelN6g97643520 InterfaceRequestRfChannel = "6g-97-6435-20" + InterfaceRequestRfChannelN6g99644540 InterfaceRequestRfChannel = "6g-99-6445-40" +) + +// Defines values for InterfaceRequestRfRole. +const ( + InterfaceRequestRfRoleAp InterfaceRequestRfRole = "ap" + InterfaceRequestRfRoleEmpty InterfaceRequestRfRole = "" + InterfaceRequestRfRoleStation InterfaceRequestRfRole = "station" +) + +// Defines values for InterfaceRequestType. +const ( + InterfaceRequestTypeBridge InterfaceRequestType = "bridge" + InterfaceRequestTypeCdma InterfaceRequestType = "cdma" + InterfaceRequestTypeCiscoFlexstack InterfaceRequestType = "cisco-flexstack" + InterfaceRequestTypeCiscoFlexstackPlus InterfaceRequestType = "cisco-flexstack-plus" + InterfaceRequestTypeCiscoStackwise InterfaceRequestType = "cisco-stackwise" + InterfaceRequestTypeCiscoStackwise160 InterfaceRequestType = "cisco-stackwise-160" + InterfaceRequestTypeCiscoStackwise1t InterfaceRequestType = "cisco-stackwise-1t" + InterfaceRequestTypeCiscoStackwise320 InterfaceRequestType = "cisco-stackwise-320" + InterfaceRequestTypeCiscoStackwise480 InterfaceRequestType = "cisco-stackwise-480" + InterfaceRequestTypeCiscoStackwise80 InterfaceRequestType = "cisco-stackwise-80" + InterfaceRequestTypeCiscoStackwisePlus InterfaceRequestType = "cisco-stackwise-plus" + InterfaceRequestTypeDocsis InterfaceRequestType = "docsis" + InterfaceRequestTypeE1 InterfaceRequestType = "e1" + InterfaceRequestTypeE3 InterfaceRequestType = "e3" + InterfaceRequestTypeEpon InterfaceRequestType = "epon" + InterfaceRequestTypeExtremeSummitstack InterfaceRequestType = "extreme-summitstack" + InterfaceRequestTypeExtremeSummitstack128 InterfaceRequestType = "extreme-summitstack-128" + InterfaceRequestTypeExtremeSummitstack256 InterfaceRequestType = "extreme-summitstack-256" + InterfaceRequestTypeExtremeSummitstack512 InterfaceRequestType = "extreme-summitstack-512" + InterfaceRequestTypeGpon InterfaceRequestType = "gpon" + InterfaceRequestTypeGsm InterfaceRequestType = "gsm" + InterfaceRequestTypeIeee80211a InterfaceRequestType = "ieee802.11a" + InterfaceRequestTypeIeee80211ac InterfaceRequestType = "ieee802.11ac" + InterfaceRequestTypeIeee80211ad InterfaceRequestType = "ieee802.11ad" + InterfaceRequestTypeIeee80211ax InterfaceRequestType = "ieee802.11ax" + InterfaceRequestTypeIeee80211ay InterfaceRequestType = "ieee802.11ay" + InterfaceRequestTypeIeee80211g InterfaceRequestType = "ieee802.11g" + InterfaceRequestTypeIeee80211n InterfaceRequestType = "ieee802.11n" + InterfaceRequestTypeIeee802151 InterfaceRequestType = "ieee802.15.1" + InterfaceRequestTypeInfinibandDdr InterfaceRequestType = "infiniband-ddr" + InterfaceRequestTypeInfinibandEdr InterfaceRequestType = "infiniband-edr" + InterfaceRequestTypeInfinibandFdr InterfaceRequestType = "infiniband-fdr" + InterfaceRequestTypeInfinibandFdr10 InterfaceRequestType = "infiniband-fdr10" + InterfaceRequestTypeInfinibandHdr InterfaceRequestType = "infiniband-hdr" + InterfaceRequestTypeInfinibandNdr InterfaceRequestType = "infiniband-ndr" + InterfaceRequestTypeInfinibandQdr InterfaceRequestType = "infiniband-qdr" + InterfaceRequestTypeInfinibandSdr InterfaceRequestType = "infiniband-sdr" + InterfaceRequestTypeInfinibandXdr InterfaceRequestType = "infiniband-xdr" + InterfaceRequestTypeJuniperVcp InterfaceRequestType = "juniper-vcp" + InterfaceRequestTypeLag InterfaceRequestType = "lag" + InterfaceRequestTypeLte InterfaceRequestType = "lte" + InterfaceRequestTypeN1000baseKx InterfaceRequestType = "1000base-kx" + InterfaceRequestTypeN1000baseT InterfaceRequestType = "1000base-t" + InterfaceRequestTypeN1000baseXGbic InterfaceRequestType = "1000base-x-gbic" + InterfaceRequestTypeN1000baseXSfp InterfaceRequestType = "1000base-x-sfp" + InterfaceRequestTypeN100baseFx InterfaceRequestType = "100base-fx" + InterfaceRequestTypeN100baseLfx InterfaceRequestType = "100base-lfx" + InterfaceRequestTypeN100baseT1 InterfaceRequestType = "100base-t1" + InterfaceRequestTypeN100baseTx InterfaceRequestType = "100base-tx" + InterfaceRequestTypeN100gbaseKp4 InterfaceRequestType = "100gbase-kp4" + InterfaceRequestTypeN100gbaseKr2 InterfaceRequestType = "100gbase-kr2" + InterfaceRequestTypeN100gbaseKr4 InterfaceRequestType = "100gbase-kr4" + InterfaceRequestTypeN100gbaseXCfp InterfaceRequestType = "100gbase-x-cfp" + InterfaceRequestTypeN100gbaseXCfp2 InterfaceRequestType = "100gbase-x-cfp2" + InterfaceRequestTypeN100gbaseXCfp4 InterfaceRequestType = "100gbase-x-cfp4" + InterfaceRequestTypeN100gbaseXCpak InterfaceRequestType = "100gbase-x-cpak" + InterfaceRequestTypeN100gbaseXCxp InterfaceRequestType = "100gbase-x-cxp" + InterfaceRequestTypeN100gbaseXDsfp InterfaceRequestType = "100gbase-x-dsfp" + InterfaceRequestTypeN100gbaseXQsfp28 InterfaceRequestType = "100gbase-x-qsfp28" + InterfaceRequestTypeN100gbaseXQsfpdd InterfaceRequestType = "100gbase-x-qsfpdd" + InterfaceRequestTypeN100gbaseXSfpdd InterfaceRequestType = "100gbase-x-sfpdd" + InterfaceRequestTypeN10gEpon InterfaceRequestType = "10g-epon" + InterfaceRequestTypeN10gbaseCx4 InterfaceRequestType = "10gbase-cx4" + InterfaceRequestTypeN10gbaseKr InterfaceRequestType = "10gbase-kr" + InterfaceRequestTypeN10gbaseKx4 InterfaceRequestType = "10gbase-kx4" + InterfaceRequestTypeN10gbaseT InterfaceRequestType = "10gbase-t" + InterfaceRequestTypeN10gbaseXSfpp InterfaceRequestType = "10gbase-x-sfpp" + InterfaceRequestTypeN10gbaseXX2 InterfaceRequestType = "10gbase-x-x2" + InterfaceRequestTypeN10gbaseXXenpak InterfaceRequestType = "10gbase-x-xenpak" + InterfaceRequestTypeN10gbaseXXfp InterfaceRequestType = "10gbase-x-xfp" + InterfaceRequestTypeN128gfcQsfp28 InterfaceRequestType = "128gfc-qsfp28" + InterfaceRequestTypeN16gfcSfpp InterfaceRequestType = "16gfc-sfpp" + InterfaceRequestTypeN1gfcSfp InterfaceRequestType = "1gfc-sfp" + InterfaceRequestTypeN200gbaseXCfp2 InterfaceRequestType = "200gbase-x-cfp2" + InterfaceRequestTypeN200gbaseXQsfp56 InterfaceRequestType = "200gbase-x-qsfp56" + InterfaceRequestTypeN200gbaseXQsfpdd InterfaceRequestType = "200gbase-x-qsfpdd" + InterfaceRequestTypeN25gbaseKr InterfaceRequestType = "25gbase-kr" + InterfaceRequestTypeN25gbaseT InterfaceRequestType = "2.5gbase-t" + InterfaceRequestTypeN25gbaseXSfp28 InterfaceRequestType = "25gbase-x-sfp28" + InterfaceRequestTypeN2gfcSfp InterfaceRequestType = "2gfc-sfp" + InterfaceRequestTypeN32gfcSfp28 InterfaceRequestType = "32gfc-sfp28" + InterfaceRequestTypeN400gbaseXCdfp InterfaceRequestType = "400gbase-x-cdfp" + InterfaceRequestTypeN400gbaseXCfp2 InterfaceRequestType = "400gbase-x-cfp2" + InterfaceRequestTypeN400gbaseXCfp8 InterfaceRequestType = "400gbase-x-cfp8" + InterfaceRequestTypeN400gbaseXOsfp InterfaceRequestType = "400gbase-x-osfp" + InterfaceRequestTypeN400gbaseXOsfpRhs InterfaceRequestType = "400gbase-x-osfp-rhs" + InterfaceRequestTypeN400gbaseXQsfp112 InterfaceRequestType = "400gbase-x-qsfp112" + InterfaceRequestTypeN400gbaseXQsfpdd InterfaceRequestType = "400gbase-x-qsfpdd" + InterfaceRequestTypeN40gbaseKr4 InterfaceRequestType = "40gbase-kr4" + InterfaceRequestTypeN40gbaseXQsfpp InterfaceRequestType = "40gbase-x-qsfpp" + InterfaceRequestTypeN4gfcSfp InterfaceRequestType = "4gfc-sfp" + InterfaceRequestTypeN50gbaseKr InterfaceRequestType = "50gbase-kr" + InterfaceRequestTypeN50gbaseXSfp28 InterfaceRequestType = "50gbase-x-sfp28" + InterfaceRequestTypeN50gbaseXSfp56 InterfaceRequestType = "50gbase-x-sfp56" + InterfaceRequestTypeN5gbaseT InterfaceRequestType = "5gbase-t" + InterfaceRequestTypeN64gfcQsfpp InterfaceRequestType = "64gfc-qsfpp" + InterfaceRequestTypeN800gbaseXOsfp InterfaceRequestType = "800gbase-x-osfp" + InterfaceRequestTypeN800gbaseXQsfpdd InterfaceRequestType = "800gbase-x-qsfpdd" + InterfaceRequestTypeN8gfcSfpp InterfaceRequestType = "8gfc-sfpp" + InterfaceRequestTypeNgPon2 InterfaceRequestType = "ng-pon2" + InterfaceRequestTypeOther InterfaceRequestType = "other" + InterfaceRequestTypeOtherWireless InterfaceRequestType = "other-wireless" + InterfaceRequestTypeSonetOc12 InterfaceRequestType = "sonet-oc12" + InterfaceRequestTypeSonetOc192 InterfaceRequestType = "sonet-oc192" + InterfaceRequestTypeSonetOc1920 InterfaceRequestType = "sonet-oc1920" + InterfaceRequestTypeSonetOc3 InterfaceRequestType = "sonet-oc3" + InterfaceRequestTypeSonetOc3840 InterfaceRequestType = "sonet-oc3840" + InterfaceRequestTypeSonetOc48 InterfaceRequestType = "sonet-oc48" + InterfaceRequestTypeSonetOc768 InterfaceRequestType = "sonet-oc768" + InterfaceRequestTypeT1 InterfaceRequestType = "t1" + InterfaceRequestTypeT3 InterfaceRequestType = "t3" + InterfaceRequestTypeVirtual InterfaceRequestType = "virtual" + InterfaceRequestTypeXdsl InterfaceRequestType = "xdsl" + InterfaceRequestTypeXgPon InterfaceRequestType = "xg-pon" + InterfaceRequestTypeXgsPon InterfaceRequestType = "xgs-pon" +) + +// Defines values for InterfaceTemplatePoeModeLabel. +const ( + InterfaceTemplatePoeModeLabelPD InterfaceTemplatePoeModeLabel = "PD" + InterfaceTemplatePoeModeLabelPSE InterfaceTemplatePoeModeLabel = "PSE" +) + +// Defines values for InterfaceTemplatePoeModeValue. +const ( + InterfaceTemplatePoeModeValueEmpty InterfaceTemplatePoeModeValue = "" + InterfaceTemplatePoeModeValuePd InterfaceTemplatePoeModeValue = "pd" + InterfaceTemplatePoeModeValuePse InterfaceTemplatePoeModeValue = "pse" +) + +// Defines values for InterfaceTemplatePoeTypeLabel. +const ( + InterfaceTemplatePoeTypeLabelN8023afType1 InterfaceTemplatePoeTypeLabel = "802.3af (Type 1)" + InterfaceTemplatePoeTypeLabelN8023atType2 InterfaceTemplatePoeTypeLabel = "802.3at (Type 2)" + InterfaceTemplatePoeTypeLabelN8023btType3 InterfaceTemplatePoeTypeLabel = "802.3bt (Type 3)" + InterfaceTemplatePoeTypeLabelN8023btType4 InterfaceTemplatePoeTypeLabel = "802.3bt (Type 4)" + InterfaceTemplatePoeTypeLabelPassive24V2Pair InterfaceTemplatePoeTypeLabel = "Passive 24V (2-pair)" + InterfaceTemplatePoeTypeLabelPassive24V4Pair InterfaceTemplatePoeTypeLabel = "Passive 24V (4-pair)" + InterfaceTemplatePoeTypeLabelPassive48V2Pair InterfaceTemplatePoeTypeLabel = "Passive 48V (2-pair)" + InterfaceTemplatePoeTypeLabelPassive48V4Pair InterfaceTemplatePoeTypeLabel = "Passive 48V (4-pair)" +) + +// Defines values for InterfaceTemplatePoeTypeValue. +const ( + InterfaceTemplatePoeTypeValueEmpty InterfaceTemplatePoeTypeValue = "" + InterfaceTemplatePoeTypeValuePassive24v2pair InterfaceTemplatePoeTypeValue = "passive-24v-2pair" + InterfaceTemplatePoeTypeValuePassive24v4pair InterfaceTemplatePoeTypeValue = "passive-24v-4pair" + InterfaceTemplatePoeTypeValuePassive48v2pair InterfaceTemplatePoeTypeValue = "passive-48v-2pair" + InterfaceTemplatePoeTypeValuePassive48v4pair InterfaceTemplatePoeTypeValue = "passive-48v-4pair" + InterfaceTemplatePoeTypeValueType1Ieee8023af InterfaceTemplatePoeTypeValue = "type1-ieee802.3af" + InterfaceTemplatePoeTypeValueType2Ieee8023at InterfaceTemplatePoeTypeValue = "type2-ieee802.3at" + InterfaceTemplatePoeTypeValueType3Ieee8023bt InterfaceTemplatePoeTypeValue = "type3-ieee802.3bt" + InterfaceTemplatePoeTypeValueType4Ieee8023bt InterfaceTemplatePoeTypeValue = "type4-ieee802.3bt" +) + +// Defines values for InterfaceTemplateRfRoleLabel. +const ( + InterfaceTemplateRfRoleLabelAccessPoint InterfaceTemplateRfRoleLabel = "Access point" + InterfaceTemplateRfRoleLabelStation InterfaceTemplateRfRoleLabel = "Station" +) + +// Defines values for InterfaceTemplateRfRoleValue. +const ( + InterfaceTemplateRfRoleValueAp InterfaceTemplateRfRoleValue = "ap" + InterfaceTemplateRfRoleValueEmpty InterfaceTemplateRfRoleValue = "" + InterfaceTemplateRfRoleValueStation InterfaceTemplateRfRoleValue = "station" +) + +// Defines values for InterfaceTemplateTypeLabel. +const ( + InterfaceTemplateTypeLabelBridge InterfaceTemplateTypeLabel = "Bridge" + InterfaceTemplateTypeLabelCDFP400GE InterfaceTemplateTypeLabel = "CDFP (400GE)" + InterfaceTemplateTypeLabelCDMA InterfaceTemplateTypeLabel = "CDMA" + InterfaceTemplateTypeLabelCFP100GE InterfaceTemplateTypeLabel = "CFP (100GE)" + InterfaceTemplateTypeLabelCFP2100GE InterfaceTemplateTypeLabel = "CFP2 (100GE)" + InterfaceTemplateTypeLabelCFP2200GE InterfaceTemplateTypeLabel = "CFP2 (200GE)" + InterfaceTemplateTypeLabelCFP2400GE InterfaceTemplateTypeLabel = "CFP2 (400GE)" + InterfaceTemplateTypeLabelCFP4100GE InterfaceTemplateTypeLabel = "CFP4 (100GE)" + InterfaceTemplateTypeLabelCPF8400GE InterfaceTemplateTypeLabel = "CPF8 (400GE)" + InterfaceTemplateTypeLabelCXP100GE InterfaceTemplateTypeLabel = "CXP (100GE)" + InterfaceTemplateTypeLabelCiscoCPAK100GE InterfaceTemplateTypeLabel = "Cisco CPAK (100GE)" + InterfaceTemplateTypeLabelCiscoFlexStack InterfaceTemplateTypeLabel = "Cisco FlexStack" + InterfaceTemplateTypeLabelCiscoFlexStackPlus InterfaceTemplateTypeLabel = "Cisco FlexStack Plus" + InterfaceTemplateTypeLabelCiscoStackWise InterfaceTemplateTypeLabel = "Cisco StackWise" + InterfaceTemplateTypeLabelCiscoStackWise160 InterfaceTemplateTypeLabel = "Cisco StackWise-160" + InterfaceTemplateTypeLabelCiscoStackWise1T InterfaceTemplateTypeLabel = "Cisco StackWise-1T" + InterfaceTemplateTypeLabelCiscoStackWise320 InterfaceTemplateTypeLabel = "Cisco StackWise-320" + InterfaceTemplateTypeLabelCiscoStackWise480 InterfaceTemplateTypeLabel = "Cisco StackWise-480" + InterfaceTemplateTypeLabelCiscoStackWise80 InterfaceTemplateTypeLabel = "Cisco StackWise-80" + InterfaceTemplateTypeLabelCiscoStackWisePlus InterfaceTemplateTypeLabel = "Cisco StackWise Plus" + InterfaceTemplateTypeLabelDDR4Gbps InterfaceTemplateTypeLabel = "DDR (4 Gbps)" + InterfaceTemplateTypeLabelDOCSIS InterfaceTemplateTypeLabel = "DOCSIS" + InterfaceTemplateTypeLabelDSFP100GE InterfaceTemplateTypeLabel = "DSFP (100GE)" + InterfaceTemplateTypeLabelE12048Mbps InterfaceTemplateTypeLabel = "E1 (2.048 Mbps)" + InterfaceTemplateTypeLabelE334Mbps InterfaceTemplateTypeLabel = "E3 (34 Mbps)" + InterfaceTemplateTypeLabelEDR25Gbps InterfaceTemplateTypeLabel = "EDR (25 Gbps)" + InterfaceTemplateTypeLabelEPON1Gbps InterfaceTemplateTypeLabel = "EPON (1 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)" + InterfaceTemplateTypeLabelGPON25Gbps125Gps InterfaceTemplateTypeLabel = "GPON (2.5 Gbps / 1.25 Gps)" + 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" + InterfaceTemplateTypeLabelIEEE80211ay InterfaceTemplateTypeLabel = "IEEE 802.11ay" + InterfaceTemplateTypeLabelIEEE80211bg InterfaceTemplateTypeLabel = "IEEE 802.11b/g" + InterfaceTemplateTypeLabelIEEE80211n InterfaceTemplateTypeLabel = "IEEE 802.11n" + InterfaceTemplateTypeLabelIEEE802151Bluetooth InterfaceTemplateTypeLabel = "IEEE 802.15.1 (Bluetooth)" + InterfaceTemplateTypeLabelJuniperVCP InterfaceTemplateTypeLabel = "Juniper VCP" + InterfaceTemplateTypeLabelLTE InterfaceTemplateTypeLabel = "LTE" + InterfaceTemplateTypeLabelLinkAggregationGroupLAG InterfaceTemplateTypeLabel = "Link Aggregation Group (LAG)" + InterfaceTemplateTypeLabelN1000BASEKX1GE InterfaceTemplateTypeLabel = "1000BASE-KX (1GE)" + InterfaceTemplateTypeLabelN1000BASET1GE InterfaceTemplateTypeLabel = "1000BASE-T (1GE)" + InterfaceTemplateTypeLabelN100BASEFX10100MEFIBER InterfaceTemplateTypeLabel = "100BASE-FX (10/100ME FIBER)" + InterfaceTemplateTypeLabelN100BASELFX10100MEFIBER InterfaceTemplateTypeLabel = "100BASE-LFX (10/100ME FIBER)" + InterfaceTemplateTypeLabelN100BASET110100MESinglePair InterfaceTemplateTypeLabel = "100BASE-T1 (10/100ME Single Pair)" + InterfaceTemplateTypeLabelN100BASETX10100ME InterfaceTemplateTypeLabel = "100BASE-TX (10/100ME)" + InterfaceTemplateTypeLabelN100GBASEKP4100GE InterfaceTemplateTypeLabel = "100GBASE-KP4 (100GE)" + InterfaceTemplateTypeLabelN100GBASEKR2100GE InterfaceTemplateTypeLabel = "100GBASE-KR2 (100GE)" + InterfaceTemplateTypeLabelN100GBASEKR4100GE InterfaceTemplateTypeLabel = "100GBASE-KR4 (100GE)" + InterfaceTemplateTypeLabelN10GBASECX410GE InterfaceTemplateTypeLabel = "10GBASE-CX4 (10GE)" + InterfaceTemplateTypeLabelN10GBASEKR10GE InterfaceTemplateTypeLabel = "10GBASE-KR (10GE)" + InterfaceTemplateTypeLabelN10GBASEKX410GE InterfaceTemplateTypeLabel = "10GBASE-KX4 (10GE)" + InterfaceTemplateTypeLabelN10GBASET10GE InterfaceTemplateTypeLabel = "10GBASE-T (10GE)" + InterfaceTemplateTypeLabelN10GEPON10Gbps InterfaceTemplateTypeLabel = "10G-EPON (10 Gbps)" + InterfaceTemplateTypeLabelN25GBASEKR25GE InterfaceTemplateTypeLabel = "25GBASE-KR (25GE)" + InterfaceTemplateTypeLabelN25GBASET25GE InterfaceTemplateTypeLabel = "2.5GBASE-T (2.5GE)" + InterfaceTemplateTypeLabelN40GBASEKR440GE InterfaceTemplateTypeLabel = "40GBASE-KR4 (40GE)" + InterfaceTemplateTypeLabelN50GBASEKR50GE InterfaceTemplateTypeLabel = "50GBASE-KR (50GE)" + InterfaceTemplateTypeLabelN5GBASET5GE InterfaceTemplateTypeLabel = "5GBASE-T (5GE)" + InterfaceTemplateTypeLabelNDR100Gbps InterfaceTemplateTypeLabel = "NDR (100 Gbps)" + InterfaceTemplateTypeLabelNGPON2TWDMPON4x10Gbps InterfaceTemplateTypeLabel = "NG-PON2 (TWDM-PON) (4x10 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)" + InterfaceTemplateTypeLabelOSFP800GE InterfaceTemplateTypeLabel = "OSFP (800GE)" + InterfaceTemplateTypeLabelOSFPRHS400GE InterfaceTemplateTypeLabel = "OSFP-RHS (400GE)" + InterfaceTemplateTypeLabelOther InterfaceTemplateTypeLabel = "Other" + InterfaceTemplateTypeLabelOtherWireless InterfaceTemplateTypeLabel = "Other (Wireless)" + InterfaceTemplateTypeLabelQDR8Gbps InterfaceTemplateTypeLabel = "QDR (8 Gbps)" + InterfaceTemplateTypeLabelQSFP112400GE InterfaceTemplateTypeLabel = "QSFP112 (400GE)" + InterfaceTemplateTypeLabelQSFP28100GE InterfaceTemplateTypeLabel = "QSFP28 (100GE)" + InterfaceTemplateTypeLabelQSFP28128GFC InterfaceTemplateTypeLabel = "QSFP28 (128GFC)" + InterfaceTemplateTypeLabelQSFP2850GE InterfaceTemplateTypeLabel = "QSFP28 (50GE)" + InterfaceTemplateTypeLabelQSFP40GE InterfaceTemplateTypeLabel = "QSFP+ (40GE)" + InterfaceTemplateTypeLabelQSFP56200GE InterfaceTemplateTypeLabel = "QSFP56 (200GE)" + InterfaceTemplateTypeLabelQSFP64GFC InterfaceTemplateTypeLabel = "QSFP+ (64GFC)" + InterfaceTemplateTypeLabelQSFPDD100GE InterfaceTemplateTypeLabel = "QSFP-DD (100GE)" + InterfaceTemplateTypeLabelQSFPDD200GE InterfaceTemplateTypeLabel = "QSFP-DD (200GE)" + InterfaceTemplateTypeLabelQSFPDD400GE InterfaceTemplateTypeLabel = "QSFP-DD (400GE)" + InterfaceTemplateTypeLabelQSFPDD800GE InterfaceTemplateTypeLabel = "QSFP-DD (800GE)" + 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)" + InterfaceTemplateTypeLabelSFP5650GE InterfaceTemplateTypeLabel = "SFP56 (50GE)" + InterfaceTemplateTypeLabelSFP8GFC InterfaceTemplateTypeLabel = "SFP+ (8GFC)" + InterfaceTemplateTypeLabelSFPDD100GE InterfaceTemplateTypeLabel = "SFP-DD (100GE)" + InterfaceTemplateTypeLabelT11544Mbps InterfaceTemplateTypeLabel = "T1 (1.544 Mbps)" + InterfaceTemplateTypeLabelT345Mbps InterfaceTemplateTypeLabel = "T3 (45 Mbps)" + InterfaceTemplateTypeLabelVirtual InterfaceTemplateTypeLabel = "Virtual" + InterfaceTemplateTypeLabelX210GE InterfaceTemplateTypeLabel = "X2 (10GE)" + InterfaceTemplateTypeLabelXDR250Gbps InterfaceTemplateTypeLabel = "XDR (250 Gbps)" + InterfaceTemplateTypeLabelXDSL InterfaceTemplateTypeLabel = "xDSL" + InterfaceTemplateTypeLabelXENPAK10GE InterfaceTemplateTypeLabel = "XENPAK (10GE)" + InterfaceTemplateTypeLabelXFP10GE InterfaceTemplateTypeLabel = "XFP (10GE)" + InterfaceTemplateTypeLabelXGPON10Gbps25Gbps InterfaceTemplateTypeLabel = "XG-PON (10 Gbps / 2.5 Gbps)" + InterfaceTemplateTypeLabelXGSPON10Gbps InterfaceTemplateTypeLabel = "XGS-PON (10 Gbps)" +) + +// Defines values for InterfaceTemplateTypeValue. +const ( + InterfaceTemplateTypeValueBridge InterfaceTemplateTypeValue = "bridge" + InterfaceTemplateTypeValueCdma InterfaceTemplateTypeValue = "cdma" + InterfaceTemplateTypeValueCiscoFlexstack InterfaceTemplateTypeValue = "cisco-flexstack" + InterfaceTemplateTypeValueCiscoFlexstackPlus InterfaceTemplateTypeValue = "cisco-flexstack-plus" + InterfaceTemplateTypeValueCiscoStackwise InterfaceTemplateTypeValue = "cisco-stackwise" + InterfaceTemplateTypeValueCiscoStackwise160 InterfaceTemplateTypeValue = "cisco-stackwise-160" + InterfaceTemplateTypeValueCiscoStackwise1t InterfaceTemplateTypeValue = "cisco-stackwise-1t" + InterfaceTemplateTypeValueCiscoStackwise320 InterfaceTemplateTypeValue = "cisco-stackwise-320" + InterfaceTemplateTypeValueCiscoStackwise480 InterfaceTemplateTypeValue = "cisco-stackwise-480" + InterfaceTemplateTypeValueCiscoStackwise80 InterfaceTemplateTypeValue = "cisco-stackwise-80" + InterfaceTemplateTypeValueCiscoStackwisePlus InterfaceTemplateTypeValue = "cisco-stackwise-plus" + InterfaceTemplateTypeValueDocsis InterfaceTemplateTypeValue = "docsis" + InterfaceTemplateTypeValueE1 InterfaceTemplateTypeValue = "e1" + InterfaceTemplateTypeValueE3 InterfaceTemplateTypeValue = "e3" + InterfaceTemplateTypeValueEpon InterfaceTemplateTypeValue = "epon" + InterfaceTemplateTypeValueExtremeSummitstack InterfaceTemplateTypeValue = "extreme-summitstack" + InterfaceTemplateTypeValueExtremeSummitstack128 InterfaceTemplateTypeValue = "extreme-summitstack-128" + InterfaceTemplateTypeValueExtremeSummitstack256 InterfaceTemplateTypeValue = "extreme-summitstack-256" + InterfaceTemplateTypeValueExtremeSummitstack512 InterfaceTemplateTypeValue = "extreme-summitstack-512" + InterfaceTemplateTypeValueGpon InterfaceTemplateTypeValue = "gpon" + InterfaceTemplateTypeValueGsm InterfaceTemplateTypeValue = "gsm" + InterfaceTemplateTypeValueIeee80211a InterfaceTemplateTypeValue = "ieee802.11a" + InterfaceTemplateTypeValueIeee80211ac InterfaceTemplateTypeValue = "ieee802.11ac" + InterfaceTemplateTypeValueIeee80211ad InterfaceTemplateTypeValue = "ieee802.11ad" + InterfaceTemplateTypeValueIeee80211ax InterfaceTemplateTypeValue = "ieee802.11ax" + InterfaceTemplateTypeValueIeee80211ay InterfaceTemplateTypeValue = "ieee802.11ay" + InterfaceTemplateTypeValueIeee80211g InterfaceTemplateTypeValue = "ieee802.11g" + InterfaceTemplateTypeValueIeee80211n InterfaceTemplateTypeValue = "ieee802.11n" + InterfaceTemplateTypeValueIeee802151 InterfaceTemplateTypeValue = "ieee802.15.1" + 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" + InterfaceTemplateTypeValueN1000baseKx InterfaceTemplateTypeValue = "1000base-kx" + InterfaceTemplateTypeValueN1000baseT InterfaceTemplateTypeValue = "1000base-t" + InterfaceTemplateTypeValueN1000baseXGbic InterfaceTemplateTypeValue = "1000base-x-gbic" + InterfaceTemplateTypeValueN1000baseXSfp InterfaceTemplateTypeValue = "1000base-x-sfp" + InterfaceTemplateTypeValueN100baseFx InterfaceTemplateTypeValue = "100base-fx" + InterfaceTemplateTypeValueN100baseLfx InterfaceTemplateTypeValue = "100base-lfx" + InterfaceTemplateTypeValueN100baseT1 InterfaceTemplateTypeValue = "100base-t1" + InterfaceTemplateTypeValueN100baseTx InterfaceTemplateTypeValue = "100base-tx" + InterfaceTemplateTypeValueN100gbaseKp4 InterfaceTemplateTypeValue = "100gbase-kp4" + InterfaceTemplateTypeValueN100gbaseKr2 InterfaceTemplateTypeValue = "100gbase-kr2" + InterfaceTemplateTypeValueN100gbaseKr4 InterfaceTemplateTypeValue = "100gbase-kr4" + InterfaceTemplateTypeValueN100gbaseXCfp InterfaceTemplateTypeValue = "100gbase-x-cfp" + InterfaceTemplateTypeValueN100gbaseXCfp2 InterfaceTemplateTypeValue = "100gbase-x-cfp2" + InterfaceTemplateTypeValueN100gbaseXCfp4 InterfaceTemplateTypeValue = "100gbase-x-cfp4" + InterfaceTemplateTypeValueN100gbaseXCpak InterfaceTemplateTypeValue = "100gbase-x-cpak" + InterfaceTemplateTypeValueN100gbaseXCxp InterfaceTemplateTypeValue = "100gbase-x-cxp" + InterfaceTemplateTypeValueN100gbaseXDsfp InterfaceTemplateTypeValue = "100gbase-x-dsfp" + InterfaceTemplateTypeValueN100gbaseXQsfp28 InterfaceTemplateTypeValue = "100gbase-x-qsfp28" + InterfaceTemplateTypeValueN100gbaseXQsfpdd InterfaceTemplateTypeValue = "100gbase-x-qsfpdd" + InterfaceTemplateTypeValueN100gbaseXSfpdd InterfaceTemplateTypeValue = "100gbase-x-sfpdd" + InterfaceTemplateTypeValueN10gEpon InterfaceTemplateTypeValue = "10g-epon" + InterfaceTemplateTypeValueN10gbaseCx4 InterfaceTemplateTypeValue = "10gbase-cx4" + InterfaceTemplateTypeValueN10gbaseKr InterfaceTemplateTypeValue = "10gbase-kr" + InterfaceTemplateTypeValueN10gbaseKx4 InterfaceTemplateTypeValue = "10gbase-kx4" + InterfaceTemplateTypeValueN10gbaseT InterfaceTemplateTypeValue = "10gbase-t" + InterfaceTemplateTypeValueN10gbaseXSfpp InterfaceTemplateTypeValue = "10gbase-x-sfpp" + InterfaceTemplateTypeValueN10gbaseXX2 InterfaceTemplateTypeValue = "10gbase-x-x2" + InterfaceTemplateTypeValueN10gbaseXXenpak InterfaceTemplateTypeValue = "10gbase-x-xenpak" + InterfaceTemplateTypeValueN10gbaseXXfp InterfaceTemplateTypeValue = "10gbase-x-xfp" + InterfaceTemplateTypeValueN128gfcQsfp28 InterfaceTemplateTypeValue = "128gfc-qsfp28" + InterfaceTemplateTypeValueN16gfcSfpp InterfaceTemplateTypeValue = "16gfc-sfpp" + InterfaceTemplateTypeValueN1gfcSfp InterfaceTemplateTypeValue = "1gfc-sfp" + InterfaceTemplateTypeValueN200gbaseXCfp2 InterfaceTemplateTypeValue = "200gbase-x-cfp2" + InterfaceTemplateTypeValueN200gbaseXQsfp56 InterfaceTemplateTypeValue = "200gbase-x-qsfp56" + InterfaceTemplateTypeValueN200gbaseXQsfpdd InterfaceTemplateTypeValue = "200gbase-x-qsfpdd" + InterfaceTemplateTypeValueN25gbaseKr InterfaceTemplateTypeValue = "25gbase-kr" + InterfaceTemplateTypeValueN25gbaseT InterfaceTemplateTypeValue = "2.5gbase-t" + InterfaceTemplateTypeValueN25gbaseXSfp28 InterfaceTemplateTypeValue = "25gbase-x-sfp28" + InterfaceTemplateTypeValueN2gfcSfp InterfaceTemplateTypeValue = "2gfc-sfp" + InterfaceTemplateTypeValueN32gfcSfp28 InterfaceTemplateTypeValue = "32gfc-sfp28" + InterfaceTemplateTypeValueN400gbaseXCdfp InterfaceTemplateTypeValue = "400gbase-x-cdfp" + InterfaceTemplateTypeValueN400gbaseXCfp2 InterfaceTemplateTypeValue = "400gbase-x-cfp2" + InterfaceTemplateTypeValueN400gbaseXCfp8 InterfaceTemplateTypeValue = "400gbase-x-cfp8" + InterfaceTemplateTypeValueN400gbaseXOsfp InterfaceTemplateTypeValue = "400gbase-x-osfp" + InterfaceTemplateTypeValueN400gbaseXOsfpRhs InterfaceTemplateTypeValue = "400gbase-x-osfp-rhs" + InterfaceTemplateTypeValueN400gbaseXQsfp112 InterfaceTemplateTypeValue = "400gbase-x-qsfp112" + InterfaceTemplateTypeValueN400gbaseXQsfpdd InterfaceTemplateTypeValue = "400gbase-x-qsfpdd" + InterfaceTemplateTypeValueN40gbaseKr4 InterfaceTemplateTypeValue = "40gbase-kr4" + InterfaceTemplateTypeValueN40gbaseXQsfpp InterfaceTemplateTypeValue = "40gbase-x-qsfpp" + InterfaceTemplateTypeValueN4gfcSfp InterfaceTemplateTypeValue = "4gfc-sfp" + InterfaceTemplateTypeValueN50gbaseKr InterfaceTemplateTypeValue = "50gbase-kr" + InterfaceTemplateTypeValueN50gbaseXSfp28 InterfaceTemplateTypeValue = "50gbase-x-sfp28" + InterfaceTemplateTypeValueN50gbaseXSfp56 InterfaceTemplateTypeValue = "50gbase-x-sfp56" + InterfaceTemplateTypeValueN5gbaseT InterfaceTemplateTypeValue = "5gbase-t" + InterfaceTemplateTypeValueN64gfcQsfpp InterfaceTemplateTypeValue = "64gfc-qsfpp" + InterfaceTemplateTypeValueN800gbaseXOsfp InterfaceTemplateTypeValue = "800gbase-x-osfp" + InterfaceTemplateTypeValueN800gbaseXQsfpdd InterfaceTemplateTypeValue = "800gbase-x-qsfpdd" + InterfaceTemplateTypeValueN8gfcSfpp InterfaceTemplateTypeValue = "8gfc-sfpp" + InterfaceTemplateTypeValueNgPon2 InterfaceTemplateTypeValue = "ng-pon2" + InterfaceTemplateTypeValueOther InterfaceTemplateTypeValue = "other" + InterfaceTemplateTypeValueOtherWireless InterfaceTemplateTypeValue = "other-wireless" + 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" + InterfaceTemplateTypeValueXdsl InterfaceTemplateTypeValue = "xdsl" + InterfaceTemplateTypeValueXgPon InterfaceTemplateTypeValue = "xg-pon" + InterfaceTemplateTypeValueXgsPon InterfaceTemplateTypeValue = "xgs-pon" +) + +// Defines values for InterfaceTemplateRequestPoeMode. +const ( + InterfaceTemplateRequestPoeModeEmpty InterfaceTemplateRequestPoeMode = "" + InterfaceTemplateRequestPoeModePd InterfaceTemplateRequestPoeMode = "pd" + InterfaceTemplateRequestPoeModePse InterfaceTemplateRequestPoeMode = "pse" +) + +// Defines values for InterfaceTemplateRequestPoeType. +const ( + InterfaceTemplateRequestPoeTypeEmpty InterfaceTemplateRequestPoeType = "" + InterfaceTemplateRequestPoeTypePassive24v2pair InterfaceTemplateRequestPoeType = "passive-24v-2pair" + InterfaceTemplateRequestPoeTypePassive24v4pair InterfaceTemplateRequestPoeType = "passive-24v-4pair" + InterfaceTemplateRequestPoeTypePassive48v2pair InterfaceTemplateRequestPoeType = "passive-48v-2pair" + InterfaceTemplateRequestPoeTypePassive48v4pair InterfaceTemplateRequestPoeType = "passive-48v-4pair" + InterfaceTemplateRequestPoeTypeType1Ieee8023af InterfaceTemplateRequestPoeType = "type1-ieee802.3af" + InterfaceTemplateRequestPoeTypeType2Ieee8023at InterfaceTemplateRequestPoeType = "type2-ieee802.3at" + InterfaceTemplateRequestPoeTypeType3Ieee8023bt InterfaceTemplateRequestPoeType = "type3-ieee802.3bt" + InterfaceTemplateRequestPoeTypeType4Ieee8023bt InterfaceTemplateRequestPoeType = "type4-ieee802.3bt" +) + +// Defines values for InterfaceTemplateRequestRfRole. +const ( + InterfaceTemplateRequestRfRoleAp InterfaceTemplateRequestRfRole = "ap" + InterfaceTemplateRequestRfRoleEmpty InterfaceTemplateRequestRfRole = "" + InterfaceTemplateRequestRfRoleStation InterfaceTemplateRequestRfRole = "station" +) + +// Defines values for InterfaceTemplateRequestType. +const ( + InterfaceTemplateRequestTypeBridge InterfaceTemplateRequestType = "bridge" + InterfaceTemplateRequestTypeCdma InterfaceTemplateRequestType = "cdma" + InterfaceTemplateRequestTypeCiscoFlexstack InterfaceTemplateRequestType = "cisco-flexstack" + InterfaceTemplateRequestTypeCiscoFlexstackPlus InterfaceTemplateRequestType = "cisco-flexstack-plus" + InterfaceTemplateRequestTypeCiscoStackwise InterfaceTemplateRequestType = "cisco-stackwise" + InterfaceTemplateRequestTypeCiscoStackwise160 InterfaceTemplateRequestType = "cisco-stackwise-160" + InterfaceTemplateRequestTypeCiscoStackwise1t InterfaceTemplateRequestType = "cisco-stackwise-1t" + InterfaceTemplateRequestTypeCiscoStackwise320 InterfaceTemplateRequestType = "cisco-stackwise-320" + InterfaceTemplateRequestTypeCiscoStackwise480 InterfaceTemplateRequestType = "cisco-stackwise-480" + InterfaceTemplateRequestTypeCiscoStackwise80 InterfaceTemplateRequestType = "cisco-stackwise-80" + InterfaceTemplateRequestTypeCiscoStackwisePlus InterfaceTemplateRequestType = "cisco-stackwise-plus" + InterfaceTemplateRequestTypeDocsis InterfaceTemplateRequestType = "docsis" + InterfaceTemplateRequestTypeE1 InterfaceTemplateRequestType = "e1" + InterfaceTemplateRequestTypeE3 InterfaceTemplateRequestType = "e3" + InterfaceTemplateRequestTypeEpon InterfaceTemplateRequestType = "epon" + InterfaceTemplateRequestTypeExtremeSummitstack InterfaceTemplateRequestType = "extreme-summitstack" + InterfaceTemplateRequestTypeExtremeSummitstack128 InterfaceTemplateRequestType = "extreme-summitstack-128" + InterfaceTemplateRequestTypeExtremeSummitstack256 InterfaceTemplateRequestType = "extreme-summitstack-256" + InterfaceTemplateRequestTypeExtremeSummitstack512 InterfaceTemplateRequestType = "extreme-summitstack-512" + InterfaceTemplateRequestTypeGpon InterfaceTemplateRequestType = "gpon" + InterfaceTemplateRequestTypeGsm InterfaceTemplateRequestType = "gsm" + InterfaceTemplateRequestTypeIeee80211a InterfaceTemplateRequestType = "ieee802.11a" + InterfaceTemplateRequestTypeIeee80211ac InterfaceTemplateRequestType = "ieee802.11ac" + InterfaceTemplateRequestTypeIeee80211ad InterfaceTemplateRequestType = "ieee802.11ad" + InterfaceTemplateRequestTypeIeee80211ax InterfaceTemplateRequestType = "ieee802.11ax" + InterfaceTemplateRequestTypeIeee80211ay InterfaceTemplateRequestType = "ieee802.11ay" + InterfaceTemplateRequestTypeIeee80211g InterfaceTemplateRequestType = "ieee802.11g" + InterfaceTemplateRequestTypeIeee80211n InterfaceTemplateRequestType = "ieee802.11n" + InterfaceTemplateRequestTypeIeee802151 InterfaceTemplateRequestType = "ieee802.15.1" + InterfaceTemplateRequestTypeInfinibandDdr InterfaceTemplateRequestType = "infiniband-ddr" + InterfaceTemplateRequestTypeInfinibandEdr InterfaceTemplateRequestType = "infiniband-edr" + InterfaceTemplateRequestTypeInfinibandFdr InterfaceTemplateRequestType = "infiniband-fdr" + InterfaceTemplateRequestTypeInfinibandFdr10 InterfaceTemplateRequestType = "infiniband-fdr10" + InterfaceTemplateRequestTypeInfinibandHdr InterfaceTemplateRequestType = "infiniband-hdr" + InterfaceTemplateRequestTypeInfinibandNdr InterfaceTemplateRequestType = "infiniband-ndr" + InterfaceTemplateRequestTypeInfinibandQdr InterfaceTemplateRequestType = "infiniband-qdr" + InterfaceTemplateRequestTypeInfinibandSdr InterfaceTemplateRequestType = "infiniband-sdr" + InterfaceTemplateRequestTypeInfinibandXdr InterfaceTemplateRequestType = "infiniband-xdr" + InterfaceTemplateRequestTypeJuniperVcp InterfaceTemplateRequestType = "juniper-vcp" + InterfaceTemplateRequestTypeLag InterfaceTemplateRequestType = "lag" + InterfaceTemplateRequestTypeLte InterfaceTemplateRequestType = "lte" + InterfaceTemplateRequestTypeN1000baseKx InterfaceTemplateRequestType = "1000base-kx" + InterfaceTemplateRequestTypeN1000baseT InterfaceTemplateRequestType = "1000base-t" + InterfaceTemplateRequestTypeN1000baseXGbic InterfaceTemplateRequestType = "1000base-x-gbic" + InterfaceTemplateRequestTypeN1000baseXSfp InterfaceTemplateRequestType = "1000base-x-sfp" + InterfaceTemplateRequestTypeN100baseFx InterfaceTemplateRequestType = "100base-fx" + InterfaceTemplateRequestTypeN100baseLfx InterfaceTemplateRequestType = "100base-lfx" + InterfaceTemplateRequestTypeN100baseT1 InterfaceTemplateRequestType = "100base-t1" + InterfaceTemplateRequestTypeN100baseTx InterfaceTemplateRequestType = "100base-tx" + InterfaceTemplateRequestTypeN100gbaseKp4 InterfaceTemplateRequestType = "100gbase-kp4" + InterfaceTemplateRequestTypeN100gbaseKr2 InterfaceTemplateRequestType = "100gbase-kr2" + InterfaceTemplateRequestTypeN100gbaseKr4 InterfaceTemplateRequestType = "100gbase-kr4" + InterfaceTemplateRequestTypeN100gbaseXCfp InterfaceTemplateRequestType = "100gbase-x-cfp" + InterfaceTemplateRequestTypeN100gbaseXCfp2 InterfaceTemplateRequestType = "100gbase-x-cfp2" + InterfaceTemplateRequestTypeN100gbaseXCfp4 InterfaceTemplateRequestType = "100gbase-x-cfp4" + InterfaceTemplateRequestTypeN100gbaseXCpak InterfaceTemplateRequestType = "100gbase-x-cpak" + InterfaceTemplateRequestTypeN100gbaseXCxp InterfaceTemplateRequestType = "100gbase-x-cxp" + InterfaceTemplateRequestTypeN100gbaseXDsfp InterfaceTemplateRequestType = "100gbase-x-dsfp" + InterfaceTemplateRequestTypeN100gbaseXQsfp28 InterfaceTemplateRequestType = "100gbase-x-qsfp28" + InterfaceTemplateRequestTypeN100gbaseXQsfpdd InterfaceTemplateRequestType = "100gbase-x-qsfpdd" + InterfaceTemplateRequestTypeN100gbaseXSfpdd InterfaceTemplateRequestType = "100gbase-x-sfpdd" + InterfaceTemplateRequestTypeN10gEpon InterfaceTemplateRequestType = "10g-epon" + InterfaceTemplateRequestTypeN10gbaseCx4 InterfaceTemplateRequestType = "10gbase-cx4" + InterfaceTemplateRequestTypeN10gbaseKr InterfaceTemplateRequestType = "10gbase-kr" + InterfaceTemplateRequestTypeN10gbaseKx4 InterfaceTemplateRequestType = "10gbase-kx4" + InterfaceTemplateRequestTypeN10gbaseT InterfaceTemplateRequestType = "10gbase-t" + InterfaceTemplateRequestTypeN10gbaseXSfpp InterfaceTemplateRequestType = "10gbase-x-sfpp" + InterfaceTemplateRequestTypeN10gbaseXX2 InterfaceTemplateRequestType = "10gbase-x-x2" + InterfaceTemplateRequestTypeN10gbaseXXenpak InterfaceTemplateRequestType = "10gbase-x-xenpak" + InterfaceTemplateRequestTypeN10gbaseXXfp InterfaceTemplateRequestType = "10gbase-x-xfp" + InterfaceTemplateRequestTypeN128gfcQsfp28 InterfaceTemplateRequestType = "128gfc-qsfp28" + InterfaceTemplateRequestTypeN16gfcSfpp InterfaceTemplateRequestType = "16gfc-sfpp" + InterfaceTemplateRequestTypeN1gfcSfp InterfaceTemplateRequestType = "1gfc-sfp" + InterfaceTemplateRequestTypeN200gbaseXCfp2 InterfaceTemplateRequestType = "200gbase-x-cfp2" + InterfaceTemplateRequestTypeN200gbaseXQsfp56 InterfaceTemplateRequestType = "200gbase-x-qsfp56" + InterfaceTemplateRequestTypeN200gbaseXQsfpdd InterfaceTemplateRequestType = "200gbase-x-qsfpdd" + InterfaceTemplateRequestTypeN25gbaseKr InterfaceTemplateRequestType = "25gbase-kr" + InterfaceTemplateRequestTypeN25gbaseT InterfaceTemplateRequestType = "2.5gbase-t" + InterfaceTemplateRequestTypeN25gbaseXSfp28 InterfaceTemplateRequestType = "25gbase-x-sfp28" + InterfaceTemplateRequestTypeN2gfcSfp InterfaceTemplateRequestType = "2gfc-sfp" + InterfaceTemplateRequestTypeN32gfcSfp28 InterfaceTemplateRequestType = "32gfc-sfp28" + InterfaceTemplateRequestTypeN400gbaseXCdfp InterfaceTemplateRequestType = "400gbase-x-cdfp" + InterfaceTemplateRequestTypeN400gbaseXCfp2 InterfaceTemplateRequestType = "400gbase-x-cfp2" + InterfaceTemplateRequestTypeN400gbaseXCfp8 InterfaceTemplateRequestType = "400gbase-x-cfp8" + InterfaceTemplateRequestTypeN400gbaseXOsfp InterfaceTemplateRequestType = "400gbase-x-osfp" + InterfaceTemplateRequestTypeN400gbaseXOsfpRhs InterfaceTemplateRequestType = "400gbase-x-osfp-rhs" + InterfaceTemplateRequestTypeN400gbaseXQsfp112 InterfaceTemplateRequestType = "400gbase-x-qsfp112" + InterfaceTemplateRequestTypeN400gbaseXQsfpdd InterfaceTemplateRequestType = "400gbase-x-qsfpdd" + InterfaceTemplateRequestTypeN40gbaseKr4 InterfaceTemplateRequestType = "40gbase-kr4" + InterfaceTemplateRequestTypeN40gbaseXQsfpp InterfaceTemplateRequestType = "40gbase-x-qsfpp" + InterfaceTemplateRequestTypeN4gfcSfp InterfaceTemplateRequestType = "4gfc-sfp" + InterfaceTemplateRequestTypeN50gbaseKr InterfaceTemplateRequestType = "50gbase-kr" + InterfaceTemplateRequestTypeN50gbaseXSfp28 InterfaceTemplateRequestType = "50gbase-x-sfp28" + InterfaceTemplateRequestTypeN50gbaseXSfp56 InterfaceTemplateRequestType = "50gbase-x-sfp56" + InterfaceTemplateRequestTypeN5gbaseT InterfaceTemplateRequestType = "5gbase-t" + InterfaceTemplateRequestTypeN64gfcQsfpp InterfaceTemplateRequestType = "64gfc-qsfpp" + InterfaceTemplateRequestTypeN800gbaseXOsfp InterfaceTemplateRequestType = "800gbase-x-osfp" + InterfaceTemplateRequestTypeN800gbaseXQsfpdd InterfaceTemplateRequestType = "800gbase-x-qsfpdd" + InterfaceTemplateRequestTypeN8gfcSfpp InterfaceTemplateRequestType = "8gfc-sfpp" + InterfaceTemplateRequestTypeNgPon2 InterfaceTemplateRequestType = "ng-pon2" + InterfaceTemplateRequestTypeOther InterfaceTemplateRequestType = "other" + InterfaceTemplateRequestTypeOtherWireless InterfaceTemplateRequestType = "other-wireless" + InterfaceTemplateRequestTypeSonetOc12 InterfaceTemplateRequestType = "sonet-oc12" + InterfaceTemplateRequestTypeSonetOc192 InterfaceTemplateRequestType = "sonet-oc192" + InterfaceTemplateRequestTypeSonetOc1920 InterfaceTemplateRequestType = "sonet-oc1920" + InterfaceTemplateRequestTypeSonetOc3 InterfaceTemplateRequestType = "sonet-oc3" + InterfaceTemplateRequestTypeSonetOc3840 InterfaceTemplateRequestType = "sonet-oc3840" + InterfaceTemplateRequestTypeSonetOc48 InterfaceTemplateRequestType = "sonet-oc48" + InterfaceTemplateRequestTypeSonetOc768 InterfaceTemplateRequestType = "sonet-oc768" + InterfaceTemplateRequestTypeT1 InterfaceTemplateRequestType = "t1" + InterfaceTemplateRequestTypeT3 InterfaceTemplateRequestType = "t3" + InterfaceTemplateRequestTypeVirtual InterfaceTemplateRequestType = "virtual" + InterfaceTemplateRequestTypeXdsl InterfaceTemplateRequestType = "xdsl" + InterfaceTemplateRequestTypeXgPon InterfaceTemplateRequestType = "xg-pon" + InterfaceTemplateRequestTypeXgsPon InterfaceTemplateRequestType = "xgs-pon" +) + +// Defines values for JobStatusLabel. +const ( + JobStatusLabelCompleted JobStatusLabel = "Completed" + JobStatusLabelErrored JobStatusLabel = "Errored" + JobStatusLabelFailed JobStatusLabel = "Failed" + JobStatusLabelPending JobStatusLabel = "Pending" + JobStatusLabelRunning JobStatusLabel = "Running" + JobStatusLabelScheduled JobStatusLabel = "Scheduled" +) + +// Defines values for JobStatusValue. +const ( + JobStatusValueCompleted JobStatusValue = "completed" + JobStatusValueErrored JobStatusValue = "errored" + JobStatusValueFailed JobStatusValue = "failed" + JobStatusValuePending JobStatusValue = "pending" + JobStatusValueRunning JobStatusValue = "running" + JobStatusValueScheduled JobStatusValue = "scheduled" +) + +// Defines values for JournalEntryKindLabel. +const ( + JournalEntryKindLabelDanger JournalEntryKindLabel = "Danger" + JournalEntryKindLabelInfo JournalEntryKindLabel = "Info" + JournalEntryKindLabelSuccess JournalEntryKindLabel = "Success" + JournalEntryKindLabelWarning JournalEntryKindLabel = "Warning" +) + +// Defines values for JournalEntryKindValue. +const ( + JournalEntryKindValueDanger JournalEntryKindValue = "danger" + JournalEntryKindValueInfo JournalEntryKindValue = "info" + JournalEntryKindValueSuccess JournalEntryKindValue = "success" + JournalEntryKindValueWarning JournalEntryKindValue = "warning" +) + +// Defines values for JournalEntryRequestKind. +const ( + JournalEntryRequestKindDanger JournalEntryRequestKind = "danger" + JournalEntryRequestKindInfo JournalEntryRequestKind = "info" + JournalEntryRequestKindSuccess JournalEntryRequestKind = "success" + JournalEntryRequestKindWarning JournalEntryRequestKind = "warning" +) + +// Defines values for L2VPNTypeLabel. +const ( + EPL L2VPNTypeLabel = "EPL" + EVPL L2VPNTypeLabel = "EVPL" + EthernetPrivateLAN L2VPNTypeLabel = "Ethernet Private LAN" + EthernetPrivateTree L2VPNTypeLabel = "Ethernet Private Tree" + EthernetVirtualPrivateLAN L2VPNTypeLabel = "Ethernet Virtual Private LAN" + EthernetVirtualPrivateTree L2VPNTypeLabel = "Ethernet Virtual Private Tree" + MPLSEVPN L2VPNTypeLabel = "MPLS EVPN" + PBBEVPN L2VPNTypeLabel = "PBB EVPN" + VPLS L2VPNTypeLabel = "VPLS" + VPWS L2VPNTypeLabel = "VPWS" + VXLAN L2VPNTypeLabel = "VXLAN" + VXLANEVPN L2VPNTypeLabel = "VXLAN-EVPN" +) + +// Defines values for L2VPNTypeValue. +const ( + L2VPNTypeValueEpLan L2VPNTypeValue = "ep-lan" + L2VPNTypeValueEpTree L2VPNTypeValue = "ep-tree" + L2VPNTypeValueEpl L2VPNTypeValue = "epl" + L2VPNTypeValueEvpLan L2VPNTypeValue = "evp-lan" + L2VPNTypeValueEvpTree L2VPNTypeValue = "evp-tree" + L2VPNTypeValueEvpl L2VPNTypeValue = "evpl" + L2VPNTypeValueMplsEvpn L2VPNTypeValue = "mpls-evpn" + L2VPNTypeValuePbbEvpn L2VPNTypeValue = "pbb-evpn" + L2VPNTypeValueVpls L2VPNTypeValue = "vpls" + L2VPNTypeValueVpws L2VPNTypeValue = "vpws" + L2VPNTypeValueVxlan L2VPNTypeValue = "vxlan" + L2VPNTypeValueVxlanEvpn L2VPNTypeValue = "vxlan-evpn" +) + +// Defines values for L2VPNRequestType. +const ( + L2VPNRequestTypeEpLan L2VPNRequestType = "ep-lan" + L2VPNRequestTypeEpTree L2VPNRequestType = "ep-tree" + L2VPNRequestTypeEpl L2VPNRequestType = "epl" + L2VPNRequestTypeEvpLan L2VPNRequestType = "evp-lan" + L2VPNRequestTypeEvpTree L2VPNRequestType = "evp-tree" + L2VPNRequestTypeEvpl L2VPNRequestType = "evpl" + L2VPNRequestTypeMplsEvpn L2VPNRequestType = "mpls-evpn" + L2VPNRequestTypePbbEvpn L2VPNRequestType = "pbb-evpn" + L2VPNRequestTypeVpls L2VPNRequestType = "vpls" + L2VPNRequestTypeVpws L2VPNRequestType = "vpws" + L2VPNRequestTypeVxlan L2VPNRequestType = "vxlan" + L2VPNRequestTypeVxlanEvpn L2VPNRequestType = "vxlan-evpn" +) + +// Defines values for LocationStatusLabel. +const ( + LocationStatusLabelActive LocationStatusLabel = "Active" + LocationStatusLabelDecommissioning LocationStatusLabel = "Decommissioning" + LocationStatusLabelPlanned LocationStatusLabel = "Planned" + LocationStatusLabelRetired LocationStatusLabel = "Retired" + LocationStatusLabelStaging LocationStatusLabel = "Staging" +) + +// Defines values for LocationStatusValue. +const ( + LocationStatusValueActive LocationStatusValue = "active" + LocationStatusValueDecommissioning LocationStatusValue = "decommissioning" + LocationStatusValuePlanned LocationStatusValue = "planned" + LocationStatusValueRetired LocationStatusValue = "retired" + LocationStatusValueStaging LocationStatusValue = "staging" +) + +// Defines values for LocationRequestStatus. +const ( + LocationRequestStatusActive LocationRequestStatus = "active" + LocationRequestStatusDecommissioning LocationRequestStatus = "decommissioning" + LocationRequestStatusPlanned LocationRequestStatus = "planned" + LocationRequestStatusRetired LocationRequestStatus = "retired" + LocationRequestStatusStaging LocationRequestStatus = "staging" +) + +// Defines values for ModuleStatusLabel. +const ( + ModuleStatusLabelActive ModuleStatusLabel = "Active" + ModuleStatusLabelDecommissioning ModuleStatusLabel = "Decommissioning" + ModuleStatusLabelFailed ModuleStatusLabel = "Failed" + ModuleStatusLabelOffline ModuleStatusLabel = "Offline" + ModuleStatusLabelPlanned ModuleStatusLabel = "Planned" + ModuleStatusLabelStaged ModuleStatusLabel = "Staged" +) + +// Defines values for ModuleStatusValue. +const ( + ModuleStatusValueActive ModuleStatusValue = "active" + ModuleStatusValueDecommissioning ModuleStatusValue = "decommissioning" + ModuleStatusValueFailed ModuleStatusValue = "failed" + ModuleStatusValueOffline ModuleStatusValue = "offline" + ModuleStatusValuePlanned ModuleStatusValue = "planned" + ModuleStatusValueStaged ModuleStatusValue = "staged" +) + +// Defines values for ModuleRequestStatus. +const ( + ModuleRequestStatusActive ModuleRequestStatus = "active" + ModuleRequestStatusDecommissioning ModuleRequestStatus = "decommissioning" + ModuleRequestStatusFailed ModuleRequestStatus = "failed" + ModuleRequestStatusOffline ModuleRequestStatus = "offline" + ModuleRequestStatusPlanned ModuleRequestStatus = "planned" + ModuleRequestStatusStaged ModuleRequestStatus = "staged" +) + +// Defines values for ModuleTypeWeightUnitLabel. +const ( + ModuleTypeWeightUnitLabelGrams ModuleTypeWeightUnitLabel = "Grams" + ModuleTypeWeightUnitLabelKilograms ModuleTypeWeightUnitLabel = "Kilograms" + ModuleTypeWeightUnitLabelOunces ModuleTypeWeightUnitLabel = "Ounces" + ModuleTypeWeightUnitLabelPounds ModuleTypeWeightUnitLabel = "Pounds" +) + +// Defines values for ModuleTypeWeightUnitValue. +const ( + ModuleTypeWeightUnitValueEmpty ModuleTypeWeightUnitValue = "" + ModuleTypeWeightUnitValueG ModuleTypeWeightUnitValue = "g" + ModuleTypeWeightUnitValueKg ModuleTypeWeightUnitValue = "kg" + ModuleTypeWeightUnitValueLb ModuleTypeWeightUnitValue = "lb" + ModuleTypeWeightUnitValueOz ModuleTypeWeightUnitValue = "oz" +) + +// Defines values for ModuleTypeRequestWeightUnit. +const ( + ModuleTypeRequestWeightUnitEmpty ModuleTypeRequestWeightUnit = "" + ModuleTypeRequestWeightUnitG ModuleTypeRequestWeightUnit = "g" + ModuleTypeRequestWeightUnitKg ModuleTypeRequestWeightUnit = "kg" + ModuleTypeRequestWeightUnitLb ModuleTypeRequestWeightUnit = "lb" + ModuleTypeRequestWeightUnitOz ModuleTypeRequestWeightUnit = "oz" +) + +// Defines values for NestedFHRPGroupProtocol. +const ( + NestedFHRPGroupProtocolCarp NestedFHRPGroupProtocol = "carp" + NestedFHRPGroupProtocolClusterxl NestedFHRPGroupProtocol = "clusterxl" + NestedFHRPGroupProtocolGlbp NestedFHRPGroupProtocol = "glbp" + NestedFHRPGroupProtocolHsrp NestedFHRPGroupProtocol = "hsrp" + NestedFHRPGroupProtocolOther NestedFHRPGroupProtocol = "other" + NestedFHRPGroupProtocolVrrp2 NestedFHRPGroupProtocol = "vrrp2" + NestedFHRPGroupProtocolVrrp3 NestedFHRPGroupProtocol = "vrrp3" +) + +// Defines values for NestedFHRPGroupRequestProtocol. +const ( + NestedFHRPGroupRequestProtocolCarp NestedFHRPGroupRequestProtocol = "carp" + NestedFHRPGroupRequestProtocolClusterxl NestedFHRPGroupRequestProtocol = "clusterxl" + NestedFHRPGroupRequestProtocolGlbp NestedFHRPGroupRequestProtocol = "glbp" + NestedFHRPGroupRequestProtocolHsrp NestedFHRPGroupRequestProtocol = "hsrp" + NestedFHRPGroupRequestProtocolOther NestedFHRPGroupRequestProtocol = "other" + NestedFHRPGroupRequestProtocolVrrp2 NestedFHRPGroupRequestProtocol = "vrrp2" + NestedFHRPGroupRequestProtocolVrrp3 NestedFHRPGroupRequestProtocol = "vrrp3" +) + +// Defines values for NestedL2VPNType. +const ( + NestedL2VPNTypeEpLan NestedL2VPNType = "ep-lan" + NestedL2VPNTypeEpTree NestedL2VPNType = "ep-tree" + NestedL2VPNTypeEpl NestedL2VPNType = "epl" + NestedL2VPNTypeEvpLan NestedL2VPNType = "evp-lan" + NestedL2VPNTypeEvpTree NestedL2VPNType = "evp-tree" + NestedL2VPNTypeEvpl NestedL2VPNType = "evpl" + NestedL2VPNTypeMplsEvpn NestedL2VPNType = "mpls-evpn" + NestedL2VPNTypePbbEvpn NestedL2VPNType = "pbb-evpn" + NestedL2VPNTypeVpls NestedL2VPNType = "vpls" + NestedL2VPNTypeVpws NestedL2VPNType = "vpws" + NestedL2VPNTypeVxlan NestedL2VPNType = "vxlan" + NestedL2VPNTypeVxlanEvpn NestedL2VPNType = "vxlan-evpn" +) + +// Defines values for NestedL2VPNRequestType. +const ( + NestedL2VPNRequestTypeEpLan NestedL2VPNRequestType = "ep-lan" + NestedL2VPNRequestTypeEpTree NestedL2VPNRequestType = "ep-tree" + NestedL2VPNRequestTypeEpl NestedL2VPNRequestType = "epl" + NestedL2VPNRequestTypeEvpLan NestedL2VPNRequestType = "evp-lan" + NestedL2VPNRequestTypeEvpTree NestedL2VPNRequestType = "evp-tree" + NestedL2VPNRequestTypeEvpl NestedL2VPNRequestType = "evpl" + NestedL2VPNRequestTypeMplsEvpn NestedL2VPNRequestType = "mpls-evpn" + NestedL2VPNRequestTypePbbEvpn NestedL2VPNRequestType = "pbb-evpn" + NestedL2VPNRequestTypeVpls NestedL2VPNRequestType = "vpls" + NestedL2VPNRequestTypeVpws NestedL2VPNRequestType = "vpws" + NestedL2VPNRequestTypeVxlan NestedL2VPNRequestType = "vxlan" + NestedL2VPNRequestTypeVxlanEvpn NestedL2VPNRequestType = "vxlan-evpn" +) + +// Defines values for ObjectChangeActionLabel. +const ( + Created ObjectChangeActionLabel = "Created" + Deleted ObjectChangeActionLabel = "Deleted" + Updated ObjectChangeActionLabel = "Updated" +) + +// Defines values for ObjectChangeActionValue. +const ( + Create ObjectChangeActionValue = "create" + Delete ObjectChangeActionValue = "delete" + Update ObjectChangeActionValue = "update" +) + +// Defines values for PatchedCableTerminationRequestCableEnd. +const ( + PatchedCableTerminationRequestCableEndA PatchedCableTerminationRequestCableEnd = "A" + PatchedCableTerminationRequestCableEndB PatchedCableTerminationRequestCableEnd = "B" +) + +// Defines values for PatchedCustomLinkRequestButtonClass. +const ( + Black PatchedCustomLinkRequestButtonClass = "black" + Blue PatchedCustomLinkRequestButtonClass = "blue" + Cyan PatchedCustomLinkRequestButtonClass = "cyan" + GhostDark PatchedCustomLinkRequestButtonClass = "ghost-dark" + Gray PatchedCustomLinkRequestButtonClass = "gray" + Green PatchedCustomLinkRequestButtonClass = "green" + Indigo PatchedCustomLinkRequestButtonClass = "indigo" + Orange PatchedCustomLinkRequestButtonClass = "orange" + OutlineDark PatchedCustomLinkRequestButtonClass = "outline-dark" + Pink PatchedCustomLinkRequestButtonClass = "pink" + Purple PatchedCustomLinkRequestButtonClass = "purple" + Red PatchedCustomLinkRequestButtonClass = "red" + Teal PatchedCustomLinkRequestButtonClass = "teal" + White PatchedCustomLinkRequestButtonClass = "white" + Yellow PatchedCustomLinkRequestButtonClass = "yellow" +) + +// Defines values for PatchedFHRPGroupRequestAuthType. +const ( + PatchedFHRPGroupRequestAuthTypeEmpty PatchedFHRPGroupRequestAuthType = "" + PatchedFHRPGroupRequestAuthTypeMd5 PatchedFHRPGroupRequestAuthType = "md5" + PatchedFHRPGroupRequestAuthTypePlaintext PatchedFHRPGroupRequestAuthType = "plaintext" +) + +// Defines values for PatchedFHRPGroupRequestProtocol. +const ( + PatchedFHRPGroupRequestProtocolCarp PatchedFHRPGroupRequestProtocol = "carp" + PatchedFHRPGroupRequestProtocolClusterxl PatchedFHRPGroupRequestProtocol = "clusterxl" + PatchedFHRPGroupRequestProtocolGlbp PatchedFHRPGroupRequestProtocol = "glbp" + PatchedFHRPGroupRequestProtocolHsrp PatchedFHRPGroupRequestProtocol = "hsrp" + PatchedFHRPGroupRequestProtocolOther PatchedFHRPGroupRequestProtocol = "other" + PatchedFHRPGroupRequestProtocolVrrp2 PatchedFHRPGroupRequestProtocol = "vrrp2" + PatchedFHRPGroupRequestProtocolVrrp3 PatchedFHRPGroupRequestProtocol = "vrrp3" +) + +// Defines values for PatchedWebhookRequestHttpMethod. +const ( + PatchedWebhookRequestHttpMethodDELETE PatchedWebhookRequestHttpMethod = "DELETE" + PatchedWebhookRequestHttpMethodGET PatchedWebhookRequestHttpMethod = "GET" + PatchedWebhookRequestHttpMethodPATCH PatchedWebhookRequestHttpMethod = "PATCH" + PatchedWebhookRequestHttpMethodPOST PatchedWebhookRequestHttpMethod = "POST" + PatchedWebhookRequestHttpMethodPUT PatchedWebhookRequestHttpMethod = "PUT" +) + +// Defines values for PatchedWritableCableRequestLengthUnit. +const ( + PatchedWritableCableRequestLengthUnitCm PatchedWritableCableRequestLengthUnit = "cm" + PatchedWritableCableRequestLengthUnitEmpty PatchedWritableCableRequestLengthUnit = "" + PatchedWritableCableRequestLengthUnitFt PatchedWritableCableRequestLengthUnit = "ft" + PatchedWritableCableRequestLengthUnitIn PatchedWritableCableRequestLengthUnit = "in" + PatchedWritableCableRequestLengthUnitKm PatchedWritableCableRequestLengthUnit = "km" + PatchedWritableCableRequestLengthUnitM PatchedWritableCableRequestLengthUnit = "m" + PatchedWritableCableRequestLengthUnitMi PatchedWritableCableRequestLengthUnit = "mi" +) + +// Defines values for PatchedWritableCableRequestStatus. +const ( + PatchedWritableCableRequestStatusConnected PatchedWritableCableRequestStatus = "connected" + PatchedWritableCableRequestStatusDecommissioning PatchedWritableCableRequestStatus = "decommissioning" + PatchedWritableCableRequestStatusPlanned PatchedWritableCableRequestStatus = "planned" +) + +// Defines values for PatchedWritableCableRequestType. +const ( + PatchedWritableCableRequestTypeAoc PatchedWritableCableRequestType = "aoc" + PatchedWritableCableRequestTypeCat3 PatchedWritableCableRequestType = "cat3" + PatchedWritableCableRequestTypeCat5 PatchedWritableCableRequestType = "cat5" + PatchedWritableCableRequestTypeCat5e PatchedWritableCableRequestType = "cat5e" + PatchedWritableCableRequestTypeCat6 PatchedWritableCableRequestType = "cat6" + PatchedWritableCableRequestTypeCat6a PatchedWritableCableRequestType = "cat6a" + PatchedWritableCableRequestTypeCat7 PatchedWritableCableRequestType = "cat7" + PatchedWritableCableRequestTypeCat7a PatchedWritableCableRequestType = "cat7a" + PatchedWritableCableRequestTypeCat8 PatchedWritableCableRequestType = "cat8" + PatchedWritableCableRequestTypeCoaxial PatchedWritableCableRequestType = "coaxial" + PatchedWritableCableRequestTypeDacActive PatchedWritableCableRequestType = "dac-active" + PatchedWritableCableRequestTypeDacPassive PatchedWritableCableRequestType = "dac-passive" + PatchedWritableCableRequestTypeEmpty PatchedWritableCableRequestType = "" + PatchedWritableCableRequestTypeMmf PatchedWritableCableRequestType = "mmf" + PatchedWritableCableRequestTypeMmfOm1 PatchedWritableCableRequestType = "mmf-om1" + PatchedWritableCableRequestTypeMmfOm2 PatchedWritableCableRequestType = "mmf-om2" + PatchedWritableCableRequestTypeMmfOm3 PatchedWritableCableRequestType = "mmf-om3" + PatchedWritableCableRequestTypeMmfOm4 PatchedWritableCableRequestType = "mmf-om4" + PatchedWritableCableRequestTypeMmfOm5 PatchedWritableCableRequestType = "mmf-om5" + PatchedWritableCableRequestTypeMrj21Trunk PatchedWritableCableRequestType = "mrj21-trunk" + PatchedWritableCableRequestTypePower PatchedWritableCableRequestType = "power" + PatchedWritableCableRequestTypeSmf PatchedWritableCableRequestType = "smf" + PatchedWritableCableRequestTypeSmfOs1 PatchedWritableCableRequestType = "smf-os1" + PatchedWritableCableRequestTypeSmfOs2 PatchedWritableCableRequestType = "smf-os2" +) + +// Defines values for PatchedWritableCircuitRequestStatus. +const ( + PatchedWritableCircuitRequestStatusActive PatchedWritableCircuitRequestStatus = "active" + PatchedWritableCircuitRequestStatusDecommissioned PatchedWritableCircuitRequestStatus = "decommissioned" + PatchedWritableCircuitRequestStatusDeprovisioning PatchedWritableCircuitRequestStatus = "deprovisioning" + PatchedWritableCircuitRequestStatusOffline PatchedWritableCircuitRequestStatus = "offline" + PatchedWritableCircuitRequestStatusPlanned PatchedWritableCircuitRequestStatus = "planned" + PatchedWritableCircuitRequestStatusProvisioning PatchedWritableCircuitRequestStatus = "provisioning" +) + +// Defines values for PatchedWritableCircuitTerminationRequestTermSide. +const ( + PatchedWritableCircuitTerminationRequestTermSideA PatchedWritableCircuitTerminationRequestTermSide = "A" + PatchedWritableCircuitTerminationRequestTermSideZ PatchedWritableCircuitTerminationRequestTermSide = "Z" +) + +// Defines values for PatchedWritableClusterRequestStatus. +const ( + PatchedWritableClusterRequestStatusActive PatchedWritableClusterRequestStatus = "active" + PatchedWritableClusterRequestStatusDecommissioning PatchedWritableClusterRequestStatus = "decommissioning" + PatchedWritableClusterRequestStatusOffline PatchedWritableClusterRequestStatus = "offline" + PatchedWritableClusterRequestStatusPlanned PatchedWritableClusterRequestStatus = "planned" + PatchedWritableClusterRequestStatusStaging PatchedWritableClusterRequestStatus = "staging" +) + +// Defines values for PatchedWritableConsolePortRequestSpeed. +const ( + PatchedWritableConsolePortRequestSpeedN115200 PatchedWritableConsolePortRequestSpeed = 115200 + PatchedWritableConsolePortRequestSpeedN1200 PatchedWritableConsolePortRequestSpeed = 1200 + PatchedWritableConsolePortRequestSpeedN19200 PatchedWritableConsolePortRequestSpeed = 19200 + PatchedWritableConsolePortRequestSpeedN2400 PatchedWritableConsolePortRequestSpeed = 2400 + PatchedWritableConsolePortRequestSpeedN38400 PatchedWritableConsolePortRequestSpeed = 38400 + PatchedWritableConsolePortRequestSpeedN4800 PatchedWritableConsolePortRequestSpeed = 4800 + PatchedWritableConsolePortRequestSpeedN57600 PatchedWritableConsolePortRequestSpeed = 57600 + PatchedWritableConsolePortRequestSpeedN9600 PatchedWritableConsolePortRequestSpeed = 9600 +) + +// Defines values for PatchedWritableConsolePortRequestType. +const ( + PatchedWritableConsolePortRequestTypeDb25 PatchedWritableConsolePortRequestType = "db-25" + PatchedWritableConsolePortRequestTypeDe9 PatchedWritableConsolePortRequestType = "de-9" + PatchedWritableConsolePortRequestTypeEmpty PatchedWritableConsolePortRequestType = "" + PatchedWritableConsolePortRequestTypeMiniDin8 PatchedWritableConsolePortRequestType = "mini-din-8" + PatchedWritableConsolePortRequestTypeOther PatchedWritableConsolePortRequestType = "other" + PatchedWritableConsolePortRequestTypeRj11 PatchedWritableConsolePortRequestType = "rj-11" + PatchedWritableConsolePortRequestTypeRj12 PatchedWritableConsolePortRequestType = "rj-12" + PatchedWritableConsolePortRequestTypeRj45 PatchedWritableConsolePortRequestType = "rj-45" + PatchedWritableConsolePortRequestTypeUsbA PatchedWritableConsolePortRequestType = "usb-a" + PatchedWritableConsolePortRequestTypeUsbB PatchedWritableConsolePortRequestType = "usb-b" + PatchedWritableConsolePortRequestTypeUsbC PatchedWritableConsolePortRequestType = "usb-c" + PatchedWritableConsolePortRequestTypeUsbMicroA PatchedWritableConsolePortRequestType = "usb-micro-a" + PatchedWritableConsolePortRequestTypeUsbMicroAb PatchedWritableConsolePortRequestType = "usb-micro-ab" + PatchedWritableConsolePortRequestTypeUsbMicroB PatchedWritableConsolePortRequestType = "usb-micro-b" + PatchedWritableConsolePortRequestTypeUsbMiniA PatchedWritableConsolePortRequestType = "usb-mini-a" + PatchedWritableConsolePortRequestTypeUsbMiniB PatchedWritableConsolePortRequestType = "usb-mini-b" +) + +// Defines values for PatchedWritableConsolePortTemplateRequestType. +const ( + PatchedWritableConsolePortTemplateRequestTypeDb25 PatchedWritableConsolePortTemplateRequestType = "db-25" + PatchedWritableConsolePortTemplateRequestTypeDe9 PatchedWritableConsolePortTemplateRequestType = "de-9" + PatchedWritableConsolePortTemplateRequestTypeEmpty PatchedWritableConsolePortTemplateRequestType = "" + PatchedWritableConsolePortTemplateRequestTypeMiniDin8 PatchedWritableConsolePortTemplateRequestType = "mini-din-8" + PatchedWritableConsolePortTemplateRequestTypeOther PatchedWritableConsolePortTemplateRequestType = "other" + PatchedWritableConsolePortTemplateRequestTypeRj11 PatchedWritableConsolePortTemplateRequestType = "rj-11" + PatchedWritableConsolePortTemplateRequestTypeRj12 PatchedWritableConsolePortTemplateRequestType = "rj-12" + PatchedWritableConsolePortTemplateRequestTypeRj45 PatchedWritableConsolePortTemplateRequestType = "rj-45" + PatchedWritableConsolePortTemplateRequestTypeUsbA PatchedWritableConsolePortTemplateRequestType = "usb-a" + PatchedWritableConsolePortTemplateRequestTypeUsbB PatchedWritableConsolePortTemplateRequestType = "usb-b" + PatchedWritableConsolePortTemplateRequestTypeUsbC PatchedWritableConsolePortTemplateRequestType = "usb-c" + PatchedWritableConsolePortTemplateRequestTypeUsbMicroA PatchedWritableConsolePortTemplateRequestType = "usb-micro-a" + PatchedWritableConsolePortTemplateRequestTypeUsbMicroAb PatchedWritableConsolePortTemplateRequestType = "usb-micro-ab" + PatchedWritableConsolePortTemplateRequestTypeUsbMicroB PatchedWritableConsolePortTemplateRequestType = "usb-micro-b" + PatchedWritableConsolePortTemplateRequestTypeUsbMiniA PatchedWritableConsolePortTemplateRequestType = "usb-mini-a" + PatchedWritableConsolePortTemplateRequestTypeUsbMiniB PatchedWritableConsolePortTemplateRequestType = "usb-mini-b" +) + +// Defines values for PatchedWritableConsoleServerPortRequestSpeed. +const ( + PatchedWritableConsoleServerPortRequestSpeedN115200 PatchedWritableConsoleServerPortRequestSpeed = 115200 + PatchedWritableConsoleServerPortRequestSpeedN1200 PatchedWritableConsoleServerPortRequestSpeed = 1200 + PatchedWritableConsoleServerPortRequestSpeedN19200 PatchedWritableConsoleServerPortRequestSpeed = 19200 + PatchedWritableConsoleServerPortRequestSpeedN2400 PatchedWritableConsoleServerPortRequestSpeed = 2400 + PatchedWritableConsoleServerPortRequestSpeedN38400 PatchedWritableConsoleServerPortRequestSpeed = 38400 + PatchedWritableConsoleServerPortRequestSpeedN4800 PatchedWritableConsoleServerPortRequestSpeed = 4800 + PatchedWritableConsoleServerPortRequestSpeedN57600 PatchedWritableConsoleServerPortRequestSpeed = 57600 + PatchedWritableConsoleServerPortRequestSpeedN9600 PatchedWritableConsoleServerPortRequestSpeed = 9600 +) + +// Defines values for PatchedWritableConsoleServerPortRequestType. +const ( + PatchedWritableConsoleServerPortRequestTypeDb25 PatchedWritableConsoleServerPortRequestType = "db-25" + PatchedWritableConsoleServerPortRequestTypeDe9 PatchedWritableConsoleServerPortRequestType = "de-9" + PatchedWritableConsoleServerPortRequestTypeEmpty PatchedWritableConsoleServerPortRequestType = "" + PatchedWritableConsoleServerPortRequestTypeMiniDin8 PatchedWritableConsoleServerPortRequestType = "mini-din-8" + PatchedWritableConsoleServerPortRequestTypeOther PatchedWritableConsoleServerPortRequestType = "other" + PatchedWritableConsoleServerPortRequestTypeRj11 PatchedWritableConsoleServerPortRequestType = "rj-11" + PatchedWritableConsoleServerPortRequestTypeRj12 PatchedWritableConsoleServerPortRequestType = "rj-12" + PatchedWritableConsoleServerPortRequestTypeRj45 PatchedWritableConsoleServerPortRequestType = "rj-45" + PatchedWritableConsoleServerPortRequestTypeUsbA PatchedWritableConsoleServerPortRequestType = "usb-a" + PatchedWritableConsoleServerPortRequestTypeUsbB PatchedWritableConsoleServerPortRequestType = "usb-b" + PatchedWritableConsoleServerPortRequestTypeUsbC PatchedWritableConsoleServerPortRequestType = "usb-c" + PatchedWritableConsoleServerPortRequestTypeUsbMicroA PatchedWritableConsoleServerPortRequestType = "usb-micro-a" + PatchedWritableConsoleServerPortRequestTypeUsbMicroAb PatchedWritableConsoleServerPortRequestType = "usb-micro-ab" + PatchedWritableConsoleServerPortRequestTypeUsbMicroB PatchedWritableConsoleServerPortRequestType = "usb-micro-b" + PatchedWritableConsoleServerPortRequestTypeUsbMiniA PatchedWritableConsoleServerPortRequestType = "usb-mini-a" + PatchedWritableConsoleServerPortRequestTypeUsbMiniB PatchedWritableConsoleServerPortRequestType = "usb-mini-b" +) + +// Defines values for PatchedWritableConsoleServerPortTemplateRequestType. +const ( + PatchedWritableConsoleServerPortTemplateRequestTypeDb25 PatchedWritableConsoleServerPortTemplateRequestType = "db-25" + PatchedWritableConsoleServerPortTemplateRequestTypeDe9 PatchedWritableConsoleServerPortTemplateRequestType = "de-9" + PatchedWritableConsoleServerPortTemplateRequestTypeEmpty PatchedWritableConsoleServerPortTemplateRequestType = "" + PatchedWritableConsoleServerPortTemplateRequestTypeMiniDin8 PatchedWritableConsoleServerPortTemplateRequestType = "mini-din-8" + PatchedWritableConsoleServerPortTemplateRequestTypeOther PatchedWritableConsoleServerPortTemplateRequestType = "other" + PatchedWritableConsoleServerPortTemplateRequestTypeRj11 PatchedWritableConsoleServerPortTemplateRequestType = "rj-11" + PatchedWritableConsoleServerPortTemplateRequestTypeRj12 PatchedWritableConsoleServerPortTemplateRequestType = "rj-12" + PatchedWritableConsoleServerPortTemplateRequestTypeRj45 PatchedWritableConsoleServerPortTemplateRequestType = "rj-45" + PatchedWritableConsoleServerPortTemplateRequestTypeUsbA PatchedWritableConsoleServerPortTemplateRequestType = "usb-a" + PatchedWritableConsoleServerPortTemplateRequestTypeUsbB PatchedWritableConsoleServerPortTemplateRequestType = "usb-b" + PatchedWritableConsoleServerPortTemplateRequestTypeUsbC PatchedWritableConsoleServerPortTemplateRequestType = "usb-c" + PatchedWritableConsoleServerPortTemplateRequestTypeUsbMicroA PatchedWritableConsoleServerPortTemplateRequestType = "usb-micro-a" + PatchedWritableConsoleServerPortTemplateRequestTypeUsbMicroAb PatchedWritableConsoleServerPortTemplateRequestType = "usb-micro-ab" + PatchedWritableConsoleServerPortTemplateRequestTypeUsbMicroB PatchedWritableConsoleServerPortTemplateRequestType = "usb-micro-b" + PatchedWritableConsoleServerPortTemplateRequestTypeUsbMiniA PatchedWritableConsoleServerPortTemplateRequestType = "usb-mini-a" + PatchedWritableConsoleServerPortTemplateRequestTypeUsbMiniB PatchedWritableConsoleServerPortTemplateRequestType = "usb-mini-b" +) + +// Defines values for PatchedWritableContactAssignmentRequestPriority. +const ( + PatchedWritableContactAssignmentRequestPriorityEmpty PatchedWritableContactAssignmentRequestPriority = "" + PatchedWritableContactAssignmentRequestPriorityInactive PatchedWritableContactAssignmentRequestPriority = "inactive" + PatchedWritableContactAssignmentRequestPriorityPrimary PatchedWritableContactAssignmentRequestPriority = "primary" + PatchedWritableContactAssignmentRequestPrioritySecondary PatchedWritableContactAssignmentRequestPriority = "secondary" + PatchedWritableContactAssignmentRequestPriorityTertiary PatchedWritableContactAssignmentRequestPriority = "tertiary" +) + +// Defines values for PatchedWritableCustomFieldChoiceSetRequestBaseChoices. +const ( + PatchedWritableCustomFieldChoiceSetRequestBaseChoicesEmpty PatchedWritableCustomFieldChoiceSetRequestBaseChoices = "" + PatchedWritableCustomFieldChoiceSetRequestBaseChoicesIATA PatchedWritableCustomFieldChoiceSetRequestBaseChoices = "IATA" + PatchedWritableCustomFieldChoiceSetRequestBaseChoicesISO3166 PatchedWritableCustomFieldChoiceSetRequestBaseChoices = "ISO_3166" + PatchedWritableCustomFieldChoiceSetRequestBaseChoicesUNLOCODE PatchedWritableCustomFieldChoiceSetRequestBaseChoices = "UN_LOCODE" +) + +// Defines values for PatchedWritableCustomFieldRequestFilterLogic. +const ( + PatchedWritableCustomFieldRequestFilterLogicDisabled PatchedWritableCustomFieldRequestFilterLogic = "disabled" + PatchedWritableCustomFieldRequestFilterLogicExact PatchedWritableCustomFieldRequestFilterLogic = "exact" + PatchedWritableCustomFieldRequestFilterLogicLoose PatchedWritableCustomFieldRequestFilterLogic = "loose" +) + +// Defines values for PatchedWritableCustomFieldRequestType. +const ( + PatchedWritableCustomFieldRequestTypeBoolean PatchedWritableCustomFieldRequestType = "boolean" + PatchedWritableCustomFieldRequestTypeDate PatchedWritableCustomFieldRequestType = "date" + PatchedWritableCustomFieldRequestTypeDatetime PatchedWritableCustomFieldRequestType = "datetime" + PatchedWritableCustomFieldRequestTypeDecimal PatchedWritableCustomFieldRequestType = "decimal" + PatchedWritableCustomFieldRequestTypeInteger PatchedWritableCustomFieldRequestType = "integer" + PatchedWritableCustomFieldRequestTypeJson PatchedWritableCustomFieldRequestType = "json" + PatchedWritableCustomFieldRequestTypeLongtext PatchedWritableCustomFieldRequestType = "longtext" + PatchedWritableCustomFieldRequestTypeMultiobject PatchedWritableCustomFieldRequestType = "multiobject" + PatchedWritableCustomFieldRequestTypeMultiselect PatchedWritableCustomFieldRequestType = "multiselect" + PatchedWritableCustomFieldRequestTypeObject PatchedWritableCustomFieldRequestType = "object" + PatchedWritableCustomFieldRequestTypeSelect PatchedWritableCustomFieldRequestType = "select" + PatchedWritableCustomFieldRequestTypeText PatchedWritableCustomFieldRequestType = "text" + PatchedWritableCustomFieldRequestTypeUrl PatchedWritableCustomFieldRequestType = "url" +) + +// Defines values for PatchedWritableCustomFieldRequestUiVisibility. +const ( + PatchedWritableCustomFieldRequestUiVisibilityHidden PatchedWritableCustomFieldRequestUiVisibility = "hidden" + PatchedWritableCustomFieldRequestUiVisibilityHiddenIfunset PatchedWritableCustomFieldRequestUiVisibility = "hidden-ifunset" + PatchedWritableCustomFieldRequestUiVisibilityReadOnly PatchedWritableCustomFieldRequestUiVisibility = "read-only" + PatchedWritableCustomFieldRequestUiVisibilityReadWrite PatchedWritableCustomFieldRequestUiVisibility = "read-write" +) + +// Defines values for PatchedWritableDataSourceRequestType. +const ( + PatchedWritableDataSourceRequestTypeAmazonS3 PatchedWritableDataSourceRequestType = "amazon-s3" + PatchedWritableDataSourceRequestTypeGit PatchedWritableDataSourceRequestType = "git" + PatchedWritableDataSourceRequestTypeLocal PatchedWritableDataSourceRequestType = "local" +) + +// Defines values for PatchedWritableDeviceTypeRequestAirflow. +const ( + PatchedWritableDeviceTypeRequestAirflowEmpty PatchedWritableDeviceTypeRequestAirflow = "" + PatchedWritableDeviceTypeRequestAirflowFrontToRear PatchedWritableDeviceTypeRequestAirflow = "front-to-rear" + PatchedWritableDeviceTypeRequestAirflowLeftToRight PatchedWritableDeviceTypeRequestAirflow = "left-to-right" + PatchedWritableDeviceTypeRequestAirflowMixed PatchedWritableDeviceTypeRequestAirflow = "mixed" + PatchedWritableDeviceTypeRequestAirflowPassive PatchedWritableDeviceTypeRequestAirflow = "passive" + PatchedWritableDeviceTypeRequestAirflowRearToFront PatchedWritableDeviceTypeRequestAirflow = "rear-to-front" + PatchedWritableDeviceTypeRequestAirflowRightToLeft PatchedWritableDeviceTypeRequestAirflow = "right-to-left" + PatchedWritableDeviceTypeRequestAirflowSideToRear PatchedWritableDeviceTypeRequestAirflow = "side-to-rear" +) + +// Defines values for PatchedWritableDeviceTypeRequestSubdeviceRole. +const ( + PatchedWritableDeviceTypeRequestSubdeviceRoleChild PatchedWritableDeviceTypeRequestSubdeviceRole = "child" + PatchedWritableDeviceTypeRequestSubdeviceRoleEmpty PatchedWritableDeviceTypeRequestSubdeviceRole = "" + PatchedWritableDeviceTypeRequestSubdeviceRoleParent PatchedWritableDeviceTypeRequestSubdeviceRole = "parent" +) + +// Defines values for PatchedWritableDeviceTypeRequestWeightUnit. +const ( + PatchedWritableDeviceTypeRequestWeightUnitEmpty PatchedWritableDeviceTypeRequestWeightUnit = "" + PatchedWritableDeviceTypeRequestWeightUnitG PatchedWritableDeviceTypeRequestWeightUnit = "g" + PatchedWritableDeviceTypeRequestWeightUnitKg PatchedWritableDeviceTypeRequestWeightUnit = "kg" + PatchedWritableDeviceTypeRequestWeightUnitLb PatchedWritableDeviceTypeRequestWeightUnit = "lb" + PatchedWritableDeviceTypeRequestWeightUnitOz PatchedWritableDeviceTypeRequestWeightUnit = "oz" +) + +// Defines values for PatchedWritableDeviceWithConfigContextRequestAirflow. +const ( + PatchedWritableDeviceWithConfigContextRequestAirflowEmpty PatchedWritableDeviceWithConfigContextRequestAirflow = "" + PatchedWritableDeviceWithConfigContextRequestAirflowFrontToRear PatchedWritableDeviceWithConfigContextRequestAirflow = "front-to-rear" + PatchedWritableDeviceWithConfigContextRequestAirflowLeftToRight PatchedWritableDeviceWithConfigContextRequestAirflow = "left-to-right" + PatchedWritableDeviceWithConfigContextRequestAirflowMixed PatchedWritableDeviceWithConfigContextRequestAirflow = "mixed" + PatchedWritableDeviceWithConfigContextRequestAirflowPassive PatchedWritableDeviceWithConfigContextRequestAirflow = "passive" + PatchedWritableDeviceWithConfigContextRequestAirflowRearToFront PatchedWritableDeviceWithConfigContextRequestAirflow = "rear-to-front" + PatchedWritableDeviceWithConfigContextRequestAirflowRightToLeft PatchedWritableDeviceWithConfigContextRequestAirflow = "right-to-left" + PatchedWritableDeviceWithConfigContextRequestAirflowSideToRear PatchedWritableDeviceWithConfigContextRequestAirflow = "side-to-rear" +) + +// Defines values for PatchedWritableDeviceWithConfigContextRequestFace. +const ( + PatchedWritableDeviceWithConfigContextRequestFaceEmpty PatchedWritableDeviceWithConfigContextRequestFace = "" + PatchedWritableDeviceWithConfigContextRequestFaceFront PatchedWritableDeviceWithConfigContextRequestFace = "front" + PatchedWritableDeviceWithConfigContextRequestFaceRear PatchedWritableDeviceWithConfigContextRequestFace = "rear" +) + +// Defines values for PatchedWritableDeviceWithConfigContextRequestStatus. +const ( + PatchedWritableDeviceWithConfigContextRequestStatusActive PatchedWritableDeviceWithConfigContextRequestStatus = "active" + PatchedWritableDeviceWithConfigContextRequestStatusDecommissioning PatchedWritableDeviceWithConfigContextRequestStatus = "decommissioning" + PatchedWritableDeviceWithConfigContextRequestStatusFailed PatchedWritableDeviceWithConfigContextRequestStatus = "failed" + PatchedWritableDeviceWithConfigContextRequestStatusInventory PatchedWritableDeviceWithConfigContextRequestStatus = "inventory" + PatchedWritableDeviceWithConfigContextRequestStatusOffline PatchedWritableDeviceWithConfigContextRequestStatus = "offline" + PatchedWritableDeviceWithConfigContextRequestStatusPlanned PatchedWritableDeviceWithConfigContextRequestStatus = "planned" + PatchedWritableDeviceWithConfigContextRequestStatusStaged PatchedWritableDeviceWithConfigContextRequestStatus = "staged" +) + +// Defines values for PatchedWritableFrontPortRequestType. +const ( + PatchedWritableFrontPortRequestTypeBnc PatchedWritableFrontPortRequestType = "bnc" + PatchedWritableFrontPortRequestTypeCs PatchedWritableFrontPortRequestType = "cs" + PatchedWritableFrontPortRequestTypeF PatchedWritableFrontPortRequestType = "f" + PatchedWritableFrontPortRequestTypeFc PatchedWritableFrontPortRequestType = "fc" + PatchedWritableFrontPortRequestTypeGg45 PatchedWritableFrontPortRequestType = "gg45" + PatchedWritableFrontPortRequestTypeLc PatchedWritableFrontPortRequestType = "lc" + PatchedWritableFrontPortRequestTypeLcApc PatchedWritableFrontPortRequestType = "lc-apc" + PatchedWritableFrontPortRequestTypeLcPc PatchedWritableFrontPortRequestType = "lc-pc" + PatchedWritableFrontPortRequestTypeLcUpc PatchedWritableFrontPortRequestType = "lc-upc" + PatchedWritableFrontPortRequestTypeLsh PatchedWritableFrontPortRequestType = "lsh" + PatchedWritableFrontPortRequestTypeLshApc PatchedWritableFrontPortRequestType = "lsh-apc" + PatchedWritableFrontPortRequestTypeLshPc PatchedWritableFrontPortRequestType = "lsh-pc" + PatchedWritableFrontPortRequestTypeLshUpc PatchedWritableFrontPortRequestType = "lsh-upc" + PatchedWritableFrontPortRequestTypeLx5 PatchedWritableFrontPortRequestType = "lx5" + PatchedWritableFrontPortRequestTypeLx5Apc PatchedWritableFrontPortRequestType = "lx5-apc" + PatchedWritableFrontPortRequestTypeLx5Pc PatchedWritableFrontPortRequestType = "lx5-pc" + PatchedWritableFrontPortRequestTypeLx5Upc PatchedWritableFrontPortRequestType = "lx5-upc" + PatchedWritableFrontPortRequestTypeMpo PatchedWritableFrontPortRequestType = "mpo" + PatchedWritableFrontPortRequestTypeMrj21 PatchedWritableFrontPortRequestType = "mrj21" + PatchedWritableFrontPortRequestTypeMtrj PatchedWritableFrontPortRequestType = "mtrj" + PatchedWritableFrontPortRequestTypeN PatchedWritableFrontPortRequestType = "n" + PatchedWritableFrontPortRequestTypeN110Punch PatchedWritableFrontPortRequestType = "110-punch" + PatchedWritableFrontPortRequestTypeN4p2c PatchedWritableFrontPortRequestType = "4p2c" + PatchedWritableFrontPortRequestTypeN4p4c PatchedWritableFrontPortRequestType = "4p4c" + PatchedWritableFrontPortRequestTypeN6p2c PatchedWritableFrontPortRequestType = "6p2c" + PatchedWritableFrontPortRequestTypeN6p4c PatchedWritableFrontPortRequestType = "6p4c" + PatchedWritableFrontPortRequestTypeN6p6c PatchedWritableFrontPortRequestType = "6p6c" + PatchedWritableFrontPortRequestTypeN8p2c PatchedWritableFrontPortRequestType = "8p2c" + PatchedWritableFrontPortRequestTypeN8p4c PatchedWritableFrontPortRequestType = "8p4c" + PatchedWritableFrontPortRequestTypeN8p6c PatchedWritableFrontPortRequestType = "8p6c" + PatchedWritableFrontPortRequestTypeN8p8c PatchedWritableFrontPortRequestType = "8p8c" + PatchedWritableFrontPortRequestTypeOther PatchedWritableFrontPortRequestType = "other" + PatchedWritableFrontPortRequestTypeSc PatchedWritableFrontPortRequestType = "sc" + PatchedWritableFrontPortRequestTypeScApc PatchedWritableFrontPortRequestType = "sc-apc" + PatchedWritableFrontPortRequestTypeScPc PatchedWritableFrontPortRequestType = "sc-pc" + PatchedWritableFrontPortRequestTypeScUpc PatchedWritableFrontPortRequestType = "sc-upc" + PatchedWritableFrontPortRequestTypeSma905 PatchedWritableFrontPortRequestType = "sma-905" + PatchedWritableFrontPortRequestTypeSma906 PatchedWritableFrontPortRequestType = "sma-906" + PatchedWritableFrontPortRequestTypeSn PatchedWritableFrontPortRequestType = "sn" + PatchedWritableFrontPortRequestTypeSplice PatchedWritableFrontPortRequestType = "splice" + PatchedWritableFrontPortRequestTypeSt PatchedWritableFrontPortRequestType = "st" + PatchedWritableFrontPortRequestTypeTera1p PatchedWritableFrontPortRequestType = "tera-1p" + PatchedWritableFrontPortRequestTypeTera2p PatchedWritableFrontPortRequestType = "tera-2p" + PatchedWritableFrontPortRequestTypeTera4p PatchedWritableFrontPortRequestType = "tera-4p" + PatchedWritableFrontPortRequestTypeUrmP2 PatchedWritableFrontPortRequestType = "urm-p2" + PatchedWritableFrontPortRequestTypeUrmP4 PatchedWritableFrontPortRequestType = "urm-p4" + PatchedWritableFrontPortRequestTypeUrmP8 PatchedWritableFrontPortRequestType = "urm-p8" +) + +// Defines values for PatchedWritableFrontPortTemplateRequestType. +const ( + PatchedWritableFrontPortTemplateRequestTypeBnc PatchedWritableFrontPortTemplateRequestType = "bnc" + PatchedWritableFrontPortTemplateRequestTypeCs PatchedWritableFrontPortTemplateRequestType = "cs" + PatchedWritableFrontPortTemplateRequestTypeF PatchedWritableFrontPortTemplateRequestType = "f" + PatchedWritableFrontPortTemplateRequestTypeFc PatchedWritableFrontPortTemplateRequestType = "fc" + PatchedWritableFrontPortTemplateRequestTypeGg45 PatchedWritableFrontPortTemplateRequestType = "gg45" + PatchedWritableFrontPortTemplateRequestTypeLc PatchedWritableFrontPortTemplateRequestType = "lc" + PatchedWritableFrontPortTemplateRequestTypeLcApc PatchedWritableFrontPortTemplateRequestType = "lc-apc" + PatchedWritableFrontPortTemplateRequestTypeLcPc PatchedWritableFrontPortTemplateRequestType = "lc-pc" + PatchedWritableFrontPortTemplateRequestTypeLcUpc PatchedWritableFrontPortTemplateRequestType = "lc-upc" + PatchedWritableFrontPortTemplateRequestTypeLsh PatchedWritableFrontPortTemplateRequestType = "lsh" + PatchedWritableFrontPortTemplateRequestTypeLshApc PatchedWritableFrontPortTemplateRequestType = "lsh-apc" + PatchedWritableFrontPortTemplateRequestTypeLshPc PatchedWritableFrontPortTemplateRequestType = "lsh-pc" + PatchedWritableFrontPortTemplateRequestTypeLshUpc PatchedWritableFrontPortTemplateRequestType = "lsh-upc" + PatchedWritableFrontPortTemplateRequestTypeLx5 PatchedWritableFrontPortTemplateRequestType = "lx5" + PatchedWritableFrontPortTemplateRequestTypeLx5Apc PatchedWritableFrontPortTemplateRequestType = "lx5-apc" + PatchedWritableFrontPortTemplateRequestTypeLx5Pc PatchedWritableFrontPortTemplateRequestType = "lx5-pc" + PatchedWritableFrontPortTemplateRequestTypeLx5Upc PatchedWritableFrontPortTemplateRequestType = "lx5-upc" + PatchedWritableFrontPortTemplateRequestTypeMpo PatchedWritableFrontPortTemplateRequestType = "mpo" + PatchedWritableFrontPortTemplateRequestTypeMrj21 PatchedWritableFrontPortTemplateRequestType = "mrj21" + PatchedWritableFrontPortTemplateRequestTypeMtrj PatchedWritableFrontPortTemplateRequestType = "mtrj" + PatchedWritableFrontPortTemplateRequestTypeN PatchedWritableFrontPortTemplateRequestType = "n" + PatchedWritableFrontPortTemplateRequestTypeN110Punch PatchedWritableFrontPortTemplateRequestType = "110-punch" + PatchedWritableFrontPortTemplateRequestTypeN4p2c PatchedWritableFrontPortTemplateRequestType = "4p2c" + PatchedWritableFrontPortTemplateRequestTypeN4p4c PatchedWritableFrontPortTemplateRequestType = "4p4c" + PatchedWritableFrontPortTemplateRequestTypeN6p2c PatchedWritableFrontPortTemplateRequestType = "6p2c" + PatchedWritableFrontPortTemplateRequestTypeN6p4c PatchedWritableFrontPortTemplateRequestType = "6p4c" + PatchedWritableFrontPortTemplateRequestTypeN6p6c PatchedWritableFrontPortTemplateRequestType = "6p6c" + PatchedWritableFrontPortTemplateRequestTypeN8p2c PatchedWritableFrontPortTemplateRequestType = "8p2c" + PatchedWritableFrontPortTemplateRequestTypeN8p4c PatchedWritableFrontPortTemplateRequestType = "8p4c" + PatchedWritableFrontPortTemplateRequestTypeN8p6c PatchedWritableFrontPortTemplateRequestType = "8p6c" + PatchedWritableFrontPortTemplateRequestTypeN8p8c PatchedWritableFrontPortTemplateRequestType = "8p8c" + PatchedWritableFrontPortTemplateRequestTypeOther PatchedWritableFrontPortTemplateRequestType = "other" + PatchedWritableFrontPortTemplateRequestTypeSc PatchedWritableFrontPortTemplateRequestType = "sc" + PatchedWritableFrontPortTemplateRequestTypeScApc PatchedWritableFrontPortTemplateRequestType = "sc-apc" + PatchedWritableFrontPortTemplateRequestTypeScPc PatchedWritableFrontPortTemplateRequestType = "sc-pc" + PatchedWritableFrontPortTemplateRequestTypeScUpc PatchedWritableFrontPortTemplateRequestType = "sc-upc" + PatchedWritableFrontPortTemplateRequestTypeSma905 PatchedWritableFrontPortTemplateRequestType = "sma-905" + PatchedWritableFrontPortTemplateRequestTypeSma906 PatchedWritableFrontPortTemplateRequestType = "sma-906" + PatchedWritableFrontPortTemplateRequestTypeSn PatchedWritableFrontPortTemplateRequestType = "sn" + PatchedWritableFrontPortTemplateRequestTypeSplice PatchedWritableFrontPortTemplateRequestType = "splice" + PatchedWritableFrontPortTemplateRequestTypeSt PatchedWritableFrontPortTemplateRequestType = "st" + PatchedWritableFrontPortTemplateRequestTypeTera1p PatchedWritableFrontPortTemplateRequestType = "tera-1p" + PatchedWritableFrontPortTemplateRequestTypeTera2p PatchedWritableFrontPortTemplateRequestType = "tera-2p" + PatchedWritableFrontPortTemplateRequestTypeTera4p PatchedWritableFrontPortTemplateRequestType = "tera-4p" + PatchedWritableFrontPortTemplateRequestTypeUrmP2 PatchedWritableFrontPortTemplateRequestType = "urm-p2" + PatchedWritableFrontPortTemplateRequestTypeUrmP4 PatchedWritableFrontPortTemplateRequestType = "urm-p4" + PatchedWritableFrontPortTemplateRequestTypeUrmP8 PatchedWritableFrontPortTemplateRequestType = "urm-p8" +) + +// Defines values for PatchedWritableIPAddressRequestRole. +const ( + PatchedWritableIPAddressRequestRoleAnycast PatchedWritableIPAddressRequestRole = "anycast" + PatchedWritableIPAddressRequestRoleCarp PatchedWritableIPAddressRequestRole = "carp" + PatchedWritableIPAddressRequestRoleEmpty PatchedWritableIPAddressRequestRole = "" + PatchedWritableIPAddressRequestRoleGlbp PatchedWritableIPAddressRequestRole = "glbp" + PatchedWritableIPAddressRequestRoleHsrp PatchedWritableIPAddressRequestRole = "hsrp" + PatchedWritableIPAddressRequestRoleLoopback PatchedWritableIPAddressRequestRole = "loopback" + PatchedWritableIPAddressRequestRoleSecondary PatchedWritableIPAddressRequestRole = "secondary" + PatchedWritableIPAddressRequestRoleVip PatchedWritableIPAddressRequestRole = "vip" + PatchedWritableIPAddressRequestRoleVrrp PatchedWritableIPAddressRequestRole = "vrrp" +) + +// Defines values for PatchedWritableIPAddressRequestStatus. +const ( + PatchedWritableIPAddressRequestStatusActive PatchedWritableIPAddressRequestStatus = "active" + PatchedWritableIPAddressRequestStatusDeprecated PatchedWritableIPAddressRequestStatus = "deprecated" + PatchedWritableIPAddressRequestStatusDhcp PatchedWritableIPAddressRequestStatus = "dhcp" + PatchedWritableIPAddressRequestStatusReserved PatchedWritableIPAddressRequestStatus = "reserved" + PatchedWritableIPAddressRequestStatusSlaac PatchedWritableIPAddressRequestStatus = "slaac" +) + +// Defines values for PatchedWritableIPRangeRequestStatus. +const ( + PatchedWritableIPRangeRequestStatusActive PatchedWritableIPRangeRequestStatus = "active" + PatchedWritableIPRangeRequestStatusDeprecated PatchedWritableIPRangeRequestStatus = "deprecated" + PatchedWritableIPRangeRequestStatusReserved PatchedWritableIPRangeRequestStatus = "reserved" +) + +// Defines values for PatchedWritableInterfaceRequestDuplex. +const ( + PatchedWritableInterfaceRequestDuplexAuto PatchedWritableInterfaceRequestDuplex = "auto" + PatchedWritableInterfaceRequestDuplexEmpty PatchedWritableInterfaceRequestDuplex = "" + PatchedWritableInterfaceRequestDuplexFull PatchedWritableInterfaceRequestDuplex = "full" + PatchedWritableInterfaceRequestDuplexHalf PatchedWritableInterfaceRequestDuplex = "half" +) + +// Defines values for PatchedWritableInterfaceRequestMode. +const ( + PatchedWritableInterfaceRequestModeAccess PatchedWritableInterfaceRequestMode = "access" + PatchedWritableInterfaceRequestModeEmpty PatchedWritableInterfaceRequestMode = "" + PatchedWritableInterfaceRequestModeTagged PatchedWritableInterfaceRequestMode = "tagged" + PatchedWritableInterfaceRequestModeTaggedAll PatchedWritableInterfaceRequestMode = "tagged-all" +) + +// Defines values for PatchedWritableInterfaceRequestPoeMode. +const ( + PatchedWritableInterfaceRequestPoeModeEmpty PatchedWritableInterfaceRequestPoeMode = "" + PatchedWritableInterfaceRequestPoeModePd PatchedWritableInterfaceRequestPoeMode = "pd" + PatchedWritableInterfaceRequestPoeModePse PatchedWritableInterfaceRequestPoeMode = "pse" +) + +// Defines values for PatchedWritableInterfaceRequestPoeType. +const ( + PatchedWritableInterfaceRequestPoeTypeEmpty PatchedWritableInterfaceRequestPoeType = "" + PatchedWritableInterfaceRequestPoeTypePassive24v2pair PatchedWritableInterfaceRequestPoeType = "passive-24v-2pair" + PatchedWritableInterfaceRequestPoeTypePassive24v4pair PatchedWritableInterfaceRequestPoeType = "passive-24v-4pair" + PatchedWritableInterfaceRequestPoeTypePassive48v2pair PatchedWritableInterfaceRequestPoeType = "passive-48v-2pair" + PatchedWritableInterfaceRequestPoeTypePassive48v4pair PatchedWritableInterfaceRequestPoeType = "passive-48v-4pair" + PatchedWritableInterfaceRequestPoeTypeType1Ieee8023af PatchedWritableInterfaceRequestPoeType = "type1-ieee802.3af" + PatchedWritableInterfaceRequestPoeTypeType2Ieee8023at PatchedWritableInterfaceRequestPoeType = "type2-ieee802.3at" + PatchedWritableInterfaceRequestPoeTypeType3Ieee8023bt PatchedWritableInterfaceRequestPoeType = "type3-ieee802.3bt" + PatchedWritableInterfaceRequestPoeTypeType4Ieee8023bt PatchedWritableInterfaceRequestPoeType = "type4-ieee802.3bt" +) + +// Defines values for PatchedWritableInterfaceRequestRfChannel. +const ( + PatchedWritableInterfaceRequestRfChannelEmpty PatchedWritableInterfaceRequestRfChannel = "" + PatchedWritableInterfaceRequestRfChannelN24g10245722 PatchedWritableInterfaceRequestRfChannel = "2.4g-10-2457-22" + PatchedWritableInterfaceRequestRfChannelN24g11246222 PatchedWritableInterfaceRequestRfChannel = "2.4g-11-2462-22" + PatchedWritableInterfaceRequestRfChannelN24g12246722 PatchedWritableInterfaceRequestRfChannel = "2.4g-12-2467-22" + PatchedWritableInterfaceRequestRfChannelN24g1241222 PatchedWritableInterfaceRequestRfChannel = "2.4g-1-2412-22" + PatchedWritableInterfaceRequestRfChannelN24g13247222 PatchedWritableInterfaceRequestRfChannel = "2.4g-13-2472-22" + PatchedWritableInterfaceRequestRfChannelN24g2241722 PatchedWritableInterfaceRequestRfChannel = "2.4g-2-2417-22" + PatchedWritableInterfaceRequestRfChannelN24g3242222 PatchedWritableInterfaceRequestRfChannel = "2.4g-3-2422-22" + PatchedWritableInterfaceRequestRfChannelN24g4242722 PatchedWritableInterfaceRequestRfChannel = "2.4g-4-2427-22" + PatchedWritableInterfaceRequestRfChannelN24g5243222 PatchedWritableInterfaceRequestRfChannel = "2.4g-5-2432-22" + PatchedWritableInterfaceRequestRfChannelN24g6243722 PatchedWritableInterfaceRequestRfChannel = "2.4g-6-2437-22" + PatchedWritableInterfaceRequestRfChannelN24g7244222 PatchedWritableInterfaceRequestRfChannel = "2.4g-7-2442-22" + PatchedWritableInterfaceRequestRfChannelN24g8244722 PatchedWritableInterfaceRequestRfChannel = "2.4g-8-2447-22" + PatchedWritableInterfaceRequestRfChannelN24g9245222 PatchedWritableInterfaceRequestRfChannel = "2.4g-9-2452-22" + PatchedWritableInterfaceRequestRfChannelN5g100550020 PatchedWritableInterfaceRequestRfChannel = "5g-100-5500-20" + PatchedWritableInterfaceRequestRfChannelN5g102551040 PatchedWritableInterfaceRequestRfChannel = "5g-102-5510-40" + PatchedWritableInterfaceRequestRfChannelN5g104552020 PatchedWritableInterfaceRequestRfChannel = "5g-104-5520-20" + PatchedWritableInterfaceRequestRfChannelN5g106553080 PatchedWritableInterfaceRequestRfChannel = "5g-106-5530-80" + PatchedWritableInterfaceRequestRfChannelN5g108554020 PatchedWritableInterfaceRequestRfChannel = "5g-108-5540-20" + PatchedWritableInterfaceRequestRfChannelN5g110555040 PatchedWritableInterfaceRequestRfChannel = "5g-110-5550-40" + PatchedWritableInterfaceRequestRfChannelN5g112556020 PatchedWritableInterfaceRequestRfChannel = "5g-112-5560-20" + PatchedWritableInterfaceRequestRfChannelN5g1145570160 PatchedWritableInterfaceRequestRfChannel = "5g-114-5570-160" + PatchedWritableInterfaceRequestRfChannelN5g116558020 PatchedWritableInterfaceRequestRfChannel = "5g-116-5580-20" + PatchedWritableInterfaceRequestRfChannelN5g118559040 PatchedWritableInterfaceRequestRfChannel = "5g-118-5590-40" + PatchedWritableInterfaceRequestRfChannelN5g120560020 PatchedWritableInterfaceRequestRfChannel = "5g-120-5600-20" + PatchedWritableInterfaceRequestRfChannelN5g122561080 PatchedWritableInterfaceRequestRfChannel = "5g-122-5610-80" + PatchedWritableInterfaceRequestRfChannelN5g124562020 PatchedWritableInterfaceRequestRfChannel = "5g-124-5620-20" + PatchedWritableInterfaceRequestRfChannelN5g126563040 PatchedWritableInterfaceRequestRfChannel = "5g-126-5630-40" + PatchedWritableInterfaceRequestRfChannelN5g128564020 PatchedWritableInterfaceRequestRfChannel = "5g-128-5640-20" + PatchedWritableInterfaceRequestRfChannelN5g132566020 PatchedWritableInterfaceRequestRfChannel = "5g-132-5660-20" + PatchedWritableInterfaceRequestRfChannelN5g134567040 PatchedWritableInterfaceRequestRfChannel = "5g-134-5670-40" + PatchedWritableInterfaceRequestRfChannelN5g136568020 PatchedWritableInterfaceRequestRfChannel = "5g-136-5680-20" + PatchedWritableInterfaceRequestRfChannelN5g138569080 PatchedWritableInterfaceRequestRfChannel = "5g-138-5690-80" + PatchedWritableInterfaceRequestRfChannelN5g140570020 PatchedWritableInterfaceRequestRfChannel = "5g-140-5700-20" + PatchedWritableInterfaceRequestRfChannelN5g142571040 PatchedWritableInterfaceRequestRfChannel = "5g-142-5710-40" + PatchedWritableInterfaceRequestRfChannelN5g144572020 PatchedWritableInterfaceRequestRfChannel = "5g-144-5720-20" + PatchedWritableInterfaceRequestRfChannelN5g149574520 PatchedWritableInterfaceRequestRfChannel = "5g-149-5745-20" + PatchedWritableInterfaceRequestRfChannelN5g151575540 PatchedWritableInterfaceRequestRfChannel = "5g-151-5755-40" + PatchedWritableInterfaceRequestRfChannelN5g153576520 PatchedWritableInterfaceRequestRfChannel = "5g-153-5765-20" + PatchedWritableInterfaceRequestRfChannelN5g155577580 PatchedWritableInterfaceRequestRfChannel = "5g-155-5775-80" + PatchedWritableInterfaceRequestRfChannelN5g157578520 PatchedWritableInterfaceRequestRfChannel = "5g-157-5785-20" + PatchedWritableInterfaceRequestRfChannelN5g159579540 PatchedWritableInterfaceRequestRfChannel = "5g-159-5795-40" + PatchedWritableInterfaceRequestRfChannelN5g161580520 PatchedWritableInterfaceRequestRfChannel = "5g-161-5805-20" + PatchedWritableInterfaceRequestRfChannelN5g1635815160 PatchedWritableInterfaceRequestRfChannel = "5g-163-5815-160" + PatchedWritableInterfaceRequestRfChannelN5g165582520 PatchedWritableInterfaceRequestRfChannel = "5g-165-5825-20" + PatchedWritableInterfaceRequestRfChannelN5g167583540 PatchedWritableInterfaceRequestRfChannel = "5g-167-5835-40" + PatchedWritableInterfaceRequestRfChannelN5g169584520 PatchedWritableInterfaceRequestRfChannel = "5g-169-5845-20" + PatchedWritableInterfaceRequestRfChannelN5g171585580 PatchedWritableInterfaceRequestRfChannel = "5g-171-5855-80" + PatchedWritableInterfaceRequestRfChannelN5g173586520 PatchedWritableInterfaceRequestRfChannel = "5g-173-5865-20" + PatchedWritableInterfaceRequestRfChannelN5g175587540 PatchedWritableInterfaceRequestRfChannel = "5g-175-5875-40" + PatchedWritableInterfaceRequestRfChannelN5g177588520 PatchedWritableInterfaceRequestRfChannel = "5g-177-5885-20" + PatchedWritableInterfaceRequestRfChannelN5g32516020 PatchedWritableInterfaceRequestRfChannel = "5g-32-5160-20" + PatchedWritableInterfaceRequestRfChannelN5g34517040 PatchedWritableInterfaceRequestRfChannel = "5g-34-5170-40" + PatchedWritableInterfaceRequestRfChannelN5g36518020 PatchedWritableInterfaceRequestRfChannel = "5g-36-5180-20" + PatchedWritableInterfaceRequestRfChannelN5g38519040 PatchedWritableInterfaceRequestRfChannel = "5g-38-5190-40" + PatchedWritableInterfaceRequestRfChannelN5g40520020 PatchedWritableInterfaceRequestRfChannel = "5g-40-5200-20" + PatchedWritableInterfaceRequestRfChannelN5g42521080 PatchedWritableInterfaceRequestRfChannel = "5g-42-5210-80" + PatchedWritableInterfaceRequestRfChannelN5g44522020 PatchedWritableInterfaceRequestRfChannel = "5g-44-5220-20" + PatchedWritableInterfaceRequestRfChannelN5g46523040 PatchedWritableInterfaceRequestRfChannel = "5g-46-5230-40" + PatchedWritableInterfaceRequestRfChannelN5g48524020 PatchedWritableInterfaceRequestRfChannel = "5g-48-5240-20" + PatchedWritableInterfaceRequestRfChannelN5g505250160 PatchedWritableInterfaceRequestRfChannel = "5g-50-5250-160" + PatchedWritableInterfaceRequestRfChannelN5g52526020 PatchedWritableInterfaceRequestRfChannel = "5g-52-5260-20" + PatchedWritableInterfaceRequestRfChannelN5g54527040 PatchedWritableInterfaceRequestRfChannel = "5g-54-5270-40" + PatchedWritableInterfaceRequestRfChannelN5g56528020 PatchedWritableInterfaceRequestRfChannel = "5g-56-5280-20" + PatchedWritableInterfaceRequestRfChannelN5g58529080 PatchedWritableInterfaceRequestRfChannel = "5g-58-5290-80" + PatchedWritableInterfaceRequestRfChannelN5g60530020 PatchedWritableInterfaceRequestRfChannel = "5g-60-5300-20" + PatchedWritableInterfaceRequestRfChannelN5g62531040 PatchedWritableInterfaceRequestRfChannel = "5g-62-5310-40" + PatchedWritableInterfaceRequestRfChannelN5g64532020 PatchedWritableInterfaceRequestRfChannel = "5g-64-5320-20" + PatchedWritableInterfaceRequestRfChannelN60g10615604320 PatchedWritableInterfaceRequestRfChannel = "60g-10-61560-4320" + PatchedWritableInterfaceRequestRfChannelN60g11637204320 PatchedWritableInterfaceRequestRfChannel = "60g-11-63720-4320" + PatchedWritableInterfaceRequestRfChannelN60g12658804320 PatchedWritableInterfaceRequestRfChannel = "60g-12-65880-4320" + PatchedWritableInterfaceRequestRfChannelN60g13680404320 PatchedWritableInterfaceRequestRfChannel = "60g-13-68040-4320" + PatchedWritableInterfaceRequestRfChannelN60g1583202160 PatchedWritableInterfaceRequestRfChannel = "60g-1-58320-2160" + PatchedWritableInterfaceRequestRfChannelN60g17604806480 PatchedWritableInterfaceRequestRfChannel = "60g-17-60480-6480" + PatchedWritableInterfaceRequestRfChannelN60g18626406480 PatchedWritableInterfaceRequestRfChannel = "60g-18-62640-6480" + PatchedWritableInterfaceRequestRfChannelN60g19648006480 PatchedWritableInterfaceRequestRfChannel = "60g-19-64800-6480" + PatchedWritableInterfaceRequestRfChannelN60g20669606480 PatchedWritableInterfaceRequestRfChannel = "60g-20-66960-6480" + PatchedWritableInterfaceRequestRfChannelN60g25615606480 PatchedWritableInterfaceRequestRfChannel = "60g-25-61560-6480" + PatchedWritableInterfaceRequestRfChannelN60g2604802160 PatchedWritableInterfaceRequestRfChannel = "60g-2-60480-2160" + PatchedWritableInterfaceRequestRfChannelN60g26637206480 PatchedWritableInterfaceRequestRfChannel = "60g-26-63720-6480" + PatchedWritableInterfaceRequestRfChannelN60g27658806480 PatchedWritableInterfaceRequestRfChannel = "60g-27-65880-6480" + PatchedWritableInterfaceRequestRfChannelN60g3626402160 PatchedWritableInterfaceRequestRfChannel = "60g-3-62640-2160" + PatchedWritableInterfaceRequestRfChannelN60g4648002160 PatchedWritableInterfaceRequestRfChannel = "60g-4-64800-2160" + PatchedWritableInterfaceRequestRfChannelN60g5669602160 PatchedWritableInterfaceRequestRfChannel = "60g-5-66960-2160" + PatchedWritableInterfaceRequestRfChannelN60g6691202160 PatchedWritableInterfaceRequestRfChannel = "60g-6-69120-2160" + PatchedWritableInterfaceRequestRfChannelN60g9594004320 PatchedWritableInterfaceRequestRfChannel = "60g-9-59400-4320" + PatchedWritableInterfaceRequestRfChannelN6g101645520 PatchedWritableInterfaceRequestRfChannel = "6g-101-6455-20" + PatchedWritableInterfaceRequestRfChannelN6g103646580 PatchedWritableInterfaceRequestRfChannel = "6g-103-6465-80" + PatchedWritableInterfaceRequestRfChannelN6g105647520 PatchedWritableInterfaceRequestRfChannel = "6g-105-6475-20" + PatchedWritableInterfaceRequestRfChannelN6g107648540 PatchedWritableInterfaceRequestRfChannel = "6g-107-6485-40" + PatchedWritableInterfaceRequestRfChannelN6g109649520 PatchedWritableInterfaceRequestRfChannel = "6g-109-6495-20" + PatchedWritableInterfaceRequestRfChannelN6g1116505160 PatchedWritableInterfaceRequestRfChannel = "6g-111-6505-160" + PatchedWritableInterfaceRequestRfChannelN6g113651520 PatchedWritableInterfaceRequestRfChannel = "6g-113-6515-20" + PatchedWritableInterfaceRequestRfChannelN6g115652540 PatchedWritableInterfaceRequestRfChannel = "6g-115-6525-40" + PatchedWritableInterfaceRequestRfChannelN6g11600540 PatchedWritableInterfaceRequestRfChannel = "6g-11-6005-40" + PatchedWritableInterfaceRequestRfChannelN6g117653520 PatchedWritableInterfaceRequestRfChannel = "6g-117-6535-20" + PatchedWritableInterfaceRequestRfChannelN6g119654580 PatchedWritableInterfaceRequestRfChannel = "6g-119-6545-80" + PatchedWritableInterfaceRequestRfChannelN6g121655520 PatchedWritableInterfaceRequestRfChannel = "6g-121-6555-20" + PatchedWritableInterfaceRequestRfChannelN6g123656540 PatchedWritableInterfaceRequestRfChannel = "6g-123-6565-40" + PatchedWritableInterfaceRequestRfChannelN6g125657520 PatchedWritableInterfaceRequestRfChannel = "6g-125-6575-20" + PatchedWritableInterfaceRequestRfChannelN6g129659520 PatchedWritableInterfaceRequestRfChannel = "6g-129-6595-20" + PatchedWritableInterfaceRequestRfChannelN6g131660540 PatchedWritableInterfaceRequestRfChannel = "6g-131-6605-40" + PatchedWritableInterfaceRequestRfChannelN6g133661520 PatchedWritableInterfaceRequestRfChannel = "6g-133-6615-20" + PatchedWritableInterfaceRequestRfChannelN6g135662580 PatchedWritableInterfaceRequestRfChannel = "6g-135-6625-80" + PatchedWritableInterfaceRequestRfChannelN6g13601520 PatchedWritableInterfaceRequestRfChannel = "6g-13-6015-20" + PatchedWritableInterfaceRequestRfChannelN6g137663520 PatchedWritableInterfaceRequestRfChannel = "6g-137-6635-20" + PatchedWritableInterfaceRequestRfChannelN6g139664540 PatchedWritableInterfaceRequestRfChannel = "6g-139-6645-40" + PatchedWritableInterfaceRequestRfChannelN6g141665520 PatchedWritableInterfaceRequestRfChannel = "6g-141-6655-20" + PatchedWritableInterfaceRequestRfChannelN6g1436665160 PatchedWritableInterfaceRequestRfChannel = "6g-143-6665-160" + PatchedWritableInterfaceRequestRfChannelN6g145667520 PatchedWritableInterfaceRequestRfChannel = "6g-145-6675-20" + PatchedWritableInterfaceRequestRfChannelN6g147668540 PatchedWritableInterfaceRequestRfChannel = "6g-147-6685-40" + PatchedWritableInterfaceRequestRfChannelN6g149669520 PatchedWritableInterfaceRequestRfChannel = "6g-149-6695-20" + PatchedWritableInterfaceRequestRfChannelN6g151670580 PatchedWritableInterfaceRequestRfChannel = "6g-151-6705-80" + PatchedWritableInterfaceRequestRfChannelN6g153671520 PatchedWritableInterfaceRequestRfChannel = "6g-153-6715-20" + PatchedWritableInterfaceRequestRfChannelN6g155672540 PatchedWritableInterfaceRequestRfChannel = "6g-155-6725-40" + PatchedWritableInterfaceRequestRfChannelN6g156025160 PatchedWritableInterfaceRequestRfChannel = "6g-15-6025-160" + PatchedWritableInterfaceRequestRfChannelN6g157673520 PatchedWritableInterfaceRequestRfChannel = "6g-157-6735-20" + PatchedWritableInterfaceRequestRfChannelN6g1595520 PatchedWritableInterfaceRequestRfChannel = "6g-1-5955-20" + PatchedWritableInterfaceRequestRfChannelN6g1596745320 PatchedWritableInterfaceRequestRfChannel = "6g-159-6745-320" + PatchedWritableInterfaceRequestRfChannelN6g161675520 PatchedWritableInterfaceRequestRfChannel = "6g-161-6755-20" + PatchedWritableInterfaceRequestRfChannelN6g163676540 PatchedWritableInterfaceRequestRfChannel = "6g-163-6765-40" + PatchedWritableInterfaceRequestRfChannelN6g165677520 PatchedWritableInterfaceRequestRfChannel = "6g-165-6775-20" + PatchedWritableInterfaceRequestRfChannelN6g167678580 PatchedWritableInterfaceRequestRfChannel = "6g-167-6785-80" + PatchedWritableInterfaceRequestRfChannelN6g169679520 PatchedWritableInterfaceRequestRfChannel = "6g-169-6795-20" + PatchedWritableInterfaceRequestRfChannelN6g171680540 PatchedWritableInterfaceRequestRfChannel = "6g-171-6805-40" + PatchedWritableInterfaceRequestRfChannelN6g173681520 PatchedWritableInterfaceRequestRfChannel = "6g-173-6815-20" + PatchedWritableInterfaceRequestRfChannelN6g1756825160 PatchedWritableInterfaceRequestRfChannel = "6g-175-6825-160" + PatchedWritableInterfaceRequestRfChannelN6g17603520 PatchedWritableInterfaceRequestRfChannel = "6g-17-6035-20" + PatchedWritableInterfaceRequestRfChannelN6g177683520 PatchedWritableInterfaceRequestRfChannel = "6g-177-6835-20" + PatchedWritableInterfaceRequestRfChannelN6g179684540 PatchedWritableInterfaceRequestRfChannel = "6g-179-6845-40" + PatchedWritableInterfaceRequestRfChannelN6g181685520 PatchedWritableInterfaceRequestRfChannel = "6g-181-6855-20" + PatchedWritableInterfaceRequestRfChannelN6g183686580 PatchedWritableInterfaceRequestRfChannel = "6g-183-6865-80" + PatchedWritableInterfaceRequestRfChannelN6g185687520 PatchedWritableInterfaceRequestRfChannel = "6g-185-6875-20" + PatchedWritableInterfaceRequestRfChannelN6g187688540 PatchedWritableInterfaceRequestRfChannel = "6g-187-6885-40" + PatchedWritableInterfaceRequestRfChannelN6g189689520 PatchedWritableInterfaceRequestRfChannel = "6g-189-6895-20" + PatchedWritableInterfaceRequestRfChannelN6g193691520 PatchedWritableInterfaceRequestRfChannel = "6g-193-6915-20" + PatchedWritableInterfaceRequestRfChannelN6g195692540 PatchedWritableInterfaceRequestRfChannel = "6g-195-6925-40" + PatchedWritableInterfaceRequestRfChannelN6g19604540 PatchedWritableInterfaceRequestRfChannel = "6g-19-6045-40" + PatchedWritableInterfaceRequestRfChannelN6g197693520 PatchedWritableInterfaceRequestRfChannel = "6g-197-6935-20" + PatchedWritableInterfaceRequestRfChannelN6g199694580 PatchedWritableInterfaceRequestRfChannel = "6g-199-6945-80" + PatchedWritableInterfaceRequestRfChannelN6g201695520 PatchedWritableInterfaceRequestRfChannel = "6g-201-6955-20" + PatchedWritableInterfaceRequestRfChannelN6g203696540 PatchedWritableInterfaceRequestRfChannel = "6g-203-6965-40" + PatchedWritableInterfaceRequestRfChannelN6g205697520 PatchedWritableInterfaceRequestRfChannel = "6g-205-6975-20" + PatchedWritableInterfaceRequestRfChannelN6g2076985160 PatchedWritableInterfaceRequestRfChannel = "6g-207-6985-160" + PatchedWritableInterfaceRequestRfChannelN6g209699520 PatchedWritableInterfaceRequestRfChannel = "6g-209-6995-20" + PatchedWritableInterfaceRequestRfChannelN6g211700540 PatchedWritableInterfaceRequestRfChannel = "6g-211-7005-40" + PatchedWritableInterfaceRequestRfChannelN6g213701520 PatchedWritableInterfaceRequestRfChannel = "6g-213-7015-20" + PatchedWritableInterfaceRequestRfChannelN6g215702580 PatchedWritableInterfaceRequestRfChannel = "6g-215-7025-80" + PatchedWritableInterfaceRequestRfChannelN6g21605520 PatchedWritableInterfaceRequestRfChannel = "6g-21-6055-20" + PatchedWritableInterfaceRequestRfChannelN6g217703520 PatchedWritableInterfaceRequestRfChannel = "6g-217-7035-20" + PatchedWritableInterfaceRequestRfChannelN6g219704540 PatchedWritableInterfaceRequestRfChannel = "6g-219-7045-40" + PatchedWritableInterfaceRequestRfChannelN6g221705520 PatchedWritableInterfaceRequestRfChannel = "6g-221-7055-20" + PatchedWritableInterfaceRequestRfChannelN6g225707520 PatchedWritableInterfaceRequestRfChannel = "6g-225-7075-20" + PatchedWritableInterfaceRequestRfChannelN6g227708540 PatchedWritableInterfaceRequestRfChannel = "6g-227-7085-40" + PatchedWritableInterfaceRequestRfChannelN6g229709520 PatchedWritableInterfaceRequestRfChannel = "6g-229-7095-20" + PatchedWritableInterfaceRequestRfChannelN6g233711520 PatchedWritableInterfaceRequestRfChannel = "6g-233-7115-20" + PatchedWritableInterfaceRequestRfChannelN6g23606580 PatchedWritableInterfaceRequestRfChannel = "6g-23-6065-80" + PatchedWritableInterfaceRequestRfChannelN6g25607520 PatchedWritableInterfaceRequestRfChannel = "6g-25-6075-20" + PatchedWritableInterfaceRequestRfChannelN6g27608540 PatchedWritableInterfaceRequestRfChannel = "6g-27-6085-40" + PatchedWritableInterfaceRequestRfChannelN6g29609520 PatchedWritableInterfaceRequestRfChannel = "6g-29-6095-20" + PatchedWritableInterfaceRequestRfChannelN6g316105320 PatchedWritableInterfaceRequestRfChannel = "6g-31-6105-320" + PatchedWritableInterfaceRequestRfChannelN6g33611520 PatchedWritableInterfaceRequestRfChannel = "6g-33-6115-20" + PatchedWritableInterfaceRequestRfChannelN6g35612540 PatchedWritableInterfaceRequestRfChannel = "6g-35-6125-40" + PatchedWritableInterfaceRequestRfChannelN6g3596540 PatchedWritableInterfaceRequestRfChannel = "6g-3-5965-40" + PatchedWritableInterfaceRequestRfChannelN6g37613520 PatchedWritableInterfaceRequestRfChannel = "6g-37-6135-20" + PatchedWritableInterfaceRequestRfChannelN6g39614580 PatchedWritableInterfaceRequestRfChannel = "6g-39-6145-80" + PatchedWritableInterfaceRequestRfChannelN6g41615520 PatchedWritableInterfaceRequestRfChannel = "6g-41-6155-20" + PatchedWritableInterfaceRequestRfChannelN6g43616540 PatchedWritableInterfaceRequestRfChannel = "6g-43-6165-40" + PatchedWritableInterfaceRequestRfChannelN6g45617520 PatchedWritableInterfaceRequestRfChannel = "6g-45-6175-20" + PatchedWritableInterfaceRequestRfChannelN6g476185160 PatchedWritableInterfaceRequestRfChannel = "6g-47-6185-160" + PatchedWritableInterfaceRequestRfChannelN6g49619520 PatchedWritableInterfaceRequestRfChannel = "6g-49-6195-20" + PatchedWritableInterfaceRequestRfChannelN6g51620540 PatchedWritableInterfaceRequestRfChannel = "6g-51-6205-40" + PatchedWritableInterfaceRequestRfChannelN6g53621520 PatchedWritableInterfaceRequestRfChannel = "6g-53-6215-20" + PatchedWritableInterfaceRequestRfChannelN6g55622580 PatchedWritableInterfaceRequestRfChannel = "6g-55-6225-80" + PatchedWritableInterfaceRequestRfChannelN6g5597520 PatchedWritableInterfaceRequestRfChannel = "6g-5-5975-20" + PatchedWritableInterfaceRequestRfChannelN6g57623520 PatchedWritableInterfaceRequestRfChannel = "6g-57-6235-20" + PatchedWritableInterfaceRequestRfChannelN6g59624540 PatchedWritableInterfaceRequestRfChannel = "6g-59-6245-40" + PatchedWritableInterfaceRequestRfChannelN6g61625520 PatchedWritableInterfaceRequestRfChannel = "6g-61-6255-20" + PatchedWritableInterfaceRequestRfChannelN6g65627520 PatchedWritableInterfaceRequestRfChannel = "6g-65-6275-20" + PatchedWritableInterfaceRequestRfChannelN6g67628540 PatchedWritableInterfaceRequestRfChannel = "6g-67-6285-40" + PatchedWritableInterfaceRequestRfChannelN6g69629520 PatchedWritableInterfaceRequestRfChannel = "6g-69-6295-20" + PatchedWritableInterfaceRequestRfChannelN6g71630580 PatchedWritableInterfaceRequestRfChannel = "6g-71-6305-80" + PatchedWritableInterfaceRequestRfChannelN6g73631520 PatchedWritableInterfaceRequestRfChannel = "6g-73-6315-20" + PatchedWritableInterfaceRequestRfChannelN6g75632540 PatchedWritableInterfaceRequestRfChannel = "6g-75-6325-40" + PatchedWritableInterfaceRequestRfChannelN6g7598580 PatchedWritableInterfaceRequestRfChannel = "6g-7-5985-80" + PatchedWritableInterfaceRequestRfChannelN6g77633520 PatchedWritableInterfaceRequestRfChannel = "6g-77-6335-20" + PatchedWritableInterfaceRequestRfChannelN6g796345160 PatchedWritableInterfaceRequestRfChannel = "6g-79-6345-160" + PatchedWritableInterfaceRequestRfChannelN6g81635520 PatchedWritableInterfaceRequestRfChannel = "6g-81-6355-20" + PatchedWritableInterfaceRequestRfChannelN6g83636540 PatchedWritableInterfaceRequestRfChannel = "6g-83-6365-40" + PatchedWritableInterfaceRequestRfChannelN6g85637520 PatchedWritableInterfaceRequestRfChannel = "6g-85-6375-20" + PatchedWritableInterfaceRequestRfChannelN6g87638580 PatchedWritableInterfaceRequestRfChannel = "6g-87-6385-80" + PatchedWritableInterfaceRequestRfChannelN6g89639520 PatchedWritableInterfaceRequestRfChannel = "6g-89-6395-20" + PatchedWritableInterfaceRequestRfChannelN6g91640540 PatchedWritableInterfaceRequestRfChannel = "6g-91-6405-40" + PatchedWritableInterfaceRequestRfChannelN6g93641520 PatchedWritableInterfaceRequestRfChannel = "6g-93-6415-20" + PatchedWritableInterfaceRequestRfChannelN6g956425320 PatchedWritableInterfaceRequestRfChannel = "6g-95-6425-320" + PatchedWritableInterfaceRequestRfChannelN6g9599520 PatchedWritableInterfaceRequestRfChannel = "6g-9-5995-20" + PatchedWritableInterfaceRequestRfChannelN6g97643520 PatchedWritableInterfaceRequestRfChannel = "6g-97-6435-20" + PatchedWritableInterfaceRequestRfChannelN6g99644540 PatchedWritableInterfaceRequestRfChannel = "6g-99-6445-40" +) + +// Defines values for PatchedWritableInterfaceRequestRfRole. +const ( + PatchedWritableInterfaceRequestRfRoleAp PatchedWritableInterfaceRequestRfRole = "ap" + PatchedWritableInterfaceRequestRfRoleEmpty PatchedWritableInterfaceRequestRfRole = "" + PatchedWritableInterfaceRequestRfRoleStation PatchedWritableInterfaceRequestRfRole = "station" +) + +// Defines values for PatchedWritableInterfaceRequestType. +const ( + PatchedWritableInterfaceRequestTypeBridge PatchedWritableInterfaceRequestType = "bridge" + PatchedWritableInterfaceRequestTypeCdma PatchedWritableInterfaceRequestType = "cdma" + PatchedWritableInterfaceRequestTypeCiscoFlexstack PatchedWritableInterfaceRequestType = "cisco-flexstack" + PatchedWritableInterfaceRequestTypeCiscoFlexstackPlus PatchedWritableInterfaceRequestType = "cisco-flexstack-plus" + PatchedWritableInterfaceRequestTypeCiscoStackwise PatchedWritableInterfaceRequestType = "cisco-stackwise" + PatchedWritableInterfaceRequestTypeCiscoStackwise160 PatchedWritableInterfaceRequestType = "cisco-stackwise-160" + PatchedWritableInterfaceRequestTypeCiscoStackwise1t PatchedWritableInterfaceRequestType = "cisco-stackwise-1t" + PatchedWritableInterfaceRequestTypeCiscoStackwise320 PatchedWritableInterfaceRequestType = "cisco-stackwise-320" + PatchedWritableInterfaceRequestTypeCiscoStackwise480 PatchedWritableInterfaceRequestType = "cisco-stackwise-480" + PatchedWritableInterfaceRequestTypeCiscoStackwise80 PatchedWritableInterfaceRequestType = "cisco-stackwise-80" + PatchedWritableInterfaceRequestTypeCiscoStackwisePlus PatchedWritableInterfaceRequestType = "cisco-stackwise-plus" + PatchedWritableInterfaceRequestTypeDocsis PatchedWritableInterfaceRequestType = "docsis" + PatchedWritableInterfaceRequestTypeE1 PatchedWritableInterfaceRequestType = "e1" + PatchedWritableInterfaceRequestTypeE3 PatchedWritableInterfaceRequestType = "e3" + PatchedWritableInterfaceRequestTypeEpon PatchedWritableInterfaceRequestType = "epon" + PatchedWritableInterfaceRequestTypeExtremeSummitstack PatchedWritableInterfaceRequestType = "extreme-summitstack" + PatchedWritableInterfaceRequestTypeExtremeSummitstack128 PatchedWritableInterfaceRequestType = "extreme-summitstack-128" + PatchedWritableInterfaceRequestTypeExtremeSummitstack256 PatchedWritableInterfaceRequestType = "extreme-summitstack-256" + PatchedWritableInterfaceRequestTypeExtremeSummitstack512 PatchedWritableInterfaceRequestType = "extreme-summitstack-512" + PatchedWritableInterfaceRequestTypeGpon PatchedWritableInterfaceRequestType = "gpon" + PatchedWritableInterfaceRequestTypeGsm PatchedWritableInterfaceRequestType = "gsm" + PatchedWritableInterfaceRequestTypeIeee80211a PatchedWritableInterfaceRequestType = "ieee802.11a" + PatchedWritableInterfaceRequestTypeIeee80211ac PatchedWritableInterfaceRequestType = "ieee802.11ac" + PatchedWritableInterfaceRequestTypeIeee80211ad PatchedWritableInterfaceRequestType = "ieee802.11ad" + PatchedWritableInterfaceRequestTypeIeee80211ax PatchedWritableInterfaceRequestType = "ieee802.11ax" + PatchedWritableInterfaceRequestTypeIeee80211ay PatchedWritableInterfaceRequestType = "ieee802.11ay" + PatchedWritableInterfaceRequestTypeIeee80211g PatchedWritableInterfaceRequestType = "ieee802.11g" + PatchedWritableInterfaceRequestTypeIeee80211n PatchedWritableInterfaceRequestType = "ieee802.11n" + PatchedWritableInterfaceRequestTypeIeee802151 PatchedWritableInterfaceRequestType = "ieee802.15.1" + PatchedWritableInterfaceRequestTypeInfinibandDdr PatchedWritableInterfaceRequestType = "infiniband-ddr" + PatchedWritableInterfaceRequestTypeInfinibandEdr PatchedWritableInterfaceRequestType = "infiniband-edr" + PatchedWritableInterfaceRequestTypeInfinibandFdr PatchedWritableInterfaceRequestType = "infiniband-fdr" + PatchedWritableInterfaceRequestTypeInfinibandFdr10 PatchedWritableInterfaceRequestType = "infiniband-fdr10" + PatchedWritableInterfaceRequestTypeInfinibandHdr PatchedWritableInterfaceRequestType = "infiniband-hdr" + PatchedWritableInterfaceRequestTypeInfinibandNdr PatchedWritableInterfaceRequestType = "infiniband-ndr" + PatchedWritableInterfaceRequestTypeInfinibandQdr PatchedWritableInterfaceRequestType = "infiniband-qdr" + PatchedWritableInterfaceRequestTypeInfinibandSdr PatchedWritableInterfaceRequestType = "infiniband-sdr" + PatchedWritableInterfaceRequestTypeInfinibandXdr PatchedWritableInterfaceRequestType = "infiniband-xdr" + PatchedWritableInterfaceRequestTypeJuniperVcp PatchedWritableInterfaceRequestType = "juniper-vcp" + PatchedWritableInterfaceRequestTypeLag PatchedWritableInterfaceRequestType = "lag" + PatchedWritableInterfaceRequestTypeLte PatchedWritableInterfaceRequestType = "lte" + PatchedWritableInterfaceRequestTypeN1000baseKx PatchedWritableInterfaceRequestType = "1000base-kx" + PatchedWritableInterfaceRequestTypeN1000baseT PatchedWritableInterfaceRequestType = "1000base-t" + PatchedWritableInterfaceRequestTypeN1000baseXGbic PatchedWritableInterfaceRequestType = "1000base-x-gbic" + PatchedWritableInterfaceRequestTypeN1000baseXSfp PatchedWritableInterfaceRequestType = "1000base-x-sfp" + PatchedWritableInterfaceRequestTypeN100baseFx PatchedWritableInterfaceRequestType = "100base-fx" + PatchedWritableInterfaceRequestTypeN100baseLfx PatchedWritableInterfaceRequestType = "100base-lfx" + PatchedWritableInterfaceRequestTypeN100baseT1 PatchedWritableInterfaceRequestType = "100base-t1" + PatchedWritableInterfaceRequestTypeN100baseTx PatchedWritableInterfaceRequestType = "100base-tx" + PatchedWritableInterfaceRequestTypeN100gbaseKp4 PatchedWritableInterfaceRequestType = "100gbase-kp4" + PatchedWritableInterfaceRequestTypeN100gbaseKr2 PatchedWritableInterfaceRequestType = "100gbase-kr2" + PatchedWritableInterfaceRequestTypeN100gbaseKr4 PatchedWritableInterfaceRequestType = "100gbase-kr4" + PatchedWritableInterfaceRequestTypeN100gbaseXCfp PatchedWritableInterfaceRequestType = "100gbase-x-cfp" + PatchedWritableInterfaceRequestTypeN100gbaseXCfp2 PatchedWritableInterfaceRequestType = "100gbase-x-cfp2" + PatchedWritableInterfaceRequestTypeN100gbaseXCfp4 PatchedWritableInterfaceRequestType = "100gbase-x-cfp4" + PatchedWritableInterfaceRequestTypeN100gbaseXCpak PatchedWritableInterfaceRequestType = "100gbase-x-cpak" + PatchedWritableInterfaceRequestTypeN100gbaseXCxp PatchedWritableInterfaceRequestType = "100gbase-x-cxp" + PatchedWritableInterfaceRequestTypeN100gbaseXDsfp PatchedWritableInterfaceRequestType = "100gbase-x-dsfp" + PatchedWritableInterfaceRequestTypeN100gbaseXQsfp28 PatchedWritableInterfaceRequestType = "100gbase-x-qsfp28" + PatchedWritableInterfaceRequestTypeN100gbaseXQsfpdd PatchedWritableInterfaceRequestType = "100gbase-x-qsfpdd" + PatchedWritableInterfaceRequestTypeN100gbaseXSfpdd PatchedWritableInterfaceRequestType = "100gbase-x-sfpdd" + PatchedWritableInterfaceRequestTypeN10gEpon PatchedWritableInterfaceRequestType = "10g-epon" + PatchedWritableInterfaceRequestTypeN10gbaseCx4 PatchedWritableInterfaceRequestType = "10gbase-cx4" + PatchedWritableInterfaceRequestTypeN10gbaseKr PatchedWritableInterfaceRequestType = "10gbase-kr" + PatchedWritableInterfaceRequestTypeN10gbaseKx4 PatchedWritableInterfaceRequestType = "10gbase-kx4" + PatchedWritableInterfaceRequestTypeN10gbaseT PatchedWritableInterfaceRequestType = "10gbase-t" + PatchedWritableInterfaceRequestTypeN10gbaseXSfpp PatchedWritableInterfaceRequestType = "10gbase-x-sfpp" + PatchedWritableInterfaceRequestTypeN10gbaseXX2 PatchedWritableInterfaceRequestType = "10gbase-x-x2" + PatchedWritableInterfaceRequestTypeN10gbaseXXenpak PatchedWritableInterfaceRequestType = "10gbase-x-xenpak" + PatchedWritableInterfaceRequestTypeN10gbaseXXfp PatchedWritableInterfaceRequestType = "10gbase-x-xfp" + PatchedWritableInterfaceRequestTypeN128gfcQsfp28 PatchedWritableInterfaceRequestType = "128gfc-qsfp28" + PatchedWritableInterfaceRequestTypeN16gfcSfpp PatchedWritableInterfaceRequestType = "16gfc-sfpp" + PatchedWritableInterfaceRequestTypeN1gfcSfp PatchedWritableInterfaceRequestType = "1gfc-sfp" + PatchedWritableInterfaceRequestTypeN200gbaseXCfp2 PatchedWritableInterfaceRequestType = "200gbase-x-cfp2" + PatchedWritableInterfaceRequestTypeN200gbaseXQsfp56 PatchedWritableInterfaceRequestType = "200gbase-x-qsfp56" + PatchedWritableInterfaceRequestTypeN200gbaseXQsfpdd PatchedWritableInterfaceRequestType = "200gbase-x-qsfpdd" + PatchedWritableInterfaceRequestTypeN25gbaseKr PatchedWritableInterfaceRequestType = "25gbase-kr" + PatchedWritableInterfaceRequestTypeN25gbaseT PatchedWritableInterfaceRequestType = "2.5gbase-t" + PatchedWritableInterfaceRequestTypeN25gbaseXSfp28 PatchedWritableInterfaceRequestType = "25gbase-x-sfp28" + PatchedWritableInterfaceRequestTypeN2gfcSfp PatchedWritableInterfaceRequestType = "2gfc-sfp" + PatchedWritableInterfaceRequestTypeN32gfcSfp28 PatchedWritableInterfaceRequestType = "32gfc-sfp28" + PatchedWritableInterfaceRequestTypeN400gbaseXCdfp PatchedWritableInterfaceRequestType = "400gbase-x-cdfp" + PatchedWritableInterfaceRequestTypeN400gbaseXCfp2 PatchedWritableInterfaceRequestType = "400gbase-x-cfp2" + PatchedWritableInterfaceRequestTypeN400gbaseXCfp8 PatchedWritableInterfaceRequestType = "400gbase-x-cfp8" + PatchedWritableInterfaceRequestTypeN400gbaseXOsfp PatchedWritableInterfaceRequestType = "400gbase-x-osfp" + PatchedWritableInterfaceRequestTypeN400gbaseXOsfpRhs PatchedWritableInterfaceRequestType = "400gbase-x-osfp-rhs" + PatchedWritableInterfaceRequestTypeN400gbaseXQsfp112 PatchedWritableInterfaceRequestType = "400gbase-x-qsfp112" + PatchedWritableInterfaceRequestTypeN400gbaseXQsfpdd PatchedWritableInterfaceRequestType = "400gbase-x-qsfpdd" + PatchedWritableInterfaceRequestTypeN40gbaseKr4 PatchedWritableInterfaceRequestType = "40gbase-kr4" + PatchedWritableInterfaceRequestTypeN40gbaseXQsfpp PatchedWritableInterfaceRequestType = "40gbase-x-qsfpp" + PatchedWritableInterfaceRequestTypeN4gfcSfp PatchedWritableInterfaceRequestType = "4gfc-sfp" + PatchedWritableInterfaceRequestTypeN50gbaseKr PatchedWritableInterfaceRequestType = "50gbase-kr" + PatchedWritableInterfaceRequestTypeN50gbaseXSfp28 PatchedWritableInterfaceRequestType = "50gbase-x-sfp28" + PatchedWritableInterfaceRequestTypeN50gbaseXSfp56 PatchedWritableInterfaceRequestType = "50gbase-x-sfp56" + PatchedWritableInterfaceRequestTypeN5gbaseT PatchedWritableInterfaceRequestType = "5gbase-t" + PatchedWritableInterfaceRequestTypeN64gfcQsfpp PatchedWritableInterfaceRequestType = "64gfc-qsfpp" + PatchedWritableInterfaceRequestTypeN800gbaseXOsfp PatchedWritableInterfaceRequestType = "800gbase-x-osfp" + PatchedWritableInterfaceRequestTypeN800gbaseXQsfpdd PatchedWritableInterfaceRequestType = "800gbase-x-qsfpdd" + PatchedWritableInterfaceRequestTypeN8gfcSfpp PatchedWritableInterfaceRequestType = "8gfc-sfpp" + PatchedWritableInterfaceRequestTypeNgPon2 PatchedWritableInterfaceRequestType = "ng-pon2" + PatchedWritableInterfaceRequestTypeOther PatchedWritableInterfaceRequestType = "other" + PatchedWritableInterfaceRequestTypeOtherWireless PatchedWritableInterfaceRequestType = "other-wireless" + PatchedWritableInterfaceRequestTypeSonetOc12 PatchedWritableInterfaceRequestType = "sonet-oc12" + PatchedWritableInterfaceRequestTypeSonetOc192 PatchedWritableInterfaceRequestType = "sonet-oc192" + PatchedWritableInterfaceRequestTypeSonetOc1920 PatchedWritableInterfaceRequestType = "sonet-oc1920" + PatchedWritableInterfaceRequestTypeSonetOc3 PatchedWritableInterfaceRequestType = "sonet-oc3" + PatchedWritableInterfaceRequestTypeSonetOc3840 PatchedWritableInterfaceRequestType = "sonet-oc3840" + PatchedWritableInterfaceRequestTypeSonetOc48 PatchedWritableInterfaceRequestType = "sonet-oc48" + PatchedWritableInterfaceRequestTypeSonetOc768 PatchedWritableInterfaceRequestType = "sonet-oc768" + PatchedWritableInterfaceRequestTypeT1 PatchedWritableInterfaceRequestType = "t1" + PatchedWritableInterfaceRequestTypeT3 PatchedWritableInterfaceRequestType = "t3" + PatchedWritableInterfaceRequestTypeVirtual PatchedWritableInterfaceRequestType = "virtual" + PatchedWritableInterfaceRequestTypeXdsl PatchedWritableInterfaceRequestType = "xdsl" + PatchedWritableInterfaceRequestTypeXgPon PatchedWritableInterfaceRequestType = "xg-pon" + PatchedWritableInterfaceRequestTypeXgsPon PatchedWritableInterfaceRequestType = "xgs-pon" +) + +// Defines values for PatchedWritableInterfaceTemplateRequestPoeMode. +const ( + PatchedWritableInterfaceTemplateRequestPoeModeEmpty PatchedWritableInterfaceTemplateRequestPoeMode = "" + PatchedWritableInterfaceTemplateRequestPoeModePd PatchedWritableInterfaceTemplateRequestPoeMode = "pd" + PatchedWritableInterfaceTemplateRequestPoeModePse PatchedWritableInterfaceTemplateRequestPoeMode = "pse" +) + +// Defines values for PatchedWritableInterfaceTemplateRequestPoeType. +const ( + PatchedWritableInterfaceTemplateRequestPoeTypeEmpty PatchedWritableInterfaceTemplateRequestPoeType = "" + PatchedWritableInterfaceTemplateRequestPoeTypePassive24v2pair PatchedWritableInterfaceTemplateRequestPoeType = "passive-24v-2pair" + PatchedWritableInterfaceTemplateRequestPoeTypePassive24v4pair PatchedWritableInterfaceTemplateRequestPoeType = "passive-24v-4pair" + PatchedWritableInterfaceTemplateRequestPoeTypePassive48v2pair PatchedWritableInterfaceTemplateRequestPoeType = "passive-48v-2pair" + PatchedWritableInterfaceTemplateRequestPoeTypePassive48v4pair PatchedWritableInterfaceTemplateRequestPoeType = "passive-48v-4pair" + PatchedWritableInterfaceTemplateRequestPoeTypeType1Ieee8023af PatchedWritableInterfaceTemplateRequestPoeType = "type1-ieee802.3af" + PatchedWritableInterfaceTemplateRequestPoeTypeType2Ieee8023at PatchedWritableInterfaceTemplateRequestPoeType = "type2-ieee802.3at" + PatchedWritableInterfaceTemplateRequestPoeTypeType3Ieee8023bt PatchedWritableInterfaceTemplateRequestPoeType = "type3-ieee802.3bt" + PatchedWritableInterfaceTemplateRequestPoeTypeType4Ieee8023bt PatchedWritableInterfaceTemplateRequestPoeType = "type4-ieee802.3bt" +) + +// Defines values for PatchedWritableInterfaceTemplateRequestRfRole. +const ( + PatchedWritableInterfaceTemplateRequestRfRoleAp PatchedWritableInterfaceTemplateRequestRfRole = "ap" + PatchedWritableInterfaceTemplateRequestRfRoleEmpty PatchedWritableInterfaceTemplateRequestRfRole = "" + PatchedWritableInterfaceTemplateRequestRfRoleStation PatchedWritableInterfaceTemplateRequestRfRole = "station" +) + +// Defines values for PatchedWritableInterfaceTemplateRequestType. +const ( + PatchedWritableInterfaceTemplateRequestTypeBridge PatchedWritableInterfaceTemplateRequestType = "bridge" + PatchedWritableInterfaceTemplateRequestTypeCdma PatchedWritableInterfaceTemplateRequestType = "cdma" + PatchedWritableInterfaceTemplateRequestTypeCiscoFlexstack PatchedWritableInterfaceTemplateRequestType = "cisco-flexstack" + PatchedWritableInterfaceTemplateRequestTypeCiscoFlexstackPlus PatchedWritableInterfaceTemplateRequestType = "cisco-flexstack-plus" + PatchedWritableInterfaceTemplateRequestTypeCiscoStackwise PatchedWritableInterfaceTemplateRequestType = "cisco-stackwise" + PatchedWritableInterfaceTemplateRequestTypeCiscoStackwise160 PatchedWritableInterfaceTemplateRequestType = "cisco-stackwise-160" + PatchedWritableInterfaceTemplateRequestTypeCiscoStackwise1t PatchedWritableInterfaceTemplateRequestType = "cisco-stackwise-1t" + PatchedWritableInterfaceTemplateRequestTypeCiscoStackwise320 PatchedWritableInterfaceTemplateRequestType = "cisco-stackwise-320" + PatchedWritableInterfaceTemplateRequestTypeCiscoStackwise480 PatchedWritableInterfaceTemplateRequestType = "cisco-stackwise-480" + PatchedWritableInterfaceTemplateRequestTypeCiscoStackwise80 PatchedWritableInterfaceTemplateRequestType = "cisco-stackwise-80" + PatchedWritableInterfaceTemplateRequestTypeCiscoStackwisePlus PatchedWritableInterfaceTemplateRequestType = "cisco-stackwise-plus" + PatchedWritableInterfaceTemplateRequestTypeDocsis PatchedWritableInterfaceTemplateRequestType = "docsis" + PatchedWritableInterfaceTemplateRequestTypeE1 PatchedWritableInterfaceTemplateRequestType = "e1" + PatchedWritableInterfaceTemplateRequestTypeE3 PatchedWritableInterfaceTemplateRequestType = "e3" + PatchedWritableInterfaceTemplateRequestTypeEpon PatchedWritableInterfaceTemplateRequestType = "epon" + PatchedWritableInterfaceTemplateRequestTypeExtremeSummitstack PatchedWritableInterfaceTemplateRequestType = "extreme-summitstack" + PatchedWritableInterfaceTemplateRequestTypeExtremeSummitstack128 PatchedWritableInterfaceTemplateRequestType = "extreme-summitstack-128" + PatchedWritableInterfaceTemplateRequestTypeExtremeSummitstack256 PatchedWritableInterfaceTemplateRequestType = "extreme-summitstack-256" + PatchedWritableInterfaceTemplateRequestTypeExtremeSummitstack512 PatchedWritableInterfaceTemplateRequestType = "extreme-summitstack-512" + PatchedWritableInterfaceTemplateRequestTypeGpon PatchedWritableInterfaceTemplateRequestType = "gpon" + PatchedWritableInterfaceTemplateRequestTypeGsm PatchedWritableInterfaceTemplateRequestType = "gsm" + PatchedWritableInterfaceTemplateRequestTypeIeee80211a PatchedWritableInterfaceTemplateRequestType = "ieee802.11a" + PatchedWritableInterfaceTemplateRequestTypeIeee80211ac PatchedWritableInterfaceTemplateRequestType = "ieee802.11ac" + PatchedWritableInterfaceTemplateRequestTypeIeee80211ad PatchedWritableInterfaceTemplateRequestType = "ieee802.11ad" + PatchedWritableInterfaceTemplateRequestTypeIeee80211ax PatchedWritableInterfaceTemplateRequestType = "ieee802.11ax" + PatchedWritableInterfaceTemplateRequestTypeIeee80211ay PatchedWritableInterfaceTemplateRequestType = "ieee802.11ay" + PatchedWritableInterfaceTemplateRequestTypeIeee80211g PatchedWritableInterfaceTemplateRequestType = "ieee802.11g" + PatchedWritableInterfaceTemplateRequestTypeIeee80211n PatchedWritableInterfaceTemplateRequestType = "ieee802.11n" + PatchedWritableInterfaceTemplateRequestTypeIeee802151 PatchedWritableInterfaceTemplateRequestType = "ieee802.15.1" + PatchedWritableInterfaceTemplateRequestTypeInfinibandDdr PatchedWritableInterfaceTemplateRequestType = "infiniband-ddr" + PatchedWritableInterfaceTemplateRequestTypeInfinibandEdr PatchedWritableInterfaceTemplateRequestType = "infiniband-edr" + PatchedWritableInterfaceTemplateRequestTypeInfinibandFdr PatchedWritableInterfaceTemplateRequestType = "infiniband-fdr" + PatchedWritableInterfaceTemplateRequestTypeInfinibandFdr10 PatchedWritableInterfaceTemplateRequestType = "infiniband-fdr10" + PatchedWritableInterfaceTemplateRequestTypeInfinibandHdr PatchedWritableInterfaceTemplateRequestType = "infiniband-hdr" + PatchedWritableInterfaceTemplateRequestTypeInfinibandNdr PatchedWritableInterfaceTemplateRequestType = "infiniband-ndr" + PatchedWritableInterfaceTemplateRequestTypeInfinibandQdr PatchedWritableInterfaceTemplateRequestType = "infiniband-qdr" + PatchedWritableInterfaceTemplateRequestTypeInfinibandSdr PatchedWritableInterfaceTemplateRequestType = "infiniband-sdr" + PatchedWritableInterfaceTemplateRequestTypeInfinibandXdr PatchedWritableInterfaceTemplateRequestType = "infiniband-xdr" + PatchedWritableInterfaceTemplateRequestTypeJuniperVcp PatchedWritableInterfaceTemplateRequestType = "juniper-vcp" + PatchedWritableInterfaceTemplateRequestTypeLag PatchedWritableInterfaceTemplateRequestType = "lag" + PatchedWritableInterfaceTemplateRequestTypeLte PatchedWritableInterfaceTemplateRequestType = "lte" + PatchedWritableInterfaceTemplateRequestTypeN1000baseKx PatchedWritableInterfaceTemplateRequestType = "1000base-kx" + PatchedWritableInterfaceTemplateRequestTypeN1000baseT PatchedWritableInterfaceTemplateRequestType = "1000base-t" + PatchedWritableInterfaceTemplateRequestTypeN1000baseXGbic PatchedWritableInterfaceTemplateRequestType = "1000base-x-gbic" + PatchedWritableInterfaceTemplateRequestTypeN1000baseXSfp PatchedWritableInterfaceTemplateRequestType = "1000base-x-sfp" + PatchedWritableInterfaceTemplateRequestTypeN100baseFx PatchedWritableInterfaceTemplateRequestType = "100base-fx" + PatchedWritableInterfaceTemplateRequestTypeN100baseLfx PatchedWritableInterfaceTemplateRequestType = "100base-lfx" + PatchedWritableInterfaceTemplateRequestTypeN100baseT1 PatchedWritableInterfaceTemplateRequestType = "100base-t1" + PatchedWritableInterfaceTemplateRequestTypeN100baseTx PatchedWritableInterfaceTemplateRequestType = "100base-tx" + PatchedWritableInterfaceTemplateRequestTypeN100gbaseKp4 PatchedWritableInterfaceTemplateRequestType = "100gbase-kp4" + PatchedWritableInterfaceTemplateRequestTypeN100gbaseKr2 PatchedWritableInterfaceTemplateRequestType = "100gbase-kr2" + PatchedWritableInterfaceTemplateRequestTypeN100gbaseKr4 PatchedWritableInterfaceTemplateRequestType = "100gbase-kr4" + PatchedWritableInterfaceTemplateRequestTypeN100gbaseXCfp PatchedWritableInterfaceTemplateRequestType = "100gbase-x-cfp" + PatchedWritableInterfaceTemplateRequestTypeN100gbaseXCfp2 PatchedWritableInterfaceTemplateRequestType = "100gbase-x-cfp2" + PatchedWritableInterfaceTemplateRequestTypeN100gbaseXCfp4 PatchedWritableInterfaceTemplateRequestType = "100gbase-x-cfp4" + PatchedWritableInterfaceTemplateRequestTypeN100gbaseXCpak PatchedWritableInterfaceTemplateRequestType = "100gbase-x-cpak" + PatchedWritableInterfaceTemplateRequestTypeN100gbaseXCxp PatchedWritableInterfaceTemplateRequestType = "100gbase-x-cxp" + PatchedWritableInterfaceTemplateRequestTypeN100gbaseXDsfp PatchedWritableInterfaceTemplateRequestType = "100gbase-x-dsfp" + PatchedWritableInterfaceTemplateRequestTypeN100gbaseXQsfp28 PatchedWritableInterfaceTemplateRequestType = "100gbase-x-qsfp28" + PatchedWritableInterfaceTemplateRequestTypeN100gbaseXQsfpdd PatchedWritableInterfaceTemplateRequestType = "100gbase-x-qsfpdd" + PatchedWritableInterfaceTemplateRequestTypeN100gbaseXSfpdd PatchedWritableInterfaceTemplateRequestType = "100gbase-x-sfpdd" + PatchedWritableInterfaceTemplateRequestTypeN10gEpon PatchedWritableInterfaceTemplateRequestType = "10g-epon" + PatchedWritableInterfaceTemplateRequestTypeN10gbaseCx4 PatchedWritableInterfaceTemplateRequestType = "10gbase-cx4" + PatchedWritableInterfaceTemplateRequestTypeN10gbaseKr PatchedWritableInterfaceTemplateRequestType = "10gbase-kr" + PatchedWritableInterfaceTemplateRequestTypeN10gbaseKx4 PatchedWritableInterfaceTemplateRequestType = "10gbase-kx4" + PatchedWritableInterfaceTemplateRequestTypeN10gbaseT PatchedWritableInterfaceTemplateRequestType = "10gbase-t" + PatchedWritableInterfaceTemplateRequestTypeN10gbaseXSfpp PatchedWritableInterfaceTemplateRequestType = "10gbase-x-sfpp" + PatchedWritableInterfaceTemplateRequestTypeN10gbaseXX2 PatchedWritableInterfaceTemplateRequestType = "10gbase-x-x2" + PatchedWritableInterfaceTemplateRequestTypeN10gbaseXXenpak PatchedWritableInterfaceTemplateRequestType = "10gbase-x-xenpak" + PatchedWritableInterfaceTemplateRequestTypeN10gbaseXXfp PatchedWritableInterfaceTemplateRequestType = "10gbase-x-xfp" + PatchedWritableInterfaceTemplateRequestTypeN128gfcQsfp28 PatchedWritableInterfaceTemplateRequestType = "128gfc-qsfp28" + PatchedWritableInterfaceTemplateRequestTypeN16gfcSfpp PatchedWritableInterfaceTemplateRequestType = "16gfc-sfpp" + PatchedWritableInterfaceTemplateRequestTypeN1gfcSfp PatchedWritableInterfaceTemplateRequestType = "1gfc-sfp" + PatchedWritableInterfaceTemplateRequestTypeN200gbaseXCfp2 PatchedWritableInterfaceTemplateRequestType = "200gbase-x-cfp2" + PatchedWritableInterfaceTemplateRequestTypeN200gbaseXQsfp56 PatchedWritableInterfaceTemplateRequestType = "200gbase-x-qsfp56" + PatchedWritableInterfaceTemplateRequestTypeN200gbaseXQsfpdd PatchedWritableInterfaceTemplateRequestType = "200gbase-x-qsfpdd" + PatchedWritableInterfaceTemplateRequestTypeN25gbaseKr PatchedWritableInterfaceTemplateRequestType = "25gbase-kr" + PatchedWritableInterfaceTemplateRequestTypeN25gbaseT PatchedWritableInterfaceTemplateRequestType = "2.5gbase-t" + PatchedWritableInterfaceTemplateRequestTypeN25gbaseXSfp28 PatchedWritableInterfaceTemplateRequestType = "25gbase-x-sfp28" + PatchedWritableInterfaceTemplateRequestTypeN2gfcSfp PatchedWritableInterfaceTemplateRequestType = "2gfc-sfp" + PatchedWritableInterfaceTemplateRequestTypeN32gfcSfp28 PatchedWritableInterfaceTemplateRequestType = "32gfc-sfp28" + PatchedWritableInterfaceTemplateRequestTypeN400gbaseXCdfp PatchedWritableInterfaceTemplateRequestType = "400gbase-x-cdfp" + PatchedWritableInterfaceTemplateRequestTypeN400gbaseXCfp2 PatchedWritableInterfaceTemplateRequestType = "400gbase-x-cfp2" + PatchedWritableInterfaceTemplateRequestTypeN400gbaseXCfp8 PatchedWritableInterfaceTemplateRequestType = "400gbase-x-cfp8" + PatchedWritableInterfaceTemplateRequestTypeN400gbaseXOsfp PatchedWritableInterfaceTemplateRequestType = "400gbase-x-osfp" + PatchedWritableInterfaceTemplateRequestTypeN400gbaseXOsfpRhs PatchedWritableInterfaceTemplateRequestType = "400gbase-x-osfp-rhs" + PatchedWritableInterfaceTemplateRequestTypeN400gbaseXQsfp112 PatchedWritableInterfaceTemplateRequestType = "400gbase-x-qsfp112" + PatchedWritableInterfaceTemplateRequestTypeN400gbaseXQsfpdd PatchedWritableInterfaceTemplateRequestType = "400gbase-x-qsfpdd" + PatchedWritableInterfaceTemplateRequestTypeN40gbaseKr4 PatchedWritableInterfaceTemplateRequestType = "40gbase-kr4" + PatchedWritableInterfaceTemplateRequestTypeN40gbaseXQsfpp PatchedWritableInterfaceTemplateRequestType = "40gbase-x-qsfpp" + PatchedWritableInterfaceTemplateRequestTypeN4gfcSfp PatchedWritableInterfaceTemplateRequestType = "4gfc-sfp" + PatchedWritableInterfaceTemplateRequestTypeN50gbaseKr PatchedWritableInterfaceTemplateRequestType = "50gbase-kr" + PatchedWritableInterfaceTemplateRequestTypeN50gbaseXSfp28 PatchedWritableInterfaceTemplateRequestType = "50gbase-x-sfp28" + PatchedWritableInterfaceTemplateRequestTypeN50gbaseXSfp56 PatchedWritableInterfaceTemplateRequestType = "50gbase-x-sfp56" + PatchedWritableInterfaceTemplateRequestTypeN5gbaseT PatchedWritableInterfaceTemplateRequestType = "5gbase-t" + PatchedWritableInterfaceTemplateRequestTypeN64gfcQsfpp PatchedWritableInterfaceTemplateRequestType = "64gfc-qsfpp" + PatchedWritableInterfaceTemplateRequestTypeN800gbaseXOsfp PatchedWritableInterfaceTemplateRequestType = "800gbase-x-osfp" + PatchedWritableInterfaceTemplateRequestTypeN800gbaseXQsfpdd PatchedWritableInterfaceTemplateRequestType = "800gbase-x-qsfpdd" + PatchedWritableInterfaceTemplateRequestTypeN8gfcSfpp PatchedWritableInterfaceTemplateRequestType = "8gfc-sfpp" + PatchedWritableInterfaceTemplateRequestTypeNgPon2 PatchedWritableInterfaceTemplateRequestType = "ng-pon2" + PatchedWritableInterfaceTemplateRequestTypeOther PatchedWritableInterfaceTemplateRequestType = "other" + PatchedWritableInterfaceTemplateRequestTypeOtherWireless PatchedWritableInterfaceTemplateRequestType = "other-wireless" + PatchedWritableInterfaceTemplateRequestTypeSonetOc12 PatchedWritableInterfaceTemplateRequestType = "sonet-oc12" + PatchedWritableInterfaceTemplateRequestTypeSonetOc192 PatchedWritableInterfaceTemplateRequestType = "sonet-oc192" + PatchedWritableInterfaceTemplateRequestTypeSonetOc1920 PatchedWritableInterfaceTemplateRequestType = "sonet-oc1920" + PatchedWritableInterfaceTemplateRequestTypeSonetOc3 PatchedWritableInterfaceTemplateRequestType = "sonet-oc3" + PatchedWritableInterfaceTemplateRequestTypeSonetOc3840 PatchedWritableInterfaceTemplateRequestType = "sonet-oc3840" + PatchedWritableInterfaceTemplateRequestTypeSonetOc48 PatchedWritableInterfaceTemplateRequestType = "sonet-oc48" + PatchedWritableInterfaceTemplateRequestTypeSonetOc768 PatchedWritableInterfaceTemplateRequestType = "sonet-oc768" + PatchedWritableInterfaceTemplateRequestTypeT1 PatchedWritableInterfaceTemplateRequestType = "t1" + PatchedWritableInterfaceTemplateRequestTypeT3 PatchedWritableInterfaceTemplateRequestType = "t3" + PatchedWritableInterfaceTemplateRequestTypeVirtual PatchedWritableInterfaceTemplateRequestType = "virtual" + PatchedWritableInterfaceTemplateRequestTypeXdsl PatchedWritableInterfaceTemplateRequestType = "xdsl" + PatchedWritableInterfaceTemplateRequestTypeXgPon PatchedWritableInterfaceTemplateRequestType = "xg-pon" + PatchedWritableInterfaceTemplateRequestTypeXgsPon PatchedWritableInterfaceTemplateRequestType = "xgs-pon" +) + +// Defines values for PatchedWritableJournalEntryRequestKind. +const ( + PatchedWritableJournalEntryRequestKindDanger PatchedWritableJournalEntryRequestKind = "danger" + PatchedWritableJournalEntryRequestKindInfo PatchedWritableJournalEntryRequestKind = "info" + PatchedWritableJournalEntryRequestKindSuccess PatchedWritableJournalEntryRequestKind = "success" + PatchedWritableJournalEntryRequestKindWarning PatchedWritableJournalEntryRequestKind = "warning" +) + +// Defines values for PatchedWritableL2VPNRequestType. +const ( + PatchedWritableL2VPNRequestTypeEpLan PatchedWritableL2VPNRequestType = "ep-lan" + PatchedWritableL2VPNRequestTypeEpTree PatchedWritableL2VPNRequestType = "ep-tree" + PatchedWritableL2VPNRequestTypeEpl PatchedWritableL2VPNRequestType = "epl" + PatchedWritableL2VPNRequestTypeEvpLan PatchedWritableL2VPNRequestType = "evp-lan" + PatchedWritableL2VPNRequestTypeEvpTree PatchedWritableL2VPNRequestType = "evp-tree" + PatchedWritableL2VPNRequestTypeEvpl PatchedWritableL2VPNRequestType = "evpl" + PatchedWritableL2VPNRequestTypeMplsEvpn PatchedWritableL2VPNRequestType = "mpls-evpn" + PatchedWritableL2VPNRequestTypePbbEvpn PatchedWritableL2VPNRequestType = "pbb-evpn" + PatchedWritableL2VPNRequestTypeVpls PatchedWritableL2VPNRequestType = "vpls" + PatchedWritableL2VPNRequestTypeVpws PatchedWritableL2VPNRequestType = "vpws" + PatchedWritableL2VPNRequestTypeVxlan PatchedWritableL2VPNRequestType = "vxlan" + PatchedWritableL2VPNRequestTypeVxlanEvpn PatchedWritableL2VPNRequestType = "vxlan-evpn" +) + +// Defines values for PatchedWritableLocationRequestStatus. +const ( + PatchedWritableLocationRequestStatusActive PatchedWritableLocationRequestStatus = "active" + PatchedWritableLocationRequestStatusDecommissioning PatchedWritableLocationRequestStatus = "decommissioning" + PatchedWritableLocationRequestStatusPlanned PatchedWritableLocationRequestStatus = "planned" + PatchedWritableLocationRequestStatusRetired PatchedWritableLocationRequestStatus = "retired" + PatchedWritableLocationRequestStatusStaging PatchedWritableLocationRequestStatus = "staging" +) + +// Defines values for PatchedWritableModuleRequestStatus. +const ( + PatchedWritableModuleRequestStatusActive PatchedWritableModuleRequestStatus = "active" + PatchedWritableModuleRequestStatusDecommissioning PatchedWritableModuleRequestStatus = "decommissioning" + PatchedWritableModuleRequestStatusFailed PatchedWritableModuleRequestStatus = "failed" + PatchedWritableModuleRequestStatusOffline PatchedWritableModuleRequestStatus = "offline" + PatchedWritableModuleRequestStatusPlanned PatchedWritableModuleRequestStatus = "planned" + PatchedWritableModuleRequestStatusStaged PatchedWritableModuleRequestStatus = "staged" +) + +// Defines values for PatchedWritableModuleTypeRequestWeightUnit. +const ( + PatchedWritableModuleTypeRequestWeightUnitEmpty PatchedWritableModuleTypeRequestWeightUnit = "" + PatchedWritableModuleTypeRequestWeightUnitG PatchedWritableModuleTypeRequestWeightUnit = "g" + PatchedWritableModuleTypeRequestWeightUnitKg PatchedWritableModuleTypeRequestWeightUnit = "kg" + PatchedWritableModuleTypeRequestWeightUnitLb PatchedWritableModuleTypeRequestWeightUnit = "lb" + PatchedWritableModuleTypeRequestWeightUnitOz PatchedWritableModuleTypeRequestWeightUnit = "oz" +) + +// Defines values for PatchedWritablePowerFeedRequestPhase. +const ( + PatchedWritablePowerFeedRequestPhaseSinglePhase PatchedWritablePowerFeedRequestPhase = "single-phase" + PatchedWritablePowerFeedRequestPhaseThreePhase PatchedWritablePowerFeedRequestPhase = "three-phase" +) + +// Defines values for PatchedWritablePowerFeedRequestStatus. +const ( + PatchedWritablePowerFeedRequestStatusActive PatchedWritablePowerFeedRequestStatus = "active" + PatchedWritablePowerFeedRequestStatusFailed PatchedWritablePowerFeedRequestStatus = "failed" + PatchedWritablePowerFeedRequestStatusOffline PatchedWritablePowerFeedRequestStatus = "offline" + PatchedWritablePowerFeedRequestStatusPlanned PatchedWritablePowerFeedRequestStatus = "planned" +) + +// Defines values for PatchedWritablePowerFeedRequestSupply. +const ( + PatchedWritablePowerFeedRequestSupplyAc PatchedWritablePowerFeedRequestSupply = "ac" + PatchedWritablePowerFeedRequestSupplyDc PatchedWritablePowerFeedRequestSupply = "dc" +) + +// Defines values for PatchedWritablePowerFeedRequestType. +const ( + PatchedWritablePowerFeedRequestTypePrimary PatchedWritablePowerFeedRequestType = "primary" + PatchedWritablePowerFeedRequestTypeRedundant PatchedWritablePowerFeedRequestType = "redundant" +) + +// Defines values for PatchedWritablePowerOutletRequestFeedLeg. +const ( + PatchedWritablePowerOutletRequestFeedLegA PatchedWritablePowerOutletRequestFeedLeg = "A" + PatchedWritablePowerOutletRequestFeedLegB PatchedWritablePowerOutletRequestFeedLeg = "B" + PatchedWritablePowerOutletRequestFeedLegC PatchedWritablePowerOutletRequestFeedLeg = "C" + PatchedWritablePowerOutletRequestFeedLegEmpty PatchedWritablePowerOutletRequestFeedLeg = "" +) + +// Defines values for PatchedWritablePowerOutletRequestType. +const ( + PatchedWritablePowerOutletRequestTypeCS6360C PatchedWritablePowerOutletRequestType = "CS6360C" + PatchedWritablePowerOutletRequestTypeCS6364C PatchedWritablePowerOutletRequestType = "CS6364C" + PatchedWritablePowerOutletRequestTypeCS8164C PatchedWritablePowerOutletRequestType = "CS8164C" + PatchedWritablePowerOutletRequestTypeCS8264C PatchedWritablePowerOutletRequestType = "CS8264C" + PatchedWritablePowerOutletRequestTypeCS8364C PatchedWritablePowerOutletRequestType = "CS8364C" + PatchedWritablePowerOutletRequestTypeCS8464C PatchedWritablePowerOutletRequestType = "CS8464C" + PatchedWritablePowerOutletRequestTypeDcTerminal PatchedWritablePowerOutletRequestType = "dc-terminal" + PatchedWritablePowerOutletRequestTypeEmpty PatchedWritablePowerOutletRequestType = "" + PatchedWritablePowerOutletRequestTypeHardwired PatchedWritablePowerOutletRequestType = "hardwired" + PatchedWritablePowerOutletRequestTypeHdotCx PatchedWritablePowerOutletRequestType = "hdot-cx" + PatchedWritablePowerOutletRequestTypeIec603092pE4h PatchedWritablePowerOutletRequestType = "iec-60309-2p-e-4h" + PatchedWritablePowerOutletRequestTypeIec603092pE6h PatchedWritablePowerOutletRequestType = "iec-60309-2p-e-6h" + PatchedWritablePowerOutletRequestTypeIec603092pE9h PatchedWritablePowerOutletRequestType = "iec-60309-2p-e-9h" + PatchedWritablePowerOutletRequestTypeIec603093pE4h PatchedWritablePowerOutletRequestType = "iec-60309-3p-e-4h" + PatchedWritablePowerOutletRequestTypeIec603093pE6h PatchedWritablePowerOutletRequestType = "iec-60309-3p-e-6h" + PatchedWritablePowerOutletRequestTypeIec603093pE9h PatchedWritablePowerOutletRequestType = "iec-60309-3p-e-9h" + PatchedWritablePowerOutletRequestTypeIec603093pNE4h PatchedWritablePowerOutletRequestType = "iec-60309-3p-n-e-4h" + PatchedWritablePowerOutletRequestTypeIec603093pNE6h PatchedWritablePowerOutletRequestType = "iec-60309-3p-n-e-6h" + PatchedWritablePowerOutletRequestTypeIec603093pNE9h PatchedWritablePowerOutletRequestType = "iec-60309-3p-n-e-9h" + PatchedWritablePowerOutletRequestTypeIec60309PNE4h PatchedWritablePowerOutletRequestType = "iec-60309-p-n-e-4h" + PatchedWritablePowerOutletRequestTypeIec60309PNE6h PatchedWritablePowerOutletRequestType = "iec-60309-p-n-e-6h" + PatchedWritablePowerOutletRequestTypeIec60309PNE9h PatchedWritablePowerOutletRequestType = "iec-60309-p-n-e-9h" + PatchedWritablePowerOutletRequestTypeIec60320C13 PatchedWritablePowerOutletRequestType = "iec-60320-c13" + PatchedWritablePowerOutletRequestTypeIec60320C15 PatchedWritablePowerOutletRequestType = "iec-60320-c15" + PatchedWritablePowerOutletRequestTypeIec60320C19 PatchedWritablePowerOutletRequestType = "iec-60320-c19" + PatchedWritablePowerOutletRequestTypeIec60320C21 PatchedWritablePowerOutletRequestType = "iec-60320-c21" + PatchedWritablePowerOutletRequestTypeIec60320C5 PatchedWritablePowerOutletRequestType = "iec-60320-c5" + PatchedWritablePowerOutletRequestTypeIec60320C7 PatchedWritablePowerOutletRequestType = "iec-60320-c7" + PatchedWritablePowerOutletRequestTypeIec609061 PatchedWritablePowerOutletRequestType = "iec-60906-1" + PatchedWritablePowerOutletRequestTypeItaE PatchedWritablePowerOutletRequestType = "ita-e" + PatchedWritablePowerOutletRequestTypeItaF PatchedWritablePowerOutletRequestType = "ita-f" + PatchedWritablePowerOutletRequestTypeItaG PatchedWritablePowerOutletRequestType = "ita-g" + PatchedWritablePowerOutletRequestTypeItaH PatchedWritablePowerOutletRequestType = "ita-h" + PatchedWritablePowerOutletRequestTypeItaI PatchedWritablePowerOutletRequestType = "ita-i" + PatchedWritablePowerOutletRequestTypeItaJ PatchedWritablePowerOutletRequestType = "ita-j" + PatchedWritablePowerOutletRequestTypeItaK PatchedWritablePowerOutletRequestType = "ita-k" + PatchedWritablePowerOutletRequestTypeItaL PatchedWritablePowerOutletRequestType = "ita-l" + PatchedWritablePowerOutletRequestTypeItaM PatchedWritablePowerOutletRequestType = "ita-m" + PatchedWritablePowerOutletRequestTypeItaMultistandard PatchedWritablePowerOutletRequestType = "ita-multistandard" + PatchedWritablePowerOutletRequestTypeItaN PatchedWritablePowerOutletRequestType = "ita-n" + PatchedWritablePowerOutletRequestTypeItaO PatchedWritablePowerOutletRequestType = "ita-o" + PatchedWritablePowerOutletRequestTypeNbr1413610a PatchedWritablePowerOutletRequestType = "nbr-14136-10a" + PatchedWritablePowerOutletRequestTypeNbr1413620a PatchedWritablePowerOutletRequestType = "nbr-14136-20a" + PatchedWritablePowerOutletRequestTypeNema1030r PatchedWritablePowerOutletRequestType = "nema-10-30r" + PatchedWritablePowerOutletRequestTypeNema1050r PatchedWritablePowerOutletRequestType = "nema-10-50r" + PatchedWritablePowerOutletRequestTypeNema115r PatchedWritablePowerOutletRequestType = "nema-1-15r" + PatchedWritablePowerOutletRequestTypeNema1420r PatchedWritablePowerOutletRequestType = "nema-14-20r" + PatchedWritablePowerOutletRequestTypeNema1430r PatchedWritablePowerOutletRequestType = "nema-14-30r" + PatchedWritablePowerOutletRequestTypeNema1450r PatchedWritablePowerOutletRequestType = "nema-14-50r" + PatchedWritablePowerOutletRequestTypeNema1460r PatchedWritablePowerOutletRequestType = "nema-14-60r" + PatchedWritablePowerOutletRequestTypeNema1515r PatchedWritablePowerOutletRequestType = "nema-15-15r" + PatchedWritablePowerOutletRequestTypeNema1520r PatchedWritablePowerOutletRequestType = "nema-15-20r" + PatchedWritablePowerOutletRequestTypeNema1530r PatchedWritablePowerOutletRequestType = "nema-15-30r" + PatchedWritablePowerOutletRequestTypeNema1550r PatchedWritablePowerOutletRequestType = "nema-15-50r" + PatchedWritablePowerOutletRequestTypeNema1560r PatchedWritablePowerOutletRequestType = "nema-15-60r" + PatchedWritablePowerOutletRequestTypeNema515r PatchedWritablePowerOutletRequestType = "nema-5-15r" + PatchedWritablePowerOutletRequestTypeNema520r PatchedWritablePowerOutletRequestType = "nema-5-20r" + PatchedWritablePowerOutletRequestTypeNema530r PatchedWritablePowerOutletRequestType = "nema-5-30r" + PatchedWritablePowerOutletRequestTypeNema550r PatchedWritablePowerOutletRequestType = "nema-5-50r" + PatchedWritablePowerOutletRequestTypeNema615r PatchedWritablePowerOutletRequestType = "nema-6-15r" + PatchedWritablePowerOutletRequestTypeNema620r PatchedWritablePowerOutletRequestType = "nema-6-20r" + PatchedWritablePowerOutletRequestTypeNema630r PatchedWritablePowerOutletRequestType = "nema-6-30r" + PatchedWritablePowerOutletRequestTypeNema650r PatchedWritablePowerOutletRequestType = "nema-6-50r" + PatchedWritablePowerOutletRequestTypeNemaL1030r PatchedWritablePowerOutletRequestType = "nema-l10-30r" + PatchedWritablePowerOutletRequestTypeNemaL115r PatchedWritablePowerOutletRequestType = "nema-l1-15r" + PatchedWritablePowerOutletRequestTypeNemaL1420r PatchedWritablePowerOutletRequestType = "nema-l14-20r" + PatchedWritablePowerOutletRequestTypeNemaL1430r PatchedWritablePowerOutletRequestType = "nema-l14-30r" + PatchedWritablePowerOutletRequestTypeNemaL1450r PatchedWritablePowerOutletRequestType = "nema-l14-50r" + PatchedWritablePowerOutletRequestTypeNemaL1460r PatchedWritablePowerOutletRequestType = "nema-l14-60r" + PatchedWritablePowerOutletRequestTypeNemaL1520r PatchedWritablePowerOutletRequestType = "nema-l15-20r" + PatchedWritablePowerOutletRequestTypeNemaL1530r PatchedWritablePowerOutletRequestType = "nema-l15-30r" + PatchedWritablePowerOutletRequestTypeNemaL1550r PatchedWritablePowerOutletRequestType = "nema-l15-50r" + PatchedWritablePowerOutletRequestTypeNemaL1560r PatchedWritablePowerOutletRequestType = "nema-l15-60r" + PatchedWritablePowerOutletRequestTypeNemaL2120r PatchedWritablePowerOutletRequestType = "nema-l21-20r" + PatchedWritablePowerOutletRequestTypeNemaL2130r PatchedWritablePowerOutletRequestType = "nema-l21-30r" + PatchedWritablePowerOutletRequestTypeNemaL2230r PatchedWritablePowerOutletRequestType = "nema-l22-30r" + PatchedWritablePowerOutletRequestTypeNemaL515r PatchedWritablePowerOutletRequestType = "nema-l5-15r" + PatchedWritablePowerOutletRequestTypeNemaL520r PatchedWritablePowerOutletRequestType = "nema-l5-20r" + PatchedWritablePowerOutletRequestTypeNemaL530r PatchedWritablePowerOutletRequestType = "nema-l5-30r" + PatchedWritablePowerOutletRequestTypeNemaL550r PatchedWritablePowerOutletRequestType = "nema-l5-50r" + PatchedWritablePowerOutletRequestTypeNemaL615r PatchedWritablePowerOutletRequestType = "nema-l6-15r" + PatchedWritablePowerOutletRequestTypeNemaL620r PatchedWritablePowerOutletRequestType = "nema-l6-20r" + PatchedWritablePowerOutletRequestTypeNemaL630r PatchedWritablePowerOutletRequestType = "nema-l6-30r" + PatchedWritablePowerOutletRequestTypeNemaL650r PatchedWritablePowerOutletRequestType = "nema-l6-50r" + PatchedWritablePowerOutletRequestTypeNeutrikPowercon20a PatchedWritablePowerOutletRequestType = "neutrik-powercon-20a" + PatchedWritablePowerOutletRequestTypeNeutrikPowercon32a PatchedWritablePowerOutletRequestType = "neutrik-powercon-32a" + PatchedWritablePowerOutletRequestTypeNeutrikPowerconTrue1 PatchedWritablePowerOutletRequestType = "neutrik-powercon-true1" + PatchedWritablePowerOutletRequestTypeNeutrikPowerconTrue1Top PatchedWritablePowerOutletRequestType = "neutrik-powercon-true1-top" + PatchedWritablePowerOutletRequestTypeOther PatchedWritablePowerOutletRequestType = "other" + PatchedWritablePowerOutletRequestTypeSafDGrid PatchedWritablePowerOutletRequestType = "saf-d-grid" + PatchedWritablePowerOutletRequestTypeUbiquitiSmartpower PatchedWritablePowerOutletRequestType = "ubiquiti-smartpower" + PatchedWritablePowerOutletRequestTypeUsbA PatchedWritablePowerOutletRequestType = "usb-a" + PatchedWritablePowerOutletRequestTypeUsbC PatchedWritablePowerOutletRequestType = "usb-c" + PatchedWritablePowerOutletRequestTypeUsbMicroB PatchedWritablePowerOutletRequestType = "usb-micro-b" +) + +// Defines values for PatchedWritablePowerOutletTemplateRequestFeedLeg. +const ( + PatchedWritablePowerOutletTemplateRequestFeedLegA PatchedWritablePowerOutletTemplateRequestFeedLeg = "A" + PatchedWritablePowerOutletTemplateRequestFeedLegB PatchedWritablePowerOutletTemplateRequestFeedLeg = "B" + PatchedWritablePowerOutletTemplateRequestFeedLegC PatchedWritablePowerOutletTemplateRequestFeedLeg = "C" + PatchedWritablePowerOutletTemplateRequestFeedLegEmpty PatchedWritablePowerOutletTemplateRequestFeedLeg = "" +) + +// Defines values for PatchedWritablePowerOutletTemplateRequestType. +const ( + PatchedWritablePowerOutletTemplateRequestTypeCS6360C PatchedWritablePowerOutletTemplateRequestType = "CS6360C" + PatchedWritablePowerOutletTemplateRequestTypeCS6364C PatchedWritablePowerOutletTemplateRequestType = "CS6364C" + PatchedWritablePowerOutletTemplateRequestTypeCS8164C PatchedWritablePowerOutletTemplateRequestType = "CS8164C" + PatchedWritablePowerOutletTemplateRequestTypeCS8264C PatchedWritablePowerOutletTemplateRequestType = "CS8264C" + PatchedWritablePowerOutletTemplateRequestTypeCS8364C PatchedWritablePowerOutletTemplateRequestType = "CS8364C" + PatchedWritablePowerOutletTemplateRequestTypeCS8464C PatchedWritablePowerOutletTemplateRequestType = "CS8464C" + PatchedWritablePowerOutletTemplateRequestTypeDcTerminal PatchedWritablePowerOutletTemplateRequestType = "dc-terminal" + PatchedWritablePowerOutletTemplateRequestTypeEmpty PatchedWritablePowerOutletTemplateRequestType = "" + PatchedWritablePowerOutletTemplateRequestTypeHardwired PatchedWritablePowerOutletTemplateRequestType = "hardwired" + PatchedWritablePowerOutletTemplateRequestTypeHdotCx PatchedWritablePowerOutletTemplateRequestType = "hdot-cx" + PatchedWritablePowerOutletTemplateRequestTypeIec603092pE4h PatchedWritablePowerOutletTemplateRequestType = "iec-60309-2p-e-4h" + PatchedWritablePowerOutletTemplateRequestTypeIec603092pE6h PatchedWritablePowerOutletTemplateRequestType = "iec-60309-2p-e-6h" + PatchedWritablePowerOutletTemplateRequestTypeIec603092pE9h PatchedWritablePowerOutletTemplateRequestType = "iec-60309-2p-e-9h" + PatchedWritablePowerOutletTemplateRequestTypeIec603093pE4h PatchedWritablePowerOutletTemplateRequestType = "iec-60309-3p-e-4h" + PatchedWritablePowerOutletTemplateRequestTypeIec603093pE6h PatchedWritablePowerOutletTemplateRequestType = "iec-60309-3p-e-6h" + PatchedWritablePowerOutletTemplateRequestTypeIec603093pE9h PatchedWritablePowerOutletTemplateRequestType = "iec-60309-3p-e-9h" + PatchedWritablePowerOutletTemplateRequestTypeIec603093pNE4h PatchedWritablePowerOutletTemplateRequestType = "iec-60309-3p-n-e-4h" + PatchedWritablePowerOutletTemplateRequestTypeIec603093pNE6h PatchedWritablePowerOutletTemplateRequestType = "iec-60309-3p-n-e-6h" + PatchedWritablePowerOutletTemplateRequestTypeIec603093pNE9h PatchedWritablePowerOutletTemplateRequestType = "iec-60309-3p-n-e-9h" + PatchedWritablePowerOutletTemplateRequestTypeIec60309PNE4h PatchedWritablePowerOutletTemplateRequestType = "iec-60309-p-n-e-4h" + PatchedWritablePowerOutletTemplateRequestTypeIec60309PNE6h PatchedWritablePowerOutletTemplateRequestType = "iec-60309-p-n-e-6h" + PatchedWritablePowerOutletTemplateRequestTypeIec60309PNE9h PatchedWritablePowerOutletTemplateRequestType = "iec-60309-p-n-e-9h" + PatchedWritablePowerOutletTemplateRequestTypeIec60320C13 PatchedWritablePowerOutletTemplateRequestType = "iec-60320-c13" + PatchedWritablePowerOutletTemplateRequestTypeIec60320C15 PatchedWritablePowerOutletTemplateRequestType = "iec-60320-c15" + PatchedWritablePowerOutletTemplateRequestTypeIec60320C19 PatchedWritablePowerOutletTemplateRequestType = "iec-60320-c19" + PatchedWritablePowerOutletTemplateRequestTypeIec60320C21 PatchedWritablePowerOutletTemplateRequestType = "iec-60320-c21" + PatchedWritablePowerOutletTemplateRequestTypeIec60320C5 PatchedWritablePowerOutletTemplateRequestType = "iec-60320-c5" + PatchedWritablePowerOutletTemplateRequestTypeIec60320C7 PatchedWritablePowerOutletTemplateRequestType = "iec-60320-c7" + PatchedWritablePowerOutletTemplateRequestTypeIec609061 PatchedWritablePowerOutletTemplateRequestType = "iec-60906-1" + PatchedWritablePowerOutletTemplateRequestTypeItaE PatchedWritablePowerOutletTemplateRequestType = "ita-e" + PatchedWritablePowerOutletTemplateRequestTypeItaF PatchedWritablePowerOutletTemplateRequestType = "ita-f" + PatchedWritablePowerOutletTemplateRequestTypeItaG PatchedWritablePowerOutletTemplateRequestType = "ita-g" + PatchedWritablePowerOutletTemplateRequestTypeItaH PatchedWritablePowerOutletTemplateRequestType = "ita-h" + PatchedWritablePowerOutletTemplateRequestTypeItaI PatchedWritablePowerOutletTemplateRequestType = "ita-i" + PatchedWritablePowerOutletTemplateRequestTypeItaJ PatchedWritablePowerOutletTemplateRequestType = "ita-j" + PatchedWritablePowerOutletTemplateRequestTypeItaK PatchedWritablePowerOutletTemplateRequestType = "ita-k" + PatchedWritablePowerOutletTemplateRequestTypeItaL PatchedWritablePowerOutletTemplateRequestType = "ita-l" + PatchedWritablePowerOutletTemplateRequestTypeItaM PatchedWritablePowerOutletTemplateRequestType = "ita-m" + PatchedWritablePowerOutletTemplateRequestTypeItaMultistandard PatchedWritablePowerOutletTemplateRequestType = "ita-multistandard" + PatchedWritablePowerOutletTemplateRequestTypeItaN PatchedWritablePowerOutletTemplateRequestType = "ita-n" + PatchedWritablePowerOutletTemplateRequestTypeItaO PatchedWritablePowerOutletTemplateRequestType = "ita-o" + PatchedWritablePowerOutletTemplateRequestTypeNbr1413610a PatchedWritablePowerOutletTemplateRequestType = "nbr-14136-10a" + PatchedWritablePowerOutletTemplateRequestTypeNbr1413620a PatchedWritablePowerOutletTemplateRequestType = "nbr-14136-20a" + PatchedWritablePowerOutletTemplateRequestTypeNema1030r PatchedWritablePowerOutletTemplateRequestType = "nema-10-30r" + PatchedWritablePowerOutletTemplateRequestTypeNema1050r PatchedWritablePowerOutletTemplateRequestType = "nema-10-50r" + PatchedWritablePowerOutletTemplateRequestTypeNema115r PatchedWritablePowerOutletTemplateRequestType = "nema-1-15r" + PatchedWritablePowerOutletTemplateRequestTypeNema1420r PatchedWritablePowerOutletTemplateRequestType = "nema-14-20r" + PatchedWritablePowerOutletTemplateRequestTypeNema1430r PatchedWritablePowerOutletTemplateRequestType = "nema-14-30r" + PatchedWritablePowerOutletTemplateRequestTypeNema1450r PatchedWritablePowerOutletTemplateRequestType = "nema-14-50r" + PatchedWritablePowerOutletTemplateRequestTypeNema1460r PatchedWritablePowerOutletTemplateRequestType = "nema-14-60r" + PatchedWritablePowerOutletTemplateRequestTypeNema1515r PatchedWritablePowerOutletTemplateRequestType = "nema-15-15r" + PatchedWritablePowerOutletTemplateRequestTypeNema1520r PatchedWritablePowerOutletTemplateRequestType = "nema-15-20r" + PatchedWritablePowerOutletTemplateRequestTypeNema1530r PatchedWritablePowerOutletTemplateRequestType = "nema-15-30r" + PatchedWritablePowerOutletTemplateRequestTypeNema1550r PatchedWritablePowerOutletTemplateRequestType = "nema-15-50r" + PatchedWritablePowerOutletTemplateRequestTypeNema1560r PatchedWritablePowerOutletTemplateRequestType = "nema-15-60r" + PatchedWritablePowerOutletTemplateRequestTypeNema515r PatchedWritablePowerOutletTemplateRequestType = "nema-5-15r" + PatchedWritablePowerOutletTemplateRequestTypeNema520r PatchedWritablePowerOutletTemplateRequestType = "nema-5-20r" + PatchedWritablePowerOutletTemplateRequestTypeNema530r PatchedWritablePowerOutletTemplateRequestType = "nema-5-30r" + PatchedWritablePowerOutletTemplateRequestTypeNema550r PatchedWritablePowerOutletTemplateRequestType = "nema-5-50r" + PatchedWritablePowerOutletTemplateRequestTypeNema615r PatchedWritablePowerOutletTemplateRequestType = "nema-6-15r" + PatchedWritablePowerOutletTemplateRequestTypeNema620r PatchedWritablePowerOutletTemplateRequestType = "nema-6-20r" + PatchedWritablePowerOutletTemplateRequestTypeNema630r PatchedWritablePowerOutletTemplateRequestType = "nema-6-30r" + PatchedWritablePowerOutletTemplateRequestTypeNema650r PatchedWritablePowerOutletTemplateRequestType = "nema-6-50r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL1030r PatchedWritablePowerOutletTemplateRequestType = "nema-l10-30r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL115r PatchedWritablePowerOutletTemplateRequestType = "nema-l1-15r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL1420r PatchedWritablePowerOutletTemplateRequestType = "nema-l14-20r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL1430r PatchedWritablePowerOutletTemplateRequestType = "nema-l14-30r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL1450r PatchedWritablePowerOutletTemplateRequestType = "nema-l14-50r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL1460r PatchedWritablePowerOutletTemplateRequestType = "nema-l14-60r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL1520r PatchedWritablePowerOutletTemplateRequestType = "nema-l15-20r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL1530r PatchedWritablePowerOutletTemplateRequestType = "nema-l15-30r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL1550r PatchedWritablePowerOutletTemplateRequestType = "nema-l15-50r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL1560r PatchedWritablePowerOutletTemplateRequestType = "nema-l15-60r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL2120r PatchedWritablePowerOutletTemplateRequestType = "nema-l21-20r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL2130r PatchedWritablePowerOutletTemplateRequestType = "nema-l21-30r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL2230r PatchedWritablePowerOutletTemplateRequestType = "nema-l22-30r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL515r PatchedWritablePowerOutletTemplateRequestType = "nema-l5-15r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL520r PatchedWritablePowerOutletTemplateRequestType = "nema-l5-20r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL530r PatchedWritablePowerOutletTemplateRequestType = "nema-l5-30r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL550r PatchedWritablePowerOutletTemplateRequestType = "nema-l5-50r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL615r PatchedWritablePowerOutletTemplateRequestType = "nema-l6-15r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL620r PatchedWritablePowerOutletTemplateRequestType = "nema-l6-20r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL630r PatchedWritablePowerOutletTemplateRequestType = "nema-l6-30r" + PatchedWritablePowerOutletTemplateRequestTypeNemaL650r PatchedWritablePowerOutletTemplateRequestType = "nema-l6-50r" + PatchedWritablePowerOutletTemplateRequestTypeNeutrikPowercon20a PatchedWritablePowerOutletTemplateRequestType = "neutrik-powercon-20a" + PatchedWritablePowerOutletTemplateRequestTypeNeutrikPowercon32a PatchedWritablePowerOutletTemplateRequestType = "neutrik-powercon-32a" + PatchedWritablePowerOutletTemplateRequestTypeNeutrikPowerconTrue1 PatchedWritablePowerOutletTemplateRequestType = "neutrik-powercon-true1" + PatchedWritablePowerOutletTemplateRequestTypeNeutrikPowerconTrue1Top PatchedWritablePowerOutletTemplateRequestType = "neutrik-powercon-true1-top" + PatchedWritablePowerOutletTemplateRequestTypeOther PatchedWritablePowerOutletTemplateRequestType = "other" + PatchedWritablePowerOutletTemplateRequestTypeSafDGrid PatchedWritablePowerOutletTemplateRequestType = "saf-d-grid" + PatchedWritablePowerOutletTemplateRequestTypeUbiquitiSmartpower PatchedWritablePowerOutletTemplateRequestType = "ubiquiti-smartpower" + PatchedWritablePowerOutletTemplateRequestTypeUsbA PatchedWritablePowerOutletTemplateRequestType = "usb-a" + PatchedWritablePowerOutletTemplateRequestTypeUsbC PatchedWritablePowerOutletTemplateRequestType = "usb-c" + PatchedWritablePowerOutletTemplateRequestTypeUsbMicroB PatchedWritablePowerOutletTemplateRequestType = "usb-micro-b" +) + +// Defines values for PatchedWritablePowerPortRequestType. +const ( + PatchedWritablePowerPortRequestTypeCs6361c PatchedWritablePowerPortRequestType = "cs6361c" + PatchedWritablePowerPortRequestTypeCs6365c PatchedWritablePowerPortRequestType = "cs6365c" + PatchedWritablePowerPortRequestTypeCs8165c PatchedWritablePowerPortRequestType = "cs8165c" + PatchedWritablePowerPortRequestTypeCs8265c PatchedWritablePowerPortRequestType = "cs8265c" + PatchedWritablePowerPortRequestTypeCs8365c PatchedWritablePowerPortRequestType = "cs8365c" + PatchedWritablePowerPortRequestTypeCs8465c PatchedWritablePowerPortRequestType = "cs8465c" + PatchedWritablePowerPortRequestTypeDcTerminal PatchedWritablePowerPortRequestType = "dc-terminal" + PatchedWritablePowerPortRequestTypeEmpty PatchedWritablePowerPortRequestType = "" + PatchedWritablePowerPortRequestTypeHardwired PatchedWritablePowerPortRequestType = "hardwired" + PatchedWritablePowerPortRequestTypeIec603092pE4h PatchedWritablePowerPortRequestType = "iec-60309-2p-e-4h" + PatchedWritablePowerPortRequestTypeIec603092pE6h PatchedWritablePowerPortRequestType = "iec-60309-2p-e-6h" + PatchedWritablePowerPortRequestTypeIec603092pE9h PatchedWritablePowerPortRequestType = "iec-60309-2p-e-9h" + PatchedWritablePowerPortRequestTypeIec603093pE4h PatchedWritablePowerPortRequestType = "iec-60309-3p-e-4h" + PatchedWritablePowerPortRequestTypeIec603093pE6h PatchedWritablePowerPortRequestType = "iec-60309-3p-e-6h" + PatchedWritablePowerPortRequestTypeIec603093pE9h PatchedWritablePowerPortRequestType = "iec-60309-3p-e-9h" + PatchedWritablePowerPortRequestTypeIec603093pNE4h PatchedWritablePowerPortRequestType = "iec-60309-3p-n-e-4h" + PatchedWritablePowerPortRequestTypeIec603093pNE6h PatchedWritablePowerPortRequestType = "iec-60309-3p-n-e-6h" + PatchedWritablePowerPortRequestTypeIec603093pNE9h PatchedWritablePowerPortRequestType = "iec-60309-3p-n-e-9h" + PatchedWritablePowerPortRequestTypeIec60309PNE4h PatchedWritablePowerPortRequestType = "iec-60309-p-n-e-4h" + PatchedWritablePowerPortRequestTypeIec60309PNE6h PatchedWritablePowerPortRequestType = "iec-60309-p-n-e-6h" + PatchedWritablePowerPortRequestTypeIec60309PNE9h PatchedWritablePowerPortRequestType = "iec-60309-p-n-e-9h" + PatchedWritablePowerPortRequestTypeIec60320C14 PatchedWritablePowerPortRequestType = "iec-60320-c14" + PatchedWritablePowerPortRequestTypeIec60320C16 PatchedWritablePowerPortRequestType = "iec-60320-c16" + PatchedWritablePowerPortRequestTypeIec60320C20 PatchedWritablePowerPortRequestType = "iec-60320-c20" + PatchedWritablePowerPortRequestTypeIec60320C22 PatchedWritablePowerPortRequestType = "iec-60320-c22" + PatchedWritablePowerPortRequestTypeIec60320C6 PatchedWritablePowerPortRequestType = "iec-60320-c6" + PatchedWritablePowerPortRequestTypeIec60320C8 PatchedWritablePowerPortRequestType = "iec-60320-c8" + PatchedWritablePowerPortRequestTypeIec609061 PatchedWritablePowerPortRequestType = "iec-60906-1" + PatchedWritablePowerPortRequestTypeItaC PatchedWritablePowerPortRequestType = "ita-c" + PatchedWritablePowerPortRequestTypeItaE PatchedWritablePowerPortRequestType = "ita-e" + PatchedWritablePowerPortRequestTypeItaEf PatchedWritablePowerPortRequestType = "ita-ef" + PatchedWritablePowerPortRequestTypeItaF PatchedWritablePowerPortRequestType = "ita-f" + PatchedWritablePowerPortRequestTypeItaG PatchedWritablePowerPortRequestType = "ita-g" + PatchedWritablePowerPortRequestTypeItaH PatchedWritablePowerPortRequestType = "ita-h" + PatchedWritablePowerPortRequestTypeItaI PatchedWritablePowerPortRequestType = "ita-i" + PatchedWritablePowerPortRequestTypeItaJ PatchedWritablePowerPortRequestType = "ita-j" + PatchedWritablePowerPortRequestTypeItaK PatchedWritablePowerPortRequestType = "ita-k" + PatchedWritablePowerPortRequestTypeItaL PatchedWritablePowerPortRequestType = "ita-l" + PatchedWritablePowerPortRequestTypeItaM PatchedWritablePowerPortRequestType = "ita-m" + PatchedWritablePowerPortRequestTypeItaN PatchedWritablePowerPortRequestType = "ita-n" + PatchedWritablePowerPortRequestTypeItaO PatchedWritablePowerPortRequestType = "ita-o" + PatchedWritablePowerPortRequestTypeNbr1413610a PatchedWritablePowerPortRequestType = "nbr-14136-10a" + PatchedWritablePowerPortRequestTypeNbr1413620a PatchedWritablePowerPortRequestType = "nbr-14136-20a" + PatchedWritablePowerPortRequestTypeNema1030p PatchedWritablePowerPortRequestType = "nema-10-30p" + PatchedWritablePowerPortRequestTypeNema1050p PatchedWritablePowerPortRequestType = "nema-10-50p" + PatchedWritablePowerPortRequestTypeNema115p PatchedWritablePowerPortRequestType = "nema-1-15p" + PatchedWritablePowerPortRequestTypeNema1420p PatchedWritablePowerPortRequestType = "nema-14-20p" + PatchedWritablePowerPortRequestTypeNema1430p PatchedWritablePowerPortRequestType = "nema-14-30p" + PatchedWritablePowerPortRequestTypeNema1450p PatchedWritablePowerPortRequestType = "nema-14-50p" + PatchedWritablePowerPortRequestTypeNema1460p PatchedWritablePowerPortRequestType = "nema-14-60p" + PatchedWritablePowerPortRequestTypeNema1515p PatchedWritablePowerPortRequestType = "nema-15-15p" + PatchedWritablePowerPortRequestTypeNema1520p PatchedWritablePowerPortRequestType = "nema-15-20p" + PatchedWritablePowerPortRequestTypeNema1530p PatchedWritablePowerPortRequestType = "nema-15-30p" + PatchedWritablePowerPortRequestTypeNema1550p PatchedWritablePowerPortRequestType = "nema-15-50p" + PatchedWritablePowerPortRequestTypeNema1560p PatchedWritablePowerPortRequestType = "nema-15-60p" + PatchedWritablePowerPortRequestTypeNema515p PatchedWritablePowerPortRequestType = "nema-5-15p" + PatchedWritablePowerPortRequestTypeNema520p PatchedWritablePowerPortRequestType = "nema-5-20p" + PatchedWritablePowerPortRequestTypeNema530p PatchedWritablePowerPortRequestType = "nema-5-30p" + PatchedWritablePowerPortRequestTypeNema550p PatchedWritablePowerPortRequestType = "nema-5-50p" + PatchedWritablePowerPortRequestTypeNema615p PatchedWritablePowerPortRequestType = "nema-6-15p" + PatchedWritablePowerPortRequestTypeNema620p PatchedWritablePowerPortRequestType = "nema-6-20p" + PatchedWritablePowerPortRequestTypeNema630p PatchedWritablePowerPortRequestType = "nema-6-30p" + PatchedWritablePowerPortRequestTypeNema650p PatchedWritablePowerPortRequestType = "nema-6-50p" + PatchedWritablePowerPortRequestTypeNemaL1030p PatchedWritablePowerPortRequestType = "nema-l10-30p" + PatchedWritablePowerPortRequestTypeNemaL115p PatchedWritablePowerPortRequestType = "nema-l1-15p" + PatchedWritablePowerPortRequestTypeNemaL1420p PatchedWritablePowerPortRequestType = "nema-l14-20p" + PatchedWritablePowerPortRequestTypeNemaL1430p PatchedWritablePowerPortRequestType = "nema-l14-30p" + PatchedWritablePowerPortRequestTypeNemaL1450p PatchedWritablePowerPortRequestType = "nema-l14-50p" + PatchedWritablePowerPortRequestTypeNemaL1460p PatchedWritablePowerPortRequestType = "nema-l14-60p" + PatchedWritablePowerPortRequestTypeNemaL1520p PatchedWritablePowerPortRequestType = "nema-l15-20p" + PatchedWritablePowerPortRequestTypeNemaL1530p PatchedWritablePowerPortRequestType = "nema-l15-30p" + PatchedWritablePowerPortRequestTypeNemaL1550p PatchedWritablePowerPortRequestType = "nema-l15-50p" + PatchedWritablePowerPortRequestTypeNemaL1560p PatchedWritablePowerPortRequestType = "nema-l15-60p" + PatchedWritablePowerPortRequestTypeNemaL2120p PatchedWritablePowerPortRequestType = "nema-l21-20p" + PatchedWritablePowerPortRequestTypeNemaL2130p PatchedWritablePowerPortRequestType = "nema-l21-30p" + PatchedWritablePowerPortRequestTypeNemaL2230p PatchedWritablePowerPortRequestType = "nema-l22-30p" + PatchedWritablePowerPortRequestTypeNemaL515p PatchedWritablePowerPortRequestType = "nema-l5-15p" + PatchedWritablePowerPortRequestTypeNemaL520p PatchedWritablePowerPortRequestType = "nema-l5-20p" + PatchedWritablePowerPortRequestTypeNemaL530p PatchedWritablePowerPortRequestType = "nema-l5-30p" + PatchedWritablePowerPortRequestTypeNemaL550p PatchedWritablePowerPortRequestType = "nema-l5-50p" + PatchedWritablePowerPortRequestTypeNemaL615p PatchedWritablePowerPortRequestType = "nema-l6-15p" + PatchedWritablePowerPortRequestTypeNemaL620p PatchedWritablePowerPortRequestType = "nema-l6-20p" + PatchedWritablePowerPortRequestTypeNemaL630p PatchedWritablePowerPortRequestType = "nema-l6-30p" + PatchedWritablePowerPortRequestTypeNemaL650p PatchedWritablePowerPortRequestType = "nema-l6-50p" + PatchedWritablePowerPortRequestTypeNeutrikPowercon20 PatchedWritablePowerPortRequestType = "neutrik-powercon-20" + PatchedWritablePowerPortRequestTypeNeutrikPowercon32 PatchedWritablePowerPortRequestType = "neutrik-powercon-32" + PatchedWritablePowerPortRequestTypeNeutrikPowerconTrue1 PatchedWritablePowerPortRequestType = "neutrik-powercon-true1" + PatchedWritablePowerPortRequestTypeNeutrikPowerconTrue1Top PatchedWritablePowerPortRequestType = "neutrik-powercon-true1-top" + PatchedWritablePowerPortRequestTypeOther PatchedWritablePowerPortRequestType = "other" + PatchedWritablePowerPortRequestTypeSafDGrid PatchedWritablePowerPortRequestType = "saf-d-grid" + PatchedWritablePowerPortRequestTypeUbiquitiSmartpower PatchedWritablePowerPortRequestType = "ubiquiti-smartpower" + PatchedWritablePowerPortRequestTypeUsb3B PatchedWritablePowerPortRequestType = "usb-3-b" + PatchedWritablePowerPortRequestTypeUsb3MicroB PatchedWritablePowerPortRequestType = "usb-3-micro-b" + PatchedWritablePowerPortRequestTypeUsbA PatchedWritablePowerPortRequestType = "usb-a" + PatchedWritablePowerPortRequestTypeUsbB PatchedWritablePowerPortRequestType = "usb-b" + PatchedWritablePowerPortRequestTypeUsbC PatchedWritablePowerPortRequestType = "usb-c" + PatchedWritablePowerPortRequestTypeUsbMicroA PatchedWritablePowerPortRequestType = "usb-micro-a" + PatchedWritablePowerPortRequestTypeUsbMicroAb PatchedWritablePowerPortRequestType = "usb-micro-ab" + PatchedWritablePowerPortRequestTypeUsbMicroB PatchedWritablePowerPortRequestType = "usb-micro-b" + PatchedWritablePowerPortRequestTypeUsbMiniA PatchedWritablePowerPortRequestType = "usb-mini-a" + PatchedWritablePowerPortRequestTypeUsbMiniB PatchedWritablePowerPortRequestType = "usb-mini-b" +) + +// Defines values for PatchedWritablePowerPortTemplateRequestType. +const ( + PatchedWritablePowerPortTemplateRequestTypeCs6361c PatchedWritablePowerPortTemplateRequestType = "cs6361c" + PatchedWritablePowerPortTemplateRequestTypeCs6365c PatchedWritablePowerPortTemplateRequestType = "cs6365c" + PatchedWritablePowerPortTemplateRequestTypeCs8165c PatchedWritablePowerPortTemplateRequestType = "cs8165c" + PatchedWritablePowerPortTemplateRequestTypeCs8265c PatchedWritablePowerPortTemplateRequestType = "cs8265c" + PatchedWritablePowerPortTemplateRequestTypeCs8365c PatchedWritablePowerPortTemplateRequestType = "cs8365c" + PatchedWritablePowerPortTemplateRequestTypeCs8465c PatchedWritablePowerPortTemplateRequestType = "cs8465c" + PatchedWritablePowerPortTemplateRequestTypeDcTerminal PatchedWritablePowerPortTemplateRequestType = "dc-terminal" + PatchedWritablePowerPortTemplateRequestTypeEmpty PatchedWritablePowerPortTemplateRequestType = "" + PatchedWritablePowerPortTemplateRequestTypeHardwired PatchedWritablePowerPortTemplateRequestType = "hardwired" + PatchedWritablePowerPortTemplateRequestTypeIec603092pE4h PatchedWritablePowerPortTemplateRequestType = "iec-60309-2p-e-4h" + PatchedWritablePowerPortTemplateRequestTypeIec603092pE6h PatchedWritablePowerPortTemplateRequestType = "iec-60309-2p-e-6h" + PatchedWritablePowerPortTemplateRequestTypeIec603092pE9h PatchedWritablePowerPortTemplateRequestType = "iec-60309-2p-e-9h" + PatchedWritablePowerPortTemplateRequestTypeIec603093pE4h PatchedWritablePowerPortTemplateRequestType = "iec-60309-3p-e-4h" + PatchedWritablePowerPortTemplateRequestTypeIec603093pE6h PatchedWritablePowerPortTemplateRequestType = "iec-60309-3p-e-6h" + PatchedWritablePowerPortTemplateRequestTypeIec603093pE9h PatchedWritablePowerPortTemplateRequestType = "iec-60309-3p-e-9h" + PatchedWritablePowerPortTemplateRequestTypeIec603093pNE4h PatchedWritablePowerPortTemplateRequestType = "iec-60309-3p-n-e-4h" + PatchedWritablePowerPortTemplateRequestTypeIec603093pNE6h PatchedWritablePowerPortTemplateRequestType = "iec-60309-3p-n-e-6h" + PatchedWritablePowerPortTemplateRequestTypeIec603093pNE9h PatchedWritablePowerPortTemplateRequestType = "iec-60309-3p-n-e-9h" + PatchedWritablePowerPortTemplateRequestTypeIec60309PNE4h PatchedWritablePowerPortTemplateRequestType = "iec-60309-p-n-e-4h" + PatchedWritablePowerPortTemplateRequestTypeIec60309PNE6h PatchedWritablePowerPortTemplateRequestType = "iec-60309-p-n-e-6h" + PatchedWritablePowerPortTemplateRequestTypeIec60309PNE9h PatchedWritablePowerPortTemplateRequestType = "iec-60309-p-n-e-9h" + PatchedWritablePowerPortTemplateRequestTypeIec60320C14 PatchedWritablePowerPortTemplateRequestType = "iec-60320-c14" + PatchedWritablePowerPortTemplateRequestTypeIec60320C16 PatchedWritablePowerPortTemplateRequestType = "iec-60320-c16" + PatchedWritablePowerPortTemplateRequestTypeIec60320C20 PatchedWritablePowerPortTemplateRequestType = "iec-60320-c20" + PatchedWritablePowerPortTemplateRequestTypeIec60320C22 PatchedWritablePowerPortTemplateRequestType = "iec-60320-c22" + PatchedWritablePowerPortTemplateRequestTypeIec60320C6 PatchedWritablePowerPortTemplateRequestType = "iec-60320-c6" + PatchedWritablePowerPortTemplateRequestTypeIec60320C8 PatchedWritablePowerPortTemplateRequestType = "iec-60320-c8" + PatchedWritablePowerPortTemplateRequestTypeIec609061 PatchedWritablePowerPortTemplateRequestType = "iec-60906-1" + PatchedWritablePowerPortTemplateRequestTypeItaC PatchedWritablePowerPortTemplateRequestType = "ita-c" + PatchedWritablePowerPortTemplateRequestTypeItaE PatchedWritablePowerPortTemplateRequestType = "ita-e" + PatchedWritablePowerPortTemplateRequestTypeItaEf PatchedWritablePowerPortTemplateRequestType = "ita-ef" + PatchedWritablePowerPortTemplateRequestTypeItaF PatchedWritablePowerPortTemplateRequestType = "ita-f" + PatchedWritablePowerPortTemplateRequestTypeItaG PatchedWritablePowerPortTemplateRequestType = "ita-g" + PatchedWritablePowerPortTemplateRequestTypeItaH PatchedWritablePowerPortTemplateRequestType = "ita-h" + PatchedWritablePowerPortTemplateRequestTypeItaI PatchedWritablePowerPortTemplateRequestType = "ita-i" + PatchedWritablePowerPortTemplateRequestTypeItaJ PatchedWritablePowerPortTemplateRequestType = "ita-j" + PatchedWritablePowerPortTemplateRequestTypeItaK PatchedWritablePowerPortTemplateRequestType = "ita-k" + PatchedWritablePowerPortTemplateRequestTypeItaL PatchedWritablePowerPortTemplateRequestType = "ita-l" + PatchedWritablePowerPortTemplateRequestTypeItaM PatchedWritablePowerPortTemplateRequestType = "ita-m" + PatchedWritablePowerPortTemplateRequestTypeItaN PatchedWritablePowerPortTemplateRequestType = "ita-n" + PatchedWritablePowerPortTemplateRequestTypeItaO PatchedWritablePowerPortTemplateRequestType = "ita-o" + PatchedWritablePowerPortTemplateRequestTypeNbr1413610a PatchedWritablePowerPortTemplateRequestType = "nbr-14136-10a" + PatchedWritablePowerPortTemplateRequestTypeNbr1413620a PatchedWritablePowerPortTemplateRequestType = "nbr-14136-20a" + PatchedWritablePowerPortTemplateRequestTypeNema1030p PatchedWritablePowerPortTemplateRequestType = "nema-10-30p" + PatchedWritablePowerPortTemplateRequestTypeNema1050p PatchedWritablePowerPortTemplateRequestType = "nema-10-50p" + PatchedWritablePowerPortTemplateRequestTypeNema115p PatchedWritablePowerPortTemplateRequestType = "nema-1-15p" + PatchedWritablePowerPortTemplateRequestTypeNema1420p PatchedWritablePowerPortTemplateRequestType = "nema-14-20p" + PatchedWritablePowerPortTemplateRequestTypeNema1430p PatchedWritablePowerPortTemplateRequestType = "nema-14-30p" + PatchedWritablePowerPortTemplateRequestTypeNema1450p PatchedWritablePowerPortTemplateRequestType = "nema-14-50p" + PatchedWritablePowerPortTemplateRequestTypeNema1460p PatchedWritablePowerPortTemplateRequestType = "nema-14-60p" + PatchedWritablePowerPortTemplateRequestTypeNema1515p PatchedWritablePowerPortTemplateRequestType = "nema-15-15p" + PatchedWritablePowerPortTemplateRequestTypeNema1520p PatchedWritablePowerPortTemplateRequestType = "nema-15-20p" + PatchedWritablePowerPortTemplateRequestTypeNema1530p PatchedWritablePowerPortTemplateRequestType = "nema-15-30p" + PatchedWritablePowerPortTemplateRequestTypeNema1550p PatchedWritablePowerPortTemplateRequestType = "nema-15-50p" + PatchedWritablePowerPortTemplateRequestTypeNema1560p PatchedWritablePowerPortTemplateRequestType = "nema-15-60p" + PatchedWritablePowerPortTemplateRequestTypeNema515p PatchedWritablePowerPortTemplateRequestType = "nema-5-15p" + PatchedWritablePowerPortTemplateRequestTypeNema520p PatchedWritablePowerPortTemplateRequestType = "nema-5-20p" + PatchedWritablePowerPortTemplateRequestTypeNema530p PatchedWritablePowerPortTemplateRequestType = "nema-5-30p" + PatchedWritablePowerPortTemplateRequestTypeNema550p PatchedWritablePowerPortTemplateRequestType = "nema-5-50p" + PatchedWritablePowerPortTemplateRequestTypeNema615p PatchedWritablePowerPortTemplateRequestType = "nema-6-15p" + PatchedWritablePowerPortTemplateRequestTypeNema620p PatchedWritablePowerPortTemplateRequestType = "nema-6-20p" + PatchedWritablePowerPortTemplateRequestTypeNema630p PatchedWritablePowerPortTemplateRequestType = "nema-6-30p" + PatchedWritablePowerPortTemplateRequestTypeNema650p PatchedWritablePowerPortTemplateRequestType = "nema-6-50p" + PatchedWritablePowerPortTemplateRequestTypeNemaL1030p PatchedWritablePowerPortTemplateRequestType = "nema-l10-30p" + PatchedWritablePowerPortTemplateRequestTypeNemaL115p PatchedWritablePowerPortTemplateRequestType = "nema-l1-15p" + PatchedWritablePowerPortTemplateRequestTypeNemaL1420p PatchedWritablePowerPortTemplateRequestType = "nema-l14-20p" + PatchedWritablePowerPortTemplateRequestTypeNemaL1430p PatchedWritablePowerPortTemplateRequestType = "nema-l14-30p" + PatchedWritablePowerPortTemplateRequestTypeNemaL1450p PatchedWritablePowerPortTemplateRequestType = "nema-l14-50p" + PatchedWritablePowerPortTemplateRequestTypeNemaL1460p PatchedWritablePowerPortTemplateRequestType = "nema-l14-60p" + PatchedWritablePowerPortTemplateRequestTypeNemaL1520p PatchedWritablePowerPortTemplateRequestType = "nema-l15-20p" + PatchedWritablePowerPortTemplateRequestTypeNemaL1530p PatchedWritablePowerPortTemplateRequestType = "nema-l15-30p" + PatchedWritablePowerPortTemplateRequestTypeNemaL1550p PatchedWritablePowerPortTemplateRequestType = "nema-l15-50p" + PatchedWritablePowerPortTemplateRequestTypeNemaL1560p PatchedWritablePowerPortTemplateRequestType = "nema-l15-60p" + PatchedWritablePowerPortTemplateRequestTypeNemaL2120p PatchedWritablePowerPortTemplateRequestType = "nema-l21-20p" + PatchedWritablePowerPortTemplateRequestTypeNemaL2130p PatchedWritablePowerPortTemplateRequestType = "nema-l21-30p" + PatchedWritablePowerPortTemplateRequestTypeNemaL2230p PatchedWritablePowerPortTemplateRequestType = "nema-l22-30p" + PatchedWritablePowerPortTemplateRequestTypeNemaL515p PatchedWritablePowerPortTemplateRequestType = "nema-l5-15p" + PatchedWritablePowerPortTemplateRequestTypeNemaL520p PatchedWritablePowerPortTemplateRequestType = "nema-l5-20p" + PatchedWritablePowerPortTemplateRequestTypeNemaL530p PatchedWritablePowerPortTemplateRequestType = "nema-l5-30p" + PatchedWritablePowerPortTemplateRequestTypeNemaL550p PatchedWritablePowerPortTemplateRequestType = "nema-l5-50p" + PatchedWritablePowerPortTemplateRequestTypeNemaL615p PatchedWritablePowerPortTemplateRequestType = "nema-l6-15p" + PatchedWritablePowerPortTemplateRequestTypeNemaL620p PatchedWritablePowerPortTemplateRequestType = "nema-l6-20p" + PatchedWritablePowerPortTemplateRequestTypeNemaL630p PatchedWritablePowerPortTemplateRequestType = "nema-l6-30p" + PatchedWritablePowerPortTemplateRequestTypeNemaL650p PatchedWritablePowerPortTemplateRequestType = "nema-l6-50p" + PatchedWritablePowerPortTemplateRequestTypeNeutrikPowercon20 PatchedWritablePowerPortTemplateRequestType = "neutrik-powercon-20" + PatchedWritablePowerPortTemplateRequestTypeNeutrikPowercon32 PatchedWritablePowerPortTemplateRequestType = "neutrik-powercon-32" + PatchedWritablePowerPortTemplateRequestTypeNeutrikPowerconTrue1 PatchedWritablePowerPortTemplateRequestType = "neutrik-powercon-true1" + PatchedWritablePowerPortTemplateRequestTypeNeutrikPowerconTrue1Top PatchedWritablePowerPortTemplateRequestType = "neutrik-powercon-true1-top" + PatchedWritablePowerPortTemplateRequestTypeOther PatchedWritablePowerPortTemplateRequestType = "other" + PatchedWritablePowerPortTemplateRequestTypeSafDGrid PatchedWritablePowerPortTemplateRequestType = "saf-d-grid" + PatchedWritablePowerPortTemplateRequestTypeUbiquitiSmartpower PatchedWritablePowerPortTemplateRequestType = "ubiquiti-smartpower" + PatchedWritablePowerPortTemplateRequestTypeUsb3B PatchedWritablePowerPortTemplateRequestType = "usb-3-b" + PatchedWritablePowerPortTemplateRequestTypeUsb3MicroB PatchedWritablePowerPortTemplateRequestType = "usb-3-micro-b" + PatchedWritablePowerPortTemplateRequestTypeUsbA PatchedWritablePowerPortTemplateRequestType = "usb-a" + PatchedWritablePowerPortTemplateRequestTypeUsbB PatchedWritablePowerPortTemplateRequestType = "usb-b" + PatchedWritablePowerPortTemplateRequestTypeUsbC PatchedWritablePowerPortTemplateRequestType = "usb-c" + PatchedWritablePowerPortTemplateRequestTypeUsbMicroA PatchedWritablePowerPortTemplateRequestType = "usb-micro-a" + PatchedWritablePowerPortTemplateRequestTypeUsbMicroAb PatchedWritablePowerPortTemplateRequestType = "usb-micro-ab" + PatchedWritablePowerPortTemplateRequestTypeUsbMicroB PatchedWritablePowerPortTemplateRequestType = "usb-micro-b" + PatchedWritablePowerPortTemplateRequestTypeUsbMiniA PatchedWritablePowerPortTemplateRequestType = "usb-mini-a" + PatchedWritablePowerPortTemplateRequestTypeUsbMiniB PatchedWritablePowerPortTemplateRequestType = "usb-mini-b" +) + +// Defines values for PatchedWritablePrefixRequestStatus. +const ( + PatchedWritablePrefixRequestStatusActive PatchedWritablePrefixRequestStatus = "active" + PatchedWritablePrefixRequestStatusContainer PatchedWritablePrefixRequestStatus = "container" + PatchedWritablePrefixRequestStatusDeprecated PatchedWritablePrefixRequestStatus = "deprecated" + PatchedWritablePrefixRequestStatusReserved PatchedWritablePrefixRequestStatus = "reserved" +) + +// Defines values for PatchedWritableRackRequestOuterUnit. +const ( + PatchedWritableRackRequestOuterUnitEmpty PatchedWritableRackRequestOuterUnit = "" + PatchedWritableRackRequestOuterUnitIn PatchedWritableRackRequestOuterUnit = "in" + PatchedWritableRackRequestOuterUnitMm PatchedWritableRackRequestOuterUnit = "mm" +) + +// Defines values for PatchedWritableRackRequestStatus. +const ( + PatchedWritableRackRequestStatusActive PatchedWritableRackRequestStatus = "active" + PatchedWritableRackRequestStatusAvailable PatchedWritableRackRequestStatus = "available" + PatchedWritableRackRequestStatusDeprecated PatchedWritableRackRequestStatus = "deprecated" + PatchedWritableRackRequestStatusPlanned PatchedWritableRackRequestStatus = "planned" + PatchedWritableRackRequestStatusReserved PatchedWritableRackRequestStatus = "reserved" +) + +// Defines values for PatchedWritableRackRequestType. +const ( + PatchedWritableRackRequestTypeEmpty PatchedWritableRackRequestType = "" + PatchedWritableRackRequestTypeN2PostFrame PatchedWritableRackRequestType = "2-post-frame" + PatchedWritableRackRequestTypeN4PostCabinet PatchedWritableRackRequestType = "4-post-cabinet" + PatchedWritableRackRequestTypeN4PostFrame PatchedWritableRackRequestType = "4-post-frame" + PatchedWritableRackRequestTypeWallCabinet PatchedWritableRackRequestType = "wall-cabinet" + PatchedWritableRackRequestTypeWallCabinetVertical PatchedWritableRackRequestType = "wall-cabinet-vertical" + PatchedWritableRackRequestTypeWallFrame PatchedWritableRackRequestType = "wall-frame" + PatchedWritableRackRequestTypeWallFrameVertical PatchedWritableRackRequestType = "wall-frame-vertical" +) + +// Defines values for PatchedWritableRackRequestWeightUnit. +const ( + PatchedWritableRackRequestWeightUnitEmpty PatchedWritableRackRequestWeightUnit = "" + PatchedWritableRackRequestWeightUnitG PatchedWritableRackRequestWeightUnit = "g" + PatchedWritableRackRequestWeightUnitKg PatchedWritableRackRequestWeightUnit = "kg" + PatchedWritableRackRequestWeightUnitLb PatchedWritableRackRequestWeightUnit = "lb" + PatchedWritableRackRequestWeightUnitOz PatchedWritableRackRequestWeightUnit = "oz" +) + +// Defines values for PatchedWritableRackRequestWidth. +const ( + PatchedWritableRackRequestWidthN10 PatchedWritableRackRequestWidth = 10 + PatchedWritableRackRequestWidthN19 PatchedWritableRackRequestWidth = 19 + PatchedWritableRackRequestWidthN21 PatchedWritableRackRequestWidth = 21 + PatchedWritableRackRequestWidthN23 PatchedWritableRackRequestWidth = 23 +) + +// Defines values for PatchedWritableRearPortRequestType. +const ( + PatchedWritableRearPortRequestTypeBnc PatchedWritableRearPortRequestType = "bnc" + PatchedWritableRearPortRequestTypeCs PatchedWritableRearPortRequestType = "cs" + PatchedWritableRearPortRequestTypeF PatchedWritableRearPortRequestType = "f" + PatchedWritableRearPortRequestTypeFc PatchedWritableRearPortRequestType = "fc" + PatchedWritableRearPortRequestTypeGg45 PatchedWritableRearPortRequestType = "gg45" + PatchedWritableRearPortRequestTypeLc PatchedWritableRearPortRequestType = "lc" + PatchedWritableRearPortRequestTypeLcApc PatchedWritableRearPortRequestType = "lc-apc" + PatchedWritableRearPortRequestTypeLcPc PatchedWritableRearPortRequestType = "lc-pc" + PatchedWritableRearPortRequestTypeLcUpc PatchedWritableRearPortRequestType = "lc-upc" + PatchedWritableRearPortRequestTypeLsh PatchedWritableRearPortRequestType = "lsh" + PatchedWritableRearPortRequestTypeLshApc PatchedWritableRearPortRequestType = "lsh-apc" + PatchedWritableRearPortRequestTypeLshPc PatchedWritableRearPortRequestType = "lsh-pc" + PatchedWritableRearPortRequestTypeLshUpc PatchedWritableRearPortRequestType = "lsh-upc" + PatchedWritableRearPortRequestTypeLx5 PatchedWritableRearPortRequestType = "lx5" + PatchedWritableRearPortRequestTypeLx5Apc PatchedWritableRearPortRequestType = "lx5-apc" + PatchedWritableRearPortRequestTypeLx5Pc PatchedWritableRearPortRequestType = "lx5-pc" + PatchedWritableRearPortRequestTypeLx5Upc PatchedWritableRearPortRequestType = "lx5-upc" + PatchedWritableRearPortRequestTypeMpo PatchedWritableRearPortRequestType = "mpo" + PatchedWritableRearPortRequestTypeMrj21 PatchedWritableRearPortRequestType = "mrj21" + PatchedWritableRearPortRequestTypeMtrj PatchedWritableRearPortRequestType = "mtrj" + PatchedWritableRearPortRequestTypeN PatchedWritableRearPortRequestType = "n" + PatchedWritableRearPortRequestTypeN110Punch PatchedWritableRearPortRequestType = "110-punch" + PatchedWritableRearPortRequestTypeN4p2c PatchedWritableRearPortRequestType = "4p2c" + PatchedWritableRearPortRequestTypeN4p4c PatchedWritableRearPortRequestType = "4p4c" + PatchedWritableRearPortRequestTypeN6p2c PatchedWritableRearPortRequestType = "6p2c" + PatchedWritableRearPortRequestTypeN6p4c PatchedWritableRearPortRequestType = "6p4c" + PatchedWritableRearPortRequestTypeN6p6c PatchedWritableRearPortRequestType = "6p6c" + PatchedWritableRearPortRequestTypeN8p2c PatchedWritableRearPortRequestType = "8p2c" + PatchedWritableRearPortRequestTypeN8p4c PatchedWritableRearPortRequestType = "8p4c" + PatchedWritableRearPortRequestTypeN8p6c PatchedWritableRearPortRequestType = "8p6c" + PatchedWritableRearPortRequestTypeN8p8c PatchedWritableRearPortRequestType = "8p8c" + PatchedWritableRearPortRequestTypeOther PatchedWritableRearPortRequestType = "other" + PatchedWritableRearPortRequestTypeSc PatchedWritableRearPortRequestType = "sc" + PatchedWritableRearPortRequestTypeScApc PatchedWritableRearPortRequestType = "sc-apc" + PatchedWritableRearPortRequestTypeScPc PatchedWritableRearPortRequestType = "sc-pc" + PatchedWritableRearPortRequestTypeScUpc PatchedWritableRearPortRequestType = "sc-upc" + PatchedWritableRearPortRequestTypeSma905 PatchedWritableRearPortRequestType = "sma-905" + PatchedWritableRearPortRequestTypeSma906 PatchedWritableRearPortRequestType = "sma-906" + PatchedWritableRearPortRequestTypeSn PatchedWritableRearPortRequestType = "sn" + PatchedWritableRearPortRequestTypeSplice PatchedWritableRearPortRequestType = "splice" + PatchedWritableRearPortRequestTypeSt PatchedWritableRearPortRequestType = "st" + PatchedWritableRearPortRequestTypeTera1p PatchedWritableRearPortRequestType = "tera-1p" + PatchedWritableRearPortRequestTypeTera2p PatchedWritableRearPortRequestType = "tera-2p" + PatchedWritableRearPortRequestTypeTera4p PatchedWritableRearPortRequestType = "tera-4p" + PatchedWritableRearPortRequestTypeUrmP2 PatchedWritableRearPortRequestType = "urm-p2" + PatchedWritableRearPortRequestTypeUrmP4 PatchedWritableRearPortRequestType = "urm-p4" + PatchedWritableRearPortRequestTypeUrmP8 PatchedWritableRearPortRequestType = "urm-p8" +) + +// Defines values for PatchedWritableRearPortTemplateRequestType. +const ( + PatchedWritableRearPortTemplateRequestTypeBnc PatchedWritableRearPortTemplateRequestType = "bnc" + PatchedWritableRearPortTemplateRequestTypeCs PatchedWritableRearPortTemplateRequestType = "cs" + PatchedWritableRearPortTemplateRequestTypeF PatchedWritableRearPortTemplateRequestType = "f" + PatchedWritableRearPortTemplateRequestTypeFc PatchedWritableRearPortTemplateRequestType = "fc" + PatchedWritableRearPortTemplateRequestTypeGg45 PatchedWritableRearPortTemplateRequestType = "gg45" + PatchedWritableRearPortTemplateRequestTypeLc PatchedWritableRearPortTemplateRequestType = "lc" + PatchedWritableRearPortTemplateRequestTypeLcApc PatchedWritableRearPortTemplateRequestType = "lc-apc" + PatchedWritableRearPortTemplateRequestTypeLcPc PatchedWritableRearPortTemplateRequestType = "lc-pc" + PatchedWritableRearPortTemplateRequestTypeLcUpc PatchedWritableRearPortTemplateRequestType = "lc-upc" + PatchedWritableRearPortTemplateRequestTypeLsh PatchedWritableRearPortTemplateRequestType = "lsh" + PatchedWritableRearPortTemplateRequestTypeLshApc PatchedWritableRearPortTemplateRequestType = "lsh-apc" + PatchedWritableRearPortTemplateRequestTypeLshPc PatchedWritableRearPortTemplateRequestType = "lsh-pc" + PatchedWritableRearPortTemplateRequestTypeLshUpc PatchedWritableRearPortTemplateRequestType = "lsh-upc" + PatchedWritableRearPortTemplateRequestTypeLx5 PatchedWritableRearPortTemplateRequestType = "lx5" + PatchedWritableRearPortTemplateRequestTypeLx5Apc PatchedWritableRearPortTemplateRequestType = "lx5-apc" + PatchedWritableRearPortTemplateRequestTypeLx5Pc PatchedWritableRearPortTemplateRequestType = "lx5-pc" + PatchedWritableRearPortTemplateRequestTypeLx5Upc PatchedWritableRearPortTemplateRequestType = "lx5-upc" + PatchedWritableRearPortTemplateRequestTypeMpo PatchedWritableRearPortTemplateRequestType = "mpo" + PatchedWritableRearPortTemplateRequestTypeMrj21 PatchedWritableRearPortTemplateRequestType = "mrj21" + PatchedWritableRearPortTemplateRequestTypeMtrj PatchedWritableRearPortTemplateRequestType = "mtrj" + PatchedWritableRearPortTemplateRequestTypeN PatchedWritableRearPortTemplateRequestType = "n" + PatchedWritableRearPortTemplateRequestTypeN110Punch PatchedWritableRearPortTemplateRequestType = "110-punch" + PatchedWritableRearPortTemplateRequestTypeN4p2c PatchedWritableRearPortTemplateRequestType = "4p2c" + PatchedWritableRearPortTemplateRequestTypeN4p4c PatchedWritableRearPortTemplateRequestType = "4p4c" + PatchedWritableRearPortTemplateRequestTypeN6p2c PatchedWritableRearPortTemplateRequestType = "6p2c" + PatchedWritableRearPortTemplateRequestTypeN6p4c PatchedWritableRearPortTemplateRequestType = "6p4c" + PatchedWritableRearPortTemplateRequestTypeN6p6c PatchedWritableRearPortTemplateRequestType = "6p6c" + PatchedWritableRearPortTemplateRequestTypeN8p2c PatchedWritableRearPortTemplateRequestType = "8p2c" + PatchedWritableRearPortTemplateRequestTypeN8p4c PatchedWritableRearPortTemplateRequestType = "8p4c" + PatchedWritableRearPortTemplateRequestTypeN8p6c PatchedWritableRearPortTemplateRequestType = "8p6c" + PatchedWritableRearPortTemplateRequestTypeN8p8c PatchedWritableRearPortTemplateRequestType = "8p8c" + PatchedWritableRearPortTemplateRequestTypeOther PatchedWritableRearPortTemplateRequestType = "other" + PatchedWritableRearPortTemplateRequestTypeSc PatchedWritableRearPortTemplateRequestType = "sc" + PatchedWritableRearPortTemplateRequestTypeScApc PatchedWritableRearPortTemplateRequestType = "sc-apc" + PatchedWritableRearPortTemplateRequestTypeScPc PatchedWritableRearPortTemplateRequestType = "sc-pc" + PatchedWritableRearPortTemplateRequestTypeScUpc PatchedWritableRearPortTemplateRequestType = "sc-upc" + PatchedWritableRearPortTemplateRequestTypeSma905 PatchedWritableRearPortTemplateRequestType = "sma-905" + PatchedWritableRearPortTemplateRequestTypeSma906 PatchedWritableRearPortTemplateRequestType = "sma-906" + PatchedWritableRearPortTemplateRequestTypeSn PatchedWritableRearPortTemplateRequestType = "sn" + PatchedWritableRearPortTemplateRequestTypeSplice PatchedWritableRearPortTemplateRequestType = "splice" + PatchedWritableRearPortTemplateRequestTypeSt PatchedWritableRearPortTemplateRequestType = "st" + PatchedWritableRearPortTemplateRequestTypeTera1p PatchedWritableRearPortTemplateRequestType = "tera-1p" + PatchedWritableRearPortTemplateRequestTypeTera2p PatchedWritableRearPortTemplateRequestType = "tera-2p" + PatchedWritableRearPortTemplateRequestTypeTera4p PatchedWritableRearPortTemplateRequestType = "tera-4p" + PatchedWritableRearPortTemplateRequestTypeUrmP2 PatchedWritableRearPortTemplateRequestType = "urm-p2" + PatchedWritableRearPortTemplateRequestTypeUrmP4 PatchedWritableRearPortTemplateRequestType = "urm-p4" + PatchedWritableRearPortTemplateRequestTypeUrmP8 PatchedWritableRearPortTemplateRequestType = "urm-p8" +) + +// Defines values for PatchedWritableServiceRequestProtocol. +const ( + PatchedWritableServiceRequestProtocolSctp PatchedWritableServiceRequestProtocol = "sctp" + PatchedWritableServiceRequestProtocolTcp PatchedWritableServiceRequestProtocol = "tcp" + PatchedWritableServiceRequestProtocolUdp PatchedWritableServiceRequestProtocol = "udp" +) + +// Defines values for PatchedWritableServiceTemplateRequestProtocol. +const ( + PatchedWritableServiceTemplateRequestProtocolSctp PatchedWritableServiceTemplateRequestProtocol = "sctp" + PatchedWritableServiceTemplateRequestProtocolTcp PatchedWritableServiceTemplateRequestProtocol = "tcp" + PatchedWritableServiceTemplateRequestProtocolUdp PatchedWritableServiceTemplateRequestProtocol = "udp" +) + +// Defines values for PatchedWritableSiteRequestStatus. +const ( + PatchedWritableSiteRequestStatusActive PatchedWritableSiteRequestStatus = "active" + PatchedWritableSiteRequestStatusDecommissioning PatchedWritableSiteRequestStatus = "decommissioning" + PatchedWritableSiteRequestStatusPlanned PatchedWritableSiteRequestStatus = "planned" + PatchedWritableSiteRequestStatusRetired PatchedWritableSiteRequestStatus = "retired" + PatchedWritableSiteRequestStatusStaging PatchedWritableSiteRequestStatus = "staging" +) + +// Defines values for PatchedWritableVLANRequestStatus. +const ( + PatchedWritableVLANRequestStatusActive PatchedWritableVLANRequestStatus = "active" + PatchedWritableVLANRequestStatusDeprecated PatchedWritableVLANRequestStatus = "deprecated" + PatchedWritableVLANRequestStatusReserved PatchedWritableVLANRequestStatus = "reserved" +) + +// Defines values for PatchedWritableVMInterfaceRequestMode. +const ( + PatchedWritableVMInterfaceRequestModeAccess PatchedWritableVMInterfaceRequestMode = "access" + PatchedWritableVMInterfaceRequestModeEmpty PatchedWritableVMInterfaceRequestMode = "" + PatchedWritableVMInterfaceRequestModeTagged PatchedWritableVMInterfaceRequestMode = "tagged" + PatchedWritableVMInterfaceRequestModeTaggedAll PatchedWritableVMInterfaceRequestMode = "tagged-all" +) + +// Defines values for PatchedWritableVirtualDeviceContextRequestStatus. +const ( + PatchedWritableVirtualDeviceContextRequestStatusActive PatchedWritableVirtualDeviceContextRequestStatus = "active" + PatchedWritableVirtualDeviceContextRequestStatusOffline PatchedWritableVirtualDeviceContextRequestStatus = "offline" + PatchedWritableVirtualDeviceContextRequestStatusPlanned PatchedWritableVirtualDeviceContextRequestStatus = "planned" +) + +// Defines values for PatchedWritableVirtualMachineWithConfigContextRequestStatus. +const ( + PatchedWritableVirtualMachineWithConfigContextRequestStatusActive PatchedWritableVirtualMachineWithConfigContextRequestStatus = "active" + PatchedWritableVirtualMachineWithConfigContextRequestStatusDecommissioning PatchedWritableVirtualMachineWithConfigContextRequestStatus = "decommissioning" + PatchedWritableVirtualMachineWithConfigContextRequestStatusFailed PatchedWritableVirtualMachineWithConfigContextRequestStatus = "failed" + PatchedWritableVirtualMachineWithConfigContextRequestStatusOffline PatchedWritableVirtualMachineWithConfigContextRequestStatus = "offline" + PatchedWritableVirtualMachineWithConfigContextRequestStatusPlanned PatchedWritableVirtualMachineWithConfigContextRequestStatus = "planned" + PatchedWritableVirtualMachineWithConfigContextRequestStatusStaged PatchedWritableVirtualMachineWithConfigContextRequestStatus = "staged" +) + +// Defines values for PatchedWritableWirelessLANRequestAuthCipher. +const ( + PatchedWritableWirelessLANRequestAuthCipherAes PatchedWritableWirelessLANRequestAuthCipher = "aes" + PatchedWritableWirelessLANRequestAuthCipherAuto PatchedWritableWirelessLANRequestAuthCipher = "auto" + PatchedWritableWirelessLANRequestAuthCipherEmpty PatchedWritableWirelessLANRequestAuthCipher = "" + PatchedWritableWirelessLANRequestAuthCipherTkip PatchedWritableWirelessLANRequestAuthCipher = "tkip" +) + +// Defines values for PatchedWritableWirelessLANRequestAuthType. +const ( + PatchedWritableWirelessLANRequestAuthTypeEmpty PatchedWritableWirelessLANRequestAuthType = "" + PatchedWritableWirelessLANRequestAuthTypeOpen PatchedWritableWirelessLANRequestAuthType = "open" + PatchedWritableWirelessLANRequestAuthTypeWep PatchedWritableWirelessLANRequestAuthType = "wep" + PatchedWritableWirelessLANRequestAuthTypeWpaEnterprise PatchedWritableWirelessLANRequestAuthType = "wpa-enterprise" + PatchedWritableWirelessLANRequestAuthTypeWpaPersonal PatchedWritableWirelessLANRequestAuthType = "wpa-personal" +) + +// Defines values for PatchedWritableWirelessLANRequestStatus. +const ( + PatchedWritableWirelessLANRequestStatusActive PatchedWritableWirelessLANRequestStatus = "active" + PatchedWritableWirelessLANRequestStatusDeprecated PatchedWritableWirelessLANRequestStatus = "deprecated" + PatchedWritableWirelessLANRequestStatusDisabled PatchedWritableWirelessLANRequestStatus = "disabled" + PatchedWritableWirelessLANRequestStatusReserved PatchedWritableWirelessLANRequestStatus = "reserved" +) + +// Defines values for PatchedWritableWirelessLinkRequestAuthCipher. +const ( + PatchedWritableWirelessLinkRequestAuthCipherAes PatchedWritableWirelessLinkRequestAuthCipher = "aes" + PatchedWritableWirelessLinkRequestAuthCipherAuto PatchedWritableWirelessLinkRequestAuthCipher = "auto" + PatchedWritableWirelessLinkRequestAuthCipherEmpty PatchedWritableWirelessLinkRequestAuthCipher = "" + PatchedWritableWirelessLinkRequestAuthCipherTkip PatchedWritableWirelessLinkRequestAuthCipher = "tkip" +) + +// Defines values for PatchedWritableWirelessLinkRequestAuthType. +const ( + PatchedWritableWirelessLinkRequestAuthTypeEmpty PatchedWritableWirelessLinkRequestAuthType = "" + PatchedWritableWirelessLinkRequestAuthTypeOpen PatchedWritableWirelessLinkRequestAuthType = "open" + PatchedWritableWirelessLinkRequestAuthTypeWep PatchedWritableWirelessLinkRequestAuthType = "wep" + PatchedWritableWirelessLinkRequestAuthTypeWpaEnterprise PatchedWritableWirelessLinkRequestAuthType = "wpa-enterprise" + PatchedWritableWirelessLinkRequestAuthTypeWpaPersonal PatchedWritableWirelessLinkRequestAuthType = "wpa-personal" +) + +// Defines values for PatchedWritableWirelessLinkRequestStatus. +const ( + PatchedWritableWirelessLinkRequestStatusConnected PatchedWritableWirelessLinkRequestStatus = "connected" + PatchedWritableWirelessLinkRequestStatusDecommissioning PatchedWritableWirelessLinkRequestStatus = "decommissioning" + PatchedWritableWirelessLinkRequestStatusPlanned PatchedWritableWirelessLinkRequestStatus = "planned" +) + +// 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 ( + AC PowerFeedSupplyLabel = "AC" + DC PowerFeedSupplyLabel = "DC" +) + +// Defines values for PowerFeedSupplyValue. +const ( + PowerFeedSupplyValueAc PowerFeedSupplyValue = "ac" + PowerFeedSupplyValueDc PowerFeedSupplyValue = "dc" +) + +// Defines values for PowerFeedTypeLabel. +const ( + PowerFeedTypeLabelPrimary PowerFeedTypeLabel = "Primary" + PowerFeedTypeLabelRedundant PowerFeedTypeLabel = "Redundant" +) + +// Defines values for PowerFeedTypeValue. +const ( + PowerFeedTypeValuePrimary PowerFeedTypeValue = "primary" + PowerFeedTypeValueRedundant PowerFeedTypeValue = "redundant" +) + +// Defines values for PowerFeedRequestPhase. +const ( + PowerFeedRequestPhaseSinglePhase PowerFeedRequestPhase = "single-phase" + PowerFeedRequestPhaseThreePhase PowerFeedRequestPhase = "three-phase" +) + +// Defines values for PowerFeedRequestStatus. +const ( + PowerFeedRequestStatusActive PowerFeedRequestStatus = "active" + PowerFeedRequestStatusFailed PowerFeedRequestStatus = "failed" + PowerFeedRequestStatusOffline PowerFeedRequestStatus = "offline" + PowerFeedRequestStatusPlanned PowerFeedRequestStatus = "planned" +) + +// Defines values for PowerFeedRequestSupply. +const ( + PowerFeedRequestSupplyAc PowerFeedRequestSupply = "ac" + PowerFeedRequestSupplyDc PowerFeedRequestSupply = "dc" +) + +// Defines values for PowerFeedRequestType. +const ( + PowerFeedRequestTypePrimary PowerFeedRequestType = "primary" + PowerFeedRequestTypeRedundant PowerFeedRequestType = "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" + PowerOutletFeedLegValueEmpty PowerOutletFeedLegValue = "" +) + +// Defines values for PowerOutletTypeLabel. +const ( + PowerOutletTypeLabelC13 PowerOutletTypeLabel = "C13" + PowerOutletTypeLabelC15 PowerOutletTypeLabel = "C15" + PowerOutletTypeLabelC19 PowerOutletTypeLabel = "C19" + PowerOutletTypeLabelC21 PowerOutletTypeLabel = "C21" + PowerOutletTypeLabelC5 PowerOutletTypeLabel = "C5" + PowerOutletTypeLabelC7 PowerOutletTypeLabel = "C7" + PowerOutletTypeLabelCS6360C PowerOutletTypeLabel = "CS6360C" + PowerOutletTypeLabelCS6364C PowerOutletTypeLabel = "CS6364C" + PowerOutletTypeLabelCS8164C PowerOutletTypeLabel = "CS8164C" + PowerOutletTypeLabelCS8264C PowerOutletTypeLabel = "CS8264C" + PowerOutletTypeLabelCS8364C PowerOutletTypeLabel = "CS8364C" + PowerOutletTypeLabelCS8464C PowerOutletTypeLabel = "CS8464C" + PowerOutletTypeLabelDCTerminal PowerOutletTypeLabel = "DC Terminal" + PowerOutletTypeLabelHDOTCx PowerOutletTypeLabel = "HDOT Cx" + PowerOutletTypeLabelHardwired PowerOutletTypeLabel = "Hardwired" + PowerOutletTypeLabelIEC609061 PowerOutletTypeLabel = "IEC 60906-1" + PowerOutletTypeLabelITAMultistandard PowerOutletTypeLabel = "ITA Multistandard" + PowerOutletTypeLabelITATypeECEE75 PowerOutletTypeLabel = "ITA Type E (CEE 7/5)" + PowerOutletTypeLabelITATypeFCEE73 PowerOutletTypeLabel = "ITA Type F (CEE 7/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" + PowerOutletTypeLabelN2PT10ANBR14136 PowerOutletTypeLabel = "2P+T 10A (NBR 14136)" + PowerOutletTypeLabelN2PT20ANBR14136 PowerOutletTypeLabel = "2P+T 20A (NBR 14136)" + 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" + PowerOutletTypeLabelNEMAL2230R PowerOutletTypeLabel = "NEMA L22-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" + PowerOutletTypeLabelNeutrikPowerCON20A PowerOutletTypeLabel = "Neutrik powerCON (20A)" + PowerOutletTypeLabelNeutrikPowerCON32A PowerOutletTypeLabel = "Neutrik powerCON (32A)" + PowerOutletTypeLabelNeutrikPowerCONTRUE1 PowerOutletTypeLabel = "Neutrik powerCON TRUE1" + PowerOutletTypeLabelNeutrikPowerCONTRUE1TOP PowerOutletTypeLabel = "Neutrik powerCON TRUE1 TOP" + PowerOutletTypeLabelOther PowerOutletTypeLabel = "Other" + PowerOutletTypeLabelPNE4H PowerOutletTypeLabel = "P+N+E 4H" + PowerOutletTypeLabelPNE6H PowerOutletTypeLabel = "P+N+E 6H" + PowerOutletTypeLabelPNE9H PowerOutletTypeLabel = "P+N+E 9H" + PowerOutletTypeLabelSafDGrid PowerOutletTypeLabel = "Saf-D-Grid" + PowerOutletTypeLabelUSBMicroB PowerOutletTypeLabel = "USB Micro B" + PowerOutletTypeLabelUSBTypeA PowerOutletTypeLabel = "USB Type A" + PowerOutletTypeLabelUSBTypeC PowerOutletTypeLabel = "USB Type C" + PowerOutletTypeLabelUbiquitiSmartPower PowerOutletTypeLabel = "Ubiquiti SmartPower" +) + +// Defines values for PowerOutletTypeValue. +const ( + PowerOutletTypeValueCS6360C PowerOutletTypeValue = "CS6360C" + PowerOutletTypeValueCS6364C PowerOutletTypeValue = "CS6364C" + PowerOutletTypeValueCS8164C PowerOutletTypeValue = "CS8164C" + PowerOutletTypeValueCS8264C PowerOutletTypeValue = "CS8264C" + PowerOutletTypeValueCS8364C PowerOutletTypeValue = "CS8364C" + PowerOutletTypeValueCS8464C PowerOutletTypeValue = "CS8464C" + PowerOutletTypeValueDcTerminal PowerOutletTypeValue = "dc-terminal" + PowerOutletTypeValueEmpty PowerOutletTypeValue = "" + PowerOutletTypeValueHardwired PowerOutletTypeValue = "hardwired" + 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" + PowerOutletTypeValueIec60320C21 PowerOutletTypeValue = "iec-60320-c21" + PowerOutletTypeValueIec60320C5 PowerOutletTypeValue = "iec-60320-c5" + PowerOutletTypeValueIec60320C7 PowerOutletTypeValue = "iec-60320-c7" + PowerOutletTypeValueIec609061 PowerOutletTypeValue = "iec-60906-1" + 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" + PowerOutletTypeValueItaMultistandard PowerOutletTypeValue = "ita-multistandard" + PowerOutletTypeValueItaN PowerOutletTypeValue = "ita-n" + PowerOutletTypeValueItaO PowerOutletTypeValue = "ita-o" + PowerOutletTypeValueNbr1413610a PowerOutletTypeValue = "nbr-14136-10a" + PowerOutletTypeValueNbr1413620a PowerOutletTypeValue = "nbr-14136-20a" + 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" + PowerOutletTypeValueNemaL2230r PowerOutletTypeValue = "nema-l22-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" + PowerOutletTypeValueNeutrikPowercon20a PowerOutletTypeValue = "neutrik-powercon-20a" + PowerOutletTypeValueNeutrikPowercon32a PowerOutletTypeValue = "neutrik-powercon-32a" + PowerOutletTypeValueNeutrikPowerconTrue1 PowerOutletTypeValue = "neutrik-powercon-true1" + PowerOutletTypeValueNeutrikPowerconTrue1Top PowerOutletTypeValue = "neutrik-powercon-true1-top" + PowerOutletTypeValueOther PowerOutletTypeValue = "other" + PowerOutletTypeValueSafDGrid PowerOutletTypeValue = "saf-d-grid" + PowerOutletTypeValueUbiquitiSmartpower PowerOutletTypeValue = "ubiquiti-smartpower" + PowerOutletTypeValueUsbA PowerOutletTypeValue = "usb-a" + PowerOutletTypeValueUsbC PowerOutletTypeValue = "usb-c" + PowerOutletTypeValueUsbMicroB PowerOutletTypeValue = "usb-micro-b" +) + +// Defines values for PowerOutletRequestFeedLeg. +const ( + PowerOutletRequestFeedLegA PowerOutletRequestFeedLeg = "A" + PowerOutletRequestFeedLegB PowerOutletRequestFeedLeg = "B" + PowerOutletRequestFeedLegC PowerOutletRequestFeedLeg = "C" + PowerOutletRequestFeedLegEmpty PowerOutletRequestFeedLeg = "" +) + +// Defines values for PowerOutletRequestType. +const ( + PowerOutletRequestTypeCS6360C PowerOutletRequestType = "CS6360C" + PowerOutletRequestTypeCS6364C PowerOutletRequestType = "CS6364C" + PowerOutletRequestTypeCS8164C PowerOutletRequestType = "CS8164C" + PowerOutletRequestTypeCS8264C PowerOutletRequestType = "CS8264C" + PowerOutletRequestTypeCS8364C PowerOutletRequestType = "CS8364C" + PowerOutletRequestTypeCS8464C PowerOutletRequestType = "CS8464C" + PowerOutletRequestTypeDcTerminal PowerOutletRequestType = "dc-terminal" + PowerOutletRequestTypeEmpty PowerOutletRequestType = "" + PowerOutletRequestTypeHardwired PowerOutletRequestType = "hardwired" + PowerOutletRequestTypeHdotCx PowerOutletRequestType = "hdot-cx" + PowerOutletRequestTypeIec603092pE4h PowerOutletRequestType = "iec-60309-2p-e-4h" + PowerOutletRequestTypeIec603092pE6h PowerOutletRequestType = "iec-60309-2p-e-6h" + PowerOutletRequestTypeIec603092pE9h PowerOutletRequestType = "iec-60309-2p-e-9h" + PowerOutletRequestTypeIec603093pE4h PowerOutletRequestType = "iec-60309-3p-e-4h" + PowerOutletRequestTypeIec603093pE6h PowerOutletRequestType = "iec-60309-3p-e-6h" + PowerOutletRequestTypeIec603093pE9h PowerOutletRequestType = "iec-60309-3p-e-9h" + PowerOutletRequestTypeIec603093pNE4h PowerOutletRequestType = "iec-60309-3p-n-e-4h" + PowerOutletRequestTypeIec603093pNE6h PowerOutletRequestType = "iec-60309-3p-n-e-6h" + PowerOutletRequestTypeIec603093pNE9h PowerOutletRequestType = "iec-60309-3p-n-e-9h" + PowerOutletRequestTypeIec60309PNE4h PowerOutletRequestType = "iec-60309-p-n-e-4h" + PowerOutletRequestTypeIec60309PNE6h PowerOutletRequestType = "iec-60309-p-n-e-6h" + PowerOutletRequestTypeIec60309PNE9h PowerOutletRequestType = "iec-60309-p-n-e-9h" + PowerOutletRequestTypeIec60320C13 PowerOutletRequestType = "iec-60320-c13" + PowerOutletRequestTypeIec60320C15 PowerOutletRequestType = "iec-60320-c15" + PowerOutletRequestTypeIec60320C19 PowerOutletRequestType = "iec-60320-c19" + PowerOutletRequestTypeIec60320C21 PowerOutletRequestType = "iec-60320-c21" + PowerOutletRequestTypeIec60320C5 PowerOutletRequestType = "iec-60320-c5" + PowerOutletRequestTypeIec60320C7 PowerOutletRequestType = "iec-60320-c7" + PowerOutletRequestTypeIec609061 PowerOutletRequestType = "iec-60906-1" + PowerOutletRequestTypeItaE PowerOutletRequestType = "ita-e" + PowerOutletRequestTypeItaF PowerOutletRequestType = "ita-f" + PowerOutletRequestTypeItaG PowerOutletRequestType = "ita-g" + PowerOutletRequestTypeItaH PowerOutletRequestType = "ita-h" + PowerOutletRequestTypeItaI PowerOutletRequestType = "ita-i" + PowerOutletRequestTypeItaJ PowerOutletRequestType = "ita-j" + PowerOutletRequestTypeItaK PowerOutletRequestType = "ita-k" + PowerOutletRequestTypeItaL PowerOutletRequestType = "ita-l" + PowerOutletRequestTypeItaM PowerOutletRequestType = "ita-m" + PowerOutletRequestTypeItaMultistandard PowerOutletRequestType = "ita-multistandard" + PowerOutletRequestTypeItaN PowerOutletRequestType = "ita-n" + PowerOutletRequestTypeItaO PowerOutletRequestType = "ita-o" + PowerOutletRequestTypeNbr1413610a PowerOutletRequestType = "nbr-14136-10a" + PowerOutletRequestTypeNbr1413620a PowerOutletRequestType = "nbr-14136-20a" + PowerOutletRequestTypeNema1030r PowerOutletRequestType = "nema-10-30r" + PowerOutletRequestTypeNema1050r PowerOutletRequestType = "nema-10-50r" + PowerOutletRequestTypeNema115r PowerOutletRequestType = "nema-1-15r" + PowerOutletRequestTypeNema1420r PowerOutletRequestType = "nema-14-20r" + PowerOutletRequestTypeNema1430r PowerOutletRequestType = "nema-14-30r" + PowerOutletRequestTypeNema1450r PowerOutletRequestType = "nema-14-50r" + PowerOutletRequestTypeNema1460r PowerOutletRequestType = "nema-14-60r" + PowerOutletRequestTypeNema1515r PowerOutletRequestType = "nema-15-15r" + PowerOutletRequestTypeNema1520r PowerOutletRequestType = "nema-15-20r" + PowerOutletRequestTypeNema1530r PowerOutletRequestType = "nema-15-30r" + PowerOutletRequestTypeNema1550r PowerOutletRequestType = "nema-15-50r" + PowerOutletRequestTypeNema1560r PowerOutletRequestType = "nema-15-60r" + PowerOutletRequestTypeNema515r PowerOutletRequestType = "nema-5-15r" + PowerOutletRequestTypeNema520r PowerOutletRequestType = "nema-5-20r" + PowerOutletRequestTypeNema530r PowerOutletRequestType = "nema-5-30r" + PowerOutletRequestTypeNema550r PowerOutletRequestType = "nema-5-50r" + PowerOutletRequestTypeNema615r PowerOutletRequestType = "nema-6-15r" + PowerOutletRequestTypeNema620r PowerOutletRequestType = "nema-6-20r" + PowerOutletRequestTypeNema630r PowerOutletRequestType = "nema-6-30r" + PowerOutletRequestTypeNema650r PowerOutletRequestType = "nema-6-50r" + PowerOutletRequestTypeNemaL1030r PowerOutletRequestType = "nema-l10-30r" + PowerOutletRequestTypeNemaL115r PowerOutletRequestType = "nema-l1-15r" + PowerOutletRequestTypeNemaL1420r PowerOutletRequestType = "nema-l14-20r" + PowerOutletRequestTypeNemaL1430r PowerOutletRequestType = "nema-l14-30r" + PowerOutletRequestTypeNemaL1450r PowerOutletRequestType = "nema-l14-50r" + PowerOutletRequestTypeNemaL1460r PowerOutletRequestType = "nema-l14-60r" + PowerOutletRequestTypeNemaL1520r PowerOutletRequestType = "nema-l15-20r" + PowerOutletRequestTypeNemaL1530r PowerOutletRequestType = "nema-l15-30r" + PowerOutletRequestTypeNemaL1550r PowerOutletRequestType = "nema-l15-50r" + PowerOutletRequestTypeNemaL1560r PowerOutletRequestType = "nema-l15-60r" + PowerOutletRequestTypeNemaL2120r PowerOutletRequestType = "nema-l21-20r" + PowerOutletRequestTypeNemaL2130r PowerOutletRequestType = "nema-l21-30r" + PowerOutletRequestTypeNemaL2230r PowerOutletRequestType = "nema-l22-30r" + PowerOutletRequestTypeNemaL515r PowerOutletRequestType = "nema-l5-15r" + PowerOutletRequestTypeNemaL520r PowerOutletRequestType = "nema-l5-20r" + PowerOutletRequestTypeNemaL530r PowerOutletRequestType = "nema-l5-30r" + PowerOutletRequestTypeNemaL550r PowerOutletRequestType = "nema-l5-50r" + PowerOutletRequestTypeNemaL615r PowerOutletRequestType = "nema-l6-15r" + PowerOutletRequestTypeNemaL620r PowerOutletRequestType = "nema-l6-20r" + PowerOutletRequestTypeNemaL630r PowerOutletRequestType = "nema-l6-30r" + PowerOutletRequestTypeNemaL650r PowerOutletRequestType = "nema-l6-50r" + PowerOutletRequestTypeNeutrikPowercon20a PowerOutletRequestType = "neutrik-powercon-20a" + PowerOutletRequestTypeNeutrikPowercon32a PowerOutletRequestType = "neutrik-powercon-32a" + PowerOutletRequestTypeNeutrikPowerconTrue1 PowerOutletRequestType = "neutrik-powercon-true1" + PowerOutletRequestTypeNeutrikPowerconTrue1Top PowerOutletRequestType = "neutrik-powercon-true1-top" + PowerOutletRequestTypeOther PowerOutletRequestType = "other" + PowerOutletRequestTypeSafDGrid PowerOutletRequestType = "saf-d-grid" + PowerOutletRequestTypeUbiquitiSmartpower PowerOutletRequestType = "ubiquiti-smartpower" + PowerOutletRequestTypeUsbA PowerOutletRequestType = "usb-a" + PowerOutletRequestTypeUsbC PowerOutletRequestType = "usb-c" + PowerOutletRequestTypeUsbMicroB PowerOutletRequestType = "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" + PowerOutletTemplateFeedLegValueEmpty PowerOutletTemplateFeedLegValue = "" +) + +// Defines values for PowerOutletTemplateTypeLabel. +const ( + PowerOutletTemplateTypeLabelC13 PowerOutletTemplateTypeLabel = "C13" + PowerOutletTemplateTypeLabelC15 PowerOutletTemplateTypeLabel = "C15" + PowerOutletTemplateTypeLabelC19 PowerOutletTemplateTypeLabel = "C19" + PowerOutletTemplateTypeLabelC21 PowerOutletTemplateTypeLabel = "C21" + PowerOutletTemplateTypeLabelC5 PowerOutletTemplateTypeLabel = "C5" + PowerOutletTemplateTypeLabelC7 PowerOutletTemplateTypeLabel = "C7" + PowerOutletTemplateTypeLabelCS6360C PowerOutletTemplateTypeLabel = "CS6360C" + PowerOutletTemplateTypeLabelCS6364C PowerOutletTemplateTypeLabel = "CS6364C" + PowerOutletTemplateTypeLabelCS8164C PowerOutletTemplateTypeLabel = "CS8164C" + PowerOutletTemplateTypeLabelCS8264C PowerOutletTemplateTypeLabel = "CS8264C" + PowerOutletTemplateTypeLabelCS8364C PowerOutletTemplateTypeLabel = "CS8364C" + PowerOutletTemplateTypeLabelCS8464C PowerOutletTemplateTypeLabel = "CS8464C" + PowerOutletTemplateTypeLabelDCTerminal PowerOutletTemplateTypeLabel = "DC Terminal" + PowerOutletTemplateTypeLabelHDOTCx PowerOutletTemplateTypeLabel = "HDOT Cx" + PowerOutletTemplateTypeLabelHardwired PowerOutletTemplateTypeLabel = "Hardwired" + PowerOutletTemplateTypeLabelIEC609061 PowerOutletTemplateTypeLabel = "IEC 60906-1" + PowerOutletTemplateTypeLabelITAMultistandard PowerOutletTemplateTypeLabel = "ITA Multistandard" + PowerOutletTemplateTypeLabelITATypeECEE75 PowerOutletTemplateTypeLabel = "ITA Type E (CEE 7/5)" + PowerOutletTemplateTypeLabelITATypeFCEE73 PowerOutletTemplateTypeLabel = "ITA Type F (CEE 7/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" + PowerOutletTemplateTypeLabelN2PT10ANBR14136 PowerOutletTemplateTypeLabel = "2P+T 10A (NBR 14136)" + PowerOutletTemplateTypeLabelN2PT20ANBR14136 PowerOutletTemplateTypeLabel = "2P+T 20A (NBR 14136)" + 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" + PowerOutletTemplateTypeLabelNEMAL2230R PowerOutletTemplateTypeLabel = "NEMA L22-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" + PowerOutletTemplateTypeLabelNeutrikPowerCON20A PowerOutletTemplateTypeLabel = "Neutrik powerCON (20A)" + PowerOutletTemplateTypeLabelNeutrikPowerCON32A PowerOutletTemplateTypeLabel = "Neutrik powerCON (32A)" + PowerOutletTemplateTypeLabelNeutrikPowerCONTRUE1 PowerOutletTemplateTypeLabel = "Neutrik powerCON TRUE1" + PowerOutletTemplateTypeLabelNeutrikPowerCONTRUE1TOP PowerOutletTemplateTypeLabel = "Neutrik powerCON TRUE1 TOP" + PowerOutletTemplateTypeLabelOther PowerOutletTemplateTypeLabel = "Other" + PowerOutletTemplateTypeLabelPNE4H PowerOutletTemplateTypeLabel = "P+N+E 4H" + PowerOutletTemplateTypeLabelPNE6H PowerOutletTemplateTypeLabel = "P+N+E 6H" + PowerOutletTemplateTypeLabelPNE9H PowerOutletTemplateTypeLabel = "P+N+E 9H" + PowerOutletTemplateTypeLabelSafDGrid PowerOutletTemplateTypeLabel = "Saf-D-Grid" + PowerOutletTemplateTypeLabelUSBMicroB PowerOutletTemplateTypeLabel = "USB Micro B" + PowerOutletTemplateTypeLabelUSBTypeA PowerOutletTemplateTypeLabel = "USB Type A" + PowerOutletTemplateTypeLabelUSBTypeC PowerOutletTemplateTypeLabel = "USB Type C" + PowerOutletTemplateTypeLabelUbiquitiSmartPower PowerOutletTemplateTypeLabel = "Ubiquiti SmartPower" +) + +// Defines values for PowerOutletTemplateTypeValue. +const ( + PowerOutletTemplateTypeValueCS6360C PowerOutletTemplateTypeValue = "CS6360C" + PowerOutletTemplateTypeValueCS6364C PowerOutletTemplateTypeValue = "CS6364C" + PowerOutletTemplateTypeValueCS8164C PowerOutletTemplateTypeValue = "CS8164C" + PowerOutletTemplateTypeValueCS8264C PowerOutletTemplateTypeValue = "CS8264C" + PowerOutletTemplateTypeValueCS8364C PowerOutletTemplateTypeValue = "CS8364C" + PowerOutletTemplateTypeValueCS8464C PowerOutletTemplateTypeValue = "CS8464C" + PowerOutletTemplateTypeValueDcTerminal PowerOutletTemplateTypeValue = "dc-terminal" + PowerOutletTemplateTypeValueEmpty PowerOutletTemplateTypeValue = "" + PowerOutletTemplateTypeValueHardwired PowerOutletTemplateTypeValue = "hardwired" + 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" + PowerOutletTemplateTypeValueIec60320C21 PowerOutletTemplateTypeValue = "iec-60320-c21" + PowerOutletTemplateTypeValueIec60320C5 PowerOutletTemplateTypeValue = "iec-60320-c5" + PowerOutletTemplateTypeValueIec60320C7 PowerOutletTemplateTypeValue = "iec-60320-c7" + PowerOutletTemplateTypeValueIec609061 PowerOutletTemplateTypeValue = "iec-60906-1" + 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" + PowerOutletTemplateTypeValueItaMultistandard PowerOutletTemplateTypeValue = "ita-multistandard" + PowerOutletTemplateTypeValueItaN PowerOutletTemplateTypeValue = "ita-n" + PowerOutletTemplateTypeValueItaO PowerOutletTemplateTypeValue = "ita-o" + PowerOutletTemplateTypeValueNbr1413610a PowerOutletTemplateTypeValue = "nbr-14136-10a" + PowerOutletTemplateTypeValueNbr1413620a PowerOutletTemplateTypeValue = "nbr-14136-20a" + 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" + PowerOutletTemplateTypeValueNemaL2230r PowerOutletTemplateTypeValue = "nema-l22-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" + PowerOutletTemplateTypeValueNeutrikPowercon20a PowerOutletTemplateTypeValue = "neutrik-powercon-20a" + PowerOutletTemplateTypeValueNeutrikPowercon32a PowerOutletTemplateTypeValue = "neutrik-powercon-32a" + PowerOutletTemplateTypeValueNeutrikPowerconTrue1 PowerOutletTemplateTypeValue = "neutrik-powercon-true1" + PowerOutletTemplateTypeValueNeutrikPowerconTrue1Top PowerOutletTemplateTypeValue = "neutrik-powercon-true1-top" + PowerOutletTemplateTypeValueOther PowerOutletTemplateTypeValue = "other" + PowerOutletTemplateTypeValueSafDGrid PowerOutletTemplateTypeValue = "saf-d-grid" + PowerOutletTemplateTypeValueUbiquitiSmartpower PowerOutletTemplateTypeValue = "ubiquiti-smartpower" + PowerOutletTemplateTypeValueUsbA PowerOutletTemplateTypeValue = "usb-a" + PowerOutletTemplateTypeValueUsbC PowerOutletTemplateTypeValue = "usb-c" + PowerOutletTemplateTypeValueUsbMicroB PowerOutletTemplateTypeValue = "usb-micro-b" +) + +// Defines values for PowerOutletTemplateRequestFeedLeg. +const ( + PowerOutletTemplateRequestFeedLegA PowerOutletTemplateRequestFeedLeg = "A" + PowerOutletTemplateRequestFeedLegB PowerOutletTemplateRequestFeedLeg = "B" + PowerOutletTemplateRequestFeedLegC PowerOutletTemplateRequestFeedLeg = "C" + PowerOutletTemplateRequestFeedLegEmpty PowerOutletTemplateRequestFeedLeg = "" +) + +// Defines values for PowerOutletTemplateRequestType. +const ( + PowerOutletTemplateRequestTypeCS6360C PowerOutletTemplateRequestType = "CS6360C" + PowerOutletTemplateRequestTypeCS6364C PowerOutletTemplateRequestType = "CS6364C" + PowerOutletTemplateRequestTypeCS8164C PowerOutletTemplateRequestType = "CS8164C" + PowerOutletTemplateRequestTypeCS8264C PowerOutletTemplateRequestType = "CS8264C" + PowerOutletTemplateRequestTypeCS8364C PowerOutletTemplateRequestType = "CS8364C" + PowerOutletTemplateRequestTypeCS8464C PowerOutletTemplateRequestType = "CS8464C" + PowerOutletTemplateRequestTypeDcTerminal PowerOutletTemplateRequestType = "dc-terminal" + PowerOutletTemplateRequestTypeEmpty PowerOutletTemplateRequestType = "" + PowerOutletTemplateRequestTypeHardwired PowerOutletTemplateRequestType = "hardwired" + PowerOutletTemplateRequestTypeHdotCx PowerOutletTemplateRequestType = "hdot-cx" + PowerOutletTemplateRequestTypeIec603092pE4h PowerOutletTemplateRequestType = "iec-60309-2p-e-4h" + PowerOutletTemplateRequestTypeIec603092pE6h PowerOutletTemplateRequestType = "iec-60309-2p-e-6h" + PowerOutletTemplateRequestTypeIec603092pE9h PowerOutletTemplateRequestType = "iec-60309-2p-e-9h" + PowerOutletTemplateRequestTypeIec603093pE4h PowerOutletTemplateRequestType = "iec-60309-3p-e-4h" + PowerOutletTemplateRequestTypeIec603093pE6h PowerOutletTemplateRequestType = "iec-60309-3p-e-6h" + PowerOutletTemplateRequestTypeIec603093pE9h PowerOutletTemplateRequestType = "iec-60309-3p-e-9h" + PowerOutletTemplateRequestTypeIec603093pNE4h PowerOutletTemplateRequestType = "iec-60309-3p-n-e-4h" + PowerOutletTemplateRequestTypeIec603093pNE6h PowerOutletTemplateRequestType = "iec-60309-3p-n-e-6h" + PowerOutletTemplateRequestTypeIec603093pNE9h PowerOutletTemplateRequestType = "iec-60309-3p-n-e-9h" + PowerOutletTemplateRequestTypeIec60309PNE4h PowerOutletTemplateRequestType = "iec-60309-p-n-e-4h" + PowerOutletTemplateRequestTypeIec60309PNE6h PowerOutletTemplateRequestType = "iec-60309-p-n-e-6h" + PowerOutletTemplateRequestTypeIec60309PNE9h PowerOutletTemplateRequestType = "iec-60309-p-n-e-9h" + PowerOutletTemplateRequestTypeIec60320C13 PowerOutletTemplateRequestType = "iec-60320-c13" + PowerOutletTemplateRequestTypeIec60320C15 PowerOutletTemplateRequestType = "iec-60320-c15" + PowerOutletTemplateRequestTypeIec60320C19 PowerOutletTemplateRequestType = "iec-60320-c19" + PowerOutletTemplateRequestTypeIec60320C21 PowerOutletTemplateRequestType = "iec-60320-c21" + PowerOutletTemplateRequestTypeIec60320C5 PowerOutletTemplateRequestType = "iec-60320-c5" + PowerOutletTemplateRequestTypeIec60320C7 PowerOutletTemplateRequestType = "iec-60320-c7" + PowerOutletTemplateRequestTypeIec609061 PowerOutletTemplateRequestType = "iec-60906-1" + PowerOutletTemplateRequestTypeItaE PowerOutletTemplateRequestType = "ita-e" + PowerOutletTemplateRequestTypeItaF PowerOutletTemplateRequestType = "ita-f" + PowerOutletTemplateRequestTypeItaG PowerOutletTemplateRequestType = "ita-g" + PowerOutletTemplateRequestTypeItaH PowerOutletTemplateRequestType = "ita-h" + PowerOutletTemplateRequestTypeItaI PowerOutletTemplateRequestType = "ita-i" + PowerOutletTemplateRequestTypeItaJ PowerOutletTemplateRequestType = "ita-j" + PowerOutletTemplateRequestTypeItaK PowerOutletTemplateRequestType = "ita-k" + PowerOutletTemplateRequestTypeItaL PowerOutletTemplateRequestType = "ita-l" + PowerOutletTemplateRequestTypeItaM PowerOutletTemplateRequestType = "ita-m" + PowerOutletTemplateRequestTypeItaMultistandard PowerOutletTemplateRequestType = "ita-multistandard" + PowerOutletTemplateRequestTypeItaN PowerOutletTemplateRequestType = "ita-n" + PowerOutletTemplateRequestTypeItaO PowerOutletTemplateRequestType = "ita-o" + PowerOutletTemplateRequestTypeNbr1413610a PowerOutletTemplateRequestType = "nbr-14136-10a" + PowerOutletTemplateRequestTypeNbr1413620a PowerOutletTemplateRequestType = "nbr-14136-20a" + PowerOutletTemplateRequestTypeNema1030r PowerOutletTemplateRequestType = "nema-10-30r" + PowerOutletTemplateRequestTypeNema1050r PowerOutletTemplateRequestType = "nema-10-50r" + PowerOutletTemplateRequestTypeNema115r PowerOutletTemplateRequestType = "nema-1-15r" + PowerOutletTemplateRequestTypeNema1420r PowerOutletTemplateRequestType = "nema-14-20r" + PowerOutletTemplateRequestTypeNema1430r PowerOutletTemplateRequestType = "nema-14-30r" + PowerOutletTemplateRequestTypeNema1450r PowerOutletTemplateRequestType = "nema-14-50r" + PowerOutletTemplateRequestTypeNema1460r PowerOutletTemplateRequestType = "nema-14-60r" + PowerOutletTemplateRequestTypeNema1515r PowerOutletTemplateRequestType = "nema-15-15r" + PowerOutletTemplateRequestTypeNema1520r PowerOutletTemplateRequestType = "nema-15-20r" + PowerOutletTemplateRequestTypeNema1530r PowerOutletTemplateRequestType = "nema-15-30r" + PowerOutletTemplateRequestTypeNema1550r PowerOutletTemplateRequestType = "nema-15-50r" + PowerOutletTemplateRequestTypeNema1560r PowerOutletTemplateRequestType = "nema-15-60r" + PowerOutletTemplateRequestTypeNema515r PowerOutletTemplateRequestType = "nema-5-15r" + PowerOutletTemplateRequestTypeNema520r PowerOutletTemplateRequestType = "nema-5-20r" + PowerOutletTemplateRequestTypeNema530r PowerOutletTemplateRequestType = "nema-5-30r" + PowerOutletTemplateRequestTypeNema550r PowerOutletTemplateRequestType = "nema-5-50r" + PowerOutletTemplateRequestTypeNema615r PowerOutletTemplateRequestType = "nema-6-15r" + PowerOutletTemplateRequestTypeNema620r PowerOutletTemplateRequestType = "nema-6-20r" + PowerOutletTemplateRequestTypeNema630r PowerOutletTemplateRequestType = "nema-6-30r" + PowerOutletTemplateRequestTypeNema650r PowerOutletTemplateRequestType = "nema-6-50r" + PowerOutletTemplateRequestTypeNemaL1030r PowerOutletTemplateRequestType = "nema-l10-30r" + PowerOutletTemplateRequestTypeNemaL115r PowerOutletTemplateRequestType = "nema-l1-15r" + PowerOutletTemplateRequestTypeNemaL1420r PowerOutletTemplateRequestType = "nema-l14-20r" + PowerOutletTemplateRequestTypeNemaL1430r PowerOutletTemplateRequestType = "nema-l14-30r" + PowerOutletTemplateRequestTypeNemaL1450r PowerOutletTemplateRequestType = "nema-l14-50r" + PowerOutletTemplateRequestTypeNemaL1460r PowerOutletTemplateRequestType = "nema-l14-60r" + PowerOutletTemplateRequestTypeNemaL1520r PowerOutletTemplateRequestType = "nema-l15-20r" + PowerOutletTemplateRequestTypeNemaL1530r PowerOutletTemplateRequestType = "nema-l15-30r" + PowerOutletTemplateRequestTypeNemaL1550r PowerOutletTemplateRequestType = "nema-l15-50r" + PowerOutletTemplateRequestTypeNemaL1560r PowerOutletTemplateRequestType = "nema-l15-60r" + PowerOutletTemplateRequestTypeNemaL2120r PowerOutletTemplateRequestType = "nema-l21-20r" + PowerOutletTemplateRequestTypeNemaL2130r PowerOutletTemplateRequestType = "nema-l21-30r" + PowerOutletTemplateRequestTypeNemaL2230r PowerOutletTemplateRequestType = "nema-l22-30r" + PowerOutletTemplateRequestTypeNemaL515r PowerOutletTemplateRequestType = "nema-l5-15r" + PowerOutletTemplateRequestTypeNemaL520r PowerOutletTemplateRequestType = "nema-l5-20r" + PowerOutletTemplateRequestTypeNemaL530r PowerOutletTemplateRequestType = "nema-l5-30r" + PowerOutletTemplateRequestTypeNemaL550r PowerOutletTemplateRequestType = "nema-l5-50r" + PowerOutletTemplateRequestTypeNemaL615r PowerOutletTemplateRequestType = "nema-l6-15r" + PowerOutletTemplateRequestTypeNemaL620r PowerOutletTemplateRequestType = "nema-l6-20r" + PowerOutletTemplateRequestTypeNemaL630r PowerOutletTemplateRequestType = "nema-l6-30r" + PowerOutletTemplateRequestTypeNemaL650r PowerOutletTemplateRequestType = "nema-l6-50r" + PowerOutletTemplateRequestTypeNeutrikPowercon20a PowerOutletTemplateRequestType = "neutrik-powercon-20a" + PowerOutletTemplateRequestTypeNeutrikPowercon32a PowerOutletTemplateRequestType = "neutrik-powercon-32a" + PowerOutletTemplateRequestTypeNeutrikPowerconTrue1 PowerOutletTemplateRequestType = "neutrik-powercon-true1" + PowerOutletTemplateRequestTypeNeutrikPowerconTrue1Top PowerOutletTemplateRequestType = "neutrik-powercon-true1-top" + PowerOutletTemplateRequestTypeOther PowerOutletTemplateRequestType = "other" + PowerOutletTemplateRequestTypeSafDGrid PowerOutletTemplateRequestType = "saf-d-grid" + PowerOutletTemplateRequestTypeUbiquitiSmartpower PowerOutletTemplateRequestType = "ubiquiti-smartpower" + PowerOutletTemplateRequestTypeUsbA PowerOutletTemplateRequestType = "usb-a" + PowerOutletTemplateRequestTypeUsbC PowerOutletTemplateRequestType = "usb-c" + PowerOutletTemplateRequestTypeUsbMicroB PowerOutletTemplateRequestType = "usb-micro-b" +) + +// Defines values for PowerPortTypeLabel. +const ( + PowerPortTypeLabelC14 PowerPortTypeLabel = "C14" + PowerPortTypeLabelC16 PowerPortTypeLabel = "C16" + PowerPortTypeLabelC20 PowerPortTypeLabel = "C20" + PowerPortTypeLabelC22 PowerPortTypeLabel = "C22" + PowerPortTypeLabelC6 PowerPortTypeLabel = "C6" + PowerPortTypeLabelC8 PowerPortTypeLabel = "C8" + PowerPortTypeLabelCS6361C PowerPortTypeLabel = "CS6361C" + PowerPortTypeLabelCS6365C PowerPortTypeLabel = "CS6365C" + PowerPortTypeLabelCS8165C PowerPortTypeLabel = "CS8165C" + PowerPortTypeLabelCS8265C PowerPortTypeLabel = "CS8265C" + PowerPortTypeLabelCS8365C PowerPortTypeLabel = "CS8365C" + PowerPortTypeLabelCS8465C PowerPortTypeLabel = "CS8465C" + PowerPortTypeLabelDCTerminal PowerPortTypeLabel = "DC Terminal" + PowerPortTypeLabelHardwired PowerPortTypeLabel = "Hardwired" + PowerPortTypeLabelIEC609061 PowerPortTypeLabel = "IEC 60906-1" + PowerPortTypeLabelITATypeCCEE716 PowerPortTypeLabel = "ITA Type C (CEE 7/16)" + PowerPortTypeLabelITATypeECEE76 PowerPortTypeLabel = "ITA Type E (CEE 7/6)" + 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" + PowerPortTypeLabelN2PT10ANBR14136 PowerPortTypeLabel = "2P+T 10A (NBR 14136)" + PowerPortTypeLabelN2PT20ANBR14136 PowerPortTypeLabel = "2P+T 20A (NBR 14136)" + 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" + PowerPortTypeLabelNEMAL2230P PowerPortTypeLabel = "NEMA L22-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" + PowerPortTypeLabelNeutrikPowerCON20A PowerPortTypeLabel = "Neutrik powerCON (20A)" + PowerPortTypeLabelNeutrikPowerCON32A PowerPortTypeLabel = "Neutrik powerCON (32A)" + PowerPortTypeLabelNeutrikPowerCONTRUE1 PowerPortTypeLabel = "Neutrik powerCON TRUE1" + PowerPortTypeLabelNeutrikPowerCONTRUE1TOP PowerPortTypeLabel = "Neutrik powerCON TRUE1 TOP" + PowerPortTypeLabelOther PowerPortTypeLabel = "Other" + PowerPortTypeLabelPNE4H PowerPortTypeLabel = "P+N+E 4H" + PowerPortTypeLabelPNE6H PowerPortTypeLabel = "P+N+E 6H" + PowerPortTypeLabelPNE9H PowerPortTypeLabel = "P+N+E 9H" + PowerPortTypeLabelSafDGrid PowerPortTypeLabel = "Saf-D-Grid" + PowerPortTypeLabelUSB30MicroB PowerPortTypeLabel = "USB 3.0 Micro B" + PowerPortTypeLabelUSB30TypeB PowerPortTypeLabel = "USB 3.0 Type B" + PowerPortTypeLabelUSBMicroA PowerPortTypeLabel = "USB Micro A" + PowerPortTypeLabelUSBMicroAB PowerPortTypeLabel = "USB Micro AB" + 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" + PowerPortTypeLabelUbiquitiSmartPower PowerPortTypeLabel = "Ubiquiti SmartPower" +) + +// Defines values for PowerPortTypeValue. +const ( + PowerPortTypeValueCs6361c PowerPortTypeValue = "cs6361c" + PowerPortTypeValueCs6365c PowerPortTypeValue = "cs6365c" + PowerPortTypeValueCs8165c PowerPortTypeValue = "cs8165c" + PowerPortTypeValueCs8265c PowerPortTypeValue = "cs8265c" + PowerPortTypeValueCs8365c PowerPortTypeValue = "cs8365c" + PowerPortTypeValueCs8465c PowerPortTypeValue = "cs8465c" + PowerPortTypeValueDcTerminal PowerPortTypeValue = "dc-terminal" + PowerPortTypeValueEmpty PowerPortTypeValue = "" + PowerPortTypeValueHardwired PowerPortTypeValue = "hardwired" + 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" + PowerPortTypeValueIec60320C22 PowerPortTypeValue = "iec-60320-c22" + PowerPortTypeValueIec60320C6 PowerPortTypeValue = "iec-60320-c6" + PowerPortTypeValueIec60320C8 PowerPortTypeValue = "iec-60320-c8" + PowerPortTypeValueIec609061 PowerPortTypeValue = "iec-60906-1" + PowerPortTypeValueItaC PowerPortTypeValue = "ita-c" + 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" + PowerPortTypeValueNbr1413610a PowerPortTypeValue = "nbr-14136-10a" + PowerPortTypeValueNbr1413620a PowerPortTypeValue = "nbr-14136-20a" + 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" + PowerPortTypeValueNemaL2230p PowerPortTypeValue = "nema-l22-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" + PowerPortTypeValueNeutrikPowercon20 PowerPortTypeValue = "neutrik-powercon-20" + PowerPortTypeValueNeutrikPowercon32 PowerPortTypeValue = "neutrik-powercon-32" + PowerPortTypeValueNeutrikPowerconTrue1 PowerPortTypeValue = "neutrik-powercon-true1" + PowerPortTypeValueNeutrikPowerconTrue1Top PowerPortTypeValue = "neutrik-powercon-true1-top" + PowerPortTypeValueOther PowerPortTypeValue = "other" + PowerPortTypeValueSafDGrid PowerPortTypeValue = "saf-d-grid" + PowerPortTypeValueUbiquitiSmartpower PowerPortTypeValue = "ubiquiti-smartpower" + 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" + PowerPortTypeValueUsbMicroAb PowerPortTypeValue = "usb-micro-ab" + PowerPortTypeValueUsbMicroB PowerPortTypeValue = "usb-micro-b" + PowerPortTypeValueUsbMiniA PowerPortTypeValue = "usb-mini-a" + PowerPortTypeValueUsbMiniB PowerPortTypeValue = "usb-mini-b" +) + +// Defines values for PowerPortRequestType. +const ( + PowerPortRequestTypeCs6361c PowerPortRequestType = "cs6361c" + PowerPortRequestTypeCs6365c PowerPortRequestType = "cs6365c" + PowerPortRequestTypeCs8165c PowerPortRequestType = "cs8165c" + PowerPortRequestTypeCs8265c PowerPortRequestType = "cs8265c" + PowerPortRequestTypeCs8365c PowerPortRequestType = "cs8365c" + PowerPortRequestTypeCs8465c PowerPortRequestType = "cs8465c" + PowerPortRequestTypeDcTerminal PowerPortRequestType = "dc-terminal" + PowerPortRequestTypeEmpty PowerPortRequestType = "" + PowerPortRequestTypeHardwired PowerPortRequestType = "hardwired" + PowerPortRequestTypeIec603092pE4h PowerPortRequestType = "iec-60309-2p-e-4h" + PowerPortRequestTypeIec603092pE6h PowerPortRequestType = "iec-60309-2p-e-6h" + PowerPortRequestTypeIec603092pE9h PowerPortRequestType = "iec-60309-2p-e-9h" + PowerPortRequestTypeIec603093pE4h PowerPortRequestType = "iec-60309-3p-e-4h" + PowerPortRequestTypeIec603093pE6h PowerPortRequestType = "iec-60309-3p-e-6h" + PowerPortRequestTypeIec603093pE9h PowerPortRequestType = "iec-60309-3p-e-9h" + PowerPortRequestTypeIec603093pNE4h PowerPortRequestType = "iec-60309-3p-n-e-4h" + PowerPortRequestTypeIec603093pNE6h PowerPortRequestType = "iec-60309-3p-n-e-6h" + PowerPortRequestTypeIec603093pNE9h PowerPortRequestType = "iec-60309-3p-n-e-9h" + PowerPortRequestTypeIec60309PNE4h PowerPortRequestType = "iec-60309-p-n-e-4h" + PowerPortRequestTypeIec60309PNE6h PowerPortRequestType = "iec-60309-p-n-e-6h" + PowerPortRequestTypeIec60309PNE9h PowerPortRequestType = "iec-60309-p-n-e-9h" + PowerPortRequestTypeIec60320C14 PowerPortRequestType = "iec-60320-c14" + PowerPortRequestTypeIec60320C16 PowerPortRequestType = "iec-60320-c16" + PowerPortRequestTypeIec60320C20 PowerPortRequestType = "iec-60320-c20" + PowerPortRequestTypeIec60320C22 PowerPortRequestType = "iec-60320-c22" + PowerPortRequestTypeIec60320C6 PowerPortRequestType = "iec-60320-c6" + PowerPortRequestTypeIec60320C8 PowerPortRequestType = "iec-60320-c8" + PowerPortRequestTypeIec609061 PowerPortRequestType = "iec-60906-1" + PowerPortRequestTypeItaC PowerPortRequestType = "ita-c" + PowerPortRequestTypeItaE PowerPortRequestType = "ita-e" + PowerPortRequestTypeItaEf PowerPortRequestType = "ita-ef" + PowerPortRequestTypeItaF PowerPortRequestType = "ita-f" + PowerPortRequestTypeItaG PowerPortRequestType = "ita-g" + PowerPortRequestTypeItaH PowerPortRequestType = "ita-h" + PowerPortRequestTypeItaI PowerPortRequestType = "ita-i" + PowerPortRequestTypeItaJ PowerPortRequestType = "ita-j" + PowerPortRequestTypeItaK PowerPortRequestType = "ita-k" + PowerPortRequestTypeItaL PowerPortRequestType = "ita-l" + PowerPortRequestTypeItaM PowerPortRequestType = "ita-m" + PowerPortRequestTypeItaN PowerPortRequestType = "ita-n" + PowerPortRequestTypeItaO PowerPortRequestType = "ita-o" + PowerPortRequestTypeNbr1413610a PowerPortRequestType = "nbr-14136-10a" + PowerPortRequestTypeNbr1413620a PowerPortRequestType = "nbr-14136-20a" + PowerPortRequestTypeNema1030p PowerPortRequestType = "nema-10-30p" + PowerPortRequestTypeNema1050p PowerPortRequestType = "nema-10-50p" + PowerPortRequestTypeNema115p PowerPortRequestType = "nema-1-15p" + PowerPortRequestTypeNema1420p PowerPortRequestType = "nema-14-20p" + PowerPortRequestTypeNema1430p PowerPortRequestType = "nema-14-30p" + PowerPortRequestTypeNema1450p PowerPortRequestType = "nema-14-50p" + PowerPortRequestTypeNema1460p PowerPortRequestType = "nema-14-60p" + PowerPortRequestTypeNema1515p PowerPortRequestType = "nema-15-15p" + PowerPortRequestTypeNema1520p PowerPortRequestType = "nema-15-20p" + PowerPortRequestTypeNema1530p PowerPortRequestType = "nema-15-30p" + PowerPortRequestTypeNema1550p PowerPortRequestType = "nema-15-50p" + PowerPortRequestTypeNema1560p PowerPortRequestType = "nema-15-60p" + PowerPortRequestTypeNema515p PowerPortRequestType = "nema-5-15p" + PowerPortRequestTypeNema520p PowerPortRequestType = "nema-5-20p" + PowerPortRequestTypeNema530p PowerPortRequestType = "nema-5-30p" + PowerPortRequestTypeNema550p PowerPortRequestType = "nema-5-50p" + PowerPortRequestTypeNema615p PowerPortRequestType = "nema-6-15p" + PowerPortRequestTypeNema620p PowerPortRequestType = "nema-6-20p" + PowerPortRequestTypeNema630p PowerPortRequestType = "nema-6-30p" + PowerPortRequestTypeNema650p PowerPortRequestType = "nema-6-50p" + PowerPortRequestTypeNemaL1030p PowerPortRequestType = "nema-l10-30p" + PowerPortRequestTypeNemaL115p PowerPortRequestType = "nema-l1-15p" + PowerPortRequestTypeNemaL1420p PowerPortRequestType = "nema-l14-20p" + PowerPortRequestTypeNemaL1430p PowerPortRequestType = "nema-l14-30p" + PowerPortRequestTypeNemaL1450p PowerPortRequestType = "nema-l14-50p" + PowerPortRequestTypeNemaL1460p PowerPortRequestType = "nema-l14-60p" + PowerPortRequestTypeNemaL1520p PowerPortRequestType = "nema-l15-20p" + PowerPortRequestTypeNemaL1530p PowerPortRequestType = "nema-l15-30p" + PowerPortRequestTypeNemaL1550p PowerPortRequestType = "nema-l15-50p" + PowerPortRequestTypeNemaL1560p PowerPortRequestType = "nema-l15-60p" + PowerPortRequestTypeNemaL2120p PowerPortRequestType = "nema-l21-20p" + PowerPortRequestTypeNemaL2130p PowerPortRequestType = "nema-l21-30p" + PowerPortRequestTypeNemaL2230p PowerPortRequestType = "nema-l22-30p" + PowerPortRequestTypeNemaL515p PowerPortRequestType = "nema-l5-15p" + PowerPortRequestTypeNemaL520p PowerPortRequestType = "nema-l5-20p" + PowerPortRequestTypeNemaL530p PowerPortRequestType = "nema-l5-30p" + PowerPortRequestTypeNemaL550p PowerPortRequestType = "nema-l5-50p" + PowerPortRequestTypeNemaL615p PowerPortRequestType = "nema-l6-15p" + PowerPortRequestTypeNemaL620p PowerPortRequestType = "nema-l6-20p" + PowerPortRequestTypeNemaL630p PowerPortRequestType = "nema-l6-30p" + PowerPortRequestTypeNemaL650p PowerPortRequestType = "nema-l6-50p" + PowerPortRequestTypeNeutrikPowercon20 PowerPortRequestType = "neutrik-powercon-20" + PowerPortRequestTypeNeutrikPowercon32 PowerPortRequestType = "neutrik-powercon-32" + PowerPortRequestTypeNeutrikPowerconTrue1 PowerPortRequestType = "neutrik-powercon-true1" + PowerPortRequestTypeNeutrikPowerconTrue1Top PowerPortRequestType = "neutrik-powercon-true1-top" + PowerPortRequestTypeOther PowerPortRequestType = "other" + PowerPortRequestTypeSafDGrid PowerPortRequestType = "saf-d-grid" + PowerPortRequestTypeUbiquitiSmartpower PowerPortRequestType = "ubiquiti-smartpower" + PowerPortRequestTypeUsb3B PowerPortRequestType = "usb-3-b" + PowerPortRequestTypeUsb3MicroB PowerPortRequestType = "usb-3-micro-b" + PowerPortRequestTypeUsbA PowerPortRequestType = "usb-a" + PowerPortRequestTypeUsbB PowerPortRequestType = "usb-b" + PowerPortRequestTypeUsbC PowerPortRequestType = "usb-c" + PowerPortRequestTypeUsbMicroA PowerPortRequestType = "usb-micro-a" + PowerPortRequestTypeUsbMicroAb PowerPortRequestType = "usb-micro-ab" + PowerPortRequestTypeUsbMicroB PowerPortRequestType = "usb-micro-b" + PowerPortRequestTypeUsbMiniA PowerPortRequestType = "usb-mini-a" + PowerPortRequestTypeUsbMiniB PowerPortRequestType = "usb-mini-b" +) + +// Defines values for PowerPortTemplateTypeLabel. +const ( + PowerPortTemplateTypeLabelC14 PowerPortTemplateTypeLabel = "C14" + PowerPortTemplateTypeLabelC16 PowerPortTemplateTypeLabel = "C16" + PowerPortTemplateTypeLabelC20 PowerPortTemplateTypeLabel = "C20" + PowerPortTemplateTypeLabelC22 PowerPortTemplateTypeLabel = "C22" + PowerPortTemplateTypeLabelC6 PowerPortTemplateTypeLabel = "C6" + PowerPortTemplateTypeLabelC8 PowerPortTemplateTypeLabel = "C8" + PowerPortTemplateTypeLabelCS6361C PowerPortTemplateTypeLabel = "CS6361C" + PowerPortTemplateTypeLabelCS6365C PowerPortTemplateTypeLabel = "CS6365C" + PowerPortTemplateTypeLabelCS8165C PowerPortTemplateTypeLabel = "CS8165C" + PowerPortTemplateTypeLabelCS8265C PowerPortTemplateTypeLabel = "CS8265C" + PowerPortTemplateTypeLabelCS8365C PowerPortTemplateTypeLabel = "CS8365C" + PowerPortTemplateTypeLabelCS8465C PowerPortTemplateTypeLabel = "CS8465C" + PowerPortTemplateTypeLabelDCTerminal PowerPortTemplateTypeLabel = "DC Terminal" + PowerPortTemplateTypeLabelHardwired PowerPortTemplateTypeLabel = "Hardwired" + PowerPortTemplateTypeLabelIEC609061 PowerPortTemplateTypeLabel = "IEC 60906-1" + PowerPortTemplateTypeLabelITATypeCCEE716 PowerPortTemplateTypeLabel = "ITA Type C (CEE 7/16)" + PowerPortTemplateTypeLabelITATypeECEE76 PowerPortTemplateTypeLabel = "ITA Type E (CEE 7/6)" + 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" + PowerPortTemplateTypeLabelN2PT10ANBR14136 PowerPortTemplateTypeLabel = "2P+T 10A (NBR 14136)" + PowerPortTemplateTypeLabelN2PT20ANBR14136 PowerPortTemplateTypeLabel = "2P+T 20A (NBR 14136)" + 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" + PowerPortTemplateTypeLabelNEMAL2230P PowerPortTemplateTypeLabel = "NEMA L22-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" + PowerPortTemplateTypeLabelNeutrikPowerCON20A PowerPortTemplateTypeLabel = "Neutrik powerCON (20A)" + PowerPortTemplateTypeLabelNeutrikPowerCON32A PowerPortTemplateTypeLabel = "Neutrik powerCON (32A)" + PowerPortTemplateTypeLabelNeutrikPowerCONTRUE1 PowerPortTemplateTypeLabel = "Neutrik powerCON TRUE1" + PowerPortTemplateTypeLabelNeutrikPowerCONTRUE1TOP PowerPortTemplateTypeLabel = "Neutrik powerCON TRUE1 TOP" + PowerPortTemplateTypeLabelOther PowerPortTemplateTypeLabel = "Other" + PowerPortTemplateTypeLabelPNE4H PowerPortTemplateTypeLabel = "P+N+E 4H" + PowerPortTemplateTypeLabelPNE6H PowerPortTemplateTypeLabel = "P+N+E 6H" + PowerPortTemplateTypeLabelPNE9H PowerPortTemplateTypeLabel = "P+N+E 9H" + PowerPortTemplateTypeLabelSafDGrid PowerPortTemplateTypeLabel = "Saf-D-Grid" + PowerPortTemplateTypeLabelUSB30MicroB PowerPortTemplateTypeLabel = "USB 3.0 Micro B" + PowerPortTemplateTypeLabelUSB30TypeB PowerPortTemplateTypeLabel = "USB 3.0 Type B" + PowerPortTemplateTypeLabelUSBMicroA PowerPortTemplateTypeLabel = "USB Micro A" + PowerPortTemplateTypeLabelUSBMicroAB PowerPortTemplateTypeLabel = "USB Micro AB" + 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" + PowerPortTemplateTypeLabelUbiquitiSmartPower PowerPortTemplateTypeLabel = "Ubiquiti SmartPower" +) + +// Defines values for PowerPortTemplateTypeValue. +const ( + PowerPortTemplateTypeValueCs6361c PowerPortTemplateTypeValue = "cs6361c" + PowerPortTemplateTypeValueCs6365c PowerPortTemplateTypeValue = "cs6365c" + PowerPortTemplateTypeValueCs8165c PowerPortTemplateTypeValue = "cs8165c" + PowerPortTemplateTypeValueCs8265c PowerPortTemplateTypeValue = "cs8265c" + PowerPortTemplateTypeValueCs8365c PowerPortTemplateTypeValue = "cs8365c" + PowerPortTemplateTypeValueCs8465c PowerPortTemplateTypeValue = "cs8465c" + PowerPortTemplateTypeValueDcTerminal PowerPortTemplateTypeValue = "dc-terminal" + PowerPortTemplateTypeValueEmpty PowerPortTemplateTypeValue = "" + PowerPortTemplateTypeValueHardwired PowerPortTemplateTypeValue = "hardwired" + 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" + PowerPortTemplateTypeValueIec60320C22 PowerPortTemplateTypeValue = "iec-60320-c22" + PowerPortTemplateTypeValueIec60320C6 PowerPortTemplateTypeValue = "iec-60320-c6" + PowerPortTemplateTypeValueIec60320C8 PowerPortTemplateTypeValue = "iec-60320-c8" + PowerPortTemplateTypeValueIec609061 PowerPortTemplateTypeValue = "iec-60906-1" + PowerPortTemplateTypeValueItaC PowerPortTemplateTypeValue = "ita-c" + 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" + PowerPortTemplateTypeValueNbr1413610a PowerPortTemplateTypeValue = "nbr-14136-10a" + PowerPortTemplateTypeValueNbr1413620a PowerPortTemplateTypeValue = "nbr-14136-20a" + 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" + PowerPortTemplateTypeValueNemaL2230p PowerPortTemplateTypeValue = "nema-l22-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" + PowerPortTemplateTypeValueNeutrikPowercon20 PowerPortTemplateTypeValue = "neutrik-powercon-20" + PowerPortTemplateTypeValueNeutrikPowercon32 PowerPortTemplateTypeValue = "neutrik-powercon-32" + PowerPortTemplateTypeValueNeutrikPowerconTrue1 PowerPortTemplateTypeValue = "neutrik-powercon-true1" + PowerPortTemplateTypeValueNeutrikPowerconTrue1Top PowerPortTemplateTypeValue = "neutrik-powercon-true1-top" + PowerPortTemplateTypeValueOther PowerPortTemplateTypeValue = "other" + PowerPortTemplateTypeValueSafDGrid PowerPortTemplateTypeValue = "saf-d-grid" + PowerPortTemplateTypeValueUbiquitiSmartpower PowerPortTemplateTypeValue = "ubiquiti-smartpower" + 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" + PowerPortTemplateTypeValueUsbMicroAb PowerPortTemplateTypeValue = "usb-micro-ab" + PowerPortTemplateTypeValueUsbMicroB PowerPortTemplateTypeValue = "usb-micro-b" + PowerPortTemplateTypeValueUsbMiniA PowerPortTemplateTypeValue = "usb-mini-a" + PowerPortTemplateTypeValueUsbMiniB PowerPortTemplateTypeValue = "usb-mini-b" +) + +// Defines values for PowerPortTemplateRequestType. +const ( + PowerPortTemplateRequestTypeCs6361c PowerPortTemplateRequestType = "cs6361c" + PowerPortTemplateRequestTypeCs6365c PowerPortTemplateRequestType = "cs6365c" + PowerPortTemplateRequestTypeCs8165c PowerPortTemplateRequestType = "cs8165c" + PowerPortTemplateRequestTypeCs8265c PowerPortTemplateRequestType = "cs8265c" + PowerPortTemplateRequestTypeCs8365c PowerPortTemplateRequestType = "cs8365c" + PowerPortTemplateRequestTypeCs8465c PowerPortTemplateRequestType = "cs8465c" + PowerPortTemplateRequestTypeDcTerminal PowerPortTemplateRequestType = "dc-terminal" + PowerPortTemplateRequestTypeEmpty PowerPortTemplateRequestType = "" + PowerPortTemplateRequestTypeHardwired PowerPortTemplateRequestType = "hardwired" + PowerPortTemplateRequestTypeIec603092pE4h PowerPortTemplateRequestType = "iec-60309-2p-e-4h" + PowerPortTemplateRequestTypeIec603092pE6h PowerPortTemplateRequestType = "iec-60309-2p-e-6h" + PowerPortTemplateRequestTypeIec603092pE9h PowerPortTemplateRequestType = "iec-60309-2p-e-9h" + PowerPortTemplateRequestTypeIec603093pE4h PowerPortTemplateRequestType = "iec-60309-3p-e-4h" + PowerPortTemplateRequestTypeIec603093pE6h PowerPortTemplateRequestType = "iec-60309-3p-e-6h" + PowerPortTemplateRequestTypeIec603093pE9h PowerPortTemplateRequestType = "iec-60309-3p-e-9h" + PowerPortTemplateRequestTypeIec603093pNE4h PowerPortTemplateRequestType = "iec-60309-3p-n-e-4h" + PowerPortTemplateRequestTypeIec603093pNE6h PowerPortTemplateRequestType = "iec-60309-3p-n-e-6h" + PowerPortTemplateRequestTypeIec603093pNE9h PowerPortTemplateRequestType = "iec-60309-3p-n-e-9h" + PowerPortTemplateRequestTypeIec60309PNE4h PowerPortTemplateRequestType = "iec-60309-p-n-e-4h" + PowerPortTemplateRequestTypeIec60309PNE6h PowerPortTemplateRequestType = "iec-60309-p-n-e-6h" + PowerPortTemplateRequestTypeIec60309PNE9h PowerPortTemplateRequestType = "iec-60309-p-n-e-9h" + PowerPortTemplateRequestTypeIec60320C14 PowerPortTemplateRequestType = "iec-60320-c14" + PowerPortTemplateRequestTypeIec60320C16 PowerPortTemplateRequestType = "iec-60320-c16" + PowerPortTemplateRequestTypeIec60320C20 PowerPortTemplateRequestType = "iec-60320-c20" + PowerPortTemplateRequestTypeIec60320C22 PowerPortTemplateRequestType = "iec-60320-c22" + PowerPortTemplateRequestTypeIec60320C6 PowerPortTemplateRequestType = "iec-60320-c6" + PowerPortTemplateRequestTypeIec60320C8 PowerPortTemplateRequestType = "iec-60320-c8" + PowerPortTemplateRequestTypeIec609061 PowerPortTemplateRequestType = "iec-60906-1" + PowerPortTemplateRequestTypeItaC PowerPortTemplateRequestType = "ita-c" + PowerPortTemplateRequestTypeItaE PowerPortTemplateRequestType = "ita-e" + PowerPortTemplateRequestTypeItaEf PowerPortTemplateRequestType = "ita-ef" + PowerPortTemplateRequestTypeItaF PowerPortTemplateRequestType = "ita-f" + PowerPortTemplateRequestTypeItaG PowerPortTemplateRequestType = "ita-g" + PowerPortTemplateRequestTypeItaH PowerPortTemplateRequestType = "ita-h" + PowerPortTemplateRequestTypeItaI PowerPortTemplateRequestType = "ita-i" + PowerPortTemplateRequestTypeItaJ PowerPortTemplateRequestType = "ita-j" + PowerPortTemplateRequestTypeItaK PowerPortTemplateRequestType = "ita-k" + PowerPortTemplateRequestTypeItaL PowerPortTemplateRequestType = "ita-l" + PowerPortTemplateRequestTypeItaM PowerPortTemplateRequestType = "ita-m" + PowerPortTemplateRequestTypeItaN PowerPortTemplateRequestType = "ita-n" + PowerPortTemplateRequestTypeItaO PowerPortTemplateRequestType = "ita-o" + PowerPortTemplateRequestTypeNbr1413610a PowerPortTemplateRequestType = "nbr-14136-10a" + PowerPortTemplateRequestTypeNbr1413620a PowerPortTemplateRequestType = "nbr-14136-20a" + PowerPortTemplateRequestTypeNema1030p PowerPortTemplateRequestType = "nema-10-30p" + PowerPortTemplateRequestTypeNema1050p PowerPortTemplateRequestType = "nema-10-50p" + PowerPortTemplateRequestTypeNema115p PowerPortTemplateRequestType = "nema-1-15p" + PowerPortTemplateRequestTypeNema1420p PowerPortTemplateRequestType = "nema-14-20p" + PowerPortTemplateRequestTypeNema1430p PowerPortTemplateRequestType = "nema-14-30p" + PowerPortTemplateRequestTypeNema1450p PowerPortTemplateRequestType = "nema-14-50p" + PowerPortTemplateRequestTypeNema1460p PowerPortTemplateRequestType = "nema-14-60p" + PowerPortTemplateRequestTypeNema1515p PowerPortTemplateRequestType = "nema-15-15p" + PowerPortTemplateRequestTypeNema1520p PowerPortTemplateRequestType = "nema-15-20p" + PowerPortTemplateRequestTypeNema1530p PowerPortTemplateRequestType = "nema-15-30p" + PowerPortTemplateRequestTypeNema1550p PowerPortTemplateRequestType = "nema-15-50p" + PowerPortTemplateRequestTypeNema1560p PowerPortTemplateRequestType = "nema-15-60p" + PowerPortTemplateRequestTypeNema515p PowerPortTemplateRequestType = "nema-5-15p" + PowerPortTemplateRequestTypeNema520p PowerPortTemplateRequestType = "nema-5-20p" + PowerPortTemplateRequestTypeNema530p PowerPortTemplateRequestType = "nema-5-30p" + PowerPortTemplateRequestTypeNema550p PowerPortTemplateRequestType = "nema-5-50p" + PowerPortTemplateRequestTypeNema615p PowerPortTemplateRequestType = "nema-6-15p" + PowerPortTemplateRequestTypeNema620p PowerPortTemplateRequestType = "nema-6-20p" + PowerPortTemplateRequestTypeNema630p PowerPortTemplateRequestType = "nema-6-30p" + PowerPortTemplateRequestTypeNema650p PowerPortTemplateRequestType = "nema-6-50p" + PowerPortTemplateRequestTypeNemaL1030p PowerPortTemplateRequestType = "nema-l10-30p" + PowerPortTemplateRequestTypeNemaL115p PowerPortTemplateRequestType = "nema-l1-15p" + PowerPortTemplateRequestTypeNemaL1420p PowerPortTemplateRequestType = "nema-l14-20p" + PowerPortTemplateRequestTypeNemaL1430p PowerPortTemplateRequestType = "nema-l14-30p" + PowerPortTemplateRequestTypeNemaL1450p PowerPortTemplateRequestType = "nema-l14-50p" + PowerPortTemplateRequestTypeNemaL1460p PowerPortTemplateRequestType = "nema-l14-60p" + PowerPortTemplateRequestTypeNemaL1520p PowerPortTemplateRequestType = "nema-l15-20p" + PowerPortTemplateRequestTypeNemaL1530p PowerPortTemplateRequestType = "nema-l15-30p" + PowerPortTemplateRequestTypeNemaL1550p PowerPortTemplateRequestType = "nema-l15-50p" + PowerPortTemplateRequestTypeNemaL1560p PowerPortTemplateRequestType = "nema-l15-60p" + PowerPortTemplateRequestTypeNemaL2120p PowerPortTemplateRequestType = "nema-l21-20p" + PowerPortTemplateRequestTypeNemaL2130p PowerPortTemplateRequestType = "nema-l21-30p" + PowerPortTemplateRequestTypeNemaL2230p PowerPortTemplateRequestType = "nema-l22-30p" + PowerPortTemplateRequestTypeNemaL515p PowerPortTemplateRequestType = "nema-l5-15p" + PowerPortTemplateRequestTypeNemaL520p PowerPortTemplateRequestType = "nema-l5-20p" + PowerPortTemplateRequestTypeNemaL530p PowerPortTemplateRequestType = "nema-l5-30p" + PowerPortTemplateRequestTypeNemaL550p PowerPortTemplateRequestType = "nema-l5-50p" + PowerPortTemplateRequestTypeNemaL615p PowerPortTemplateRequestType = "nema-l6-15p" + PowerPortTemplateRequestTypeNemaL620p PowerPortTemplateRequestType = "nema-l6-20p" + PowerPortTemplateRequestTypeNemaL630p PowerPortTemplateRequestType = "nema-l6-30p" + PowerPortTemplateRequestTypeNemaL650p PowerPortTemplateRequestType = "nema-l6-50p" + PowerPortTemplateRequestTypeNeutrikPowercon20 PowerPortTemplateRequestType = "neutrik-powercon-20" + PowerPortTemplateRequestTypeNeutrikPowercon32 PowerPortTemplateRequestType = "neutrik-powercon-32" + PowerPortTemplateRequestTypeNeutrikPowerconTrue1 PowerPortTemplateRequestType = "neutrik-powercon-true1" + PowerPortTemplateRequestTypeNeutrikPowerconTrue1Top PowerPortTemplateRequestType = "neutrik-powercon-true1-top" + PowerPortTemplateRequestTypeOther PowerPortTemplateRequestType = "other" + PowerPortTemplateRequestTypeSafDGrid PowerPortTemplateRequestType = "saf-d-grid" + PowerPortTemplateRequestTypeUbiquitiSmartpower PowerPortTemplateRequestType = "ubiquiti-smartpower" + PowerPortTemplateRequestTypeUsb3B PowerPortTemplateRequestType = "usb-3-b" + PowerPortTemplateRequestTypeUsb3MicroB PowerPortTemplateRequestType = "usb-3-micro-b" + PowerPortTemplateRequestTypeUsbA PowerPortTemplateRequestType = "usb-a" + PowerPortTemplateRequestTypeUsbB PowerPortTemplateRequestType = "usb-b" + PowerPortTemplateRequestTypeUsbC PowerPortTemplateRequestType = "usb-c" + PowerPortTemplateRequestTypeUsbMicroA PowerPortTemplateRequestType = "usb-micro-a" + PowerPortTemplateRequestTypeUsbMicroAb PowerPortTemplateRequestType = "usb-micro-ab" + PowerPortTemplateRequestTypeUsbMicroB PowerPortTemplateRequestType = "usb-micro-b" + PowerPortTemplateRequestTypeUsbMiniA PowerPortTemplateRequestType = "usb-mini-a" + PowerPortTemplateRequestTypeUsbMiniB PowerPortTemplateRequestType = "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" + PrefixStatusLabelReserved PrefixStatusLabel = "Reserved" +) + +// Defines values for PrefixStatusValue. +const ( + PrefixStatusValueActive PrefixStatusValue = "active" + PrefixStatusValueContainer PrefixStatusValue = "container" + PrefixStatusValueDeprecated PrefixStatusValue = "deprecated" + PrefixStatusValueReserved PrefixStatusValue = "reserved" +) + +// Defines values for PrefixRequestStatus. +const ( + PrefixRequestStatusActive PrefixRequestStatus = "active" + PrefixRequestStatusContainer PrefixRequestStatus = "container" + PrefixRequestStatusDeprecated PrefixRequestStatus = "deprecated" + PrefixRequestStatusReserved PrefixRequestStatus = "reserved" +) + +// Defines values for RackOuterUnitLabel. +const ( + RackOuterUnitLabelInches RackOuterUnitLabel = "Inches" + RackOuterUnitLabelMillimeters RackOuterUnitLabel = "Millimeters" +) + +// Defines values for RackOuterUnitValue. +const ( + RackOuterUnitValueEmpty RackOuterUnitValue = "" + 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" + RackTypeLabelWallMountedCabinetVertical RackTypeLabel = "Wall-mounted cabinet (vertical)" + RackTypeLabelWallMountedFrame RackTypeLabel = "Wall-mounted frame" + RackTypeLabelWallMountedFrameVertical RackTypeLabel = "Wall-mounted frame (vertical)" +) + +// Defines values for RackTypeValue. +const ( + RackTypeValueEmpty RackTypeValue = "" + RackTypeValueN2PostFrame RackTypeValue = "2-post-frame" + RackTypeValueN4PostCabinet RackTypeValue = "4-post-cabinet" + RackTypeValueN4PostFrame RackTypeValue = "4-post-frame" + RackTypeValueWallCabinet RackTypeValue = "wall-cabinet" + RackTypeValueWallCabinetVertical RackTypeValue = "wall-cabinet-vertical" + RackTypeValueWallFrame RackTypeValue = "wall-frame" + RackTypeValueWallFrameVertical RackTypeValue = "wall-frame-vertical" +) + +// Defines values for RackWeightUnitLabel. +const ( + Grams RackWeightUnitLabel = "Grams" + Kilograms RackWeightUnitLabel = "Kilograms" + Ounces RackWeightUnitLabel = "Ounces" + Pounds RackWeightUnitLabel = "Pounds" +) + +// Defines values for RackWeightUnitValue. +const ( + RackWeightUnitValueEmpty RackWeightUnitValue = "" + RackWeightUnitValueG RackWeightUnitValue = "g" + RackWeightUnitValueKg RackWeightUnitValue = "kg" + RackWeightUnitValueLb RackWeightUnitValue = "lb" + RackWeightUnitValueOz RackWeightUnitValue = "oz" +) + +// Defines values for RackWidthLabel. +const ( + N10Inches RackWidthLabel = "10 inches" + N19Inches RackWidthLabel = "19 inches" + N21Inches RackWidthLabel = "21 inches" + N23Inches RackWidthLabel = "23 inches" +) + +// Defines values for RackWidthValue. +const ( + RackWidthValueN10 RackWidthValue = 10 + RackWidthValueN19 RackWidthValue = 19 + RackWidthValueN21 RackWidthValue = 21 + RackWidthValueN23 RackWidthValue = 23 +) + +// Defines values for RackRequestOuterUnit. +const ( + RackRequestOuterUnitEmpty RackRequestOuterUnit = "" + RackRequestOuterUnitIn RackRequestOuterUnit = "in" + RackRequestOuterUnitMm RackRequestOuterUnit = "mm" +) + +// Defines values for RackRequestStatus. +const ( + RackRequestStatusActive RackRequestStatus = "active" + RackRequestStatusAvailable RackRequestStatus = "available" + RackRequestStatusDeprecated RackRequestStatus = "deprecated" + RackRequestStatusPlanned RackRequestStatus = "planned" + RackRequestStatusReserved RackRequestStatus = "reserved" +) + +// Defines values for RackRequestType. +const ( + RackRequestTypeEmpty RackRequestType = "" + RackRequestTypeN2PostFrame RackRequestType = "2-post-frame" + RackRequestTypeN4PostCabinet RackRequestType = "4-post-cabinet" + RackRequestTypeN4PostFrame RackRequestType = "4-post-frame" + RackRequestTypeWallCabinet RackRequestType = "wall-cabinet" + RackRequestTypeWallCabinetVertical RackRequestType = "wall-cabinet-vertical" + RackRequestTypeWallFrame RackRequestType = "wall-frame" + RackRequestTypeWallFrameVertical RackRequestType = "wall-frame-vertical" +) + +// Defines values for RackRequestWeightUnit. +const ( + RackRequestWeightUnitEmpty RackRequestWeightUnit = "" + RackRequestWeightUnitG RackRequestWeightUnit = "g" + RackRequestWeightUnitKg RackRequestWeightUnit = "kg" + RackRequestWeightUnitLb RackRequestWeightUnit = "lb" + RackRequestWeightUnitOz RackRequestWeightUnit = "oz" +) + +// Defines values for RackRequestWidth. +const ( + RackRequestWidthN10 RackRequestWidth = 10 + RackRequestWidthN19 RackRequestWidth = 19 + RackRequestWidthN21 RackRequestWidth = 21 + RackRequestWidthN23 RackRequestWidth = 23 +) + +// Defines values for RearPortTypeLabel. +const ( + RearPortTypeLabelBNC RearPortTypeLabel = "BNC" + RearPortTypeLabelCS RearPortTypeLabel = "CS" + RearPortTypeLabelFC RearPortTypeLabel = "FC" + RearPortTypeLabelFConnector RearPortTypeLabel = "F Connector" + RearPortTypeLabelGG45 RearPortTypeLabel = "GG45" + RearPortTypeLabelLC RearPortTypeLabel = "LC" + RearPortTypeLabelLCAPC RearPortTypeLabel = "LC/APC" + RearPortTypeLabelLCPC RearPortTypeLabel = "LC/PC" + RearPortTypeLabelLCUPC RearPortTypeLabel = "LC/UPC" + RearPortTypeLabelLSH RearPortTypeLabel = "LSH" + RearPortTypeLabelLSHAPC RearPortTypeLabel = "LSH/APC" + RearPortTypeLabelLSHPC RearPortTypeLabel = "LSH/PC" + RearPortTypeLabelLSHUPC RearPortTypeLabel = "LSH/UPC" + RearPortTypeLabelLX5 RearPortTypeLabel = "LX.5" + RearPortTypeLabelLX5APC RearPortTypeLabel = "LX.5/APC" + RearPortTypeLabelLX5PC RearPortTypeLabel = "LX.5/PC" + RearPortTypeLabelLX5UPC RearPortTypeLabel = "LX.5/UPC" + RearPortTypeLabelMPO RearPortTypeLabel = "MPO" + RearPortTypeLabelMRJ21 RearPortTypeLabel = "MRJ21" + RearPortTypeLabelMTRJ RearPortTypeLabel = "MTRJ" + RearPortTypeLabelN110Punch RearPortTypeLabel = "110 Punch" + RearPortTypeLabelN4P2C RearPortTypeLabel = "4P2C" + RearPortTypeLabelN4P4C RearPortTypeLabel = "4P4C" + RearPortTypeLabelN6P2C RearPortTypeLabel = "6P2C" + RearPortTypeLabelN6P4C RearPortTypeLabel = "6P4C" + RearPortTypeLabelN6P6C RearPortTypeLabel = "6P6C" + RearPortTypeLabelN8P2C RearPortTypeLabel = "8P2C" + RearPortTypeLabelN8P4C RearPortTypeLabel = "8P4C" + RearPortTypeLabelN8P6C RearPortTypeLabel = "8P6C" + RearPortTypeLabelN8P8C RearPortTypeLabel = "8P8C" + RearPortTypeLabelNConnector RearPortTypeLabel = "N Connector" + RearPortTypeLabelOther RearPortTypeLabel = "Other" + RearPortTypeLabelSC RearPortTypeLabel = "SC" + RearPortTypeLabelSCAPC RearPortTypeLabel = "SC/APC" + RearPortTypeLabelSCPC RearPortTypeLabel = "SC/PC" + RearPortTypeLabelSCUPC RearPortTypeLabel = "SC/UPC" + RearPortTypeLabelSMA905 RearPortTypeLabel = "SMA 905" + RearPortTypeLabelSMA906 RearPortTypeLabel = "SMA 906" + 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" + RearPortTypeValueF RearPortTypeValue = "f" + RearPortTypeValueFc RearPortTypeValue = "fc" + RearPortTypeValueGg45 RearPortTypeValue = "gg45" + RearPortTypeValueLc RearPortTypeValue = "lc" + RearPortTypeValueLcApc RearPortTypeValue = "lc-apc" + RearPortTypeValueLcPc RearPortTypeValue = "lc-pc" + RearPortTypeValueLcUpc RearPortTypeValue = "lc-upc" + RearPortTypeValueLsh RearPortTypeValue = "lsh" + RearPortTypeValueLshApc RearPortTypeValue = "lsh-apc" + RearPortTypeValueLshPc RearPortTypeValue = "lsh-pc" + RearPortTypeValueLshUpc RearPortTypeValue = "lsh-upc" + RearPortTypeValueLx5 RearPortTypeValue = "lx5" + RearPortTypeValueLx5Apc RearPortTypeValue = "lx5-apc" + RearPortTypeValueLx5Pc RearPortTypeValue = "lx5-pc" + RearPortTypeValueLx5Upc RearPortTypeValue = "lx5-upc" + RearPortTypeValueMpo RearPortTypeValue = "mpo" + RearPortTypeValueMrj21 RearPortTypeValue = "mrj21" + RearPortTypeValueMtrj RearPortTypeValue = "mtrj" + RearPortTypeValueN RearPortTypeValue = "n" + RearPortTypeValueN110Punch RearPortTypeValue = "110-punch" + RearPortTypeValueN4p2c RearPortTypeValue = "4p2c" + RearPortTypeValueN4p4c RearPortTypeValue = "4p4c" + RearPortTypeValueN6p2c RearPortTypeValue = "6p2c" + RearPortTypeValueN6p4c RearPortTypeValue = "6p4c" + RearPortTypeValueN6p6c RearPortTypeValue = "6p6c" + RearPortTypeValueN8p2c RearPortTypeValue = "8p2c" + RearPortTypeValueN8p4c RearPortTypeValue = "8p4c" + RearPortTypeValueN8p6c RearPortTypeValue = "8p6c" + RearPortTypeValueN8p8c RearPortTypeValue = "8p8c" + RearPortTypeValueOther RearPortTypeValue = "other" + RearPortTypeValueSc RearPortTypeValue = "sc" + RearPortTypeValueScApc RearPortTypeValue = "sc-apc" + RearPortTypeValueScPc RearPortTypeValue = "sc-pc" + RearPortTypeValueScUpc RearPortTypeValue = "sc-upc" + RearPortTypeValueSma905 RearPortTypeValue = "sma-905" + RearPortTypeValueSma906 RearPortTypeValue = "sma-906" + 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 RearPortRequestType. +const ( + RearPortRequestTypeBnc RearPortRequestType = "bnc" + RearPortRequestTypeCs RearPortRequestType = "cs" + RearPortRequestTypeF RearPortRequestType = "f" + RearPortRequestTypeFc RearPortRequestType = "fc" + RearPortRequestTypeGg45 RearPortRequestType = "gg45" + RearPortRequestTypeLc RearPortRequestType = "lc" + RearPortRequestTypeLcApc RearPortRequestType = "lc-apc" + RearPortRequestTypeLcPc RearPortRequestType = "lc-pc" + RearPortRequestTypeLcUpc RearPortRequestType = "lc-upc" + RearPortRequestTypeLsh RearPortRequestType = "lsh" + RearPortRequestTypeLshApc RearPortRequestType = "lsh-apc" + RearPortRequestTypeLshPc RearPortRequestType = "lsh-pc" + RearPortRequestTypeLshUpc RearPortRequestType = "lsh-upc" + RearPortRequestTypeLx5 RearPortRequestType = "lx5" + RearPortRequestTypeLx5Apc RearPortRequestType = "lx5-apc" + RearPortRequestTypeLx5Pc RearPortRequestType = "lx5-pc" + RearPortRequestTypeLx5Upc RearPortRequestType = "lx5-upc" + RearPortRequestTypeMpo RearPortRequestType = "mpo" + RearPortRequestTypeMrj21 RearPortRequestType = "mrj21" + RearPortRequestTypeMtrj RearPortRequestType = "mtrj" + RearPortRequestTypeN RearPortRequestType = "n" + RearPortRequestTypeN110Punch RearPortRequestType = "110-punch" + RearPortRequestTypeN4p2c RearPortRequestType = "4p2c" + RearPortRequestTypeN4p4c RearPortRequestType = "4p4c" + RearPortRequestTypeN6p2c RearPortRequestType = "6p2c" + RearPortRequestTypeN6p4c RearPortRequestType = "6p4c" + RearPortRequestTypeN6p6c RearPortRequestType = "6p6c" + RearPortRequestTypeN8p2c RearPortRequestType = "8p2c" + RearPortRequestTypeN8p4c RearPortRequestType = "8p4c" + RearPortRequestTypeN8p6c RearPortRequestType = "8p6c" + RearPortRequestTypeN8p8c RearPortRequestType = "8p8c" + RearPortRequestTypeOther RearPortRequestType = "other" + RearPortRequestTypeSc RearPortRequestType = "sc" + RearPortRequestTypeScApc RearPortRequestType = "sc-apc" + RearPortRequestTypeScPc RearPortRequestType = "sc-pc" + RearPortRequestTypeScUpc RearPortRequestType = "sc-upc" + RearPortRequestTypeSma905 RearPortRequestType = "sma-905" + RearPortRequestTypeSma906 RearPortRequestType = "sma-906" + RearPortRequestTypeSn RearPortRequestType = "sn" + RearPortRequestTypeSplice RearPortRequestType = "splice" + RearPortRequestTypeSt RearPortRequestType = "st" + RearPortRequestTypeTera1p RearPortRequestType = "tera-1p" + RearPortRequestTypeTera2p RearPortRequestType = "tera-2p" + RearPortRequestTypeTera4p RearPortRequestType = "tera-4p" + RearPortRequestTypeUrmP2 RearPortRequestType = "urm-p2" + RearPortRequestTypeUrmP4 RearPortRequestType = "urm-p4" + RearPortRequestTypeUrmP8 RearPortRequestType = "urm-p8" +) + +// Defines values for RearPortTemplateTypeLabel. +const ( + RearPortTemplateTypeLabelBNC RearPortTemplateTypeLabel = "BNC" + RearPortTemplateTypeLabelCS RearPortTemplateTypeLabel = "CS" + RearPortTemplateTypeLabelFC RearPortTemplateTypeLabel = "FC" + RearPortTemplateTypeLabelFConnector RearPortTemplateTypeLabel = "F Connector" + RearPortTemplateTypeLabelGG45 RearPortTemplateTypeLabel = "GG45" + RearPortTemplateTypeLabelLC RearPortTemplateTypeLabel = "LC" + RearPortTemplateTypeLabelLCAPC RearPortTemplateTypeLabel = "LC/APC" + RearPortTemplateTypeLabelLCPC RearPortTemplateTypeLabel = "LC/PC" + RearPortTemplateTypeLabelLCUPC RearPortTemplateTypeLabel = "LC/UPC" + RearPortTemplateTypeLabelLSH RearPortTemplateTypeLabel = "LSH" + RearPortTemplateTypeLabelLSHAPC RearPortTemplateTypeLabel = "LSH/APC" + RearPortTemplateTypeLabelLSHPC RearPortTemplateTypeLabel = "LSH/PC" + RearPortTemplateTypeLabelLSHUPC RearPortTemplateTypeLabel = "LSH/UPC" + RearPortTemplateTypeLabelLX5 RearPortTemplateTypeLabel = "LX.5" + RearPortTemplateTypeLabelLX5APC RearPortTemplateTypeLabel = "LX.5/APC" + RearPortTemplateTypeLabelLX5PC RearPortTemplateTypeLabel = "LX.5/PC" + RearPortTemplateTypeLabelLX5UPC RearPortTemplateTypeLabel = "LX.5/UPC" + RearPortTemplateTypeLabelMPO RearPortTemplateTypeLabel = "MPO" + RearPortTemplateTypeLabelMRJ21 RearPortTemplateTypeLabel = "MRJ21" + RearPortTemplateTypeLabelMTRJ RearPortTemplateTypeLabel = "MTRJ" + RearPortTemplateTypeLabelN110Punch RearPortTemplateTypeLabel = "110 Punch" + RearPortTemplateTypeLabelN4P2C RearPortTemplateTypeLabel = "4P2C" + RearPortTemplateTypeLabelN4P4C RearPortTemplateTypeLabel = "4P4C" + RearPortTemplateTypeLabelN6P2C RearPortTemplateTypeLabel = "6P2C" + RearPortTemplateTypeLabelN6P4C RearPortTemplateTypeLabel = "6P4C" + RearPortTemplateTypeLabelN6P6C RearPortTemplateTypeLabel = "6P6C" + RearPortTemplateTypeLabelN8P2C RearPortTemplateTypeLabel = "8P2C" + RearPortTemplateTypeLabelN8P4C RearPortTemplateTypeLabel = "8P4C" + RearPortTemplateTypeLabelN8P6C RearPortTemplateTypeLabel = "8P6C" + RearPortTemplateTypeLabelN8P8C RearPortTemplateTypeLabel = "8P8C" + RearPortTemplateTypeLabelNConnector RearPortTemplateTypeLabel = "N Connector" + RearPortTemplateTypeLabelOther RearPortTemplateTypeLabel = "Other" + RearPortTemplateTypeLabelSC RearPortTemplateTypeLabel = "SC" + RearPortTemplateTypeLabelSCAPC RearPortTemplateTypeLabel = "SC/APC" + RearPortTemplateTypeLabelSCPC RearPortTemplateTypeLabel = "SC/PC" + RearPortTemplateTypeLabelSCUPC RearPortTemplateTypeLabel = "SC/UPC" + RearPortTemplateTypeLabelSMA905 RearPortTemplateTypeLabel = "SMA 905" + RearPortTemplateTypeLabelSMA906 RearPortTemplateTypeLabel = "SMA 906" + 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" + RearPortTemplateTypeValueF RearPortTemplateTypeValue = "f" + RearPortTemplateTypeValueFc RearPortTemplateTypeValue = "fc" + RearPortTemplateTypeValueGg45 RearPortTemplateTypeValue = "gg45" + RearPortTemplateTypeValueLc RearPortTemplateTypeValue = "lc" + RearPortTemplateTypeValueLcApc RearPortTemplateTypeValue = "lc-apc" + RearPortTemplateTypeValueLcPc RearPortTemplateTypeValue = "lc-pc" + RearPortTemplateTypeValueLcUpc RearPortTemplateTypeValue = "lc-upc" + RearPortTemplateTypeValueLsh RearPortTemplateTypeValue = "lsh" + RearPortTemplateTypeValueLshApc RearPortTemplateTypeValue = "lsh-apc" + RearPortTemplateTypeValueLshPc RearPortTemplateTypeValue = "lsh-pc" + RearPortTemplateTypeValueLshUpc RearPortTemplateTypeValue = "lsh-upc" + RearPortTemplateTypeValueLx5 RearPortTemplateTypeValue = "lx5" + RearPortTemplateTypeValueLx5Apc RearPortTemplateTypeValue = "lx5-apc" + RearPortTemplateTypeValueLx5Pc RearPortTemplateTypeValue = "lx5-pc" + RearPortTemplateTypeValueLx5Upc RearPortTemplateTypeValue = "lx5-upc" + RearPortTemplateTypeValueMpo RearPortTemplateTypeValue = "mpo" + RearPortTemplateTypeValueMrj21 RearPortTemplateTypeValue = "mrj21" + RearPortTemplateTypeValueMtrj RearPortTemplateTypeValue = "mtrj" + RearPortTemplateTypeValueN RearPortTemplateTypeValue = "n" + RearPortTemplateTypeValueN110Punch RearPortTemplateTypeValue = "110-punch" + RearPortTemplateTypeValueN4p2c RearPortTemplateTypeValue = "4p2c" + RearPortTemplateTypeValueN4p4c RearPortTemplateTypeValue = "4p4c" + RearPortTemplateTypeValueN6p2c RearPortTemplateTypeValue = "6p2c" + RearPortTemplateTypeValueN6p4c RearPortTemplateTypeValue = "6p4c" + RearPortTemplateTypeValueN6p6c RearPortTemplateTypeValue = "6p6c" + RearPortTemplateTypeValueN8p2c RearPortTemplateTypeValue = "8p2c" + RearPortTemplateTypeValueN8p4c RearPortTemplateTypeValue = "8p4c" + RearPortTemplateTypeValueN8p6c RearPortTemplateTypeValue = "8p6c" + RearPortTemplateTypeValueN8p8c RearPortTemplateTypeValue = "8p8c" + RearPortTemplateTypeValueOther RearPortTemplateTypeValue = "other" + RearPortTemplateTypeValueSc RearPortTemplateTypeValue = "sc" + RearPortTemplateTypeValueScApc RearPortTemplateTypeValue = "sc-apc" + RearPortTemplateTypeValueScPc RearPortTemplateTypeValue = "sc-pc" + RearPortTemplateTypeValueScUpc RearPortTemplateTypeValue = "sc-upc" + RearPortTemplateTypeValueSma905 RearPortTemplateTypeValue = "sma-905" + RearPortTemplateTypeValueSma906 RearPortTemplateTypeValue = "sma-906" + 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 RearPortTemplateRequestType. +const ( + RearPortTemplateRequestTypeBnc RearPortTemplateRequestType = "bnc" + RearPortTemplateRequestTypeCs RearPortTemplateRequestType = "cs" + RearPortTemplateRequestTypeF RearPortTemplateRequestType = "f" + RearPortTemplateRequestTypeFc RearPortTemplateRequestType = "fc" + RearPortTemplateRequestTypeGg45 RearPortTemplateRequestType = "gg45" + RearPortTemplateRequestTypeLc RearPortTemplateRequestType = "lc" + RearPortTemplateRequestTypeLcApc RearPortTemplateRequestType = "lc-apc" + RearPortTemplateRequestTypeLcPc RearPortTemplateRequestType = "lc-pc" + RearPortTemplateRequestTypeLcUpc RearPortTemplateRequestType = "lc-upc" + RearPortTemplateRequestTypeLsh RearPortTemplateRequestType = "lsh" + RearPortTemplateRequestTypeLshApc RearPortTemplateRequestType = "lsh-apc" + RearPortTemplateRequestTypeLshPc RearPortTemplateRequestType = "lsh-pc" + RearPortTemplateRequestTypeLshUpc RearPortTemplateRequestType = "lsh-upc" + RearPortTemplateRequestTypeLx5 RearPortTemplateRequestType = "lx5" + RearPortTemplateRequestTypeLx5Apc RearPortTemplateRequestType = "lx5-apc" + RearPortTemplateRequestTypeLx5Pc RearPortTemplateRequestType = "lx5-pc" + RearPortTemplateRequestTypeLx5Upc RearPortTemplateRequestType = "lx5-upc" + RearPortTemplateRequestTypeMpo RearPortTemplateRequestType = "mpo" + RearPortTemplateRequestTypeMrj21 RearPortTemplateRequestType = "mrj21" + RearPortTemplateRequestTypeMtrj RearPortTemplateRequestType = "mtrj" + RearPortTemplateRequestTypeN RearPortTemplateRequestType = "n" + RearPortTemplateRequestTypeN110Punch RearPortTemplateRequestType = "110-punch" + RearPortTemplateRequestTypeN4p2c RearPortTemplateRequestType = "4p2c" + RearPortTemplateRequestTypeN4p4c RearPortTemplateRequestType = "4p4c" + RearPortTemplateRequestTypeN6p2c RearPortTemplateRequestType = "6p2c" + RearPortTemplateRequestTypeN6p4c RearPortTemplateRequestType = "6p4c" + RearPortTemplateRequestTypeN6p6c RearPortTemplateRequestType = "6p6c" + RearPortTemplateRequestTypeN8p2c RearPortTemplateRequestType = "8p2c" + RearPortTemplateRequestTypeN8p4c RearPortTemplateRequestType = "8p4c" + RearPortTemplateRequestTypeN8p6c RearPortTemplateRequestType = "8p6c" + RearPortTemplateRequestTypeN8p8c RearPortTemplateRequestType = "8p8c" + RearPortTemplateRequestTypeOther RearPortTemplateRequestType = "other" + RearPortTemplateRequestTypeSc RearPortTemplateRequestType = "sc" + RearPortTemplateRequestTypeScApc RearPortTemplateRequestType = "sc-apc" + RearPortTemplateRequestTypeScPc RearPortTemplateRequestType = "sc-pc" + RearPortTemplateRequestTypeScUpc RearPortTemplateRequestType = "sc-upc" + RearPortTemplateRequestTypeSma905 RearPortTemplateRequestType = "sma-905" + RearPortTemplateRequestTypeSma906 RearPortTemplateRequestType = "sma-906" + RearPortTemplateRequestTypeSn RearPortTemplateRequestType = "sn" + RearPortTemplateRequestTypeSplice RearPortTemplateRequestType = "splice" + RearPortTemplateRequestTypeSt RearPortTemplateRequestType = "st" + RearPortTemplateRequestTypeTera1p RearPortTemplateRequestType = "tera-1p" + RearPortTemplateRequestTypeTera2p RearPortTemplateRequestType = "tera-2p" + RearPortTemplateRequestTypeTera4p RearPortTemplateRequestType = "tera-4p" + RearPortTemplateRequestTypeUrmP2 RearPortTemplateRequestType = "urm-p2" + RearPortTemplateRequestTypeUrmP4 RearPortTemplateRequestType = "urm-p4" + RearPortTemplateRequestTypeUrmP8 RearPortTemplateRequestType = "urm-p8" +) + +// Defines values for ServiceProtocolLabel. +const ( + ServiceProtocolLabelSCTP ServiceProtocolLabel = "SCTP" + ServiceProtocolLabelTCP ServiceProtocolLabel = "TCP" + ServiceProtocolLabelUDP ServiceProtocolLabel = "UDP" +) + +// Defines values for ServiceProtocolValue. +const ( + ServiceProtocolValueSctp ServiceProtocolValue = "sctp" + ServiceProtocolValueTcp ServiceProtocolValue = "tcp" + ServiceProtocolValueUdp ServiceProtocolValue = "udp" +) + +// Defines values for ServiceRequestProtocol. +const ( + ServiceRequestProtocolSctp ServiceRequestProtocol = "sctp" + ServiceRequestProtocolTcp ServiceRequestProtocol = "tcp" + ServiceRequestProtocolUdp ServiceRequestProtocol = "udp" +) + +// Defines values for ServiceTemplateProtocolLabel. +const ( + ServiceTemplateProtocolLabelSCTP ServiceTemplateProtocolLabel = "SCTP" + ServiceTemplateProtocolLabelTCP ServiceTemplateProtocolLabel = "TCP" + ServiceTemplateProtocolLabelUDP ServiceTemplateProtocolLabel = "UDP" +) + +// Defines values for ServiceTemplateProtocolValue. +const ( + ServiceTemplateProtocolValueSctp ServiceTemplateProtocolValue = "sctp" + ServiceTemplateProtocolValueTcp ServiceTemplateProtocolValue = "tcp" + ServiceTemplateProtocolValueUdp ServiceTemplateProtocolValue = "udp" +) + +// Defines values for ServiceTemplateRequestProtocol. +const ( + ServiceTemplateRequestProtocolSctp ServiceTemplateRequestProtocol = "sctp" + ServiceTemplateRequestProtocolTcp ServiceTemplateRequestProtocol = "tcp" + ServiceTemplateRequestProtocolUdp ServiceTemplateRequestProtocol = "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 SiteRequestStatus. +const ( + SiteRequestStatusActive SiteRequestStatus = "active" + SiteRequestStatusDecommissioning SiteRequestStatus = "decommissioning" + SiteRequestStatusPlanned SiteRequestStatus = "planned" + SiteRequestStatusRetired SiteRequestStatus = "retired" + SiteRequestStatusStaging SiteRequestStatus = "staging" +) + +// 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 VLANRequestStatus. +const ( + VLANRequestStatusActive VLANRequestStatus = "active" + VLANRequestStatusDeprecated VLANRequestStatus = "deprecated" + VLANRequestStatusReserved VLANRequestStatus = "reserved" +) + +// Defines values for VMInterfaceModeLabel. +const ( + VMInterfaceModeLabelAccess VMInterfaceModeLabel = "Access" + VMInterfaceModeLabelTagged VMInterfaceModeLabel = "Tagged" + VMInterfaceModeLabelTaggedAll VMInterfaceModeLabel = "Tagged (All)" +) + +// Defines values for VMInterfaceModeValue. +const ( + VMInterfaceModeValueAccess VMInterfaceModeValue = "access" + VMInterfaceModeValueEmpty VMInterfaceModeValue = "" + VMInterfaceModeValueTagged VMInterfaceModeValue = "tagged" + VMInterfaceModeValueTaggedAll VMInterfaceModeValue = "tagged-all" +) + +// Defines values for VMInterfaceRequestMode. +const ( + VMInterfaceRequestModeAccess VMInterfaceRequestMode = "access" + VMInterfaceRequestModeEmpty VMInterfaceRequestMode = "" + VMInterfaceRequestModeTagged VMInterfaceRequestMode = "tagged" + VMInterfaceRequestModeTaggedAll VMInterfaceRequestMode = "tagged-all" +) + +// Defines values for VirtualDeviceContextStatusLabel. +const ( + VirtualDeviceContextStatusLabelActive VirtualDeviceContextStatusLabel = "Active" + VirtualDeviceContextStatusLabelOffline VirtualDeviceContextStatusLabel = "Offline" + VirtualDeviceContextStatusLabelPlanned VirtualDeviceContextStatusLabel = "Planned" +) + +// Defines values for VirtualDeviceContextStatusValue. +const ( + VirtualDeviceContextStatusValueActive VirtualDeviceContextStatusValue = "active" + VirtualDeviceContextStatusValueOffline VirtualDeviceContextStatusValue = "offline" + VirtualDeviceContextStatusValuePlanned VirtualDeviceContextStatusValue = "planned" +) + +// Defines values for VirtualDeviceContextRequestStatus. +const ( + VirtualDeviceContextRequestStatusActive VirtualDeviceContextRequestStatus = "active" + VirtualDeviceContextRequestStatusOffline VirtualDeviceContextRequestStatus = "offline" + VirtualDeviceContextRequestStatusPlanned VirtualDeviceContextRequestStatus = "planned" +) + +// 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 VirtualMachineWithConfigContextRequestStatus. +const ( + VirtualMachineWithConfigContextRequestStatusActive VirtualMachineWithConfigContextRequestStatus = "active" + VirtualMachineWithConfigContextRequestStatusDecommissioning VirtualMachineWithConfigContextRequestStatus = "decommissioning" + VirtualMachineWithConfigContextRequestStatusFailed VirtualMachineWithConfigContextRequestStatus = "failed" + VirtualMachineWithConfigContextRequestStatusOffline VirtualMachineWithConfigContextRequestStatus = "offline" + VirtualMachineWithConfigContextRequestStatusPlanned VirtualMachineWithConfigContextRequestStatus = "planned" + VirtualMachineWithConfigContextRequestStatusStaged VirtualMachineWithConfigContextRequestStatus = "staged" +) + +// Defines values for WebhookHttpMethod. +const ( + WebhookHttpMethodDELETE WebhookHttpMethod = "DELETE" + WebhookHttpMethodGET WebhookHttpMethod = "GET" + WebhookHttpMethodPATCH WebhookHttpMethod = "PATCH" + WebhookHttpMethodPOST WebhookHttpMethod = "POST" + WebhookHttpMethodPUT WebhookHttpMethod = "PUT" +) + +// Defines values for WebhookRequestHttpMethod. +const ( + DELETE WebhookRequestHttpMethod = "DELETE" + GET WebhookRequestHttpMethod = "GET" + PATCH WebhookRequestHttpMethod = "PATCH" + POST WebhookRequestHttpMethod = "POST" + PUT WebhookRequestHttpMethod = "PUT" +) + +// Defines values for WirelessLANAuthCipherLabel. +const ( + WirelessLANAuthCipherLabelAES WirelessLANAuthCipherLabel = "AES" + WirelessLANAuthCipherLabelAuto WirelessLANAuthCipherLabel = "Auto" + WirelessLANAuthCipherLabelTKIP WirelessLANAuthCipherLabel = "TKIP" +) + +// Defines values for WirelessLANAuthCipherValue. +const ( + WirelessLANAuthCipherValueAes WirelessLANAuthCipherValue = "aes" + WirelessLANAuthCipherValueAuto WirelessLANAuthCipherValue = "auto" + WirelessLANAuthCipherValueEmpty WirelessLANAuthCipherValue = "" + WirelessLANAuthCipherValueTkip WirelessLANAuthCipherValue = "tkip" +) + +// Defines values for WirelessLANAuthTypeLabel. +const ( + WirelessLANAuthTypeLabelOpen WirelessLANAuthTypeLabel = "Open" + WirelessLANAuthTypeLabelWEP WirelessLANAuthTypeLabel = "WEP" + WirelessLANAuthTypeLabelWPAEnterprise WirelessLANAuthTypeLabel = "WPA Enterprise" + WirelessLANAuthTypeLabelWPAPersonalPSK WirelessLANAuthTypeLabel = "WPA Personal (PSK)" +) + +// Defines values for WirelessLANAuthTypeValue. +const ( + WirelessLANAuthTypeValueEmpty WirelessLANAuthTypeValue = "" + WirelessLANAuthTypeValueOpen WirelessLANAuthTypeValue = "open" + WirelessLANAuthTypeValueWep WirelessLANAuthTypeValue = "wep" + WirelessLANAuthTypeValueWpaEnterprise WirelessLANAuthTypeValue = "wpa-enterprise" + WirelessLANAuthTypeValueWpaPersonal WirelessLANAuthTypeValue = "wpa-personal" +) + +// Defines values for WirelessLANStatusLabel. +const ( + WirelessLANStatusLabelActive WirelessLANStatusLabel = "Active" + WirelessLANStatusLabelDeprecated WirelessLANStatusLabel = "Deprecated" + WirelessLANStatusLabelDisabled WirelessLANStatusLabel = "Disabled" + WirelessLANStatusLabelReserved WirelessLANStatusLabel = "Reserved" +) + +// Defines values for WirelessLANStatusValue. +const ( + WirelessLANStatusValueActive WirelessLANStatusValue = "active" + WirelessLANStatusValueDeprecated WirelessLANStatusValue = "deprecated" + WirelessLANStatusValueDisabled WirelessLANStatusValue = "disabled" + WirelessLANStatusValueEmpty WirelessLANStatusValue = "" + WirelessLANStatusValueReserved WirelessLANStatusValue = "reserved" +) + +// Defines values for WirelessLANRequestAuthCipher. +const ( + WirelessLANRequestAuthCipherAes WirelessLANRequestAuthCipher = "aes" + WirelessLANRequestAuthCipherAuto WirelessLANRequestAuthCipher = "auto" + WirelessLANRequestAuthCipherEmpty WirelessLANRequestAuthCipher = "" + WirelessLANRequestAuthCipherTkip WirelessLANRequestAuthCipher = "tkip" +) + +// Defines values for WirelessLANRequestAuthType. +const ( + WirelessLANRequestAuthTypeEmpty WirelessLANRequestAuthType = "" + WirelessLANRequestAuthTypeOpen WirelessLANRequestAuthType = "open" + WirelessLANRequestAuthTypeWep WirelessLANRequestAuthType = "wep" + WirelessLANRequestAuthTypeWpaEnterprise WirelessLANRequestAuthType = "wpa-enterprise" + WirelessLANRequestAuthTypeWpaPersonal WirelessLANRequestAuthType = "wpa-personal" +) + +// Defines values for WirelessLANRequestStatus. +const ( + WirelessLANRequestStatusActive WirelessLANRequestStatus = "active" + WirelessLANRequestStatusDeprecated WirelessLANRequestStatus = "deprecated" + WirelessLANRequestStatusDisabled WirelessLANRequestStatus = "disabled" + WirelessLANRequestStatusEmpty WirelessLANRequestStatus = "" + WirelessLANRequestStatusReserved WirelessLANRequestStatus = "reserved" +) + +// Defines values for WirelessLinkAuthCipherLabel. +const ( + WirelessLinkAuthCipherLabelAES WirelessLinkAuthCipherLabel = "AES" + WirelessLinkAuthCipherLabelAuto WirelessLinkAuthCipherLabel = "Auto" + WirelessLinkAuthCipherLabelTKIP WirelessLinkAuthCipherLabel = "TKIP" +) + +// Defines values for WirelessLinkAuthCipherValue. +const ( + WirelessLinkAuthCipherValueAes WirelessLinkAuthCipherValue = "aes" + WirelessLinkAuthCipherValueAuto WirelessLinkAuthCipherValue = "auto" + WirelessLinkAuthCipherValueEmpty WirelessLinkAuthCipherValue = "" + WirelessLinkAuthCipherValueTkip WirelessLinkAuthCipherValue = "tkip" +) + +// Defines values for WirelessLinkAuthTypeLabel. +const ( + WirelessLinkAuthTypeLabelOpen WirelessLinkAuthTypeLabel = "Open" + WirelessLinkAuthTypeLabelWEP WirelessLinkAuthTypeLabel = "WEP" + WirelessLinkAuthTypeLabelWPAEnterprise WirelessLinkAuthTypeLabel = "WPA Enterprise" + WirelessLinkAuthTypeLabelWPAPersonalPSK WirelessLinkAuthTypeLabel = "WPA Personal (PSK)" +) + +// Defines values for WirelessLinkAuthTypeValue. +const ( + WirelessLinkAuthTypeValueEmpty WirelessLinkAuthTypeValue = "" + WirelessLinkAuthTypeValueOpen WirelessLinkAuthTypeValue = "open" + WirelessLinkAuthTypeValueWep WirelessLinkAuthTypeValue = "wep" + WirelessLinkAuthTypeValueWpaEnterprise WirelessLinkAuthTypeValue = "wpa-enterprise" + WirelessLinkAuthTypeValueWpaPersonal WirelessLinkAuthTypeValue = "wpa-personal" +) + +// Defines values for WirelessLinkStatusLabel. +const ( + WirelessLinkStatusLabelConnected WirelessLinkStatusLabel = "Connected" + WirelessLinkStatusLabelDecommissioning WirelessLinkStatusLabel = "Decommissioning" + WirelessLinkStatusLabelPlanned WirelessLinkStatusLabel = "Planned" +) + +// Defines values for WirelessLinkStatusValue. +const ( + WirelessLinkStatusValueConnected WirelessLinkStatusValue = "connected" + WirelessLinkStatusValueDecommissioning WirelessLinkStatusValue = "decommissioning" + WirelessLinkStatusValuePlanned WirelessLinkStatusValue = "planned" +) + +// Defines values for WirelessLinkRequestAuthCipher. +const ( + WirelessLinkRequestAuthCipherAes WirelessLinkRequestAuthCipher = "aes" + WirelessLinkRequestAuthCipherAuto WirelessLinkRequestAuthCipher = "auto" + WirelessLinkRequestAuthCipherEmpty WirelessLinkRequestAuthCipher = "" + WirelessLinkRequestAuthCipherTkip WirelessLinkRequestAuthCipher = "tkip" +) + +// Defines values for WirelessLinkRequestAuthType. +const ( + WirelessLinkRequestAuthTypeEmpty WirelessLinkRequestAuthType = "" + WirelessLinkRequestAuthTypeOpen WirelessLinkRequestAuthType = "open" + WirelessLinkRequestAuthTypeWep WirelessLinkRequestAuthType = "wep" + WirelessLinkRequestAuthTypeWpaEnterprise WirelessLinkRequestAuthType = "wpa-enterprise" + WirelessLinkRequestAuthTypeWpaPersonal WirelessLinkRequestAuthType = "wpa-personal" +) + +// Defines values for WirelessLinkRequestStatus. +const ( + WirelessLinkRequestStatusConnected WirelessLinkRequestStatus = "connected" + WirelessLinkRequestStatusDecommissioning WirelessLinkRequestStatus = "decommissioning" + WirelessLinkRequestStatusPlanned WirelessLinkRequestStatus = "planned" +) + +// Defines values for WritableCableRequestLengthUnit. +const ( + WritableCableRequestLengthUnitCm WritableCableRequestLengthUnit = "cm" + WritableCableRequestLengthUnitEmpty WritableCableRequestLengthUnit = "" + WritableCableRequestLengthUnitFt WritableCableRequestLengthUnit = "ft" + WritableCableRequestLengthUnitIn WritableCableRequestLengthUnit = "in" + WritableCableRequestLengthUnitKm WritableCableRequestLengthUnit = "km" + WritableCableRequestLengthUnitM WritableCableRequestLengthUnit = "m" + WritableCableRequestLengthUnitMi WritableCableRequestLengthUnit = "mi" +) + +// Defines values for WritableCableRequestStatus. +const ( + WritableCableRequestStatusConnected WritableCableRequestStatus = "connected" + WritableCableRequestStatusDecommissioning WritableCableRequestStatus = "decommissioning" + WritableCableRequestStatusPlanned WritableCableRequestStatus = "planned" +) + +// Defines values for WritableCableRequestType. +const ( + WritableCableRequestTypeAoc WritableCableRequestType = "aoc" + WritableCableRequestTypeCat3 WritableCableRequestType = "cat3" + WritableCableRequestTypeCat5 WritableCableRequestType = "cat5" + WritableCableRequestTypeCat5e WritableCableRequestType = "cat5e" + WritableCableRequestTypeCat6 WritableCableRequestType = "cat6" + WritableCableRequestTypeCat6a WritableCableRequestType = "cat6a" + WritableCableRequestTypeCat7 WritableCableRequestType = "cat7" + WritableCableRequestTypeCat7a WritableCableRequestType = "cat7a" + WritableCableRequestTypeCat8 WritableCableRequestType = "cat8" + WritableCableRequestTypeCoaxial WritableCableRequestType = "coaxial" + WritableCableRequestTypeDacActive WritableCableRequestType = "dac-active" + WritableCableRequestTypeDacPassive WritableCableRequestType = "dac-passive" + WritableCableRequestTypeEmpty WritableCableRequestType = "" + WritableCableRequestTypeMmf WritableCableRequestType = "mmf" + WritableCableRequestTypeMmfOm1 WritableCableRequestType = "mmf-om1" + WritableCableRequestTypeMmfOm2 WritableCableRequestType = "mmf-om2" + WritableCableRequestTypeMmfOm3 WritableCableRequestType = "mmf-om3" + WritableCableRequestTypeMmfOm4 WritableCableRequestType = "mmf-om4" + WritableCableRequestTypeMmfOm5 WritableCableRequestType = "mmf-om5" + WritableCableRequestTypeMrj21Trunk WritableCableRequestType = "mrj21-trunk" + WritableCableRequestTypePower WritableCableRequestType = "power" + WritableCableRequestTypeSmf WritableCableRequestType = "smf" + WritableCableRequestTypeSmfOs1 WritableCableRequestType = "smf-os1" + WritableCableRequestTypeSmfOs2 WritableCableRequestType = "smf-os2" +) + +// Defines values for WritableCircuitRequestStatus. +const ( + WritableCircuitRequestStatusActive WritableCircuitRequestStatus = "active" + WritableCircuitRequestStatusDecommissioned WritableCircuitRequestStatus = "decommissioned" + WritableCircuitRequestStatusDeprovisioning WritableCircuitRequestStatus = "deprovisioning" + WritableCircuitRequestStatusOffline WritableCircuitRequestStatus = "offline" + WritableCircuitRequestStatusPlanned WritableCircuitRequestStatus = "planned" + WritableCircuitRequestStatusProvisioning WritableCircuitRequestStatus = "provisioning" +) + +// Defines values for WritableCircuitTerminationRequestTermSide. +const ( + WritableCircuitTerminationRequestTermSideA WritableCircuitTerminationRequestTermSide = "A" + WritableCircuitTerminationRequestTermSideZ WritableCircuitTerminationRequestTermSide = "Z" +) + +// Defines values for WritableClusterRequestStatus. +const ( + WritableClusterRequestStatusActive WritableClusterRequestStatus = "active" + WritableClusterRequestStatusDecommissioning WritableClusterRequestStatus = "decommissioning" + WritableClusterRequestStatusOffline WritableClusterRequestStatus = "offline" + WritableClusterRequestStatusPlanned WritableClusterRequestStatus = "planned" + WritableClusterRequestStatusStaging WritableClusterRequestStatus = "staging" +) + +// Defines values for WritableConsolePortRequestSpeed. +const ( + WritableConsolePortRequestSpeedN115200 WritableConsolePortRequestSpeed = 115200 + WritableConsolePortRequestSpeedN1200 WritableConsolePortRequestSpeed = 1200 + WritableConsolePortRequestSpeedN19200 WritableConsolePortRequestSpeed = 19200 + WritableConsolePortRequestSpeedN2400 WritableConsolePortRequestSpeed = 2400 + WritableConsolePortRequestSpeedN38400 WritableConsolePortRequestSpeed = 38400 + WritableConsolePortRequestSpeedN4800 WritableConsolePortRequestSpeed = 4800 + WritableConsolePortRequestSpeedN57600 WritableConsolePortRequestSpeed = 57600 + WritableConsolePortRequestSpeedN9600 WritableConsolePortRequestSpeed = 9600 +) + +// Defines values for WritableConsolePortRequestType. +const ( + WritableConsolePortRequestTypeDb25 WritableConsolePortRequestType = "db-25" + WritableConsolePortRequestTypeDe9 WritableConsolePortRequestType = "de-9" + WritableConsolePortRequestTypeEmpty WritableConsolePortRequestType = "" + WritableConsolePortRequestTypeMiniDin8 WritableConsolePortRequestType = "mini-din-8" + WritableConsolePortRequestTypeOther WritableConsolePortRequestType = "other" + WritableConsolePortRequestTypeRj11 WritableConsolePortRequestType = "rj-11" + WritableConsolePortRequestTypeRj12 WritableConsolePortRequestType = "rj-12" + WritableConsolePortRequestTypeRj45 WritableConsolePortRequestType = "rj-45" + WritableConsolePortRequestTypeUsbA WritableConsolePortRequestType = "usb-a" + WritableConsolePortRequestTypeUsbB WritableConsolePortRequestType = "usb-b" + WritableConsolePortRequestTypeUsbC WritableConsolePortRequestType = "usb-c" + WritableConsolePortRequestTypeUsbMicroA WritableConsolePortRequestType = "usb-micro-a" + WritableConsolePortRequestTypeUsbMicroAb WritableConsolePortRequestType = "usb-micro-ab" + WritableConsolePortRequestTypeUsbMicroB WritableConsolePortRequestType = "usb-micro-b" + WritableConsolePortRequestTypeUsbMiniA WritableConsolePortRequestType = "usb-mini-a" + WritableConsolePortRequestTypeUsbMiniB WritableConsolePortRequestType = "usb-mini-b" +) + +// Defines values for WritableConsolePortTemplateRequestType. +const ( + WritableConsolePortTemplateRequestTypeDb25 WritableConsolePortTemplateRequestType = "db-25" + WritableConsolePortTemplateRequestTypeDe9 WritableConsolePortTemplateRequestType = "de-9" + WritableConsolePortTemplateRequestTypeEmpty WritableConsolePortTemplateRequestType = "" + WritableConsolePortTemplateRequestTypeMiniDin8 WritableConsolePortTemplateRequestType = "mini-din-8" + WritableConsolePortTemplateRequestTypeOther WritableConsolePortTemplateRequestType = "other" + WritableConsolePortTemplateRequestTypeRj11 WritableConsolePortTemplateRequestType = "rj-11" + WritableConsolePortTemplateRequestTypeRj12 WritableConsolePortTemplateRequestType = "rj-12" + WritableConsolePortTemplateRequestTypeRj45 WritableConsolePortTemplateRequestType = "rj-45" + WritableConsolePortTemplateRequestTypeUsbA WritableConsolePortTemplateRequestType = "usb-a" + WritableConsolePortTemplateRequestTypeUsbB WritableConsolePortTemplateRequestType = "usb-b" + WritableConsolePortTemplateRequestTypeUsbC WritableConsolePortTemplateRequestType = "usb-c" + WritableConsolePortTemplateRequestTypeUsbMicroA WritableConsolePortTemplateRequestType = "usb-micro-a" + WritableConsolePortTemplateRequestTypeUsbMicroAb WritableConsolePortTemplateRequestType = "usb-micro-ab" + WritableConsolePortTemplateRequestTypeUsbMicroB WritableConsolePortTemplateRequestType = "usb-micro-b" + WritableConsolePortTemplateRequestTypeUsbMiniA WritableConsolePortTemplateRequestType = "usb-mini-a" + WritableConsolePortTemplateRequestTypeUsbMiniB WritableConsolePortTemplateRequestType = "usb-mini-b" +) + +// Defines values for WritableConsoleServerPortRequestSpeed. +const ( + WritableConsoleServerPortRequestSpeedN115200 WritableConsoleServerPortRequestSpeed = 115200 + WritableConsoleServerPortRequestSpeedN1200 WritableConsoleServerPortRequestSpeed = 1200 + WritableConsoleServerPortRequestSpeedN19200 WritableConsoleServerPortRequestSpeed = 19200 + WritableConsoleServerPortRequestSpeedN2400 WritableConsoleServerPortRequestSpeed = 2400 + WritableConsoleServerPortRequestSpeedN38400 WritableConsoleServerPortRequestSpeed = 38400 + WritableConsoleServerPortRequestSpeedN4800 WritableConsoleServerPortRequestSpeed = 4800 + WritableConsoleServerPortRequestSpeedN57600 WritableConsoleServerPortRequestSpeed = 57600 + WritableConsoleServerPortRequestSpeedN9600 WritableConsoleServerPortRequestSpeed = 9600 +) + +// Defines values for WritableConsoleServerPortRequestType. +const ( + WritableConsoleServerPortRequestTypeDb25 WritableConsoleServerPortRequestType = "db-25" + WritableConsoleServerPortRequestTypeDe9 WritableConsoleServerPortRequestType = "de-9" + WritableConsoleServerPortRequestTypeEmpty WritableConsoleServerPortRequestType = "" + WritableConsoleServerPortRequestTypeMiniDin8 WritableConsoleServerPortRequestType = "mini-din-8" + WritableConsoleServerPortRequestTypeOther WritableConsoleServerPortRequestType = "other" + WritableConsoleServerPortRequestTypeRj11 WritableConsoleServerPortRequestType = "rj-11" + WritableConsoleServerPortRequestTypeRj12 WritableConsoleServerPortRequestType = "rj-12" + WritableConsoleServerPortRequestTypeRj45 WritableConsoleServerPortRequestType = "rj-45" + WritableConsoleServerPortRequestTypeUsbA WritableConsoleServerPortRequestType = "usb-a" + WritableConsoleServerPortRequestTypeUsbB WritableConsoleServerPortRequestType = "usb-b" + WritableConsoleServerPortRequestTypeUsbC WritableConsoleServerPortRequestType = "usb-c" + WritableConsoleServerPortRequestTypeUsbMicroA WritableConsoleServerPortRequestType = "usb-micro-a" + WritableConsoleServerPortRequestTypeUsbMicroAb WritableConsoleServerPortRequestType = "usb-micro-ab" + WritableConsoleServerPortRequestTypeUsbMicroB WritableConsoleServerPortRequestType = "usb-micro-b" + WritableConsoleServerPortRequestTypeUsbMiniA WritableConsoleServerPortRequestType = "usb-mini-a" + WritableConsoleServerPortRequestTypeUsbMiniB WritableConsoleServerPortRequestType = "usb-mini-b" +) + +// Defines values for WritableConsoleServerPortTemplateRequestType. +const ( + WritableConsoleServerPortTemplateRequestTypeDb25 WritableConsoleServerPortTemplateRequestType = "db-25" + WritableConsoleServerPortTemplateRequestTypeDe9 WritableConsoleServerPortTemplateRequestType = "de-9" + WritableConsoleServerPortTemplateRequestTypeEmpty WritableConsoleServerPortTemplateRequestType = "" + WritableConsoleServerPortTemplateRequestTypeMiniDin8 WritableConsoleServerPortTemplateRequestType = "mini-din-8" + WritableConsoleServerPortTemplateRequestTypeOther WritableConsoleServerPortTemplateRequestType = "other" + WritableConsoleServerPortTemplateRequestTypeRj11 WritableConsoleServerPortTemplateRequestType = "rj-11" + WritableConsoleServerPortTemplateRequestTypeRj12 WritableConsoleServerPortTemplateRequestType = "rj-12" + WritableConsoleServerPortTemplateRequestTypeRj45 WritableConsoleServerPortTemplateRequestType = "rj-45" + WritableConsoleServerPortTemplateRequestTypeUsbA WritableConsoleServerPortTemplateRequestType = "usb-a" + WritableConsoleServerPortTemplateRequestTypeUsbB WritableConsoleServerPortTemplateRequestType = "usb-b" + WritableConsoleServerPortTemplateRequestTypeUsbC WritableConsoleServerPortTemplateRequestType = "usb-c" + WritableConsoleServerPortTemplateRequestTypeUsbMicroA WritableConsoleServerPortTemplateRequestType = "usb-micro-a" + WritableConsoleServerPortTemplateRequestTypeUsbMicroAb WritableConsoleServerPortTemplateRequestType = "usb-micro-ab" + WritableConsoleServerPortTemplateRequestTypeUsbMicroB WritableConsoleServerPortTemplateRequestType = "usb-micro-b" + WritableConsoleServerPortTemplateRequestTypeUsbMiniA WritableConsoleServerPortTemplateRequestType = "usb-mini-a" + WritableConsoleServerPortTemplateRequestTypeUsbMiniB WritableConsoleServerPortTemplateRequestType = "usb-mini-b" +) + +// Defines values for WritableContactAssignmentRequestPriority. +const ( + WritableContactAssignmentRequestPriorityEmpty WritableContactAssignmentRequestPriority = "" + WritableContactAssignmentRequestPriorityInactive WritableContactAssignmentRequestPriority = "inactive" + WritableContactAssignmentRequestPriorityPrimary WritableContactAssignmentRequestPriority = "primary" + WritableContactAssignmentRequestPrioritySecondary WritableContactAssignmentRequestPriority = "secondary" + WritableContactAssignmentRequestPriorityTertiary WritableContactAssignmentRequestPriority = "tertiary" +) + +// Defines values for WritableCustomFieldChoiceSetRequestBaseChoices. +const ( + WritableCustomFieldChoiceSetRequestBaseChoicesEmpty WritableCustomFieldChoiceSetRequestBaseChoices = "" + WritableCustomFieldChoiceSetRequestBaseChoicesIATA WritableCustomFieldChoiceSetRequestBaseChoices = "IATA" + WritableCustomFieldChoiceSetRequestBaseChoicesISO3166 WritableCustomFieldChoiceSetRequestBaseChoices = "ISO_3166" + WritableCustomFieldChoiceSetRequestBaseChoicesUNLOCODE WritableCustomFieldChoiceSetRequestBaseChoices = "UN_LOCODE" +) + +// Defines values for WritableCustomFieldRequestFilterLogic. +const ( + WritableCustomFieldRequestFilterLogicDisabled WritableCustomFieldRequestFilterLogic = "disabled" + WritableCustomFieldRequestFilterLogicExact WritableCustomFieldRequestFilterLogic = "exact" + WritableCustomFieldRequestFilterLogicLoose WritableCustomFieldRequestFilterLogic = "loose" +) + +// Defines values for WritableCustomFieldRequestType. +const ( + WritableCustomFieldRequestTypeBoolean WritableCustomFieldRequestType = "boolean" + WritableCustomFieldRequestTypeDate WritableCustomFieldRequestType = "date" + WritableCustomFieldRequestTypeDatetime WritableCustomFieldRequestType = "datetime" + WritableCustomFieldRequestTypeDecimal WritableCustomFieldRequestType = "decimal" + WritableCustomFieldRequestTypeInteger WritableCustomFieldRequestType = "integer" + WritableCustomFieldRequestTypeJson WritableCustomFieldRequestType = "json" + WritableCustomFieldRequestTypeLongtext WritableCustomFieldRequestType = "longtext" + WritableCustomFieldRequestTypeMultiobject WritableCustomFieldRequestType = "multiobject" + WritableCustomFieldRequestTypeMultiselect WritableCustomFieldRequestType = "multiselect" + WritableCustomFieldRequestTypeObject WritableCustomFieldRequestType = "object" + WritableCustomFieldRequestTypeSelect WritableCustomFieldRequestType = "select" + WritableCustomFieldRequestTypeText WritableCustomFieldRequestType = "text" + WritableCustomFieldRequestTypeUrl WritableCustomFieldRequestType = "url" +) + +// Defines values for WritableCustomFieldRequestUiVisibility. +const ( + Hidden WritableCustomFieldRequestUiVisibility = "hidden" + HiddenIfunset WritableCustomFieldRequestUiVisibility = "hidden-ifunset" + ReadOnly WritableCustomFieldRequestUiVisibility = "read-only" + ReadWrite WritableCustomFieldRequestUiVisibility = "read-write" +) + +// Defines values for WritableDataSourceRequestType. +const ( + AmazonS3 WritableDataSourceRequestType = "amazon-s3" + Git WritableDataSourceRequestType = "git" + Local WritableDataSourceRequestType = "local" +) + +// Defines values for WritableDeviceTypeRequestAirflow. +const ( + WritableDeviceTypeRequestAirflowEmpty WritableDeviceTypeRequestAirflow = "" + WritableDeviceTypeRequestAirflowFrontToRear WritableDeviceTypeRequestAirflow = "front-to-rear" + WritableDeviceTypeRequestAirflowLeftToRight WritableDeviceTypeRequestAirflow = "left-to-right" + WritableDeviceTypeRequestAirflowMixed WritableDeviceTypeRequestAirflow = "mixed" + WritableDeviceTypeRequestAirflowPassive WritableDeviceTypeRequestAirflow = "passive" + WritableDeviceTypeRequestAirflowRearToFront WritableDeviceTypeRequestAirflow = "rear-to-front" + WritableDeviceTypeRequestAirflowRightToLeft WritableDeviceTypeRequestAirflow = "right-to-left" + WritableDeviceTypeRequestAirflowSideToRear WritableDeviceTypeRequestAirflow = "side-to-rear" +) + +// Defines values for WritableDeviceTypeRequestSubdeviceRole. +const ( + WritableDeviceTypeRequestSubdeviceRoleChild WritableDeviceTypeRequestSubdeviceRole = "child" + WritableDeviceTypeRequestSubdeviceRoleEmpty WritableDeviceTypeRequestSubdeviceRole = "" + WritableDeviceTypeRequestSubdeviceRoleParent WritableDeviceTypeRequestSubdeviceRole = "parent" +) + +// Defines values for WritableDeviceTypeRequestWeightUnit. +const ( + WritableDeviceTypeRequestWeightUnitEmpty WritableDeviceTypeRequestWeightUnit = "" + WritableDeviceTypeRequestWeightUnitG WritableDeviceTypeRequestWeightUnit = "g" + WritableDeviceTypeRequestWeightUnitKg WritableDeviceTypeRequestWeightUnit = "kg" + WritableDeviceTypeRequestWeightUnitLb WritableDeviceTypeRequestWeightUnit = "lb" + WritableDeviceTypeRequestWeightUnitOz WritableDeviceTypeRequestWeightUnit = "oz" +) + +// Defines values for WritableDeviceWithConfigContextRequestAirflow. +const ( + WritableDeviceWithConfigContextRequestAirflowEmpty WritableDeviceWithConfigContextRequestAirflow = "" + WritableDeviceWithConfigContextRequestAirflowFrontToRear WritableDeviceWithConfigContextRequestAirflow = "front-to-rear" + WritableDeviceWithConfigContextRequestAirflowLeftToRight WritableDeviceWithConfigContextRequestAirflow = "left-to-right" + WritableDeviceWithConfigContextRequestAirflowMixed WritableDeviceWithConfigContextRequestAirflow = "mixed" + WritableDeviceWithConfigContextRequestAirflowPassive WritableDeviceWithConfigContextRequestAirflow = "passive" + WritableDeviceWithConfigContextRequestAirflowRearToFront WritableDeviceWithConfigContextRequestAirflow = "rear-to-front" + WritableDeviceWithConfigContextRequestAirflowRightToLeft WritableDeviceWithConfigContextRequestAirflow = "right-to-left" + WritableDeviceWithConfigContextRequestAirflowSideToRear WritableDeviceWithConfigContextRequestAirflow = "side-to-rear" +) + +// Defines values for WritableDeviceWithConfigContextRequestFace. +const ( + WritableDeviceWithConfigContextRequestFaceEmpty WritableDeviceWithConfigContextRequestFace = "" + WritableDeviceWithConfigContextRequestFaceFront WritableDeviceWithConfigContextRequestFace = "front" + WritableDeviceWithConfigContextRequestFaceRear WritableDeviceWithConfigContextRequestFace = "rear" +) + +// Defines values for WritableDeviceWithConfigContextRequestStatus. +const ( + WritableDeviceWithConfigContextRequestStatusActive WritableDeviceWithConfigContextRequestStatus = "active" + WritableDeviceWithConfigContextRequestStatusDecommissioning WritableDeviceWithConfigContextRequestStatus = "decommissioning" + WritableDeviceWithConfigContextRequestStatusFailed WritableDeviceWithConfigContextRequestStatus = "failed" + WritableDeviceWithConfigContextRequestStatusInventory WritableDeviceWithConfigContextRequestStatus = "inventory" + WritableDeviceWithConfigContextRequestStatusOffline WritableDeviceWithConfigContextRequestStatus = "offline" + WritableDeviceWithConfigContextRequestStatusPlanned WritableDeviceWithConfigContextRequestStatus = "planned" + WritableDeviceWithConfigContextRequestStatusStaged WritableDeviceWithConfigContextRequestStatus = "staged" +) + +// Defines values for WritableFrontPortRequestType. +const ( + WritableFrontPortRequestTypeBnc WritableFrontPortRequestType = "bnc" + WritableFrontPortRequestTypeCs WritableFrontPortRequestType = "cs" + WritableFrontPortRequestTypeF WritableFrontPortRequestType = "f" + WritableFrontPortRequestTypeFc WritableFrontPortRequestType = "fc" + WritableFrontPortRequestTypeGg45 WritableFrontPortRequestType = "gg45" + WritableFrontPortRequestTypeLc WritableFrontPortRequestType = "lc" + WritableFrontPortRequestTypeLcApc WritableFrontPortRequestType = "lc-apc" + WritableFrontPortRequestTypeLcPc WritableFrontPortRequestType = "lc-pc" + WritableFrontPortRequestTypeLcUpc WritableFrontPortRequestType = "lc-upc" + WritableFrontPortRequestTypeLsh WritableFrontPortRequestType = "lsh" + WritableFrontPortRequestTypeLshApc WritableFrontPortRequestType = "lsh-apc" + WritableFrontPortRequestTypeLshPc WritableFrontPortRequestType = "lsh-pc" + WritableFrontPortRequestTypeLshUpc WritableFrontPortRequestType = "lsh-upc" + WritableFrontPortRequestTypeLx5 WritableFrontPortRequestType = "lx5" + WritableFrontPortRequestTypeLx5Apc WritableFrontPortRequestType = "lx5-apc" + WritableFrontPortRequestTypeLx5Pc WritableFrontPortRequestType = "lx5-pc" + WritableFrontPortRequestTypeLx5Upc WritableFrontPortRequestType = "lx5-upc" + WritableFrontPortRequestTypeMpo WritableFrontPortRequestType = "mpo" + WritableFrontPortRequestTypeMrj21 WritableFrontPortRequestType = "mrj21" + WritableFrontPortRequestTypeMtrj WritableFrontPortRequestType = "mtrj" + WritableFrontPortRequestTypeN WritableFrontPortRequestType = "n" + WritableFrontPortRequestTypeN110Punch WritableFrontPortRequestType = "110-punch" + WritableFrontPortRequestTypeN4p2c WritableFrontPortRequestType = "4p2c" + WritableFrontPortRequestTypeN4p4c WritableFrontPortRequestType = "4p4c" + WritableFrontPortRequestTypeN6p2c WritableFrontPortRequestType = "6p2c" + WritableFrontPortRequestTypeN6p4c WritableFrontPortRequestType = "6p4c" + WritableFrontPortRequestTypeN6p6c WritableFrontPortRequestType = "6p6c" + WritableFrontPortRequestTypeN8p2c WritableFrontPortRequestType = "8p2c" + WritableFrontPortRequestTypeN8p4c WritableFrontPortRequestType = "8p4c" + WritableFrontPortRequestTypeN8p6c WritableFrontPortRequestType = "8p6c" + WritableFrontPortRequestTypeN8p8c WritableFrontPortRequestType = "8p8c" + WritableFrontPortRequestTypeOther WritableFrontPortRequestType = "other" + WritableFrontPortRequestTypeSc WritableFrontPortRequestType = "sc" + WritableFrontPortRequestTypeScApc WritableFrontPortRequestType = "sc-apc" + WritableFrontPortRequestTypeScPc WritableFrontPortRequestType = "sc-pc" + WritableFrontPortRequestTypeScUpc WritableFrontPortRequestType = "sc-upc" + WritableFrontPortRequestTypeSma905 WritableFrontPortRequestType = "sma-905" + WritableFrontPortRequestTypeSma906 WritableFrontPortRequestType = "sma-906" + WritableFrontPortRequestTypeSn WritableFrontPortRequestType = "sn" + WritableFrontPortRequestTypeSplice WritableFrontPortRequestType = "splice" + WritableFrontPortRequestTypeSt WritableFrontPortRequestType = "st" + WritableFrontPortRequestTypeTera1p WritableFrontPortRequestType = "tera-1p" + WritableFrontPortRequestTypeTera2p WritableFrontPortRequestType = "tera-2p" + WritableFrontPortRequestTypeTera4p WritableFrontPortRequestType = "tera-4p" + WritableFrontPortRequestTypeUrmP2 WritableFrontPortRequestType = "urm-p2" + WritableFrontPortRequestTypeUrmP4 WritableFrontPortRequestType = "urm-p4" + WritableFrontPortRequestTypeUrmP8 WritableFrontPortRequestType = "urm-p8" +) + +// Defines values for WritableFrontPortTemplateRequestType. +const ( + WritableFrontPortTemplateRequestTypeBnc WritableFrontPortTemplateRequestType = "bnc" + WritableFrontPortTemplateRequestTypeCs WritableFrontPortTemplateRequestType = "cs" + WritableFrontPortTemplateRequestTypeF WritableFrontPortTemplateRequestType = "f" + WritableFrontPortTemplateRequestTypeFc WritableFrontPortTemplateRequestType = "fc" + WritableFrontPortTemplateRequestTypeGg45 WritableFrontPortTemplateRequestType = "gg45" + WritableFrontPortTemplateRequestTypeLc WritableFrontPortTemplateRequestType = "lc" + WritableFrontPortTemplateRequestTypeLcApc WritableFrontPortTemplateRequestType = "lc-apc" + WritableFrontPortTemplateRequestTypeLcPc WritableFrontPortTemplateRequestType = "lc-pc" + WritableFrontPortTemplateRequestTypeLcUpc WritableFrontPortTemplateRequestType = "lc-upc" + WritableFrontPortTemplateRequestTypeLsh WritableFrontPortTemplateRequestType = "lsh" + WritableFrontPortTemplateRequestTypeLshApc WritableFrontPortTemplateRequestType = "lsh-apc" + WritableFrontPortTemplateRequestTypeLshPc WritableFrontPortTemplateRequestType = "lsh-pc" + WritableFrontPortTemplateRequestTypeLshUpc WritableFrontPortTemplateRequestType = "lsh-upc" + WritableFrontPortTemplateRequestTypeLx5 WritableFrontPortTemplateRequestType = "lx5" + WritableFrontPortTemplateRequestTypeLx5Apc WritableFrontPortTemplateRequestType = "lx5-apc" + WritableFrontPortTemplateRequestTypeLx5Pc WritableFrontPortTemplateRequestType = "lx5-pc" + WritableFrontPortTemplateRequestTypeLx5Upc WritableFrontPortTemplateRequestType = "lx5-upc" + WritableFrontPortTemplateRequestTypeMpo WritableFrontPortTemplateRequestType = "mpo" + WritableFrontPortTemplateRequestTypeMrj21 WritableFrontPortTemplateRequestType = "mrj21" + WritableFrontPortTemplateRequestTypeMtrj WritableFrontPortTemplateRequestType = "mtrj" + WritableFrontPortTemplateRequestTypeN WritableFrontPortTemplateRequestType = "n" + WritableFrontPortTemplateRequestTypeN110Punch WritableFrontPortTemplateRequestType = "110-punch" + WritableFrontPortTemplateRequestTypeN4p2c WritableFrontPortTemplateRequestType = "4p2c" + WritableFrontPortTemplateRequestTypeN4p4c WritableFrontPortTemplateRequestType = "4p4c" + WritableFrontPortTemplateRequestTypeN6p2c WritableFrontPortTemplateRequestType = "6p2c" + WritableFrontPortTemplateRequestTypeN6p4c WritableFrontPortTemplateRequestType = "6p4c" + WritableFrontPortTemplateRequestTypeN6p6c WritableFrontPortTemplateRequestType = "6p6c" + WritableFrontPortTemplateRequestTypeN8p2c WritableFrontPortTemplateRequestType = "8p2c" + WritableFrontPortTemplateRequestTypeN8p4c WritableFrontPortTemplateRequestType = "8p4c" + WritableFrontPortTemplateRequestTypeN8p6c WritableFrontPortTemplateRequestType = "8p6c" + WritableFrontPortTemplateRequestTypeN8p8c WritableFrontPortTemplateRequestType = "8p8c" + WritableFrontPortTemplateRequestTypeOther WritableFrontPortTemplateRequestType = "other" + WritableFrontPortTemplateRequestTypeSc WritableFrontPortTemplateRequestType = "sc" + WritableFrontPortTemplateRequestTypeScApc WritableFrontPortTemplateRequestType = "sc-apc" + WritableFrontPortTemplateRequestTypeScPc WritableFrontPortTemplateRequestType = "sc-pc" + WritableFrontPortTemplateRequestTypeScUpc WritableFrontPortTemplateRequestType = "sc-upc" + WritableFrontPortTemplateRequestTypeSma905 WritableFrontPortTemplateRequestType = "sma-905" + WritableFrontPortTemplateRequestTypeSma906 WritableFrontPortTemplateRequestType = "sma-906" + WritableFrontPortTemplateRequestTypeSn WritableFrontPortTemplateRequestType = "sn" + WritableFrontPortTemplateRequestTypeSplice WritableFrontPortTemplateRequestType = "splice" + WritableFrontPortTemplateRequestTypeSt WritableFrontPortTemplateRequestType = "st" + WritableFrontPortTemplateRequestTypeTera1p WritableFrontPortTemplateRequestType = "tera-1p" + WritableFrontPortTemplateRequestTypeTera2p WritableFrontPortTemplateRequestType = "tera-2p" + WritableFrontPortTemplateRequestTypeTera4p WritableFrontPortTemplateRequestType = "tera-4p" + WritableFrontPortTemplateRequestTypeUrmP2 WritableFrontPortTemplateRequestType = "urm-p2" + WritableFrontPortTemplateRequestTypeUrmP4 WritableFrontPortTemplateRequestType = "urm-p4" + WritableFrontPortTemplateRequestTypeUrmP8 WritableFrontPortTemplateRequestType = "urm-p8" +) + +// Defines values for WritableIPAddressRequestRole. +const ( + WritableIPAddressRequestRoleAnycast WritableIPAddressRequestRole = "anycast" + WritableIPAddressRequestRoleCarp WritableIPAddressRequestRole = "carp" + WritableIPAddressRequestRoleEmpty WritableIPAddressRequestRole = "" + WritableIPAddressRequestRoleGlbp WritableIPAddressRequestRole = "glbp" + WritableIPAddressRequestRoleHsrp WritableIPAddressRequestRole = "hsrp" + WritableIPAddressRequestRoleLoopback WritableIPAddressRequestRole = "loopback" + WritableIPAddressRequestRoleSecondary WritableIPAddressRequestRole = "secondary" + WritableIPAddressRequestRoleVip WritableIPAddressRequestRole = "vip" + WritableIPAddressRequestRoleVrrp WritableIPAddressRequestRole = "vrrp" +) + +// Defines values for WritableIPAddressRequestStatus. +const ( + WritableIPAddressRequestStatusActive WritableIPAddressRequestStatus = "active" + WritableIPAddressRequestStatusDeprecated WritableIPAddressRequestStatus = "deprecated" + WritableIPAddressRequestStatusDhcp WritableIPAddressRequestStatus = "dhcp" + WritableIPAddressRequestStatusReserved WritableIPAddressRequestStatus = "reserved" + WritableIPAddressRequestStatusSlaac WritableIPAddressRequestStatus = "slaac" +) + +// Defines values for WritableIPRangeRequestStatus. +const ( + WritableIPRangeRequestStatusActive WritableIPRangeRequestStatus = "active" + WritableIPRangeRequestStatusDeprecated WritableIPRangeRequestStatus = "deprecated" + WritableIPRangeRequestStatusReserved WritableIPRangeRequestStatus = "reserved" +) + +// Defines values for WritableInterfaceRequestDuplex. +const ( + WritableInterfaceRequestDuplexAuto WritableInterfaceRequestDuplex = "auto" + WritableInterfaceRequestDuplexEmpty WritableInterfaceRequestDuplex = "" + WritableInterfaceRequestDuplexFull WritableInterfaceRequestDuplex = "full" + WritableInterfaceRequestDuplexHalf WritableInterfaceRequestDuplex = "half" +) + +// Defines values for WritableInterfaceRequestMode. +const ( + WritableInterfaceRequestModeAccess WritableInterfaceRequestMode = "access" + WritableInterfaceRequestModeEmpty WritableInterfaceRequestMode = "" + WritableInterfaceRequestModeTagged WritableInterfaceRequestMode = "tagged" + WritableInterfaceRequestModeTaggedAll WritableInterfaceRequestMode = "tagged-all" +) + +// Defines values for WritableInterfaceRequestPoeMode. +const ( + WritableInterfaceRequestPoeModeEmpty WritableInterfaceRequestPoeMode = "" + WritableInterfaceRequestPoeModePd WritableInterfaceRequestPoeMode = "pd" + WritableInterfaceRequestPoeModePse WritableInterfaceRequestPoeMode = "pse" +) + +// Defines values for WritableInterfaceRequestPoeType. +const ( + WritableInterfaceRequestPoeTypeEmpty WritableInterfaceRequestPoeType = "" + WritableInterfaceRequestPoeTypePassive24v2pair WritableInterfaceRequestPoeType = "passive-24v-2pair" + WritableInterfaceRequestPoeTypePassive24v4pair WritableInterfaceRequestPoeType = "passive-24v-4pair" + WritableInterfaceRequestPoeTypePassive48v2pair WritableInterfaceRequestPoeType = "passive-48v-2pair" + WritableInterfaceRequestPoeTypePassive48v4pair WritableInterfaceRequestPoeType = "passive-48v-4pair" + WritableInterfaceRequestPoeTypeType1Ieee8023af WritableInterfaceRequestPoeType = "type1-ieee802.3af" + WritableInterfaceRequestPoeTypeType2Ieee8023at WritableInterfaceRequestPoeType = "type2-ieee802.3at" + WritableInterfaceRequestPoeTypeType3Ieee8023bt WritableInterfaceRequestPoeType = "type3-ieee802.3bt" + WritableInterfaceRequestPoeTypeType4Ieee8023bt WritableInterfaceRequestPoeType = "type4-ieee802.3bt" +) + +// Defines values for WritableInterfaceRequestRfChannel. +const ( + WritableInterfaceRequestRfChannelEmpty WritableInterfaceRequestRfChannel = "" + WritableInterfaceRequestRfChannelN24g10245722 WritableInterfaceRequestRfChannel = "2.4g-10-2457-22" + WritableInterfaceRequestRfChannelN24g11246222 WritableInterfaceRequestRfChannel = "2.4g-11-2462-22" + WritableInterfaceRequestRfChannelN24g12246722 WritableInterfaceRequestRfChannel = "2.4g-12-2467-22" + WritableInterfaceRequestRfChannelN24g1241222 WritableInterfaceRequestRfChannel = "2.4g-1-2412-22" + WritableInterfaceRequestRfChannelN24g13247222 WritableInterfaceRequestRfChannel = "2.4g-13-2472-22" + WritableInterfaceRequestRfChannelN24g2241722 WritableInterfaceRequestRfChannel = "2.4g-2-2417-22" + WritableInterfaceRequestRfChannelN24g3242222 WritableInterfaceRequestRfChannel = "2.4g-3-2422-22" + WritableInterfaceRequestRfChannelN24g4242722 WritableInterfaceRequestRfChannel = "2.4g-4-2427-22" + WritableInterfaceRequestRfChannelN24g5243222 WritableInterfaceRequestRfChannel = "2.4g-5-2432-22" + WritableInterfaceRequestRfChannelN24g6243722 WritableInterfaceRequestRfChannel = "2.4g-6-2437-22" + WritableInterfaceRequestRfChannelN24g7244222 WritableInterfaceRequestRfChannel = "2.4g-7-2442-22" + WritableInterfaceRequestRfChannelN24g8244722 WritableInterfaceRequestRfChannel = "2.4g-8-2447-22" + WritableInterfaceRequestRfChannelN24g9245222 WritableInterfaceRequestRfChannel = "2.4g-9-2452-22" + WritableInterfaceRequestRfChannelN5g100550020 WritableInterfaceRequestRfChannel = "5g-100-5500-20" + WritableInterfaceRequestRfChannelN5g102551040 WritableInterfaceRequestRfChannel = "5g-102-5510-40" + WritableInterfaceRequestRfChannelN5g104552020 WritableInterfaceRequestRfChannel = "5g-104-5520-20" + WritableInterfaceRequestRfChannelN5g106553080 WritableInterfaceRequestRfChannel = "5g-106-5530-80" + WritableInterfaceRequestRfChannelN5g108554020 WritableInterfaceRequestRfChannel = "5g-108-5540-20" + WritableInterfaceRequestRfChannelN5g110555040 WritableInterfaceRequestRfChannel = "5g-110-5550-40" + WritableInterfaceRequestRfChannelN5g112556020 WritableInterfaceRequestRfChannel = "5g-112-5560-20" + WritableInterfaceRequestRfChannelN5g1145570160 WritableInterfaceRequestRfChannel = "5g-114-5570-160" + WritableInterfaceRequestRfChannelN5g116558020 WritableInterfaceRequestRfChannel = "5g-116-5580-20" + WritableInterfaceRequestRfChannelN5g118559040 WritableInterfaceRequestRfChannel = "5g-118-5590-40" + WritableInterfaceRequestRfChannelN5g120560020 WritableInterfaceRequestRfChannel = "5g-120-5600-20" + WritableInterfaceRequestRfChannelN5g122561080 WritableInterfaceRequestRfChannel = "5g-122-5610-80" + WritableInterfaceRequestRfChannelN5g124562020 WritableInterfaceRequestRfChannel = "5g-124-5620-20" + WritableInterfaceRequestRfChannelN5g126563040 WritableInterfaceRequestRfChannel = "5g-126-5630-40" + WritableInterfaceRequestRfChannelN5g128564020 WritableInterfaceRequestRfChannel = "5g-128-5640-20" + WritableInterfaceRequestRfChannelN5g132566020 WritableInterfaceRequestRfChannel = "5g-132-5660-20" + WritableInterfaceRequestRfChannelN5g134567040 WritableInterfaceRequestRfChannel = "5g-134-5670-40" + WritableInterfaceRequestRfChannelN5g136568020 WritableInterfaceRequestRfChannel = "5g-136-5680-20" + WritableInterfaceRequestRfChannelN5g138569080 WritableInterfaceRequestRfChannel = "5g-138-5690-80" + WritableInterfaceRequestRfChannelN5g140570020 WritableInterfaceRequestRfChannel = "5g-140-5700-20" + WritableInterfaceRequestRfChannelN5g142571040 WritableInterfaceRequestRfChannel = "5g-142-5710-40" + WritableInterfaceRequestRfChannelN5g144572020 WritableInterfaceRequestRfChannel = "5g-144-5720-20" + WritableInterfaceRequestRfChannelN5g149574520 WritableInterfaceRequestRfChannel = "5g-149-5745-20" + WritableInterfaceRequestRfChannelN5g151575540 WritableInterfaceRequestRfChannel = "5g-151-5755-40" + WritableInterfaceRequestRfChannelN5g153576520 WritableInterfaceRequestRfChannel = "5g-153-5765-20" + WritableInterfaceRequestRfChannelN5g155577580 WritableInterfaceRequestRfChannel = "5g-155-5775-80" + WritableInterfaceRequestRfChannelN5g157578520 WritableInterfaceRequestRfChannel = "5g-157-5785-20" + WritableInterfaceRequestRfChannelN5g159579540 WritableInterfaceRequestRfChannel = "5g-159-5795-40" + WritableInterfaceRequestRfChannelN5g161580520 WritableInterfaceRequestRfChannel = "5g-161-5805-20" + WritableInterfaceRequestRfChannelN5g1635815160 WritableInterfaceRequestRfChannel = "5g-163-5815-160" + WritableInterfaceRequestRfChannelN5g165582520 WritableInterfaceRequestRfChannel = "5g-165-5825-20" + WritableInterfaceRequestRfChannelN5g167583540 WritableInterfaceRequestRfChannel = "5g-167-5835-40" + WritableInterfaceRequestRfChannelN5g169584520 WritableInterfaceRequestRfChannel = "5g-169-5845-20" + WritableInterfaceRequestRfChannelN5g171585580 WritableInterfaceRequestRfChannel = "5g-171-5855-80" + WritableInterfaceRequestRfChannelN5g173586520 WritableInterfaceRequestRfChannel = "5g-173-5865-20" + WritableInterfaceRequestRfChannelN5g175587540 WritableInterfaceRequestRfChannel = "5g-175-5875-40" + WritableInterfaceRequestRfChannelN5g177588520 WritableInterfaceRequestRfChannel = "5g-177-5885-20" + WritableInterfaceRequestRfChannelN5g32516020 WritableInterfaceRequestRfChannel = "5g-32-5160-20" + WritableInterfaceRequestRfChannelN5g34517040 WritableInterfaceRequestRfChannel = "5g-34-5170-40" + WritableInterfaceRequestRfChannelN5g36518020 WritableInterfaceRequestRfChannel = "5g-36-5180-20" + WritableInterfaceRequestRfChannelN5g38519040 WritableInterfaceRequestRfChannel = "5g-38-5190-40" + WritableInterfaceRequestRfChannelN5g40520020 WritableInterfaceRequestRfChannel = "5g-40-5200-20" + WritableInterfaceRequestRfChannelN5g42521080 WritableInterfaceRequestRfChannel = "5g-42-5210-80" + WritableInterfaceRequestRfChannelN5g44522020 WritableInterfaceRequestRfChannel = "5g-44-5220-20" + WritableInterfaceRequestRfChannelN5g46523040 WritableInterfaceRequestRfChannel = "5g-46-5230-40" + WritableInterfaceRequestRfChannelN5g48524020 WritableInterfaceRequestRfChannel = "5g-48-5240-20" + WritableInterfaceRequestRfChannelN5g505250160 WritableInterfaceRequestRfChannel = "5g-50-5250-160" + WritableInterfaceRequestRfChannelN5g52526020 WritableInterfaceRequestRfChannel = "5g-52-5260-20" + WritableInterfaceRequestRfChannelN5g54527040 WritableInterfaceRequestRfChannel = "5g-54-5270-40" + WritableInterfaceRequestRfChannelN5g56528020 WritableInterfaceRequestRfChannel = "5g-56-5280-20" + WritableInterfaceRequestRfChannelN5g58529080 WritableInterfaceRequestRfChannel = "5g-58-5290-80" + WritableInterfaceRequestRfChannelN5g60530020 WritableInterfaceRequestRfChannel = "5g-60-5300-20" + WritableInterfaceRequestRfChannelN5g62531040 WritableInterfaceRequestRfChannel = "5g-62-5310-40" + WritableInterfaceRequestRfChannelN5g64532020 WritableInterfaceRequestRfChannel = "5g-64-5320-20" + WritableInterfaceRequestRfChannelN60g10615604320 WritableInterfaceRequestRfChannel = "60g-10-61560-4320" + WritableInterfaceRequestRfChannelN60g11637204320 WritableInterfaceRequestRfChannel = "60g-11-63720-4320" + WritableInterfaceRequestRfChannelN60g12658804320 WritableInterfaceRequestRfChannel = "60g-12-65880-4320" + WritableInterfaceRequestRfChannelN60g13680404320 WritableInterfaceRequestRfChannel = "60g-13-68040-4320" + WritableInterfaceRequestRfChannelN60g1583202160 WritableInterfaceRequestRfChannel = "60g-1-58320-2160" + WritableInterfaceRequestRfChannelN60g17604806480 WritableInterfaceRequestRfChannel = "60g-17-60480-6480" + WritableInterfaceRequestRfChannelN60g18626406480 WritableInterfaceRequestRfChannel = "60g-18-62640-6480" + WritableInterfaceRequestRfChannelN60g19648006480 WritableInterfaceRequestRfChannel = "60g-19-64800-6480" + WritableInterfaceRequestRfChannelN60g20669606480 WritableInterfaceRequestRfChannel = "60g-20-66960-6480" + WritableInterfaceRequestRfChannelN60g25615606480 WritableInterfaceRequestRfChannel = "60g-25-61560-6480" + WritableInterfaceRequestRfChannelN60g2604802160 WritableInterfaceRequestRfChannel = "60g-2-60480-2160" + WritableInterfaceRequestRfChannelN60g26637206480 WritableInterfaceRequestRfChannel = "60g-26-63720-6480" + WritableInterfaceRequestRfChannelN60g27658806480 WritableInterfaceRequestRfChannel = "60g-27-65880-6480" + WritableInterfaceRequestRfChannelN60g3626402160 WritableInterfaceRequestRfChannel = "60g-3-62640-2160" + WritableInterfaceRequestRfChannelN60g4648002160 WritableInterfaceRequestRfChannel = "60g-4-64800-2160" + WritableInterfaceRequestRfChannelN60g5669602160 WritableInterfaceRequestRfChannel = "60g-5-66960-2160" + WritableInterfaceRequestRfChannelN60g6691202160 WritableInterfaceRequestRfChannel = "60g-6-69120-2160" + WritableInterfaceRequestRfChannelN60g9594004320 WritableInterfaceRequestRfChannel = "60g-9-59400-4320" + WritableInterfaceRequestRfChannelN6g101645520 WritableInterfaceRequestRfChannel = "6g-101-6455-20" + WritableInterfaceRequestRfChannelN6g103646580 WritableInterfaceRequestRfChannel = "6g-103-6465-80" + WritableInterfaceRequestRfChannelN6g105647520 WritableInterfaceRequestRfChannel = "6g-105-6475-20" + WritableInterfaceRequestRfChannelN6g107648540 WritableInterfaceRequestRfChannel = "6g-107-6485-40" + WritableInterfaceRequestRfChannelN6g109649520 WritableInterfaceRequestRfChannel = "6g-109-6495-20" + WritableInterfaceRequestRfChannelN6g1116505160 WritableInterfaceRequestRfChannel = "6g-111-6505-160" + WritableInterfaceRequestRfChannelN6g113651520 WritableInterfaceRequestRfChannel = "6g-113-6515-20" + WritableInterfaceRequestRfChannelN6g115652540 WritableInterfaceRequestRfChannel = "6g-115-6525-40" + WritableInterfaceRequestRfChannelN6g11600540 WritableInterfaceRequestRfChannel = "6g-11-6005-40" + WritableInterfaceRequestRfChannelN6g117653520 WritableInterfaceRequestRfChannel = "6g-117-6535-20" + WritableInterfaceRequestRfChannelN6g119654580 WritableInterfaceRequestRfChannel = "6g-119-6545-80" + WritableInterfaceRequestRfChannelN6g121655520 WritableInterfaceRequestRfChannel = "6g-121-6555-20" + WritableInterfaceRequestRfChannelN6g123656540 WritableInterfaceRequestRfChannel = "6g-123-6565-40" + WritableInterfaceRequestRfChannelN6g125657520 WritableInterfaceRequestRfChannel = "6g-125-6575-20" + WritableInterfaceRequestRfChannelN6g129659520 WritableInterfaceRequestRfChannel = "6g-129-6595-20" + WritableInterfaceRequestRfChannelN6g131660540 WritableInterfaceRequestRfChannel = "6g-131-6605-40" + WritableInterfaceRequestRfChannelN6g133661520 WritableInterfaceRequestRfChannel = "6g-133-6615-20" + WritableInterfaceRequestRfChannelN6g135662580 WritableInterfaceRequestRfChannel = "6g-135-6625-80" + WritableInterfaceRequestRfChannelN6g13601520 WritableInterfaceRequestRfChannel = "6g-13-6015-20" + WritableInterfaceRequestRfChannelN6g137663520 WritableInterfaceRequestRfChannel = "6g-137-6635-20" + WritableInterfaceRequestRfChannelN6g139664540 WritableInterfaceRequestRfChannel = "6g-139-6645-40" + WritableInterfaceRequestRfChannelN6g141665520 WritableInterfaceRequestRfChannel = "6g-141-6655-20" + WritableInterfaceRequestRfChannelN6g1436665160 WritableInterfaceRequestRfChannel = "6g-143-6665-160" + WritableInterfaceRequestRfChannelN6g145667520 WritableInterfaceRequestRfChannel = "6g-145-6675-20" + WritableInterfaceRequestRfChannelN6g147668540 WritableInterfaceRequestRfChannel = "6g-147-6685-40" + WritableInterfaceRequestRfChannelN6g149669520 WritableInterfaceRequestRfChannel = "6g-149-6695-20" + WritableInterfaceRequestRfChannelN6g151670580 WritableInterfaceRequestRfChannel = "6g-151-6705-80" + WritableInterfaceRequestRfChannelN6g153671520 WritableInterfaceRequestRfChannel = "6g-153-6715-20" + WritableInterfaceRequestRfChannelN6g155672540 WritableInterfaceRequestRfChannel = "6g-155-6725-40" + WritableInterfaceRequestRfChannelN6g156025160 WritableInterfaceRequestRfChannel = "6g-15-6025-160" + WritableInterfaceRequestRfChannelN6g157673520 WritableInterfaceRequestRfChannel = "6g-157-6735-20" + WritableInterfaceRequestRfChannelN6g1595520 WritableInterfaceRequestRfChannel = "6g-1-5955-20" + WritableInterfaceRequestRfChannelN6g1596745320 WritableInterfaceRequestRfChannel = "6g-159-6745-320" + WritableInterfaceRequestRfChannelN6g161675520 WritableInterfaceRequestRfChannel = "6g-161-6755-20" + WritableInterfaceRequestRfChannelN6g163676540 WritableInterfaceRequestRfChannel = "6g-163-6765-40" + WritableInterfaceRequestRfChannelN6g165677520 WritableInterfaceRequestRfChannel = "6g-165-6775-20" + WritableInterfaceRequestRfChannelN6g167678580 WritableInterfaceRequestRfChannel = "6g-167-6785-80" + WritableInterfaceRequestRfChannelN6g169679520 WritableInterfaceRequestRfChannel = "6g-169-6795-20" + WritableInterfaceRequestRfChannelN6g171680540 WritableInterfaceRequestRfChannel = "6g-171-6805-40" + WritableInterfaceRequestRfChannelN6g173681520 WritableInterfaceRequestRfChannel = "6g-173-6815-20" + WritableInterfaceRequestRfChannelN6g1756825160 WritableInterfaceRequestRfChannel = "6g-175-6825-160" + WritableInterfaceRequestRfChannelN6g17603520 WritableInterfaceRequestRfChannel = "6g-17-6035-20" + WritableInterfaceRequestRfChannelN6g177683520 WritableInterfaceRequestRfChannel = "6g-177-6835-20" + WritableInterfaceRequestRfChannelN6g179684540 WritableInterfaceRequestRfChannel = "6g-179-6845-40" + WritableInterfaceRequestRfChannelN6g181685520 WritableInterfaceRequestRfChannel = "6g-181-6855-20" + WritableInterfaceRequestRfChannelN6g183686580 WritableInterfaceRequestRfChannel = "6g-183-6865-80" + WritableInterfaceRequestRfChannelN6g185687520 WritableInterfaceRequestRfChannel = "6g-185-6875-20" + WritableInterfaceRequestRfChannelN6g187688540 WritableInterfaceRequestRfChannel = "6g-187-6885-40" + WritableInterfaceRequestRfChannelN6g189689520 WritableInterfaceRequestRfChannel = "6g-189-6895-20" + WritableInterfaceRequestRfChannelN6g193691520 WritableInterfaceRequestRfChannel = "6g-193-6915-20" + WritableInterfaceRequestRfChannelN6g195692540 WritableInterfaceRequestRfChannel = "6g-195-6925-40" + WritableInterfaceRequestRfChannelN6g19604540 WritableInterfaceRequestRfChannel = "6g-19-6045-40" + WritableInterfaceRequestRfChannelN6g197693520 WritableInterfaceRequestRfChannel = "6g-197-6935-20" + WritableInterfaceRequestRfChannelN6g199694580 WritableInterfaceRequestRfChannel = "6g-199-6945-80" + WritableInterfaceRequestRfChannelN6g201695520 WritableInterfaceRequestRfChannel = "6g-201-6955-20" + WritableInterfaceRequestRfChannelN6g203696540 WritableInterfaceRequestRfChannel = "6g-203-6965-40" + WritableInterfaceRequestRfChannelN6g205697520 WritableInterfaceRequestRfChannel = "6g-205-6975-20" + WritableInterfaceRequestRfChannelN6g2076985160 WritableInterfaceRequestRfChannel = "6g-207-6985-160" + WritableInterfaceRequestRfChannelN6g209699520 WritableInterfaceRequestRfChannel = "6g-209-6995-20" + WritableInterfaceRequestRfChannelN6g211700540 WritableInterfaceRequestRfChannel = "6g-211-7005-40" + WritableInterfaceRequestRfChannelN6g213701520 WritableInterfaceRequestRfChannel = "6g-213-7015-20" + WritableInterfaceRequestRfChannelN6g215702580 WritableInterfaceRequestRfChannel = "6g-215-7025-80" + WritableInterfaceRequestRfChannelN6g21605520 WritableInterfaceRequestRfChannel = "6g-21-6055-20" + WritableInterfaceRequestRfChannelN6g217703520 WritableInterfaceRequestRfChannel = "6g-217-7035-20" + WritableInterfaceRequestRfChannelN6g219704540 WritableInterfaceRequestRfChannel = "6g-219-7045-40" + WritableInterfaceRequestRfChannelN6g221705520 WritableInterfaceRequestRfChannel = "6g-221-7055-20" + WritableInterfaceRequestRfChannelN6g225707520 WritableInterfaceRequestRfChannel = "6g-225-7075-20" + WritableInterfaceRequestRfChannelN6g227708540 WritableInterfaceRequestRfChannel = "6g-227-7085-40" + WritableInterfaceRequestRfChannelN6g229709520 WritableInterfaceRequestRfChannel = "6g-229-7095-20" + WritableInterfaceRequestRfChannelN6g233711520 WritableInterfaceRequestRfChannel = "6g-233-7115-20" + WritableInterfaceRequestRfChannelN6g23606580 WritableInterfaceRequestRfChannel = "6g-23-6065-80" + WritableInterfaceRequestRfChannelN6g25607520 WritableInterfaceRequestRfChannel = "6g-25-6075-20" + WritableInterfaceRequestRfChannelN6g27608540 WritableInterfaceRequestRfChannel = "6g-27-6085-40" + WritableInterfaceRequestRfChannelN6g29609520 WritableInterfaceRequestRfChannel = "6g-29-6095-20" + WritableInterfaceRequestRfChannelN6g316105320 WritableInterfaceRequestRfChannel = "6g-31-6105-320" + WritableInterfaceRequestRfChannelN6g33611520 WritableInterfaceRequestRfChannel = "6g-33-6115-20" + WritableInterfaceRequestRfChannelN6g35612540 WritableInterfaceRequestRfChannel = "6g-35-6125-40" + WritableInterfaceRequestRfChannelN6g3596540 WritableInterfaceRequestRfChannel = "6g-3-5965-40" + WritableInterfaceRequestRfChannelN6g37613520 WritableInterfaceRequestRfChannel = "6g-37-6135-20" + WritableInterfaceRequestRfChannelN6g39614580 WritableInterfaceRequestRfChannel = "6g-39-6145-80" + WritableInterfaceRequestRfChannelN6g41615520 WritableInterfaceRequestRfChannel = "6g-41-6155-20" + WritableInterfaceRequestRfChannelN6g43616540 WritableInterfaceRequestRfChannel = "6g-43-6165-40" + WritableInterfaceRequestRfChannelN6g45617520 WritableInterfaceRequestRfChannel = "6g-45-6175-20" + WritableInterfaceRequestRfChannelN6g476185160 WritableInterfaceRequestRfChannel = "6g-47-6185-160" + WritableInterfaceRequestRfChannelN6g49619520 WritableInterfaceRequestRfChannel = "6g-49-6195-20" + WritableInterfaceRequestRfChannelN6g51620540 WritableInterfaceRequestRfChannel = "6g-51-6205-40" + WritableInterfaceRequestRfChannelN6g53621520 WritableInterfaceRequestRfChannel = "6g-53-6215-20" + WritableInterfaceRequestRfChannelN6g55622580 WritableInterfaceRequestRfChannel = "6g-55-6225-80" + WritableInterfaceRequestRfChannelN6g5597520 WritableInterfaceRequestRfChannel = "6g-5-5975-20" + WritableInterfaceRequestRfChannelN6g57623520 WritableInterfaceRequestRfChannel = "6g-57-6235-20" + WritableInterfaceRequestRfChannelN6g59624540 WritableInterfaceRequestRfChannel = "6g-59-6245-40" + WritableInterfaceRequestRfChannelN6g61625520 WritableInterfaceRequestRfChannel = "6g-61-6255-20" + WritableInterfaceRequestRfChannelN6g65627520 WritableInterfaceRequestRfChannel = "6g-65-6275-20" + WritableInterfaceRequestRfChannelN6g67628540 WritableInterfaceRequestRfChannel = "6g-67-6285-40" + WritableInterfaceRequestRfChannelN6g69629520 WritableInterfaceRequestRfChannel = "6g-69-6295-20" + WritableInterfaceRequestRfChannelN6g71630580 WritableInterfaceRequestRfChannel = "6g-71-6305-80" + WritableInterfaceRequestRfChannelN6g73631520 WritableInterfaceRequestRfChannel = "6g-73-6315-20" + WritableInterfaceRequestRfChannelN6g75632540 WritableInterfaceRequestRfChannel = "6g-75-6325-40" + WritableInterfaceRequestRfChannelN6g7598580 WritableInterfaceRequestRfChannel = "6g-7-5985-80" + WritableInterfaceRequestRfChannelN6g77633520 WritableInterfaceRequestRfChannel = "6g-77-6335-20" + WritableInterfaceRequestRfChannelN6g796345160 WritableInterfaceRequestRfChannel = "6g-79-6345-160" + WritableInterfaceRequestRfChannelN6g81635520 WritableInterfaceRequestRfChannel = "6g-81-6355-20" + WritableInterfaceRequestRfChannelN6g83636540 WritableInterfaceRequestRfChannel = "6g-83-6365-40" + WritableInterfaceRequestRfChannelN6g85637520 WritableInterfaceRequestRfChannel = "6g-85-6375-20" + WritableInterfaceRequestRfChannelN6g87638580 WritableInterfaceRequestRfChannel = "6g-87-6385-80" + WritableInterfaceRequestRfChannelN6g89639520 WritableInterfaceRequestRfChannel = "6g-89-6395-20" + WritableInterfaceRequestRfChannelN6g91640540 WritableInterfaceRequestRfChannel = "6g-91-6405-40" + WritableInterfaceRequestRfChannelN6g93641520 WritableInterfaceRequestRfChannel = "6g-93-6415-20" + WritableInterfaceRequestRfChannelN6g956425320 WritableInterfaceRequestRfChannel = "6g-95-6425-320" + WritableInterfaceRequestRfChannelN6g9599520 WritableInterfaceRequestRfChannel = "6g-9-5995-20" + WritableInterfaceRequestRfChannelN6g97643520 WritableInterfaceRequestRfChannel = "6g-97-6435-20" + WritableInterfaceRequestRfChannelN6g99644540 WritableInterfaceRequestRfChannel = "6g-99-6445-40" +) + +// Defines values for WritableInterfaceRequestRfRole. +const ( + WritableInterfaceRequestRfRoleAp WritableInterfaceRequestRfRole = "ap" + WritableInterfaceRequestRfRoleEmpty WritableInterfaceRequestRfRole = "" + WritableInterfaceRequestRfRoleStation WritableInterfaceRequestRfRole = "station" +) + +// Defines values for WritableInterfaceRequestType. +const ( + WritableInterfaceRequestTypeBridge WritableInterfaceRequestType = "bridge" + WritableInterfaceRequestTypeCdma WritableInterfaceRequestType = "cdma" + WritableInterfaceRequestTypeCiscoFlexstack WritableInterfaceRequestType = "cisco-flexstack" + WritableInterfaceRequestTypeCiscoFlexstackPlus WritableInterfaceRequestType = "cisco-flexstack-plus" + WritableInterfaceRequestTypeCiscoStackwise WritableInterfaceRequestType = "cisco-stackwise" + WritableInterfaceRequestTypeCiscoStackwise160 WritableInterfaceRequestType = "cisco-stackwise-160" + WritableInterfaceRequestTypeCiscoStackwise1t WritableInterfaceRequestType = "cisco-stackwise-1t" + WritableInterfaceRequestTypeCiscoStackwise320 WritableInterfaceRequestType = "cisco-stackwise-320" + WritableInterfaceRequestTypeCiscoStackwise480 WritableInterfaceRequestType = "cisco-stackwise-480" + WritableInterfaceRequestTypeCiscoStackwise80 WritableInterfaceRequestType = "cisco-stackwise-80" + WritableInterfaceRequestTypeCiscoStackwisePlus WritableInterfaceRequestType = "cisco-stackwise-plus" + WritableInterfaceRequestTypeDocsis WritableInterfaceRequestType = "docsis" + WritableInterfaceRequestTypeE1 WritableInterfaceRequestType = "e1" + WritableInterfaceRequestTypeE3 WritableInterfaceRequestType = "e3" + WritableInterfaceRequestTypeEpon WritableInterfaceRequestType = "epon" + WritableInterfaceRequestTypeExtremeSummitstack WritableInterfaceRequestType = "extreme-summitstack" + WritableInterfaceRequestTypeExtremeSummitstack128 WritableInterfaceRequestType = "extreme-summitstack-128" + WritableInterfaceRequestTypeExtremeSummitstack256 WritableInterfaceRequestType = "extreme-summitstack-256" + WritableInterfaceRequestTypeExtremeSummitstack512 WritableInterfaceRequestType = "extreme-summitstack-512" + WritableInterfaceRequestTypeGpon WritableInterfaceRequestType = "gpon" + WritableInterfaceRequestTypeGsm WritableInterfaceRequestType = "gsm" + WritableInterfaceRequestTypeIeee80211a WritableInterfaceRequestType = "ieee802.11a" + WritableInterfaceRequestTypeIeee80211ac WritableInterfaceRequestType = "ieee802.11ac" + WritableInterfaceRequestTypeIeee80211ad WritableInterfaceRequestType = "ieee802.11ad" + WritableInterfaceRequestTypeIeee80211ax WritableInterfaceRequestType = "ieee802.11ax" + WritableInterfaceRequestTypeIeee80211ay WritableInterfaceRequestType = "ieee802.11ay" + WritableInterfaceRequestTypeIeee80211g WritableInterfaceRequestType = "ieee802.11g" + WritableInterfaceRequestTypeIeee80211n WritableInterfaceRequestType = "ieee802.11n" + WritableInterfaceRequestTypeIeee802151 WritableInterfaceRequestType = "ieee802.15.1" + WritableInterfaceRequestTypeInfinibandDdr WritableInterfaceRequestType = "infiniband-ddr" + WritableInterfaceRequestTypeInfinibandEdr WritableInterfaceRequestType = "infiniband-edr" + WritableInterfaceRequestTypeInfinibandFdr WritableInterfaceRequestType = "infiniband-fdr" + WritableInterfaceRequestTypeInfinibandFdr10 WritableInterfaceRequestType = "infiniband-fdr10" + WritableInterfaceRequestTypeInfinibandHdr WritableInterfaceRequestType = "infiniband-hdr" + WritableInterfaceRequestTypeInfinibandNdr WritableInterfaceRequestType = "infiniband-ndr" + WritableInterfaceRequestTypeInfinibandQdr WritableInterfaceRequestType = "infiniband-qdr" + WritableInterfaceRequestTypeInfinibandSdr WritableInterfaceRequestType = "infiniband-sdr" + WritableInterfaceRequestTypeInfinibandXdr WritableInterfaceRequestType = "infiniband-xdr" + WritableInterfaceRequestTypeJuniperVcp WritableInterfaceRequestType = "juniper-vcp" + WritableInterfaceRequestTypeLag WritableInterfaceRequestType = "lag" + WritableInterfaceRequestTypeLte WritableInterfaceRequestType = "lte" + WritableInterfaceRequestTypeN1000baseKx WritableInterfaceRequestType = "1000base-kx" + WritableInterfaceRequestTypeN1000baseT WritableInterfaceRequestType = "1000base-t" + WritableInterfaceRequestTypeN1000baseXGbic WritableInterfaceRequestType = "1000base-x-gbic" + WritableInterfaceRequestTypeN1000baseXSfp WritableInterfaceRequestType = "1000base-x-sfp" + WritableInterfaceRequestTypeN100baseFx WritableInterfaceRequestType = "100base-fx" + WritableInterfaceRequestTypeN100baseLfx WritableInterfaceRequestType = "100base-lfx" + WritableInterfaceRequestTypeN100baseT1 WritableInterfaceRequestType = "100base-t1" + WritableInterfaceRequestTypeN100baseTx WritableInterfaceRequestType = "100base-tx" + WritableInterfaceRequestTypeN100gbaseKp4 WritableInterfaceRequestType = "100gbase-kp4" + WritableInterfaceRequestTypeN100gbaseKr2 WritableInterfaceRequestType = "100gbase-kr2" + WritableInterfaceRequestTypeN100gbaseKr4 WritableInterfaceRequestType = "100gbase-kr4" + WritableInterfaceRequestTypeN100gbaseXCfp WritableInterfaceRequestType = "100gbase-x-cfp" + WritableInterfaceRequestTypeN100gbaseXCfp2 WritableInterfaceRequestType = "100gbase-x-cfp2" + WritableInterfaceRequestTypeN100gbaseXCfp4 WritableInterfaceRequestType = "100gbase-x-cfp4" + WritableInterfaceRequestTypeN100gbaseXCpak WritableInterfaceRequestType = "100gbase-x-cpak" + WritableInterfaceRequestTypeN100gbaseXCxp WritableInterfaceRequestType = "100gbase-x-cxp" + WritableInterfaceRequestTypeN100gbaseXDsfp WritableInterfaceRequestType = "100gbase-x-dsfp" + WritableInterfaceRequestTypeN100gbaseXQsfp28 WritableInterfaceRequestType = "100gbase-x-qsfp28" + WritableInterfaceRequestTypeN100gbaseXQsfpdd WritableInterfaceRequestType = "100gbase-x-qsfpdd" + WritableInterfaceRequestTypeN100gbaseXSfpdd WritableInterfaceRequestType = "100gbase-x-sfpdd" + WritableInterfaceRequestTypeN10gEpon WritableInterfaceRequestType = "10g-epon" + WritableInterfaceRequestTypeN10gbaseCx4 WritableInterfaceRequestType = "10gbase-cx4" + WritableInterfaceRequestTypeN10gbaseKr WritableInterfaceRequestType = "10gbase-kr" + WritableInterfaceRequestTypeN10gbaseKx4 WritableInterfaceRequestType = "10gbase-kx4" + WritableInterfaceRequestTypeN10gbaseT WritableInterfaceRequestType = "10gbase-t" + WritableInterfaceRequestTypeN10gbaseXSfpp WritableInterfaceRequestType = "10gbase-x-sfpp" + WritableInterfaceRequestTypeN10gbaseXX2 WritableInterfaceRequestType = "10gbase-x-x2" + WritableInterfaceRequestTypeN10gbaseXXenpak WritableInterfaceRequestType = "10gbase-x-xenpak" + WritableInterfaceRequestTypeN10gbaseXXfp WritableInterfaceRequestType = "10gbase-x-xfp" + WritableInterfaceRequestTypeN128gfcQsfp28 WritableInterfaceRequestType = "128gfc-qsfp28" + WritableInterfaceRequestTypeN16gfcSfpp WritableInterfaceRequestType = "16gfc-sfpp" + WritableInterfaceRequestTypeN1gfcSfp WritableInterfaceRequestType = "1gfc-sfp" + WritableInterfaceRequestTypeN200gbaseXCfp2 WritableInterfaceRequestType = "200gbase-x-cfp2" + WritableInterfaceRequestTypeN200gbaseXQsfp56 WritableInterfaceRequestType = "200gbase-x-qsfp56" + WritableInterfaceRequestTypeN200gbaseXQsfpdd WritableInterfaceRequestType = "200gbase-x-qsfpdd" + WritableInterfaceRequestTypeN25gbaseKr WritableInterfaceRequestType = "25gbase-kr" + WritableInterfaceRequestTypeN25gbaseT WritableInterfaceRequestType = "2.5gbase-t" + WritableInterfaceRequestTypeN25gbaseXSfp28 WritableInterfaceRequestType = "25gbase-x-sfp28" + WritableInterfaceRequestTypeN2gfcSfp WritableInterfaceRequestType = "2gfc-sfp" + WritableInterfaceRequestTypeN32gfcSfp28 WritableInterfaceRequestType = "32gfc-sfp28" + WritableInterfaceRequestTypeN400gbaseXCdfp WritableInterfaceRequestType = "400gbase-x-cdfp" + WritableInterfaceRequestTypeN400gbaseXCfp2 WritableInterfaceRequestType = "400gbase-x-cfp2" + WritableInterfaceRequestTypeN400gbaseXCfp8 WritableInterfaceRequestType = "400gbase-x-cfp8" + WritableInterfaceRequestTypeN400gbaseXOsfp WritableInterfaceRequestType = "400gbase-x-osfp" + WritableInterfaceRequestTypeN400gbaseXOsfpRhs WritableInterfaceRequestType = "400gbase-x-osfp-rhs" + WritableInterfaceRequestTypeN400gbaseXQsfp112 WritableInterfaceRequestType = "400gbase-x-qsfp112" + WritableInterfaceRequestTypeN400gbaseXQsfpdd WritableInterfaceRequestType = "400gbase-x-qsfpdd" + WritableInterfaceRequestTypeN40gbaseKr4 WritableInterfaceRequestType = "40gbase-kr4" + WritableInterfaceRequestTypeN40gbaseXQsfpp WritableInterfaceRequestType = "40gbase-x-qsfpp" + WritableInterfaceRequestTypeN4gfcSfp WritableInterfaceRequestType = "4gfc-sfp" + WritableInterfaceRequestTypeN50gbaseKr WritableInterfaceRequestType = "50gbase-kr" + WritableInterfaceRequestTypeN50gbaseXSfp28 WritableInterfaceRequestType = "50gbase-x-sfp28" + WritableInterfaceRequestTypeN50gbaseXSfp56 WritableInterfaceRequestType = "50gbase-x-sfp56" + WritableInterfaceRequestTypeN5gbaseT WritableInterfaceRequestType = "5gbase-t" + WritableInterfaceRequestTypeN64gfcQsfpp WritableInterfaceRequestType = "64gfc-qsfpp" + WritableInterfaceRequestTypeN800gbaseXOsfp WritableInterfaceRequestType = "800gbase-x-osfp" + WritableInterfaceRequestTypeN800gbaseXQsfpdd WritableInterfaceRequestType = "800gbase-x-qsfpdd" + WritableInterfaceRequestTypeN8gfcSfpp WritableInterfaceRequestType = "8gfc-sfpp" + WritableInterfaceRequestTypeNgPon2 WritableInterfaceRequestType = "ng-pon2" + WritableInterfaceRequestTypeOther WritableInterfaceRequestType = "other" + WritableInterfaceRequestTypeOtherWireless WritableInterfaceRequestType = "other-wireless" + WritableInterfaceRequestTypeSonetOc12 WritableInterfaceRequestType = "sonet-oc12" + WritableInterfaceRequestTypeSonetOc192 WritableInterfaceRequestType = "sonet-oc192" + WritableInterfaceRequestTypeSonetOc1920 WritableInterfaceRequestType = "sonet-oc1920" + WritableInterfaceRequestTypeSonetOc3 WritableInterfaceRequestType = "sonet-oc3" + WritableInterfaceRequestTypeSonetOc3840 WritableInterfaceRequestType = "sonet-oc3840" + WritableInterfaceRequestTypeSonetOc48 WritableInterfaceRequestType = "sonet-oc48" + WritableInterfaceRequestTypeSonetOc768 WritableInterfaceRequestType = "sonet-oc768" + WritableInterfaceRequestTypeT1 WritableInterfaceRequestType = "t1" + WritableInterfaceRequestTypeT3 WritableInterfaceRequestType = "t3" + WritableInterfaceRequestTypeVirtual WritableInterfaceRequestType = "virtual" + WritableInterfaceRequestTypeXdsl WritableInterfaceRequestType = "xdsl" + WritableInterfaceRequestTypeXgPon WritableInterfaceRequestType = "xg-pon" + WritableInterfaceRequestTypeXgsPon WritableInterfaceRequestType = "xgs-pon" +) + +// Defines values for WritableInterfaceTemplateRequestPoeMode. +const ( + WritableInterfaceTemplateRequestPoeModeEmpty WritableInterfaceTemplateRequestPoeMode = "" + WritableInterfaceTemplateRequestPoeModePd WritableInterfaceTemplateRequestPoeMode = "pd" + WritableInterfaceTemplateRequestPoeModePse WritableInterfaceTemplateRequestPoeMode = "pse" +) + +// Defines values for WritableInterfaceTemplateRequestPoeType. +const ( + WritableInterfaceTemplateRequestPoeTypeEmpty WritableInterfaceTemplateRequestPoeType = "" + WritableInterfaceTemplateRequestPoeTypePassive24v2pair WritableInterfaceTemplateRequestPoeType = "passive-24v-2pair" + WritableInterfaceTemplateRequestPoeTypePassive24v4pair WritableInterfaceTemplateRequestPoeType = "passive-24v-4pair" + WritableInterfaceTemplateRequestPoeTypePassive48v2pair WritableInterfaceTemplateRequestPoeType = "passive-48v-2pair" + WritableInterfaceTemplateRequestPoeTypePassive48v4pair WritableInterfaceTemplateRequestPoeType = "passive-48v-4pair" + WritableInterfaceTemplateRequestPoeTypeType1Ieee8023af WritableInterfaceTemplateRequestPoeType = "type1-ieee802.3af" + WritableInterfaceTemplateRequestPoeTypeType2Ieee8023at WritableInterfaceTemplateRequestPoeType = "type2-ieee802.3at" + WritableInterfaceTemplateRequestPoeTypeType3Ieee8023bt WritableInterfaceTemplateRequestPoeType = "type3-ieee802.3bt" + WritableInterfaceTemplateRequestPoeTypeType4Ieee8023bt WritableInterfaceTemplateRequestPoeType = "type4-ieee802.3bt" +) + +// Defines values for WritableInterfaceTemplateRequestRfRole. +const ( + WritableInterfaceTemplateRequestRfRoleAp WritableInterfaceTemplateRequestRfRole = "ap" + WritableInterfaceTemplateRequestRfRoleEmpty WritableInterfaceTemplateRequestRfRole = "" + WritableInterfaceTemplateRequestRfRoleStation WritableInterfaceTemplateRequestRfRole = "station" +) + +// Defines values for WritableInterfaceTemplateRequestType. +const ( + WritableInterfaceTemplateRequestTypeBridge WritableInterfaceTemplateRequestType = "bridge" + WritableInterfaceTemplateRequestTypeCdma WritableInterfaceTemplateRequestType = "cdma" + WritableInterfaceTemplateRequestTypeCiscoFlexstack WritableInterfaceTemplateRequestType = "cisco-flexstack" + WritableInterfaceTemplateRequestTypeCiscoFlexstackPlus WritableInterfaceTemplateRequestType = "cisco-flexstack-plus" + WritableInterfaceTemplateRequestTypeCiscoStackwise WritableInterfaceTemplateRequestType = "cisco-stackwise" + WritableInterfaceTemplateRequestTypeCiscoStackwise160 WritableInterfaceTemplateRequestType = "cisco-stackwise-160" + WritableInterfaceTemplateRequestTypeCiscoStackwise1t WritableInterfaceTemplateRequestType = "cisco-stackwise-1t" + WritableInterfaceTemplateRequestTypeCiscoStackwise320 WritableInterfaceTemplateRequestType = "cisco-stackwise-320" + WritableInterfaceTemplateRequestTypeCiscoStackwise480 WritableInterfaceTemplateRequestType = "cisco-stackwise-480" + WritableInterfaceTemplateRequestTypeCiscoStackwise80 WritableInterfaceTemplateRequestType = "cisco-stackwise-80" + WritableInterfaceTemplateRequestTypeCiscoStackwisePlus WritableInterfaceTemplateRequestType = "cisco-stackwise-plus" + WritableInterfaceTemplateRequestTypeDocsis WritableInterfaceTemplateRequestType = "docsis" + WritableInterfaceTemplateRequestTypeE1 WritableInterfaceTemplateRequestType = "e1" + WritableInterfaceTemplateRequestTypeE3 WritableInterfaceTemplateRequestType = "e3" + WritableInterfaceTemplateRequestTypeEpon WritableInterfaceTemplateRequestType = "epon" + WritableInterfaceTemplateRequestTypeExtremeSummitstack WritableInterfaceTemplateRequestType = "extreme-summitstack" + WritableInterfaceTemplateRequestTypeExtremeSummitstack128 WritableInterfaceTemplateRequestType = "extreme-summitstack-128" + WritableInterfaceTemplateRequestTypeExtremeSummitstack256 WritableInterfaceTemplateRequestType = "extreme-summitstack-256" + WritableInterfaceTemplateRequestTypeExtremeSummitstack512 WritableInterfaceTemplateRequestType = "extreme-summitstack-512" + WritableInterfaceTemplateRequestTypeGpon WritableInterfaceTemplateRequestType = "gpon" + WritableInterfaceTemplateRequestTypeGsm WritableInterfaceTemplateRequestType = "gsm" + WritableInterfaceTemplateRequestTypeIeee80211a WritableInterfaceTemplateRequestType = "ieee802.11a" + WritableInterfaceTemplateRequestTypeIeee80211ac WritableInterfaceTemplateRequestType = "ieee802.11ac" + WritableInterfaceTemplateRequestTypeIeee80211ad WritableInterfaceTemplateRequestType = "ieee802.11ad" + WritableInterfaceTemplateRequestTypeIeee80211ax WritableInterfaceTemplateRequestType = "ieee802.11ax" + WritableInterfaceTemplateRequestTypeIeee80211ay WritableInterfaceTemplateRequestType = "ieee802.11ay" + WritableInterfaceTemplateRequestTypeIeee80211g WritableInterfaceTemplateRequestType = "ieee802.11g" + WritableInterfaceTemplateRequestTypeIeee80211n WritableInterfaceTemplateRequestType = "ieee802.11n" + WritableInterfaceTemplateRequestTypeIeee802151 WritableInterfaceTemplateRequestType = "ieee802.15.1" + WritableInterfaceTemplateRequestTypeInfinibandDdr WritableInterfaceTemplateRequestType = "infiniband-ddr" + WritableInterfaceTemplateRequestTypeInfinibandEdr WritableInterfaceTemplateRequestType = "infiniband-edr" + WritableInterfaceTemplateRequestTypeInfinibandFdr WritableInterfaceTemplateRequestType = "infiniband-fdr" + WritableInterfaceTemplateRequestTypeInfinibandFdr10 WritableInterfaceTemplateRequestType = "infiniband-fdr10" + WritableInterfaceTemplateRequestTypeInfinibandHdr WritableInterfaceTemplateRequestType = "infiniband-hdr" + WritableInterfaceTemplateRequestTypeInfinibandNdr WritableInterfaceTemplateRequestType = "infiniband-ndr" + WritableInterfaceTemplateRequestTypeInfinibandQdr WritableInterfaceTemplateRequestType = "infiniband-qdr" + WritableInterfaceTemplateRequestTypeInfinibandSdr WritableInterfaceTemplateRequestType = "infiniband-sdr" + WritableInterfaceTemplateRequestTypeInfinibandXdr WritableInterfaceTemplateRequestType = "infiniband-xdr" + WritableInterfaceTemplateRequestTypeJuniperVcp WritableInterfaceTemplateRequestType = "juniper-vcp" + WritableInterfaceTemplateRequestTypeLag WritableInterfaceTemplateRequestType = "lag" + WritableInterfaceTemplateRequestTypeLte WritableInterfaceTemplateRequestType = "lte" + WritableInterfaceTemplateRequestTypeN1000baseKx WritableInterfaceTemplateRequestType = "1000base-kx" + WritableInterfaceTemplateRequestTypeN1000baseT WritableInterfaceTemplateRequestType = "1000base-t" + WritableInterfaceTemplateRequestTypeN1000baseXGbic WritableInterfaceTemplateRequestType = "1000base-x-gbic" + WritableInterfaceTemplateRequestTypeN1000baseXSfp WritableInterfaceTemplateRequestType = "1000base-x-sfp" + WritableInterfaceTemplateRequestTypeN100baseFx WritableInterfaceTemplateRequestType = "100base-fx" + WritableInterfaceTemplateRequestTypeN100baseLfx WritableInterfaceTemplateRequestType = "100base-lfx" + WritableInterfaceTemplateRequestTypeN100baseT1 WritableInterfaceTemplateRequestType = "100base-t1" + WritableInterfaceTemplateRequestTypeN100baseTx WritableInterfaceTemplateRequestType = "100base-tx" + WritableInterfaceTemplateRequestTypeN100gbaseKp4 WritableInterfaceTemplateRequestType = "100gbase-kp4" + WritableInterfaceTemplateRequestTypeN100gbaseKr2 WritableInterfaceTemplateRequestType = "100gbase-kr2" + WritableInterfaceTemplateRequestTypeN100gbaseKr4 WritableInterfaceTemplateRequestType = "100gbase-kr4" + WritableInterfaceTemplateRequestTypeN100gbaseXCfp WritableInterfaceTemplateRequestType = "100gbase-x-cfp" + WritableInterfaceTemplateRequestTypeN100gbaseXCfp2 WritableInterfaceTemplateRequestType = "100gbase-x-cfp2" + WritableInterfaceTemplateRequestTypeN100gbaseXCfp4 WritableInterfaceTemplateRequestType = "100gbase-x-cfp4" + WritableInterfaceTemplateRequestTypeN100gbaseXCpak WritableInterfaceTemplateRequestType = "100gbase-x-cpak" + WritableInterfaceTemplateRequestTypeN100gbaseXCxp WritableInterfaceTemplateRequestType = "100gbase-x-cxp" + WritableInterfaceTemplateRequestTypeN100gbaseXDsfp WritableInterfaceTemplateRequestType = "100gbase-x-dsfp" + WritableInterfaceTemplateRequestTypeN100gbaseXQsfp28 WritableInterfaceTemplateRequestType = "100gbase-x-qsfp28" + WritableInterfaceTemplateRequestTypeN100gbaseXQsfpdd WritableInterfaceTemplateRequestType = "100gbase-x-qsfpdd" + WritableInterfaceTemplateRequestTypeN100gbaseXSfpdd WritableInterfaceTemplateRequestType = "100gbase-x-sfpdd" + WritableInterfaceTemplateRequestTypeN10gEpon WritableInterfaceTemplateRequestType = "10g-epon" + WritableInterfaceTemplateRequestTypeN10gbaseCx4 WritableInterfaceTemplateRequestType = "10gbase-cx4" + WritableInterfaceTemplateRequestTypeN10gbaseKr WritableInterfaceTemplateRequestType = "10gbase-kr" + WritableInterfaceTemplateRequestTypeN10gbaseKx4 WritableInterfaceTemplateRequestType = "10gbase-kx4" + WritableInterfaceTemplateRequestTypeN10gbaseT WritableInterfaceTemplateRequestType = "10gbase-t" + WritableInterfaceTemplateRequestTypeN10gbaseXSfpp WritableInterfaceTemplateRequestType = "10gbase-x-sfpp" + WritableInterfaceTemplateRequestTypeN10gbaseXX2 WritableInterfaceTemplateRequestType = "10gbase-x-x2" + WritableInterfaceTemplateRequestTypeN10gbaseXXenpak WritableInterfaceTemplateRequestType = "10gbase-x-xenpak" + WritableInterfaceTemplateRequestTypeN10gbaseXXfp WritableInterfaceTemplateRequestType = "10gbase-x-xfp" + WritableInterfaceTemplateRequestTypeN128gfcQsfp28 WritableInterfaceTemplateRequestType = "128gfc-qsfp28" + WritableInterfaceTemplateRequestTypeN16gfcSfpp WritableInterfaceTemplateRequestType = "16gfc-sfpp" + WritableInterfaceTemplateRequestTypeN1gfcSfp WritableInterfaceTemplateRequestType = "1gfc-sfp" + WritableInterfaceTemplateRequestTypeN200gbaseXCfp2 WritableInterfaceTemplateRequestType = "200gbase-x-cfp2" + WritableInterfaceTemplateRequestTypeN200gbaseXQsfp56 WritableInterfaceTemplateRequestType = "200gbase-x-qsfp56" + WritableInterfaceTemplateRequestTypeN200gbaseXQsfpdd WritableInterfaceTemplateRequestType = "200gbase-x-qsfpdd" + WritableInterfaceTemplateRequestTypeN25gbaseKr WritableInterfaceTemplateRequestType = "25gbase-kr" + WritableInterfaceTemplateRequestTypeN25gbaseT WritableInterfaceTemplateRequestType = "2.5gbase-t" + WritableInterfaceTemplateRequestTypeN25gbaseXSfp28 WritableInterfaceTemplateRequestType = "25gbase-x-sfp28" + WritableInterfaceTemplateRequestTypeN2gfcSfp WritableInterfaceTemplateRequestType = "2gfc-sfp" + WritableInterfaceTemplateRequestTypeN32gfcSfp28 WritableInterfaceTemplateRequestType = "32gfc-sfp28" + WritableInterfaceTemplateRequestTypeN400gbaseXCdfp WritableInterfaceTemplateRequestType = "400gbase-x-cdfp" + WritableInterfaceTemplateRequestTypeN400gbaseXCfp2 WritableInterfaceTemplateRequestType = "400gbase-x-cfp2" + WritableInterfaceTemplateRequestTypeN400gbaseXCfp8 WritableInterfaceTemplateRequestType = "400gbase-x-cfp8" + WritableInterfaceTemplateRequestTypeN400gbaseXOsfp WritableInterfaceTemplateRequestType = "400gbase-x-osfp" + WritableInterfaceTemplateRequestTypeN400gbaseXOsfpRhs WritableInterfaceTemplateRequestType = "400gbase-x-osfp-rhs" + WritableInterfaceTemplateRequestTypeN400gbaseXQsfp112 WritableInterfaceTemplateRequestType = "400gbase-x-qsfp112" + WritableInterfaceTemplateRequestTypeN400gbaseXQsfpdd WritableInterfaceTemplateRequestType = "400gbase-x-qsfpdd" + WritableInterfaceTemplateRequestTypeN40gbaseKr4 WritableInterfaceTemplateRequestType = "40gbase-kr4" + WritableInterfaceTemplateRequestTypeN40gbaseXQsfpp WritableInterfaceTemplateRequestType = "40gbase-x-qsfpp" + WritableInterfaceTemplateRequestTypeN4gfcSfp WritableInterfaceTemplateRequestType = "4gfc-sfp" + WritableInterfaceTemplateRequestTypeN50gbaseKr WritableInterfaceTemplateRequestType = "50gbase-kr" + WritableInterfaceTemplateRequestTypeN50gbaseXSfp28 WritableInterfaceTemplateRequestType = "50gbase-x-sfp28" + WritableInterfaceTemplateRequestTypeN50gbaseXSfp56 WritableInterfaceTemplateRequestType = "50gbase-x-sfp56" + WritableInterfaceTemplateRequestTypeN5gbaseT WritableInterfaceTemplateRequestType = "5gbase-t" + WritableInterfaceTemplateRequestTypeN64gfcQsfpp WritableInterfaceTemplateRequestType = "64gfc-qsfpp" + WritableInterfaceTemplateRequestTypeN800gbaseXOsfp WritableInterfaceTemplateRequestType = "800gbase-x-osfp" + WritableInterfaceTemplateRequestTypeN800gbaseXQsfpdd WritableInterfaceTemplateRequestType = "800gbase-x-qsfpdd" + WritableInterfaceTemplateRequestTypeN8gfcSfpp WritableInterfaceTemplateRequestType = "8gfc-sfpp" + WritableInterfaceTemplateRequestTypeNgPon2 WritableInterfaceTemplateRequestType = "ng-pon2" + WritableInterfaceTemplateRequestTypeOther WritableInterfaceTemplateRequestType = "other" + WritableInterfaceTemplateRequestTypeOtherWireless WritableInterfaceTemplateRequestType = "other-wireless" + WritableInterfaceTemplateRequestTypeSonetOc12 WritableInterfaceTemplateRequestType = "sonet-oc12" + WritableInterfaceTemplateRequestTypeSonetOc192 WritableInterfaceTemplateRequestType = "sonet-oc192" + WritableInterfaceTemplateRequestTypeSonetOc1920 WritableInterfaceTemplateRequestType = "sonet-oc1920" + WritableInterfaceTemplateRequestTypeSonetOc3 WritableInterfaceTemplateRequestType = "sonet-oc3" + WritableInterfaceTemplateRequestTypeSonetOc3840 WritableInterfaceTemplateRequestType = "sonet-oc3840" + WritableInterfaceTemplateRequestTypeSonetOc48 WritableInterfaceTemplateRequestType = "sonet-oc48" + WritableInterfaceTemplateRequestTypeSonetOc768 WritableInterfaceTemplateRequestType = "sonet-oc768" + WritableInterfaceTemplateRequestTypeT1 WritableInterfaceTemplateRequestType = "t1" + WritableInterfaceTemplateRequestTypeT3 WritableInterfaceTemplateRequestType = "t3" + WritableInterfaceTemplateRequestTypeVirtual WritableInterfaceTemplateRequestType = "virtual" + WritableInterfaceTemplateRequestTypeXdsl WritableInterfaceTemplateRequestType = "xdsl" + WritableInterfaceTemplateRequestTypeXgPon WritableInterfaceTemplateRequestType = "xg-pon" + WritableInterfaceTemplateRequestTypeXgsPon WritableInterfaceTemplateRequestType = "xgs-pon" +) + +// Defines values for WritableJournalEntryRequestKind. +const ( + Danger WritableJournalEntryRequestKind = "danger" + Info WritableJournalEntryRequestKind = "info" + Success WritableJournalEntryRequestKind = "success" + Warning WritableJournalEntryRequestKind = "warning" +) + +// Defines values for WritableL2VPNRequestType. +const ( + WritableL2VPNRequestTypeEpLan WritableL2VPNRequestType = "ep-lan" + WritableL2VPNRequestTypeEpTree WritableL2VPNRequestType = "ep-tree" + WritableL2VPNRequestTypeEpl WritableL2VPNRequestType = "epl" + WritableL2VPNRequestTypeEvpLan WritableL2VPNRequestType = "evp-lan" + WritableL2VPNRequestTypeEvpTree WritableL2VPNRequestType = "evp-tree" + WritableL2VPNRequestTypeEvpl WritableL2VPNRequestType = "evpl" + WritableL2VPNRequestTypeMplsEvpn WritableL2VPNRequestType = "mpls-evpn" + WritableL2VPNRequestTypePbbEvpn WritableL2VPNRequestType = "pbb-evpn" + WritableL2VPNRequestTypeVpls WritableL2VPNRequestType = "vpls" + WritableL2VPNRequestTypeVpws WritableL2VPNRequestType = "vpws" + WritableL2VPNRequestTypeVxlan WritableL2VPNRequestType = "vxlan" + WritableL2VPNRequestTypeVxlanEvpn WritableL2VPNRequestType = "vxlan-evpn" +) + +// Defines values for WritableLocationRequestStatus. +const ( + WritableLocationRequestStatusActive WritableLocationRequestStatus = "active" + WritableLocationRequestStatusDecommissioning WritableLocationRequestStatus = "decommissioning" + WritableLocationRequestStatusPlanned WritableLocationRequestStatus = "planned" + WritableLocationRequestStatusRetired WritableLocationRequestStatus = "retired" + WritableLocationRequestStatusStaging WritableLocationRequestStatus = "staging" +) + +// Defines values for WritableModuleRequestStatus. +const ( + WritableModuleRequestStatusActive WritableModuleRequestStatus = "active" + WritableModuleRequestStatusDecommissioning WritableModuleRequestStatus = "decommissioning" + WritableModuleRequestStatusFailed WritableModuleRequestStatus = "failed" + WritableModuleRequestStatusOffline WritableModuleRequestStatus = "offline" + WritableModuleRequestStatusPlanned WritableModuleRequestStatus = "planned" + WritableModuleRequestStatusStaged WritableModuleRequestStatus = "staged" +) + +// Defines values for WritableModuleTypeRequestWeightUnit. +const ( + WritableModuleTypeRequestWeightUnitEmpty WritableModuleTypeRequestWeightUnit = "" + WritableModuleTypeRequestWeightUnitG WritableModuleTypeRequestWeightUnit = "g" + WritableModuleTypeRequestWeightUnitKg WritableModuleTypeRequestWeightUnit = "kg" + WritableModuleTypeRequestWeightUnitLb WritableModuleTypeRequestWeightUnit = "lb" + WritableModuleTypeRequestWeightUnitOz WritableModuleTypeRequestWeightUnit = "oz" +) + +// Defines values for WritablePowerFeedRequestPhase. +const ( + SinglePhase WritablePowerFeedRequestPhase = "single-phase" + ThreePhase WritablePowerFeedRequestPhase = "three-phase" +) + +// Defines values for WritablePowerFeedRequestStatus. +const ( + WritablePowerFeedRequestStatusActive WritablePowerFeedRequestStatus = "active" + WritablePowerFeedRequestStatusFailed WritablePowerFeedRequestStatus = "failed" + WritablePowerFeedRequestStatusOffline WritablePowerFeedRequestStatus = "offline" + WritablePowerFeedRequestStatusPlanned WritablePowerFeedRequestStatus = "planned" +) + +// Defines values for WritablePowerFeedRequestSupply. +const ( + WritablePowerFeedRequestSupplyAc WritablePowerFeedRequestSupply = "ac" + WritablePowerFeedRequestSupplyDc WritablePowerFeedRequestSupply = "dc" +) + +// Defines values for WritablePowerFeedRequestType. +const ( + Primary WritablePowerFeedRequestType = "primary" + Redundant WritablePowerFeedRequestType = "redundant" +) + +// Defines values for WritablePowerOutletRequestFeedLeg. +const ( + WritablePowerOutletRequestFeedLegA WritablePowerOutletRequestFeedLeg = "A" + WritablePowerOutletRequestFeedLegB WritablePowerOutletRequestFeedLeg = "B" + WritablePowerOutletRequestFeedLegC WritablePowerOutletRequestFeedLeg = "C" + WritablePowerOutletRequestFeedLegEmpty WritablePowerOutletRequestFeedLeg = "" +) + +// Defines values for WritablePowerOutletRequestType. +const ( + WritablePowerOutletRequestTypeCS6360C WritablePowerOutletRequestType = "CS6360C" + WritablePowerOutletRequestTypeCS6364C WritablePowerOutletRequestType = "CS6364C" + WritablePowerOutletRequestTypeCS8164C WritablePowerOutletRequestType = "CS8164C" + WritablePowerOutletRequestTypeCS8264C WritablePowerOutletRequestType = "CS8264C" + WritablePowerOutletRequestTypeCS8364C WritablePowerOutletRequestType = "CS8364C" + WritablePowerOutletRequestTypeCS8464C WritablePowerOutletRequestType = "CS8464C" + WritablePowerOutletRequestTypeDcTerminal WritablePowerOutletRequestType = "dc-terminal" + WritablePowerOutletRequestTypeEmpty WritablePowerOutletRequestType = "" + WritablePowerOutletRequestTypeHardwired WritablePowerOutletRequestType = "hardwired" + WritablePowerOutletRequestTypeHdotCx WritablePowerOutletRequestType = "hdot-cx" + WritablePowerOutletRequestTypeIec603092pE4h WritablePowerOutletRequestType = "iec-60309-2p-e-4h" + WritablePowerOutletRequestTypeIec603092pE6h WritablePowerOutletRequestType = "iec-60309-2p-e-6h" + WritablePowerOutletRequestTypeIec603092pE9h WritablePowerOutletRequestType = "iec-60309-2p-e-9h" + WritablePowerOutletRequestTypeIec603093pE4h WritablePowerOutletRequestType = "iec-60309-3p-e-4h" + WritablePowerOutletRequestTypeIec603093pE6h WritablePowerOutletRequestType = "iec-60309-3p-e-6h" + WritablePowerOutletRequestTypeIec603093pE9h WritablePowerOutletRequestType = "iec-60309-3p-e-9h" + WritablePowerOutletRequestTypeIec603093pNE4h WritablePowerOutletRequestType = "iec-60309-3p-n-e-4h" + WritablePowerOutletRequestTypeIec603093pNE6h WritablePowerOutletRequestType = "iec-60309-3p-n-e-6h" + WritablePowerOutletRequestTypeIec603093pNE9h WritablePowerOutletRequestType = "iec-60309-3p-n-e-9h" + WritablePowerOutletRequestTypeIec60309PNE4h WritablePowerOutletRequestType = "iec-60309-p-n-e-4h" + WritablePowerOutletRequestTypeIec60309PNE6h WritablePowerOutletRequestType = "iec-60309-p-n-e-6h" + WritablePowerOutletRequestTypeIec60309PNE9h WritablePowerOutletRequestType = "iec-60309-p-n-e-9h" + WritablePowerOutletRequestTypeIec60320C13 WritablePowerOutletRequestType = "iec-60320-c13" + WritablePowerOutletRequestTypeIec60320C15 WritablePowerOutletRequestType = "iec-60320-c15" + WritablePowerOutletRequestTypeIec60320C19 WritablePowerOutletRequestType = "iec-60320-c19" + WritablePowerOutletRequestTypeIec60320C21 WritablePowerOutletRequestType = "iec-60320-c21" + WritablePowerOutletRequestTypeIec60320C5 WritablePowerOutletRequestType = "iec-60320-c5" + WritablePowerOutletRequestTypeIec60320C7 WritablePowerOutletRequestType = "iec-60320-c7" + WritablePowerOutletRequestTypeIec609061 WritablePowerOutletRequestType = "iec-60906-1" + WritablePowerOutletRequestTypeItaE WritablePowerOutletRequestType = "ita-e" + WritablePowerOutletRequestTypeItaF WritablePowerOutletRequestType = "ita-f" + WritablePowerOutletRequestTypeItaG WritablePowerOutletRequestType = "ita-g" + WritablePowerOutletRequestTypeItaH WritablePowerOutletRequestType = "ita-h" + WritablePowerOutletRequestTypeItaI WritablePowerOutletRequestType = "ita-i" + WritablePowerOutletRequestTypeItaJ WritablePowerOutletRequestType = "ita-j" + WritablePowerOutletRequestTypeItaK WritablePowerOutletRequestType = "ita-k" + WritablePowerOutletRequestTypeItaL WritablePowerOutletRequestType = "ita-l" + WritablePowerOutletRequestTypeItaM WritablePowerOutletRequestType = "ita-m" + WritablePowerOutletRequestTypeItaMultistandard WritablePowerOutletRequestType = "ita-multistandard" + WritablePowerOutletRequestTypeItaN WritablePowerOutletRequestType = "ita-n" + WritablePowerOutletRequestTypeItaO WritablePowerOutletRequestType = "ita-o" + WritablePowerOutletRequestTypeNbr1413610a WritablePowerOutletRequestType = "nbr-14136-10a" + WritablePowerOutletRequestTypeNbr1413620a WritablePowerOutletRequestType = "nbr-14136-20a" + WritablePowerOutletRequestTypeNema1030r WritablePowerOutletRequestType = "nema-10-30r" + WritablePowerOutletRequestTypeNema1050r WritablePowerOutletRequestType = "nema-10-50r" + WritablePowerOutletRequestTypeNema115r WritablePowerOutletRequestType = "nema-1-15r" + WritablePowerOutletRequestTypeNema1420r WritablePowerOutletRequestType = "nema-14-20r" + WritablePowerOutletRequestTypeNema1430r WritablePowerOutletRequestType = "nema-14-30r" + WritablePowerOutletRequestTypeNema1450r WritablePowerOutletRequestType = "nema-14-50r" + WritablePowerOutletRequestTypeNema1460r WritablePowerOutletRequestType = "nema-14-60r" + WritablePowerOutletRequestTypeNema1515r WritablePowerOutletRequestType = "nema-15-15r" + WritablePowerOutletRequestTypeNema1520r WritablePowerOutletRequestType = "nema-15-20r" + WritablePowerOutletRequestTypeNema1530r WritablePowerOutletRequestType = "nema-15-30r" + WritablePowerOutletRequestTypeNema1550r WritablePowerOutletRequestType = "nema-15-50r" + WritablePowerOutletRequestTypeNema1560r WritablePowerOutletRequestType = "nema-15-60r" + WritablePowerOutletRequestTypeNema515r WritablePowerOutletRequestType = "nema-5-15r" + WritablePowerOutletRequestTypeNema520r WritablePowerOutletRequestType = "nema-5-20r" + WritablePowerOutletRequestTypeNema530r WritablePowerOutletRequestType = "nema-5-30r" + WritablePowerOutletRequestTypeNema550r WritablePowerOutletRequestType = "nema-5-50r" + WritablePowerOutletRequestTypeNema615r WritablePowerOutletRequestType = "nema-6-15r" + WritablePowerOutletRequestTypeNema620r WritablePowerOutletRequestType = "nema-6-20r" + WritablePowerOutletRequestTypeNema630r WritablePowerOutletRequestType = "nema-6-30r" + WritablePowerOutletRequestTypeNema650r WritablePowerOutletRequestType = "nema-6-50r" + WritablePowerOutletRequestTypeNemaL1030r WritablePowerOutletRequestType = "nema-l10-30r" + WritablePowerOutletRequestTypeNemaL115r WritablePowerOutletRequestType = "nema-l1-15r" + WritablePowerOutletRequestTypeNemaL1420r WritablePowerOutletRequestType = "nema-l14-20r" + WritablePowerOutletRequestTypeNemaL1430r WritablePowerOutletRequestType = "nema-l14-30r" + WritablePowerOutletRequestTypeNemaL1450r WritablePowerOutletRequestType = "nema-l14-50r" + WritablePowerOutletRequestTypeNemaL1460r WritablePowerOutletRequestType = "nema-l14-60r" + WritablePowerOutletRequestTypeNemaL1520r WritablePowerOutletRequestType = "nema-l15-20r" + WritablePowerOutletRequestTypeNemaL1530r WritablePowerOutletRequestType = "nema-l15-30r" + WritablePowerOutletRequestTypeNemaL1550r WritablePowerOutletRequestType = "nema-l15-50r" + WritablePowerOutletRequestTypeNemaL1560r WritablePowerOutletRequestType = "nema-l15-60r" + WritablePowerOutletRequestTypeNemaL2120r WritablePowerOutletRequestType = "nema-l21-20r" + WritablePowerOutletRequestTypeNemaL2130r WritablePowerOutletRequestType = "nema-l21-30r" + WritablePowerOutletRequestTypeNemaL2230r WritablePowerOutletRequestType = "nema-l22-30r" + WritablePowerOutletRequestTypeNemaL515r WritablePowerOutletRequestType = "nema-l5-15r" + WritablePowerOutletRequestTypeNemaL520r WritablePowerOutletRequestType = "nema-l5-20r" + WritablePowerOutletRequestTypeNemaL530r WritablePowerOutletRequestType = "nema-l5-30r" + WritablePowerOutletRequestTypeNemaL550r WritablePowerOutletRequestType = "nema-l5-50r" + WritablePowerOutletRequestTypeNemaL615r WritablePowerOutletRequestType = "nema-l6-15r" + WritablePowerOutletRequestTypeNemaL620r WritablePowerOutletRequestType = "nema-l6-20r" + WritablePowerOutletRequestTypeNemaL630r WritablePowerOutletRequestType = "nema-l6-30r" + WritablePowerOutletRequestTypeNemaL650r WritablePowerOutletRequestType = "nema-l6-50r" + WritablePowerOutletRequestTypeNeutrikPowercon20a WritablePowerOutletRequestType = "neutrik-powercon-20a" + WritablePowerOutletRequestTypeNeutrikPowercon32a WritablePowerOutletRequestType = "neutrik-powercon-32a" + WritablePowerOutletRequestTypeNeutrikPowerconTrue1 WritablePowerOutletRequestType = "neutrik-powercon-true1" + WritablePowerOutletRequestTypeNeutrikPowerconTrue1Top WritablePowerOutletRequestType = "neutrik-powercon-true1-top" + WritablePowerOutletRequestTypeOther WritablePowerOutletRequestType = "other" + WritablePowerOutletRequestTypeSafDGrid WritablePowerOutletRequestType = "saf-d-grid" + WritablePowerOutletRequestTypeUbiquitiSmartpower WritablePowerOutletRequestType = "ubiquiti-smartpower" + WritablePowerOutletRequestTypeUsbA WritablePowerOutletRequestType = "usb-a" + WritablePowerOutletRequestTypeUsbC WritablePowerOutletRequestType = "usb-c" + WritablePowerOutletRequestTypeUsbMicroB WritablePowerOutletRequestType = "usb-micro-b" +) + +// Defines values for WritablePowerOutletTemplateRequestFeedLeg. +const ( + WritablePowerOutletTemplateRequestFeedLegA WritablePowerOutletTemplateRequestFeedLeg = "A" + WritablePowerOutletTemplateRequestFeedLegB WritablePowerOutletTemplateRequestFeedLeg = "B" + WritablePowerOutletTemplateRequestFeedLegC WritablePowerOutletTemplateRequestFeedLeg = "C" + WritablePowerOutletTemplateRequestFeedLegEmpty WritablePowerOutletTemplateRequestFeedLeg = "" +) + +// Defines values for WritablePowerOutletTemplateRequestType. +const ( + WritablePowerOutletTemplateRequestTypeCS6360C WritablePowerOutletTemplateRequestType = "CS6360C" + WritablePowerOutletTemplateRequestTypeCS6364C WritablePowerOutletTemplateRequestType = "CS6364C" + WritablePowerOutletTemplateRequestTypeCS8164C WritablePowerOutletTemplateRequestType = "CS8164C" + WritablePowerOutletTemplateRequestTypeCS8264C WritablePowerOutletTemplateRequestType = "CS8264C" + WritablePowerOutletTemplateRequestTypeCS8364C WritablePowerOutletTemplateRequestType = "CS8364C" + WritablePowerOutletTemplateRequestTypeCS8464C WritablePowerOutletTemplateRequestType = "CS8464C" + WritablePowerOutletTemplateRequestTypeDcTerminal WritablePowerOutletTemplateRequestType = "dc-terminal" + WritablePowerOutletTemplateRequestTypeEmpty WritablePowerOutletTemplateRequestType = "" + WritablePowerOutletTemplateRequestTypeHardwired WritablePowerOutletTemplateRequestType = "hardwired" + WritablePowerOutletTemplateRequestTypeHdotCx WritablePowerOutletTemplateRequestType = "hdot-cx" + WritablePowerOutletTemplateRequestTypeIec603092pE4h WritablePowerOutletTemplateRequestType = "iec-60309-2p-e-4h" + WritablePowerOutletTemplateRequestTypeIec603092pE6h WritablePowerOutletTemplateRequestType = "iec-60309-2p-e-6h" + WritablePowerOutletTemplateRequestTypeIec603092pE9h WritablePowerOutletTemplateRequestType = "iec-60309-2p-e-9h" + WritablePowerOutletTemplateRequestTypeIec603093pE4h WritablePowerOutletTemplateRequestType = "iec-60309-3p-e-4h" + WritablePowerOutletTemplateRequestTypeIec603093pE6h WritablePowerOutletTemplateRequestType = "iec-60309-3p-e-6h" + WritablePowerOutletTemplateRequestTypeIec603093pE9h WritablePowerOutletTemplateRequestType = "iec-60309-3p-e-9h" + WritablePowerOutletTemplateRequestTypeIec603093pNE4h WritablePowerOutletTemplateRequestType = "iec-60309-3p-n-e-4h" + WritablePowerOutletTemplateRequestTypeIec603093pNE6h WritablePowerOutletTemplateRequestType = "iec-60309-3p-n-e-6h" + WritablePowerOutletTemplateRequestTypeIec603093pNE9h WritablePowerOutletTemplateRequestType = "iec-60309-3p-n-e-9h" + WritablePowerOutletTemplateRequestTypeIec60309PNE4h WritablePowerOutletTemplateRequestType = "iec-60309-p-n-e-4h" + WritablePowerOutletTemplateRequestTypeIec60309PNE6h WritablePowerOutletTemplateRequestType = "iec-60309-p-n-e-6h" + WritablePowerOutletTemplateRequestTypeIec60309PNE9h WritablePowerOutletTemplateRequestType = "iec-60309-p-n-e-9h" + WritablePowerOutletTemplateRequestTypeIec60320C13 WritablePowerOutletTemplateRequestType = "iec-60320-c13" + WritablePowerOutletTemplateRequestTypeIec60320C15 WritablePowerOutletTemplateRequestType = "iec-60320-c15" + WritablePowerOutletTemplateRequestTypeIec60320C19 WritablePowerOutletTemplateRequestType = "iec-60320-c19" + WritablePowerOutletTemplateRequestTypeIec60320C21 WritablePowerOutletTemplateRequestType = "iec-60320-c21" + WritablePowerOutletTemplateRequestTypeIec60320C5 WritablePowerOutletTemplateRequestType = "iec-60320-c5" + WritablePowerOutletTemplateRequestTypeIec60320C7 WritablePowerOutletTemplateRequestType = "iec-60320-c7" + WritablePowerOutletTemplateRequestTypeIec609061 WritablePowerOutletTemplateRequestType = "iec-60906-1" + WritablePowerOutletTemplateRequestTypeItaE WritablePowerOutletTemplateRequestType = "ita-e" + WritablePowerOutletTemplateRequestTypeItaF WritablePowerOutletTemplateRequestType = "ita-f" + WritablePowerOutletTemplateRequestTypeItaG WritablePowerOutletTemplateRequestType = "ita-g" + WritablePowerOutletTemplateRequestTypeItaH WritablePowerOutletTemplateRequestType = "ita-h" + WritablePowerOutletTemplateRequestTypeItaI WritablePowerOutletTemplateRequestType = "ita-i" + WritablePowerOutletTemplateRequestTypeItaJ WritablePowerOutletTemplateRequestType = "ita-j" + WritablePowerOutletTemplateRequestTypeItaK WritablePowerOutletTemplateRequestType = "ita-k" + WritablePowerOutletTemplateRequestTypeItaL WritablePowerOutletTemplateRequestType = "ita-l" + WritablePowerOutletTemplateRequestTypeItaM WritablePowerOutletTemplateRequestType = "ita-m" + WritablePowerOutletTemplateRequestTypeItaMultistandard WritablePowerOutletTemplateRequestType = "ita-multistandard" + WritablePowerOutletTemplateRequestTypeItaN WritablePowerOutletTemplateRequestType = "ita-n" + WritablePowerOutletTemplateRequestTypeItaO WritablePowerOutletTemplateRequestType = "ita-o" + WritablePowerOutletTemplateRequestTypeNbr1413610a WritablePowerOutletTemplateRequestType = "nbr-14136-10a" + WritablePowerOutletTemplateRequestTypeNbr1413620a WritablePowerOutletTemplateRequestType = "nbr-14136-20a" + WritablePowerOutletTemplateRequestTypeNema1030r WritablePowerOutletTemplateRequestType = "nema-10-30r" + WritablePowerOutletTemplateRequestTypeNema1050r WritablePowerOutletTemplateRequestType = "nema-10-50r" + WritablePowerOutletTemplateRequestTypeNema115r WritablePowerOutletTemplateRequestType = "nema-1-15r" + WritablePowerOutletTemplateRequestTypeNema1420r WritablePowerOutletTemplateRequestType = "nema-14-20r" + WritablePowerOutletTemplateRequestTypeNema1430r WritablePowerOutletTemplateRequestType = "nema-14-30r" + WritablePowerOutletTemplateRequestTypeNema1450r WritablePowerOutletTemplateRequestType = "nema-14-50r" + WritablePowerOutletTemplateRequestTypeNema1460r WritablePowerOutletTemplateRequestType = "nema-14-60r" + WritablePowerOutletTemplateRequestTypeNema1515r WritablePowerOutletTemplateRequestType = "nema-15-15r" + WritablePowerOutletTemplateRequestTypeNema1520r WritablePowerOutletTemplateRequestType = "nema-15-20r" + WritablePowerOutletTemplateRequestTypeNema1530r WritablePowerOutletTemplateRequestType = "nema-15-30r" + WritablePowerOutletTemplateRequestTypeNema1550r WritablePowerOutletTemplateRequestType = "nema-15-50r" + WritablePowerOutletTemplateRequestTypeNema1560r WritablePowerOutletTemplateRequestType = "nema-15-60r" + WritablePowerOutletTemplateRequestTypeNema515r WritablePowerOutletTemplateRequestType = "nema-5-15r" + WritablePowerOutletTemplateRequestTypeNema520r WritablePowerOutletTemplateRequestType = "nema-5-20r" + WritablePowerOutletTemplateRequestTypeNema530r WritablePowerOutletTemplateRequestType = "nema-5-30r" + WritablePowerOutletTemplateRequestTypeNema550r WritablePowerOutletTemplateRequestType = "nema-5-50r" + WritablePowerOutletTemplateRequestTypeNema615r WritablePowerOutletTemplateRequestType = "nema-6-15r" + WritablePowerOutletTemplateRequestTypeNema620r WritablePowerOutletTemplateRequestType = "nema-6-20r" + WritablePowerOutletTemplateRequestTypeNema630r WritablePowerOutletTemplateRequestType = "nema-6-30r" + WritablePowerOutletTemplateRequestTypeNema650r WritablePowerOutletTemplateRequestType = "nema-6-50r" + WritablePowerOutletTemplateRequestTypeNemaL1030r WritablePowerOutletTemplateRequestType = "nema-l10-30r" + WritablePowerOutletTemplateRequestTypeNemaL115r WritablePowerOutletTemplateRequestType = "nema-l1-15r" + WritablePowerOutletTemplateRequestTypeNemaL1420r WritablePowerOutletTemplateRequestType = "nema-l14-20r" + WritablePowerOutletTemplateRequestTypeNemaL1430r WritablePowerOutletTemplateRequestType = "nema-l14-30r" + WritablePowerOutletTemplateRequestTypeNemaL1450r WritablePowerOutletTemplateRequestType = "nema-l14-50r" + WritablePowerOutletTemplateRequestTypeNemaL1460r WritablePowerOutletTemplateRequestType = "nema-l14-60r" + WritablePowerOutletTemplateRequestTypeNemaL1520r WritablePowerOutletTemplateRequestType = "nema-l15-20r" + WritablePowerOutletTemplateRequestTypeNemaL1530r WritablePowerOutletTemplateRequestType = "nema-l15-30r" + WritablePowerOutletTemplateRequestTypeNemaL1550r WritablePowerOutletTemplateRequestType = "nema-l15-50r" + WritablePowerOutletTemplateRequestTypeNemaL1560r WritablePowerOutletTemplateRequestType = "nema-l15-60r" + WritablePowerOutletTemplateRequestTypeNemaL2120r WritablePowerOutletTemplateRequestType = "nema-l21-20r" + WritablePowerOutletTemplateRequestTypeNemaL2130r WritablePowerOutletTemplateRequestType = "nema-l21-30r" + WritablePowerOutletTemplateRequestTypeNemaL2230r WritablePowerOutletTemplateRequestType = "nema-l22-30r" + WritablePowerOutletTemplateRequestTypeNemaL515r WritablePowerOutletTemplateRequestType = "nema-l5-15r" + WritablePowerOutletTemplateRequestTypeNemaL520r WritablePowerOutletTemplateRequestType = "nema-l5-20r" + WritablePowerOutletTemplateRequestTypeNemaL530r WritablePowerOutletTemplateRequestType = "nema-l5-30r" + WritablePowerOutletTemplateRequestTypeNemaL550r WritablePowerOutletTemplateRequestType = "nema-l5-50r" + WritablePowerOutletTemplateRequestTypeNemaL615r WritablePowerOutletTemplateRequestType = "nema-l6-15r" + WritablePowerOutletTemplateRequestTypeNemaL620r WritablePowerOutletTemplateRequestType = "nema-l6-20r" + WritablePowerOutletTemplateRequestTypeNemaL630r WritablePowerOutletTemplateRequestType = "nema-l6-30r" + WritablePowerOutletTemplateRequestTypeNemaL650r WritablePowerOutletTemplateRequestType = "nema-l6-50r" + WritablePowerOutletTemplateRequestTypeNeutrikPowercon20a WritablePowerOutletTemplateRequestType = "neutrik-powercon-20a" + WritablePowerOutletTemplateRequestTypeNeutrikPowercon32a WritablePowerOutletTemplateRequestType = "neutrik-powercon-32a" + WritablePowerOutletTemplateRequestTypeNeutrikPowerconTrue1 WritablePowerOutletTemplateRequestType = "neutrik-powercon-true1" + WritablePowerOutletTemplateRequestTypeNeutrikPowerconTrue1Top WritablePowerOutletTemplateRequestType = "neutrik-powercon-true1-top" + WritablePowerOutletTemplateRequestTypeOther WritablePowerOutletTemplateRequestType = "other" + WritablePowerOutletTemplateRequestTypeSafDGrid WritablePowerOutletTemplateRequestType = "saf-d-grid" + WritablePowerOutletTemplateRequestTypeUbiquitiSmartpower WritablePowerOutletTemplateRequestType = "ubiquiti-smartpower" + WritablePowerOutletTemplateRequestTypeUsbA WritablePowerOutletTemplateRequestType = "usb-a" + WritablePowerOutletTemplateRequestTypeUsbC WritablePowerOutletTemplateRequestType = "usb-c" + WritablePowerOutletTemplateRequestTypeUsbMicroB WritablePowerOutletTemplateRequestType = "usb-micro-b" +) + +// Defines values for WritablePowerPortRequestType. +const ( + WritablePowerPortRequestTypeCs6361c WritablePowerPortRequestType = "cs6361c" + WritablePowerPortRequestTypeCs6365c WritablePowerPortRequestType = "cs6365c" + WritablePowerPortRequestTypeCs8165c WritablePowerPortRequestType = "cs8165c" + WritablePowerPortRequestTypeCs8265c WritablePowerPortRequestType = "cs8265c" + WritablePowerPortRequestTypeCs8365c WritablePowerPortRequestType = "cs8365c" + WritablePowerPortRequestTypeCs8465c WritablePowerPortRequestType = "cs8465c" + WritablePowerPortRequestTypeDcTerminal WritablePowerPortRequestType = "dc-terminal" + WritablePowerPortRequestTypeEmpty WritablePowerPortRequestType = "" + WritablePowerPortRequestTypeHardwired WritablePowerPortRequestType = "hardwired" + WritablePowerPortRequestTypeIec603092pE4h WritablePowerPortRequestType = "iec-60309-2p-e-4h" + WritablePowerPortRequestTypeIec603092pE6h WritablePowerPortRequestType = "iec-60309-2p-e-6h" + WritablePowerPortRequestTypeIec603092pE9h WritablePowerPortRequestType = "iec-60309-2p-e-9h" + WritablePowerPortRequestTypeIec603093pE4h WritablePowerPortRequestType = "iec-60309-3p-e-4h" + WritablePowerPortRequestTypeIec603093pE6h WritablePowerPortRequestType = "iec-60309-3p-e-6h" + WritablePowerPortRequestTypeIec603093pE9h WritablePowerPortRequestType = "iec-60309-3p-e-9h" + WritablePowerPortRequestTypeIec603093pNE4h WritablePowerPortRequestType = "iec-60309-3p-n-e-4h" + WritablePowerPortRequestTypeIec603093pNE6h WritablePowerPortRequestType = "iec-60309-3p-n-e-6h" + WritablePowerPortRequestTypeIec603093pNE9h WritablePowerPortRequestType = "iec-60309-3p-n-e-9h" + WritablePowerPortRequestTypeIec60309PNE4h WritablePowerPortRequestType = "iec-60309-p-n-e-4h" + WritablePowerPortRequestTypeIec60309PNE6h WritablePowerPortRequestType = "iec-60309-p-n-e-6h" + WritablePowerPortRequestTypeIec60309PNE9h WritablePowerPortRequestType = "iec-60309-p-n-e-9h" + WritablePowerPortRequestTypeIec60320C14 WritablePowerPortRequestType = "iec-60320-c14" + WritablePowerPortRequestTypeIec60320C16 WritablePowerPortRequestType = "iec-60320-c16" + WritablePowerPortRequestTypeIec60320C20 WritablePowerPortRequestType = "iec-60320-c20" + WritablePowerPortRequestTypeIec60320C22 WritablePowerPortRequestType = "iec-60320-c22" + WritablePowerPortRequestTypeIec60320C6 WritablePowerPortRequestType = "iec-60320-c6" + WritablePowerPortRequestTypeIec60320C8 WritablePowerPortRequestType = "iec-60320-c8" + WritablePowerPortRequestTypeIec609061 WritablePowerPortRequestType = "iec-60906-1" + WritablePowerPortRequestTypeItaC WritablePowerPortRequestType = "ita-c" + WritablePowerPortRequestTypeItaE WritablePowerPortRequestType = "ita-e" + WritablePowerPortRequestTypeItaEf WritablePowerPortRequestType = "ita-ef" + WritablePowerPortRequestTypeItaF WritablePowerPortRequestType = "ita-f" + WritablePowerPortRequestTypeItaG WritablePowerPortRequestType = "ita-g" + WritablePowerPortRequestTypeItaH WritablePowerPortRequestType = "ita-h" + WritablePowerPortRequestTypeItaI WritablePowerPortRequestType = "ita-i" + WritablePowerPortRequestTypeItaJ WritablePowerPortRequestType = "ita-j" + WritablePowerPortRequestTypeItaK WritablePowerPortRequestType = "ita-k" + WritablePowerPortRequestTypeItaL WritablePowerPortRequestType = "ita-l" + WritablePowerPortRequestTypeItaM WritablePowerPortRequestType = "ita-m" + WritablePowerPortRequestTypeItaN WritablePowerPortRequestType = "ita-n" + WritablePowerPortRequestTypeItaO WritablePowerPortRequestType = "ita-o" + WritablePowerPortRequestTypeNbr1413610a WritablePowerPortRequestType = "nbr-14136-10a" + WritablePowerPortRequestTypeNbr1413620a WritablePowerPortRequestType = "nbr-14136-20a" + WritablePowerPortRequestTypeNema1030p WritablePowerPortRequestType = "nema-10-30p" + WritablePowerPortRequestTypeNema1050p WritablePowerPortRequestType = "nema-10-50p" + WritablePowerPortRequestTypeNema115p WritablePowerPortRequestType = "nema-1-15p" + WritablePowerPortRequestTypeNema1420p WritablePowerPortRequestType = "nema-14-20p" + WritablePowerPortRequestTypeNema1430p WritablePowerPortRequestType = "nema-14-30p" + WritablePowerPortRequestTypeNema1450p WritablePowerPortRequestType = "nema-14-50p" + WritablePowerPortRequestTypeNema1460p WritablePowerPortRequestType = "nema-14-60p" + WritablePowerPortRequestTypeNema1515p WritablePowerPortRequestType = "nema-15-15p" + WritablePowerPortRequestTypeNema1520p WritablePowerPortRequestType = "nema-15-20p" + WritablePowerPortRequestTypeNema1530p WritablePowerPortRequestType = "nema-15-30p" + WritablePowerPortRequestTypeNema1550p WritablePowerPortRequestType = "nema-15-50p" + WritablePowerPortRequestTypeNema1560p WritablePowerPortRequestType = "nema-15-60p" + WritablePowerPortRequestTypeNema515p WritablePowerPortRequestType = "nema-5-15p" + WritablePowerPortRequestTypeNema520p WritablePowerPortRequestType = "nema-5-20p" + WritablePowerPortRequestTypeNema530p WritablePowerPortRequestType = "nema-5-30p" + WritablePowerPortRequestTypeNema550p WritablePowerPortRequestType = "nema-5-50p" + WritablePowerPortRequestTypeNema615p WritablePowerPortRequestType = "nema-6-15p" + WritablePowerPortRequestTypeNema620p WritablePowerPortRequestType = "nema-6-20p" + WritablePowerPortRequestTypeNema630p WritablePowerPortRequestType = "nema-6-30p" + WritablePowerPortRequestTypeNema650p WritablePowerPortRequestType = "nema-6-50p" + WritablePowerPortRequestTypeNemaL1030p WritablePowerPortRequestType = "nema-l10-30p" + WritablePowerPortRequestTypeNemaL115p WritablePowerPortRequestType = "nema-l1-15p" + WritablePowerPortRequestTypeNemaL1420p WritablePowerPortRequestType = "nema-l14-20p" + WritablePowerPortRequestTypeNemaL1430p WritablePowerPortRequestType = "nema-l14-30p" + WritablePowerPortRequestTypeNemaL1450p WritablePowerPortRequestType = "nema-l14-50p" + WritablePowerPortRequestTypeNemaL1460p WritablePowerPortRequestType = "nema-l14-60p" + WritablePowerPortRequestTypeNemaL1520p WritablePowerPortRequestType = "nema-l15-20p" + WritablePowerPortRequestTypeNemaL1530p WritablePowerPortRequestType = "nema-l15-30p" + WritablePowerPortRequestTypeNemaL1550p WritablePowerPortRequestType = "nema-l15-50p" + WritablePowerPortRequestTypeNemaL1560p WritablePowerPortRequestType = "nema-l15-60p" + WritablePowerPortRequestTypeNemaL2120p WritablePowerPortRequestType = "nema-l21-20p" + WritablePowerPortRequestTypeNemaL2130p WritablePowerPortRequestType = "nema-l21-30p" + WritablePowerPortRequestTypeNemaL2230p WritablePowerPortRequestType = "nema-l22-30p" + WritablePowerPortRequestTypeNemaL515p WritablePowerPortRequestType = "nema-l5-15p" + WritablePowerPortRequestTypeNemaL520p WritablePowerPortRequestType = "nema-l5-20p" + WritablePowerPortRequestTypeNemaL530p WritablePowerPortRequestType = "nema-l5-30p" + WritablePowerPortRequestTypeNemaL550p WritablePowerPortRequestType = "nema-l5-50p" + WritablePowerPortRequestTypeNemaL615p WritablePowerPortRequestType = "nema-l6-15p" + WritablePowerPortRequestTypeNemaL620p WritablePowerPortRequestType = "nema-l6-20p" + WritablePowerPortRequestTypeNemaL630p WritablePowerPortRequestType = "nema-l6-30p" + WritablePowerPortRequestTypeNemaL650p WritablePowerPortRequestType = "nema-l6-50p" + WritablePowerPortRequestTypeNeutrikPowercon20 WritablePowerPortRequestType = "neutrik-powercon-20" + WritablePowerPortRequestTypeNeutrikPowercon32 WritablePowerPortRequestType = "neutrik-powercon-32" + WritablePowerPortRequestTypeNeutrikPowerconTrue1 WritablePowerPortRequestType = "neutrik-powercon-true1" + WritablePowerPortRequestTypeNeutrikPowerconTrue1Top WritablePowerPortRequestType = "neutrik-powercon-true1-top" + WritablePowerPortRequestTypeOther WritablePowerPortRequestType = "other" + WritablePowerPortRequestTypeSafDGrid WritablePowerPortRequestType = "saf-d-grid" + WritablePowerPortRequestTypeUbiquitiSmartpower WritablePowerPortRequestType = "ubiquiti-smartpower" + WritablePowerPortRequestTypeUsb3B WritablePowerPortRequestType = "usb-3-b" + WritablePowerPortRequestTypeUsb3MicroB WritablePowerPortRequestType = "usb-3-micro-b" + WritablePowerPortRequestTypeUsbA WritablePowerPortRequestType = "usb-a" + WritablePowerPortRequestTypeUsbB WritablePowerPortRequestType = "usb-b" + WritablePowerPortRequestTypeUsbC WritablePowerPortRequestType = "usb-c" + WritablePowerPortRequestTypeUsbMicroA WritablePowerPortRequestType = "usb-micro-a" + WritablePowerPortRequestTypeUsbMicroAb WritablePowerPortRequestType = "usb-micro-ab" + WritablePowerPortRequestTypeUsbMicroB WritablePowerPortRequestType = "usb-micro-b" + WritablePowerPortRequestTypeUsbMiniA WritablePowerPortRequestType = "usb-mini-a" + WritablePowerPortRequestTypeUsbMiniB WritablePowerPortRequestType = "usb-mini-b" +) + +// Defines values for WritablePowerPortTemplateRequestType. +const ( + WritablePowerPortTemplateRequestTypeCs6361c WritablePowerPortTemplateRequestType = "cs6361c" + WritablePowerPortTemplateRequestTypeCs6365c WritablePowerPortTemplateRequestType = "cs6365c" + WritablePowerPortTemplateRequestTypeCs8165c WritablePowerPortTemplateRequestType = "cs8165c" + WritablePowerPortTemplateRequestTypeCs8265c WritablePowerPortTemplateRequestType = "cs8265c" + WritablePowerPortTemplateRequestTypeCs8365c WritablePowerPortTemplateRequestType = "cs8365c" + WritablePowerPortTemplateRequestTypeCs8465c WritablePowerPortTemplateRequestType = "cs8465c" + WritablePowerPortTemplateRequestTypeDcTerminal WritablePowerPortTemplateRequestType = "dc-terminal" + WritablePowerPortTemplateRequestTypeEmpty WritablePowerPortTemplateRequestType = "" + WritablePowerPortTemplateRequestTypeHardwired WritablePowerPortTemplateRequestType = "hardwired" + WritablePowerPortTemplateRequestTypeIec603092pE4h WritablePowerPortTemplateRequestType = "iec-60309-2p-e-4h" + WritablePowerPortTemplateRequestTypeIec603092pE6h WritablePowerPortTemplateRequestType = "iec-60309-2p-e-6h" + WritablePowerPortTemplateRequestTypeIec603092pE9h WritablePowerPortTemplateRequestType = "iec-60309-2p-e-9h" + WritablePowerPortTemplateRequestTypeIec603093pE4h WritablePowerPortTemplateRequestType = "iec-60309-3p-e-4h" + WritablePowerPortTemplateRequestTypeIec603093pE6h WritablePowerPortTemplateRequestType = "iec-60309-3p-e-6h" + WritablePowerPortTemplateRequestTypeIec603093pE9h WritablePowerPortTemplateRequestType = "iec-60309-3p-e-9h" + WritablePowerPortTemplateRequestTypeIec603093pNE4h WritablePowerPortTemplateRequestType = "iec-60309-3p-n-e-4h" + WritablePowerPortTemplateRequestTypeIec603093pNE6h WritablePowerPortTemplateRequestType = "iec-60309-3p-n-e-6h" + WritablePowerPortTemplateRequestTypeIec603093pNE9h WritablePowerPortTemplateRequestType = "iec-60309-3p-n-e-9h" + WritablePowerPortTemplateRequestTypeIec60309PNE4h WritablePowerPortTemplateRequestType = "iec-60309-p-n-e-4h" + WritablePowerPortTemplateRequestTypeIec60309PNE6h WritablePowerPortTemplateRequestType = "iec-60309-p-n-e-6h" + WritablePowerPortTemplateRequestTypeIec60309PNE9h WritablePowerPortTemplateRequestType = "iec-60309-p-n-e-9h" + WritablePowerPortTemplateRequestTypeIec60320C14 WritablePowerPortTemplateRequestType = "iec-60320-c14" + WritablePowerPortTemplateRequestTypeIec60320C16 WritablePowerPortTemplateRequestType = "iec-60320-c16" + WritablePowerPortTemplateRequestTypeIec60320C20 WritablePowerPortTemplateRequestType = "iec-60320-c20" + WritablePowerPortTemplateRequestTypeIec60320C22 WritablePowerPortTemplateRequestType = "iec-60320-c22" + WritablePowerPortTemplateRequestTypeIec60320C6 WritablePowerPortTemplateRequestType = "iec-60320-c6" + WritablePowerPortTemplateRequestTypeIec60320C8 WritablePowerPortTemplateRequestType = "iec-60320-c8" + WritablePowerPortTemplateRequestTypeIec609061 WritablePowerPortTemplateRequestType = "iec-60906-1" + WritablePowerPortTemplateRequestTypeItaC WritablePowerPortTemplateRequestType = "ita-c" + WritablePowerPortTemplateRequestTypeItaE WritablePowerPortTemplateRequestType = "ita-e" + WritablePowerPortTemplateRequestTypeItaEf WritablePowerPortTemplateRequestType = "ita-ef" + WritablePowerPortTemplateRequestTypeItaF WritablePowerPortTemplateRequestType = "ita-f" + WritablePowerPortTemplateRequestTypeItaG WritablePowerPortTemplateRequestType = "ita-g" + WritablePowerPortTemplateRequestTypeItaH WritablePowerPortTemplateRequestType = "ita-h" + WritablePowerPortTemplateRequestTypeItaI WritablePowerPortTemplateRequestType = "ita-i" + WritablePowerPortTemplateRequestTypeItaJ WritablePowerPortTemplateRequestType = "ita-j" + WritablePowerPortTemplateRequestTypeItaK WritablePowerPortTemplateRequestType = "ita-k" + WritablePowerPortTemplateRequestTypeItaL WritablePowerPortTemplateRequestType = "ita-l" + WritablePowerPortTemplateRequestTypeItaM WritablePowerPortTemplateRequestType = "ita-m" + WritablePowerPortTemplateRequestTypeItaN WritablePowerPortTemplateRequestType = "ita-n" + WritablePowerPortTemplateRequestTypeItaO WritablePowerPortTemplateRequestType = "ita-o" + WritablePowerPortTemplateRequestTypeNbr1413610a WritablePowerPortTemplateRequestType = "nbr-14136-10a" + WritablePowerPortTemplateRequestTypeNbr1413620a WritablePowerPortTemplateRequestType = "nbr-14136-20a" + WritablePowerPortTemplateRequestTypeNema1030p WritablePowerPortTemplateRequestType = "nema-10-30p" + WritablePowerPortTemplateRequestTypeNema1050p WritablePowerPortTemplateRequestType = "nema-10-50p" + WritablePowerPortTemplateRequestTypeNema115p WritablePowerPortTemplateRequestType = "nema-1-15p" + WritablePowerPortTemplateRequestTypeNema1420p WritablePowerPortTemplateRequestType = "nema-14-20p" + WritablePowerPortTemplateRequestTypeNema1430p WritablePowerPortTemplateRequestType = "nema-14-30p" + WritablePowerPortTemplateRequestTypeNema1450p WritablePowerPortTemplateRequestType = "nema-14-50p" + WritablePowerPortTemplateRequestTypeNema1460p WritablePowerPortTemplateRequestType = "nema-14-60p" + WritablePowerPortTemplateRequestTypeNema1515p WritablePowerPortTemplateRequestType = "nema-15-15p" + WritablePowerPortTemplateRequestTypeNema1520p WritablePowerPortTemplateRequestType = "nema-15-20p" + WritablePowerPortTemplateRequestTypeNema1530p WritablePowerPortTemplateRequestType = "nema-15-30p" + WritablePowerPortTemplateRequestTypeNema1550p WritablePowerPortTemplateRequestType = "nema-15-50p" + WritablePowerPortTemplateRequestTypeNema1560p WritablePowerPortTemplateRequestType = "nema-15-60p" + WritablePowerPortTemplateRequestTypeNema515p WritablePowerPortTemplateRequestType = "nema-5-15p" + WritablePowerPortTemplateRequestTypeNema520p WritablePowerPortTemplateRequestType = "nema-5-20p" + WritablePowerPortTemplateRequestTypeNema530p WritablePowerPortTemplateRequestType = "nema-5-30p" + WritablePowerPortTemplateRequestTypeNema550p WritablePowerPortTemplateRequestType = "nema-5-50p" + WritablePowerPortTemplateRequestTypeNema615p WritablePowerPortTemplateRequestType = "nema-6-15p" + WritablePowerPortTemplateRequestTypeNema620p WritablePowerPortTemplateRequestType = "nema-6-20p" + WritablePowerPortTemplateRequestTypeNema630p WritablePowerPortTemplateRequestType = "nema-6-30p" + WritablePowerPortTemplateRequestTypeNema650p WritablePowerPortTemplateRequestType = "nema-6-50p" + WritablePowerPortTemplateRequestTypeNemaL1030p WritablePowerPortTemplateRequestType = "nema-l10-30p" + WritablePowerPortTemplateRequestTypeNemaL115p WritablePowerPortTemplateRequestType = "nema-l1-15p" + WritablePowerPortTemplateRequestTypeNemaL1420p WritablePowerPortTemplateRequestType = "nema-l14-20p" + WritablePowerPortTemplateRequestTypeNemaL1430p WritablePowerPortTemplateRequestType = "nema-l14-30p" + WritablePowerPortTemplateRequestTypeNemaL1450p WritablePowerPortTemplateRequestType = "nema-l14-50p" + WritablePowerPortTemplateRequestTypeNemaL1460p WritablePowerPortTemplateRequestType = "nema-l14-60p" + WritablePowerPortTemplateRequestTypeNemaL1520p WritablePowerPortTemplateRequestType = "nema-l15-20p" + WritablePowerPortTemplateRequestTypeNemaL1530p WritablePowerPortTemplateRequestType = "nema-l15-30p" + WritablePowerPortTemplateRequestTypeNemaL1550p WritablePowerPortTemplateRequestType = "nema-l15-50p" + WritablePowerPortTemplateRequestTypeNemaL1560p WritablePowerPortTemplateRequestType = "nema-l15-60p" + WritablePowerPortTemplateRequestTypeNemaL2120p WritablePowerPortTemplateRequestType = "nema-l21-20p" + WritablePowerPortTemplateRequestTypeNemaL2130p WritablePowerPortTemplateRequestType = "nema-l21-30p" + WritablePowerPortTemplateRequestTypeNemaL2230p WritablePowerPortTemplateRequestType = "nema-l22-30p" + WritablePowerPortTemplateRequestTypeNemaL515p WritablePowerPortTemplateRequestType = "nema-l5-15p" + WritablePowerPortTemplateRequestTypeNemaL520p WritablePowerPortTemplateRequestType = "nema-l5-20p" + WritablePowerPortTemplateRequestTypeNemaL530p WritablePowerPortTemplateRequestType = "nema-l5-30p" + WritablePowerPortTemplateRequestTypeNemaL550p WritablePowerPortTemplateRequestType = "nema-l5-50p" + WritablePowerPortTemplateRequestTypeNemaL615p WritablePowerPortTemplateRequestType = "nema-l6-15p" + WritablePowerPortTemplateRequestTypeNemaL620p WritablePowerPortTemplateRequestType = "nema-l6-20p" + WritablePowerPortTemplateRequestTypeNemaL630p WritablePowerPortTemplateRequestType = "nema-l6-30p" + WritablePowerPortTemplateRequestTypeNemaL650p WritablePowerPortTemplateRequestType = "nema-l6-50p" + WritablePowerPortTemplateRequestTypeNeutrikPowercon20 WritablePowerPortTemplateRequestType = "neutrik-powercon-20" + WritablePowerPortTemplateRequestTypeNeutrikPowercon32 WritablePowerPortTemplateRequestType = "neutrik-powercon-32" + WritablePowerPortTemplateRequestTypeNeutrikPowerconTrue1 WritablePowerPortTemplateRequestType = "neutrik-powercon-true1" + WritablePowerPortTemplateRequestTypeNeutrikPowerconTrue1Top WritablePowerPortTemplateRequestType = "neutrik-powercon-true1-top" + WritablePowerPortTemplateRequestTypeOther WritablePowerPortTemplateRequestType = "other" + WritablePowerPortTemplateRequestTypeSafDGrid WritablePowerPortTemplateRequestType = "saf-d-grid" + WritablePowerPortTemplateRequestTypeUbiquitiSmartpower WritablePowerPortTemplateRequestType = "ubiquiti-smartpower" + WritablePowerPortTemplateRequestTypeUsb3B WritablePowerPortTemplateRequestType = "usb-3-b" + WritablePowerPortTemplateRequestTypeUsb3MicroB WritablePowerPortTemplateRequestType = "usb-3-micro-b" + WritablePowerPortTemplateRequestTypeUsbA WritablePowerPortTemplateRequestType = "usb-a" + WritablePowerPortTemplateRequestTypeUsbB WritablePowerPortTemplateRequestType = "usb-b" + WritablePowerPortTemplateRequestTypeUsbC WritablePowerPortTemplateRequestType = "usb-c" + WritablePowerPortTemplateRequestTypeUsbMicroA WritablePowerPortTemplateRequestType = "usb-micro-a" + WritablePowerPortTemplateRequestTypeUsbMicroAb WritablePowerPortTemplateRequestType = "usb-micro-ab" + WritablePowerPortTemplateRequestTypeUsbMicroB WritablePowerPortTemplateRequestType = "usb-micro-b" + WritablePowerPortTemplateRequestTypeUsbMiniA WritablePowerPortTemplateRequestType = "usb-mini-a" + WritablePowerPortTemplateRequestTypeUsbMiniB WritablePowerPortTemplateRequestType = "usb-mini-b" +) + +// Defines values for WritablePrefixRequestStatus. +const ( + WritablePrefixRequestStatusActive WritablePrefixRequestStatus = "active" + WritablePrefixRequestStatusContainer WritablePrefixRequestStatus = "container" + WritablePrefixRequestStatusDeprecated WritablePrefixRequestStatus = "deprecated" + WritablePrefixRequestStatusReserved WritablePrefixRequestStatus = "reserved" +) + +// Defines values for WritableRackRequestOuterUnit. +const ( + WritableRackRequestOuterUnitEmpty WritableRackRequestOuterUnit = "" + WritableRackRequestOuterUnitIn WritableRackRequestOuterUnit = "in" + WritableRackRequestOuterUnitMm WritableRackRequestOuterUnit = "mm" +) + +// Defines values for WritableRackRequestStatus. +const ( + WritableRackRequestStatusActive WritableRackRequestStatus = "active" + WritableRackRequestStatusAvailable WritableRackRequestStatus = "available" + WritableRackRequestStatusDeprecated WritableRackRequestStatus = "deprecated" + WritableRackRequestStatusPlanned WritableRackRequestStatus = "planned" + WritableRackRequestStatusReserved WritableRackRequestStatus = "reserved" +) + +// Defines values for WritableRackRequestType. +const ( + WritableRackRequestTypeEmpty WritableRackRequestType = "" + WritableRackRequestTypeN2PostFrame WritableRackRequestType = "2-post-frame" + WritableRackRequestTypeN4PostCabinet WritableRackRequestType = "4-post-cabinet" + WritableRackRequestTypeN4PostFrame WritableRackRequestType = "4-post-frame" + WritableRackRequestTypeWallCabinet WritableRackRequestType = "wall-cabinet" + WritableRackRequestTypeWallCabinetVertical WritableRackRequestType = "wall-cabinet-vertical" + WritableRackRequestTypeWallFrame WritableRackRequestType = "wall-frame" + WritableRackRequestTypeWallFrameVertical WritableRackRequestType = "wall-frame-vertical" +) + +// Defines values for WritableRackRequestWeightUnit. +const ( + WritableRackRequestWeightUnitEmpty WritableRackRequestWeightUnit = "" + WritableRackRequestWeightUnitG WritableRackRequestWeightUnit = "g" + WritableRackRequestWeightUnitKg WritableRackRequestWeightUnit = "kg" + WritableRackRequestWeightUnitLb WritableRackRequestWeightUnit = "lb" + WritableRackRequestWeightUnitOz WritableRackRequestWeightUnit = "oz" +) + +// Defines values for WritableRackRequestWidth. +const ( + WritableRackRequestWidthN10 WritableRackRequestWidth = 10 + WritableRackRequestWidthN19 WritableRackRequestWidth = 19 + WritableRackRequestWidthN21 WritableRackRequestWidth = 21 + WritableRackRequestWidthN23 WritableRackRequestWidth = 23 +) + +// Defines values for WritableRearPortRequestType. +const ( + WritableRearPortRequestTypeBnc WritableRearPortRequestType = "bnc" + WritableRearPortRequestTypeCs WritableRearPortRequestType = "cs" + WritableRearPortRequestTypeF WritableRearPortRequestType = "f" + WritableRearPortRequestTypeFc WritableRearPortRequestType = "fc" + WritableRearPortRequestTypeGg45 WritableRearPortRequestType = "gg45" + WritableRearPortRequestTypeLc WritableRearPortRequestType = "lc" + WritableRearPortRequestTypeLcApc WritableRearPortRequestType = "lc-apc" + WritableRearPortRequestTypeLcPc WritableRearPortRequestType = "lc-pc" + WritableRearPortRequestTypeLcUpc WritableRearPortRequestType = "lc-upc" + WritableRearPortRequestTypeLsh WritableRearPortRequestType = "lsh" + WritableRearPortRequestTypeLshApc WritableRearPortRequestType = "lsh-apc" + WritableRearPortRequestTypeLshPc WritableRearPortRequestType = "lsh-pc" + WritableRearPortRequestTypeLshUpc WritableRearPortRequestType = "lsh-upc" + WritableRearPortRequestTypeLx5 WritableRearPortRequestType = "lx5" + WritableRearPortRequestTypeLx5Apc WritableRearPortRequestType = "lx5-apc" + WritableRearPortRequestTypeLx5Pc WritableRearPortRequestType = "lx5-pc" + WritableRearPortRequestTypeLx5Upc WritableRearPortRequestType = "lx5-upc" + WritableRearPortRequestTypeMpo WritableRearPortRequestType = "mpo" + WritableRearPortRequestTypeMrj21 WritableRearPortRequestType = "mrj21" + WritableRearPortRequestTypeMtrj WritableRearPortRequestType = "mtrj" + WritableRearPortRequestTypeN WritableRearPortRequestType = "n" + WritableRearPortRequestTypeN110Punch WritableRearPortRequestType = "110-punch" + WritableRearPortRequestTypeN4p2c WritableRearPortRequestType = "4p2c" + WritableRearPortRequestTypeN4p4c WritableRearPortRequestType = "4p4c" + WritableRearPortRequestTypeN6p2c WritableRearPortRequestType = "6p2c" + WritableRearPortRequestTypeN6p4c WritableRearPortRequestType = "6p4c" + WritableRearPortRequestTypeN6p6c WritableRearPortRequestType = "6p6c" + WritableRearPortRequestTypeN8p2c WritableRearPortRequestType = "8p2c" + WritableRearPortRequestTypeN8p4c WritableRearPortRequestType = "8p4c" + WritableRearPortRequestTypeN8p6c WritableRearPortRequestType = "8p6c" + WritableRearPortRequestTypeN8p8c WritableRearPortRequestType = "8p8c" + WritableRearPortRequestTypeOther WritableRearPortRequestType = "other" + WritableRearPortRequestTypeSc WritableRearPortRequestType = "sc" + WritableRearPortRequestTypeScApc WritableRearPortRequestType = "sc-apc" + WritableRearPortRequestTypeScPc WritableRearPortRequestType = "sc-pc" + WritableRearPortRequestTypeScUpc WritableRearPortRequestType = "sc-upc" + WritableRearPortRequestTypeSma905 WritableRearPortRequestType = "sma-905" + WritableRearPortRequestTypeSma906 WritableRearPortRequestType = "sma-906" + WritableRearPortRequestTypeSn WritableRearPortRequestType = "sn" + WritableRearPortRequestTypeSplice WritableRearPortRequestType = "splice" + WritableRearPortRequestTypeSt WritableRearPortRequestType = "st" + WritableRearPortRequestTypeTera1p WritableRearPortRequestType = "tera-1p" + WritableRearPortRequestTypeTera2p WritableRearPortRequestType = "tera-2p" + WritableRearPortRequestTypeTera4p WritableRearPortRequestType = "tera-4p" + WritableRearPortRequestTypeUrmP2 WritableRearPortRequestType = "urm-p2" + WritableRearPortRequestTypeUrmP4 WritableRearPortRequestType = "urm-p4" + WritableRearPortRequestTypeUrmP8 WritableRearPortRequestType = "urm-p8" +) + +// Defines values for WritableRearPortTemplateRequestType. +const ( + WritableRearPortTemplateRequestTypeBnc WritableRearPortTemplateRequestType = "bnc" + WritableRearPortTemplateRequestTypeCs WritableRearPortTemplateRequestType = "cs" + WritableRearPortTemplateRequestTypeF WritableRearPortTemplateRequestType = "f" + WritableRearPortTemplateRequestTypeFc WritableRearPortTemplateRequestType = "fc" + WritableRearPortTemplateRequestTypeGg45 WritableRearPortTemplateRequestType = "gg45" + WritableRearPortTemplateRequestTypeLc WritableRearPortTemplateRequestType = "lc" + WritableRearPortTemplateRequestTypeLcApc WritableRearPortTemplateRequestType = "lc-apc" + WritableRearPortTemplateRequestTypeLcPc WritableRearPortTemplateRequestType = "lc-pc" + WritableRearPortTemplateRequestTypeLcUpc WritableRearPortTemplateRequestType = "lc-upc" + WritableRearPortTemplateRequestTypeLsh WritableRearPortTemplateRequestType = "lsh" + WritableRearPortTemplateRequestTypeLshApc WritableRearPortTemplateRequestType = "lsh-apc" + WritableRearPortTemplateRequestTypeLshPc WritableRearPortTemplateRequestType = "lsh-pc" + WritableRearPortTemplateRequestTypeLshUpc WritableRearPortTemplateRequestType = "lsh-upc" + WritableRearPortTemplateRequestTypeLx5 WritableRearPortTemplateRequestType = "lx5" + WritableRearPortTemplateRequestTypeLx5Apc WritableRearPortTemplateRequestType = "lx5-apc" + WritableRearPortTemplateRequestTypeLx5Pc WritableRearPortTemplateRequestType = "lx5-pc" + WritableRearPortTemplateRequestTypeLx5Upc WritableRearPortTemplateRequestType = "lx5-upc" + WritableRearPortTemplateRequestTypeMpo WritableRearPortTemplateRequestType = "mpo" + WritableRearPortTemplateRequestTypeMrj21 WritableRearPortTemplateRequestType = "mrj21" + WritableRearPortTemplateRequestTypeMtrj WritableRearPortTemplateRequestType = "mtrj" + WritableRearPortTemplateRequestTypeN WritableRearPortTemplateRequestType = "n" + WritableRearPortTemplateRequestTypeN110Punch WritableRearPortTemplateRequestType = "110-punch" + WritableRearPortTemplateRequestTypeN4p2c WritableRearPortTemplateRequestType = "4p2c" + WritableRearPortTemplateRequestTypeN4p4c WritableRearPortTemplateRequestType = "4p4c" + WritableRearPortTemplateRequestTypeN6p2c WritableRearPortTemplateRequestType = "6p2c" + WritableRearPortTemplateRequestTypeN6p4c WritableRearPortTemplateRequestType = "6p4c" + WritableRearPortTemplateRequestTypeN6p6c WritableRearPortTemplateRequestType = "6p6c" + WritableRearPortTemplateRequestTypeN8p2c WritableRearPortTemplateRequestType = "8p2c" + WritableRearPortTemplateRequestTypeN8p4c WritableRearPortTemplateRequestType = "8p4c" + WritableRearPortTemplateRequestTypeN8p6c WritableRearPortTemplateRequestType = "8p6c" + WritableRearPortTemplateRequestTypeN8p8c WritableRearPortTemplateRequestType = "8p8c" + WritableRearPortTemplateRequestTypeOther WritableRearPortTemplateRequestType = "other" + WritableRearPortTemplateRequestTypeSc WritableRearPortTemplateRequestType = "sc" + WritableRearPortTemplateRequestTypeScApc WritableRearPortTemplateRequestType = "sc-apc" + WritableRearPortTemplateRequestTypeScPc WritableRearPortTemplateRequestType = "sc-pc" + WritableRearPortTemplateRequestTypeScUpc WritableRearPortTemplateRequestType = "sc-upc" + WritableRearPortTemplateRequestTypeSma905 WritableRearPortTemplateRequestType = "sma-905" + WritableRearPortTemplateRequestTypeSma906 WritableRearPortTemplateRequestType = "sma-906" + WritableRearPortTemplateRequestTypeSn WritableRearPortTemplateRequestType = "sn" + WritableRearPortTemplateRequestTypeSplice WritableRearPortTemplateRequestType = "splice" + WritableRearPortTemplateRequestTypeSt WritableRearPortTemplateRequestType = "st" + WritableRearPortTemplateRequestTypeTera1p WritableRearPortTemplateRequestType = "tera-1p" + WritableRearPortTemplateRequestTypeTera2p WritableRearPortTemplateRequestType = "tera-2p" + WritableRearPortTemplateRequestTypeTera4p WritableRearPortTemplateRequestType = "tera-4p" + WritableRearPortTemplateRequestTypeUrmP2 WritableRearPortTemplateRequestType = "urm-p2" + WritableRearPortTemplateRequestTypeUrmP4 WritableRearPortTemplateRequestType = "urm-p4" + WritableRearPortTemplateRequestTypeUrmP8 WritableRearPortTemplateRequestType = "urm-p8" +) + +// Defines values for WritableServiceRequestProtocol. +const ( + WritableServiceRequestProtocolSctp WritableServiceRequestProtocol = "sctp" + WritableServiceRequestProtocolTcp WritableServiceRequestProtocol = "tcp" + WritableServiceRequestProtocolUdp WritableServiceRequestProtocol = "udp" +) + +// Defines values for WritableServiceTemplateRequestProtocol. +const ( + WritableServiceTemplateRequestProtocolSctp WritableServiceTemplateRequestProtocol = "sctp" + WritableServiceTemplateRequestProtocolTcp WritableServiceTemplateRequestProtocol = "tcp" + WritableServiceTemplateRequestProtocolUdp WritableServiceTemplateRequestProtocol = "udp" +) + +// Defines values for WritableSiteRequestStatus. +const ( + WritableSiteRequestStatusActive WritableSiteRequestStatus = "active" + WritableSiteRequestStatusDecommissioning WritableSiteRequestStatus = "decommissioning" + WritableSiteRequestStatusPlanned WritableSiteRequestStatus = "planned" + WritableSiteRequestStatusRetired WritableSiteRequestStatus = "retired" + WritableSiteRequestStatusStaging WritableSiteRequestStatus = "staging" +) + +// Defines values for WritableVLANRequestStatus. +const ( + WritableVLANRequestStatusActive WritableVLANRequestStatus = "active" + WritableVLANRequestStatusDeprecated WritableVLANRequestStatus = "deprecated" + WritableVLANRequestStatusReserved WritableVLANRequestStatus = "reserved" +) + +// Defines values for WritableVMInterfaceRequestMode. +const ( + WritableVMInterfaceRequestModeAccess WritableVMInterfaceRequestMode = "access" + WritableVMInterfaceRequestModeEmpty WritableVMInterfaceRequestMode = "" + WritableVMInterfaceRequestModeTagged WritableVMInterfaceRequestMode = "tagged" + WritableVMInterfaceRequestModeTaggedAll WritableVMInterfaceRequestMode = "tagged-all" +) + +// Defines values for WritableVirtualDeviceContextRequestStatus. +const ( + WritableVirtualDeviceContextRequestStatusActive WritableVirtualDeviceContextRequestStatus = "active" + WritableVirtualDeviceContextRequestStatusOffline WritableVirtualDeviceContextRequestStatus = "offline" + WritableVirtualDeviceContextRequestStatusPlanned WritableVirtualDeviceContextRequestStatus = "planned" +) + +// Defines values for WritableVirtualMachineWithConfigContextRequestStatus. +const ( + WritableVirtualMachineWithConfigContextRequestStatusActive WritableVirtualMachineWithConfigContextRequestStatus = "active" + WritableVirtualMachineWithConfigContextRequestStatusDecommissioning WritableVirtualMachineWithConfigContextRequestStatus = "decommissioning" + WritableVirtualMachineWithConfigContextRequestStatusFailed WritableVirtualMachineWithConfigContextRequestStatus = "failed" + WritableVirtualMachineWithConfigContextRequestStatusOffline WritableVirtualMachineWithConfigContextRequestStatus = "offline" + WritableVirtualMachineWithConfigContextRequestStatusPlanned WritableVirtualMachineWithConfigContextRequestStatus = "planned" + WritableVirtualMachineWithConfigContextRequestStatusStaged WritableVirtualMachineWithConfigContextRequestStatus = "staged" +) + +// Defines values for WritableWirelessLANRequestAuthCipher. +const ( + WritableWirelessLANRequestAuthCipherAes WritableWirelessLANRequestAuthCipher = "aes" + WritableWirelessLANRequestAuthCipherAuto WritableWirelessLANRequestAuthCipher = "auto" + WritableWirelessLANRequestAuthCipherEmpty WritableWirelessLANRequestAuthCipher = "" + WritableWirelessLANRequestAuthCipherTkip WritableWirelessLANRequestAuthCipher = "tkip" +) + +// Defines values for WritableWirelessLANRequestAuthType. +const ( + WritableWirelessLANRequestAuthTypeEmpty WritableWirelessLANRequestAuthType = "" + WritableWirelessLANRequestAuthTypeOpen WritableWirelessLANRequestAuthType = "open" + WritableWirelessLANRequestAuthTypeWep WritableWirelessLANRequestAuthType = "wep" + WritableWirelessLANRequestAuthTypeWpaEnterprise WritableWirelessLANRequestAuthType = "wpa-enterprise" + WritableWirelessLANRequestAuthTypeWpaPersonal WritableWirelessLANRequestAuthType = "wpa-personal" +) + +// Defines values for WritableWirelessLANRequestStatus. +const ( + WritableWirelessLANRequestStatusActive WritableWirelessLANRequestStatus = "active" + WritableWirelessLANRequestStatusDeprecated WritableWirelessLANRequestStatus = "deprecated" + WritableWirelessLANRequestStatusDisabled WritableWirelessLANRequestStatus = "disabled" + WritableWirelessLANRequestStatusReserved WritableWirelessLANRequestStatus = "reserved" +) + +// Defines values for WritableWirelessLinkRequestAuthCipher. +const ( + WritableWirelessLinkRequestAuthCipherAes WritableWirelessLinkRequestAuthCipher = "aes" + WritableWirelessLinkRequestAuthCipherAuto WritableWirelessLinkRequestAuthCipher = "auto" + WritableWirelessLinkRequestAuthCipherEmpty WritableWirelessLinkRequestAuthCipher = "" + WritableWirelessLinkRequestAuthCipherTkip WritableWirelessLinkRequestAuthCipher = "tkip" +) + +// Defines values for WritableWirelessLinkRequestAuthType. +const ( + WritableWirelessLinkRequestAuthTypeEmpty WritableWirelessLinkRequestAuthType = "" + WritableWirelessLinkRequestAuthTypeOpen WritableWirelessLinkRequestAuthType = "open" + WritableWirelessLinkRequestAuthTypeWep WritableWirelessLinkRequestAuthType = "wep" + WritableWirelessLinkRequestAuthTypeWpaEnterprise WritableWirelessLinkRequestAuthType = "wpa-enterprise" + WritableWirelessLinkRequestAuthTypeWpaPersonal WritableWirelessLinkRequestAuthType = "wpa-personal" +) + +// Defines values for WritableWirelessLinkRequestStatus. +const ( + Connected WritableWirelessLinkRequestStatus = "connected" + Decommissioning WritableWirelessLinkRequestStatus = "decommissioning" + Planned WritableWirelessLinkRequestStatus = "planned" +) + +// Defines values for DcimDevicesRenderConfigCreateParamsFormat. +const ( + DcimDevicesRenderConfigCreateParamsFormatJson DcimDevicesRenderConfigCreateParamsFormat = "json" + DcimDevicesRenderConfigCreateParamsFormatTxt DcimDevicesRenderConfigCreateParamsFormat = "txt" +) + +// Defines values for ExtrasConfigTemplatesRenderCreateParamsFormat. +const ( + ExtrasConfigTemplatesRenderCreateParamsFormatJson ExtrasConfigTemplatesRenderCreateParamsFormat = "json" + ExtrasConfigTemplatesRenderCreateParamsFormatTxt ExtrasConfigTemplatesRenderCreateParamsFormat = "txt" +) + +// Defines values for SchemaRetrieveParamsFormat. +const ( + SchemaRetrieveParamsFormatJson SchemaRetrieveParamsFormat = "json" + SchemaRetrieveParamsFormatYaml SchemaRetrieveParamsFormat = "yaml" +) + +// ASN Adds support for custom fields and tags. +type ASN struct { + // Asn 16- or 32-bit autonomous system number + Asn int64 `json:"asn"` + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + ProviderCount *int `json:"provider_count,omitempty"` + Rir *NestedRIR `json:"rir"` + SiteCount *int `json:"site_count,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` +} + +// ASNRange Adds support for custom fields and tags. +type ASNRange struct { + AsnCount *int `json:"asn_count,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + End int64 `json:"end"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + + // Rir Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Rir NestedRIR `json:"rir"` + Slug string `json:"slug"` + Start int64 `json:"start"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` +} + +// ASNRangeRequest Adds support for custom fields and tags. +type ASNRangeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + End int64 `json:"end"` + Name string `json:"name"` + + // Rir Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Rir NestedRIRRequest `json:"rir"` + Slug string `json:"slug"` + Start int64 `json:"start"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} + +// ASNRequest Adds support for custom fields and tags. +type ASNRequest struct { + // Asn 16- or 32-bit autonomous system number + Asn int64 `json:"asn"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Rir *NestedRIRRequest `json:"rir"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} + +// Aggregate Adds support for custom fields and tags. +type Aggregate struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DateAdded *openapi_types.Date `json:"date_added"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Family *struct { + Label *AggregateFamilyLabel `json:"label,omitempty"` + + // Value * `4` - IPv4 + // * `6` - IPv6 + Value *AggregateFamilyValue `json:"value,omitempty"` + } `json:"family,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Prefix string `json:"prefix"` + + // Rir Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Rir NestedRIR `json:"rir"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` +} + +// AggregateFamilyLabel defines model for Aggregate.Family.Label. +type AggregateFamilyLabel string + +// AggregateFamilyValue * `4` - IPv4 +// * `6` - IPv6 +type AggregateFamilyValue int + +// AggregateRequest Adds support for custom fields and tags. +type AggregateRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DateAdded *openapi_types.Date `json:"date_added"` + Description *string `json:"description,omitempty"` + Prefix string `json:"prefix"` + + // Rir Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Rir NestedRIRRequest `json:"rir"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} + +// AvailableASN Representation of an ASN which does not exist in the database. +type AvailableASN struct { + Asn *int `json:"asn,omitempty"` + Description *string `json:"description,omitempty"` +} + +// AvailableIP Representation of an IP address which does not exist in the database. +type AvailableIP struct { + Address *string `json:"address,omitempty"` + Description *string `json:"description,omitempty"` + Family *int `json:"family,omitempty"` + Vrf *NestedVRF `json:"vrf,omitempty"` +} + +// AvailablePrefix Representation of a prefix which does not exist in the database. +type AvailablePrefix struct { + Family *int `json:"family,omitempty"` + Prefix *string `json:"prefix,omitempty"` + Vrf *NestedVRF `json:"vrf,omitempty"` +} + +// AvailableVLAN Representation of a VLAN which does not exist in the database. +type AvailableVLAN struct { + Group *NestedVLANGroup `json:"group,omitempty"` + Vid *int `json:"vid,omitempty"` +} + +// Bookmark 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 Bookmark struct { + Created *time.Time `json:"created,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Object *map[string]interface{} `json:"object"` + ObjectId int64 `json:"object_id"` + ObjectType string `json:"object_type"` + Url *string `json:"url,omitempty"` + + // User Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + User NestedUser `json:"user"` +} + +// BookmarkRequest 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 BookmarkRequest struct { + ObjectId int64 `json:"object_id"` + ObjectType string `json:"object_type"` + + // User Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + User NestedUserRequest `json:"user"` +} + +// Cable Adds support for custom fields and tags. +type Cable struct { + ATerminations *[]GenericObject `json:"a_terminations,omitempty"` + BTerminations *[]GenericObject `json:"b_terminations,omitempty"` + Color *string `json:"color,omitempty"` + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Length *float64 `json:"length"` + LengthUnit *struct { + Label *CableLengthUnitLabel `json:"label,omitempty"` + + // Value * `km` - Kilometers + // * `m` - Meters + // * `cm` - Centimeters + // * `mi` - Miles + // * `ft` - Feet + // * `in` - Inches + Value *CableLengthUnitValue `json:"value,omitempty"` + } `json:"length_unit"` + Status *struct { + Label *CableStatusLabel `json:"label,omitempty"` + + // Value * `connected` - Connected + // * `planned` - Planned + // * `decommissioning` - Decommissioning + Value *CableStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + + // Type * `cat3` - CAT3 + // * `cat5` - CAT5 + // * `cat5e` - CAT5e + // * `cat6` - CAT6 + // * `cat6a` - CAT6a + // * `cat7` - CAT7 + // * `cat7a` - CAT7a + // * `cat8` - CAT8 + // * `dac-active` - Direct Attach Copper (Active) + // * `dac-passive` - Direct Attach Copper (Passive) + // * `mrj21-trunk` - MRJ21 Trunk + // * `coaxial` - Coaxial + // * `mmf` - Multimode Fiber + // * `mmf-om1` - Multimode Fiber (OM1) + // * `mmf-om2` - Multimode Fiber (OM2) + // * `mmf-om3` - Multimode Fiber (OM3) + // * `mmf-om4` - Multimode Fiber (OM4) + // * `mmf-om5` - Multimode Fiber (OM5) + // * `smf` - Singlemode Fiber + // * `smf-os1` - Singlemode Fiber (OS1) + // * `smf-os2` - Singlemode Fiber (OS2) + // * `aoc` - Active Optical Cabling (AOC) + // * `power` - Power + Type *CableType `json:"type,omitempty"` + Url *string `json:"url,omitempty"` +} + +// CableLengthUnitLabel defines model for Cable.LengthUnit.Label. +type CableLengthUnitLabel string + +// CableLengthUnitValue * `km` - Kilometers +// * `m` - Meters +// * `cm` - Centimeters +// * `mi` - Miles +// * `ft` - Feet +// * `in` - Inches +type CableLengthUnitValue string + +// CableStatusLabel defines model for Cable.Status.Label. +type CableStatusLabel string + +// CableStatusValue * `connected` - Connected +// * `planned` - Planned +// * `decommissioning` - Decommissioning +type CableStatusValue string + +// CableType * `cat3` - CAT3 +// * `cat5` - CAT5 +// * `cat5e` - CAT5e +// * `cat6` - CAT6 +// * `cat6a` - CAT6a +// * `cat7` - CAT7 +// * `cat7a` - CAT7a +// * `cat8` - CAT8 +// * `dac-active` - Direct Attach Copper (Active) +// * `dac-passive` - Direct Attach Copper (Passive) +// * `mrj21-trunk` - MRJ21 Trunk +// * `coaxial` - Coaxial +// * `mmf` - Multimode Fiber +// * `mmf-om1` - Multimode Fiber (OM1) +// * `mmf-om2` - Multimode Fiber (OM2) +// * `mmf-om3` - Multimode Fiber (OM3) +// * `mmf-om4` - Multimode Fiber (OM4) +// * `mmf-om5` - Multimode Fiber (OM5) +// * `smf` - Singlemode Fiber +// * `smf-os1` - Singlemode Fiber (OS1) +// * `smf-os2` - Singlemode Fiber (OS2) +// * `aoc` - Active Optical Cabling (AOC) +// * `power` - Power +type CableType string + +// CableRequest Adds support for custom fields and tags. +type CableRequest struct { + ATerminations *[]GenericObjectRequest `json:"a_terminations,omitempty"` + BTerminations *[]GenericObjectRequest `json:"b_terminations,omitempty"` + Color *string `json:"color,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Label *string `json:"label,omitempty"` + Length *float64 `json:"length"` + + // LengthUnit * `km` - Kilometers + // * `m` - Meters + // * `cm` - Centimeters + // * `mi` - Miles + // * `ft` - Feet + // * `in` - Inches + LengthUnit *CableRequestLengthUnit `json:"length_unit"` + + // Status * `connected` - Connected + // * `planned` - Planned + // * `decommissioning` - Decommissioning + Status *CableRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + + // Type * `cat3` - CAT3 + // * `cat5` - CAT5 + // * `cat5e` - CAT5e + // * `cat6` - CAT6 + // * `cat6a` - CAT6a + // * `cat7` - CAT7 + // * `cat7a` - CAT7a + // * `cat8` - CAT8 + // * `dac-active` - Direct Attach Copper (Active) + // * `dac-passive` - Direct Attach Copper (Passive) + // * `mrj21-trunk` - MRJ21 Trunk + // * `coaxial` - Coaxial + // * `mmf` - Multimode Fiber + // * `mmf-om1` - Multimode Fiber (OM1) + // * `mmf-om2` - Multimode Fiber (OM2) + // * `mmf-om3` - Multimode Fiber (OM3) + // * `mmf-om4` - Multimode Fiber (OM4) + // * `mmf-om5` - Multimode Fiber (OM5) + // * `smf` - Singlemode Fiber + // * `smf-os1` - Singlemode Fiber (OS1) + // * `smf-os2` - Singlemode Fiber (OS2) + // * `aoc` - Active Optical Cabling (AOC) + // * `power` - Power + Type *CableRequestType `json:"type,omitempty"` +} + +// CableRequestLengthUnit * `km` - Kilometers +// * `m` - Meters +// * `cm` - Centimeters +// * `mi` - Miles +// * `ft` - Feet +// * `in` - Inches +type CableRequestLengthUnit string + +// CableRequestStatus * `connected` - Connected +// * `planned` - Planned +// * `decommissioning` - Decommissioning +type CableRequestStatus string + +// CableRequestType * `cat3` - CAT3 +// * `cat5` - CAT5 +// * `cat5e` - CAT5e +// * `cat6` - CAT6 +// * `cat6a` - CAT6a +// * `cat7` - CAT7 +// * `cat7a` - CAT7a +// * `cat8` - CAT8 +// * `dac-active` - Direct Attach Copper (Active) +// * `dac-passive` - Direct Attach Copper (Passive) +// * `mrj21-trunk` - MRJ21 Trunk +// * `coaxial` - Coaxial +// * `mmf` - Multimode Fiber +// * `mmf-om1` - Multimode Fiber (OM1) +// * `mmf-om2` - Multimode Fiber (OM2) +// * `mmf-om3` - Multimode Fiber (OM3) +// * `mmf-om4` - Multimode Fiber (OM4) +// * `mmf-om5` - Multimode Fiber (OM5) +// * `smf` - Singlemode Fiber +// * `smf-os1` - Singlemode Fiber (OS1) +// * `smf-os2` - Singlemode Fiber (OS2) +// * `aoc` - Active Optical Cabling (AOC) +// * `power` - Power +type CableRequestType string + +// CableTermination Adds support for custom fields and tags. +type CableTermination struct { + Cable int `json:"cable"` + + // CableEnd * `A` - A + // * `B` - B + CableEnd CableTerminationCableEnd `json:"cable_end"` + Created *time.Time `json:"created"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Termination *map[string]interface{} `json:"termination"` + TerminationId int64 `json:"termination_id"` + TerminationType string `json:"termination_type"` + Url *string `json:"url,omitempty"` +} + +// CableTerminationCableEnd * `A` - A +// * `B` - B +type CableTerminationCableEnd string + +// CableTerminationRequest Adds support for custom fields and tags. +type CableTerminationRequest struct { + Cable int `json:"cable"` + + // CableEnd * `A` - A + // * `B` - B + CableEnd CableTerminationRequestCableEnd `json:"cable_end"` + TerminationId int64 `json:"termination_id"` + TerminationType string `json:"termination_type"` +} + +// CableTerminationRequestCableEnd * `A` - A +// * `B` - B +type CableTerminationRequestCableEnd string + +// Circuit Adds support for custom fields and tags. +type Circuit struct { + // Cid Unique circuit ID + Cid string `json:"cid"` + Comments *string `json:"comments,omitempty"` + + // CommitRate Committed rate + CommitRate *int `json:"commit_rate"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + InstallDate *openapi_types.Date `json:"install_date"` + LastUpdated *time.Time `json:"last_updated"` + + // Provider Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Provider NestedProvider `json:"provider"` + ProviderAccount *NestedProviderAccount `json:"provider_account"` + Status *struct { + Label *CircuitStatusLabel `json:"label,omitempty"` + + // Value * `planned` - Planned + // * `provisioning` - Provisioning + // * `active` - Active + // * `offline` - Offline + // * `deprovisioning` - Deprovisioning + // * `decommissioned` - Decommissioned + Value *CircuitStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + TerminationA *CircuitCircuitTermination `json:"termination_a"` + TerminationDate *openapi_types.Date `json:"termination_date"` + TerminationZ *CircuitCircuitTermination `json:"termination_z"` + + // Type Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Type NestedCircuitType `json:"type"` + Url *string `json:"url,omitempty"` +} + +// CircuitStatusLabel defines model for Circuit.Status.Label. +type CircuitStatusLabel string + +// CircuitStatusValue * `planned` - Planned +// * `provisioning` - Provisioning +// * `active` - Active +// * `offline` - Offline +// * `deprovisioning` - Deprovisioning +// * `decommissioned` - Decommissioned +type CircuitStatusValue string + +// CircuitCircuitTermination Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type CircuitCircuitTermination struct { + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // PortSpeed Physical circuit speed + PortSpeed *int `json:"port_speed"` + ProviderNetwork *NestedProviderNetwork `json:"provider_network"` + Site *NestedSite `json:"site"` + + // UpstreamSpeed Upstream speed, if different from port speed + UpstreamSpeed *int `json:"upstream_speed"` + Url *string `json:"url,omitempty"` + + // XconnectId ID of the local cross-connect + XconnectId *string `json:"xconnect_id,omitempty"` +} + +// CircuitRequest Adds support for custom fields and tags. +type CircuitRequest struct { + // Cid Unique circuit ID + Cid string `json:"cid"` + Comments *string `json:"comments,omitempty"` + + // CommitRate Committed rate + CommitRate *int `json:"commit_rate"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + InstallDate *openapi_types.Date `json:"install_date"` + + // Provider Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Provider NestedProviderRequest `json:"provider"` + ProviderAccount *NestedProviderAccountRequest `json:"provider_account"` + + // Status * `planned` - Planned + // * `provisioning` - Provisioning + // * `active` - Active + // * `offline` - Offline + // * `deprovisioning` - Deprovisioning + // * `decommissioned` - Decommissioned + Status *CircuitRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + TerminationDate *openapi_types.Date `json:"termination_date"` + + // Type Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Type NestedCircuitTypeRequest `json:"type"` +} + +// CircuitRequestStatus * `planned` - Planned +// * `provisioning` - Provisioning +// * `active` - Active +// * `offline` - Offline +// * `deprovisioning` - Deprovisioning +// * `decommissioned` - Decommissioned +type CircuitRequestStatus string + +// CircuitTermination Adds support for custom fields and tags. +type CircuitTermination struct { + Occupied *bool `json:"_occupied,omitempty"` + Cable *NestedCable `json:"cable"` + CableEnd *string `json:"cable_end,omitempty"` + + // Circuit Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Circuit NestedCircuit `json:"circuit"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + LinkPeers *[]interface{} `json:"link_peers,omitempty"` + + // LinkPeersType Return the type of the peer link terminations, or None. + LinkPeersType *string `json:"link_peers_type,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // PortSpeed Physical circuit speed + PortSpeed *int `json:"port_speed"` + + // PpInfo Patch panel ID and port number(s) + PpInfo *string `json:"pp_info,omitempty"` + ProviderNetwork *NestedProviderNetwork `json:"provider_network"` + Site *NestedSite `json:"site"` + Tags *[]NestedTag `json:"tags,omitempty"` + + // TermSide * `A` - A + // * `Z` - Z + TermSide CircuitTerminationTermSide `json:"term_side"` + + // UpstreamSpeed Upstream speed, if different from port speed + UpstreamSpeed *int `json:"upstream_speed"` + Url *string `json:"url,omitempty"` + + // XconnectId ID of the local cross-connect + XconnectId *string `json:"xconnect_id,omitempty"` +} + +// CircuitTerminationTermSide * `A` - A +// * `Z` - Z +type CircuitTerminationTermSide string + +// CircuitTerminationRequest Adds support for custom fields and tags. +type CircuitTerminationRequest struct { + // Circuit Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Circuit NestedCircuitRequest `json:"circuit"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // PortSpeed Physical circuit speed + PortSpeed *int `json:"port_speed"` + + // PpInfo Patch panel ID and port number(s) + PpInfo *string `json:"pp_info,omitempty"` + ProviderNetwork *NestedProviderNetworkRequest `json:"provider_network"` + Site *NestedSiteRequest `json:"site"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // TermSide * `A` - A + // * `Z` - Z + TermSide CircuitTerminationRequestTermSide `json:"term_side"` + + // UpstreamSpeed Upstream speed, if different from port speed + UpstreamSpeed *int `json:"upstream_speed"` + + // XconnectId ID of the local cross-connect + XconnectId *string `json:"xconnect_id,omitempty"` +} + +// CircuitTerminationRequestTermSide * `A` - A +// * `Z` - Z +type CircuitTerminationRequestTermSide string + +// CircuitType Adds support for custom fields and tags. +type CircuitType struct { + CircuitCount *int `json:"circuit_count,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// CircuitTypeRequest Adds support for custom fields and tags. +type CircuitTypeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// Cluster Adds support for custom fields and tags. +type Cluster struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` + Display *string `json:"display,omitempty"` + Group *NestedClusterGroup `json:"group"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Site *NestedSite `json:"site"` + Status *struct { + Label *ClusterStatusLabel `json:"label,omitempty"` + + // Value * `planned` - Planned + // * `staging` - Staging + // * `active` - Active + // * `decommissioning` - Decommissioning + // * `offline` - Offline + Value *ClusterStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + + // Type Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Type NestedClusterType `json:"type"` + Url *string `json:"url,omitempty"` + VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` +} + +// ClusterStatusLabel defines model for Cluster.Status.Label. +type ClusterStatusLabel string + +// ClusterStatusValue * `planned` - Planned +// * `staging` - Staging +// * `active` - Active +// * `decommissioning` - Decommissioning +// * `offline` - Offline +type ClusterStatusValue string + +// ClusterGroup Adds support for custom fields and tags. +type ClusterGroup struct { + ClusterCount *int `json:"cluster_count,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ClusterGroupRequest Adds support for custom fields and tags. +type ClusterGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// ClusterRequest Adds support for custom fields and tags. +type ClusterRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *NestedClusterGroupRequest `json:"group"` + Name string `json:"name"` + Site *NestedSiteRequest `json:"site"` + + // Status * `planned` - Planned + // * `staging` - Staging + // * `active` - Active + // * `decommissioning` - Decommissioning + // * `offline` - Offline + Status *ClusterRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + + // Type Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Type NestedClusterTypeRequest `json:"type"` +} + +// ClusterRequestStatus * `planned` - Planned +// * `staging` - Staging +// * `active` - Active +// * `decommissioning` - Decommissioning +// * `offline` - Offline +type ClusterRequestStatus string + +// ClusterType Adds support for custom fields and tags. +type ClusterType struct { + ClusterCount *int `json:"cluster_count,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ClusterTypeRequest Adds support for custom fields and tags. +type ClusterTypeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// ComponentNestedModule Used by device component serializers. +type ComponentNestedModule struct { + Device int `json:"device"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + ModuleBay *ModuleNestedModuleBay `json:"module_bay,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ComponentNestedModuleRequest Used by device component serializers. +type ComponentNestedModuleRequest struct { + Device int `json:"device"` +} + +// ConfigContext Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type ConfigContext struct { + ClusterGroups *[]int `json:"cluster_groups,omitempty"` + ClusterTypes *[]int `json:"cluster_types,omitempty"` + Clusters *[]int `json:"clusters,omitempty"` + Created *time.Time `json:"created"` + Data map[string]interface{} `json:"data"` + DataFile *NestedDataFile `json:"data_file,omitempty"` + + // DataPath Path to remote file (relative to data source root) + DataPath *string `json:"data_path,omitempty"` + + // DataSource Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DataSource *NestedDataSource `json:"data_source,omitempty"` + DataSynced *time.Time `json:"data_synced"` + Description *string `json:"description,omitempty"` + DeviceTypes *[]int `json:"device_types,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + IsActive *bool `json:"is_active,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Locations *[]int `json:"locations,omitempty"` + Name string `json:"name"` + Platforms *[]int `json:"platforms,omitempty"` + Regions *[]int `json:"regions,omitempty"` + Roles *[]int `json:"roles,omitempty"` + SiteGroups *[]int `json:"site_groups,omitempty"` + Sites *[]int `json:"sites,omitempty"` + Tags *[]string `json:"tags,omitempty"` + TenantGroups *[]int `json:"tenant_groups,omitempty"` + Tenants *[]int `json:"tenants,omitempty"` + Url *string `json:"url,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// ConfigContextRequest 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 ConfigContextRequest struct { + ClusterGroups *[]int `json:"cluster_groups,omitempty"` + ClusterTypes *[]int `json:"cluster_types,omitempty"` + Clusters *[]int `json:"clusters,omitempty"` + Data map[string]interface{} `json:"data"` + + // DataSource Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DataSource *NestedDataSourceRequest `json:"data_source,omitempty"` + Description *string `json:"description,omitempty"` + DeviceTypes *[]int `json:"device_types,omitempty"` + IsActive *bool `json:"is_active,omitempty"` + Locations *[]int `json:"locations,omitempty"` + Name string `json:"name"` + Platforms *[]int `json:"platforms,omitempty"` + Regions *[]int `json:"regions,omitempty"` + Roles *[]int `json:"roles,omitempty"` + SiteGroups *[]int `json:"site_groups,omitempty"` + Sites *[]int `json:"sites,omitempty"` + Tags *[]string `json:"tags,omitempty"` + TenantGroups *[]int `json:"tenant_groups,omitempty"` + Tenants *[]int `json:"tenants,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// ConfigTemplate Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment +// on create() and update(). +type ConfigTemplate struct { + Created *time.Time `json:"created"` + + // DataFile Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DataFile *NestedDataFile `json:"data_file,omitempty"` + + // DataPath Path to remote file (relative to data source root) + DataPath *string `json:"data_path,omitempty"` + + // DataSource Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DataSource *NestedDataSource `json:"data_source,omitempty"` + DataSynced *time.Time `json:"data_synced"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + + // EnvironmentParams Any additional parameters to pass when constructing the Jinja2 environment. + EnvironmentParams *map[string]interface{} `json:"environment_params"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Tags *[]NestedTag `json:"tags,omitempty"` + + // TemplateCode Jinja2 template code. + TemplateCode string `json:"template_code"` + Url *string `json:"url,omitempty"` +} + +// ConfigTemplateRequest Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment +// on create() and update(). +type ConfigTemplateRequest struct { + // DataSource Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DataSource *NestedDataSourceRequest `json:"data_source,omitempty"` + Description *string `json:"description,omitempty"` + + // EnvironmentParams Any additional parameters to pass when constructing the Jinja2 environment. + EnvironmentParams *map[string]interface{} `json:"environment_params"` + Name string `json:"name"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // TemplateCode Jinja2 template code. + TemplateCode string `json:"template_code"` +} + +// ConsolePort Adds support for custom fields and tags. +type ConsolePort struct { + Occupied *bool `json:"_occupied,omitempty"` + Cable *NestedCable `json:"cable"` + CableEnd *string `json:"cable_end,omitempty"` + ConnectedEndpoints *[]interface{} `json:"connected_endpoints,omitempty"` + ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` + ConnectedEndpointsType *string `json:"connected_endpoints_type,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDevice `json:"device"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + LinkPeers *[]interface{} `json:"link_peers,omitempty"` + + // LinkPeersType Return the type of the peer link terminations, or None. + LinkPeersType *string `json:"link_peers_type,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *ComponentNestedModule `json:"module"` + Name string `json:"name"` + Speed *struct { + Label *ConsolePortSpeedLabel `json:"label,omitempty"` + + // Value * `1200` - 1200 bps + // * `2400` - 2400 bps + // * `4800` - 4800 bps + // * `9600` - 9600 bps + // * `19200` - 19.2 kbps + // * `38400` - 38.4 kbps + // * `57600` - 57.6 kbps + // * `115200` - 115.2 kbps + Value *ConsolePortSpeedValue `json:"value,omitempty"` + } `json:"speed"` + Tags *[]NestedTag `json:"tags,omitempty"` + Type *struct { + Label *ConsolePortTypeLabel `json:"label,omitempty"` + + // Value * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Value *ConsolePortTypeValue `json:"value,omitempty"` + } `json:"type,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ConsolePortSpeedLabel defines model for ConsolePort.Speed.Label. +type ConsolePortSpeedLabel string + +// ConsolePortSpeedValue * `1200` - 1200 bps +// * `2400` - 2400 bps +// * `4800` - 4800 bps +// * `9600` - 9600 bps +// * `19200` - 19.2 kbps +// * `38400` - 38.4 kbps +// * `57600` - 57.6 kbps +// * `115200` - 115.2 kbps +type ConsolePortSpeedValue int + +// ConsolePortTypeLabel defines model for ConsolePort.Type.Label. +type ConsolePortTypeLabel string + +// ConsolePortTypeValue * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type ConsolePortTypeValue string + +// ConsolePortRequest Adds support for custom fields and tags. +type ConsolePortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDeviceRequest `json:"device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *ComponentNestedModuleRequest `json:"module"` + Name string `json:"name"` + + // Speed * `1200` - 1200 bps + // * `2400` - 2400 bps + // * `4800` - 4800 bps + // * `9600` - 9600 bps + // * `19200` - 19.2 kbps + // * `38400` - 38.4 kbps + // * `57600` - 57.6 kbps + // * `115200` - 115.2 kbps + Speed *ConsolePortRequestSpeed `json:"speed"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Type *ConsolePortRequestType `json:"type,omitempty"` +} + +// ConsolePortRequestSpeed * `1200` - 1200 bps +// * `2400` - 2400 bps +// * `4800` - 4800 bps +// * `9600` - 9600 bps +// * `19200` - 19.2 kbps +// * `38400` - 38.4 kbps +// * `57600` - 57.6 kbps +// * `115200` - 115.2 kbps +type ConsolePortRequestSpeed int + +// ConsolePortRequestType * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type ConsolePortRequestType string + +// ConsolePortTemplate 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 ConsolePortTemplate struct { + Created *time.Time `json:"created"` + Description *string `json:"description,omitempty"` + DeviceType *NestedDeviceType `json:"device_type"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + ModuleType *NestedModuleType `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Type *struct { + Label *ConsolePortTemplateTypeLabel `json:"label,omitempty"` + + // Value * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Value *ConsolePortTemplateTypeValue `json:"value,omitempty"` + } `json:"type,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ConsolePortTemplateTypeLabel defines model for ConsolePortTemplate.Type.Label. +type ConsolePortTemplateTypeLabel string + +// ConsolePortTemplateTypeValue * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type ConsolePortTemplateTypeValue string + +// ConsolePortTemplateRequest 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 ConsolePortTemplateRequest struct { + Description *string `json:"description,omitempty"` + DeviceType *NestedDeviceTypeRequest `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *NestedModuleTypeRequest `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + + // Type * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Type *ConsolePortTemplateRequestType `json:"type,omitempty"` +} + +// ConsolePortTemplateRequestType * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type ConsolePortTemplateRequestType string + +// ConsoleServerPort Adds support for custom fields and tags. +type ConsoleServerPort struct { + Occupied *bool `json:"_occupied,omitempty"` + Cable *NestedCable `json:"cable"` + CableEnd *string `json:"cable_end,omitempty"` + ConnectedEndpoints *[]interface{} `json:"connected_endpoints,omitempty"` + ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` + ConnectedEndpointsType *string `json:"connected_endpoints_type,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDevice `json:"device"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + LinkPeers *[]interface{} `json:"link_peers,omitempty"` + + // LinkPeersType Return the type of the peer link terminations, or None. + LinkPeersType *string `json:"link_peers_type,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *ComponentNestedModule `json:"module"` + Name string `json:"name"` + Speed *struct { + Label *ConsoleServerPortSpeedLabel `json:"label,omitempty"` + + // Value * `1200` - 1200 bps + // * `2400` - 2400 bps + // * `4800` - 4800 bps + // * `9600` - 9600 bps + // * `19200` - 19.2 kbps + // * `38400` - 38.4 kbps + // * `57600` - 57.6 kbps + // * `115200` - 115.2 kbps + Value *ConsoleServerPortSpeedValue `json:"value,omitempty"` + } `json:"speed"` + Tags *[]NestedTag `json:"tags,omitempty"` + Type *struct { + Label *ConsoleServerPortTypeLabel `json:"label,omitempty"` + + // Value * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Value *ConsoleServerPortTypeValue `json:"value,omitempty"` + } `json:"type,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ConsoleServerPortSpeedLabel defines model for ConsoleServerPort.Speed.Label. +type ConsoleServerPortSpeedLabel string + +// ConsoleServerPortSpeedValue * `1200` - 1200 bps +// * `2400` - 2400 bps +// * `4800` - 4800 bps +// * `9600` - 9600 bps +// * `19200` - 19.2 kbps +// * `38400` - 38.4 kbps +// * `57600` - 57.6 kbps +// * `115200` - 115.2 kbps +type ConsoleServerPortSpeedValue int + +// ConsoleServerPortTypeLabel defines model for ConsoleServerPort.Type.Label. +type ConsoleServerPortTypeLabel string + +// ConsoleServerPortTypeValue * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type ConsoleServerPortTypeValue string + +// ConsoleServerPortRequest Adds support for custom fields and tags. +type ConsoleServerPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDeviceRequest `json:"device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *ComponentNestedModuleRequest `json:"module"` + Name string `json:"name"` + + // Speed * `1200` - 1200 bps + // * `2400` - 2400 bps + // * `4800` - 4800 bps + // * `9600` - 9600 bps + // * `19200` - 19.2 kbps + // * `38400` - 38.4 kbps + // * `57600` - 57.6 kbps + // * `115200` - 115.2 kbps + Speed *ConsoleServerPortRequestSpeed `json:"speed"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Type *ConsoleServerPortRequestType `json:"type,omitempty"` +} + +// ConsoleServerPortRequestSpeed * `1200` - 1200 bps +// * `2400` - 2400 bps +// * `4800` - 4800 bps +// * `9600` - 9600 bps +// * `19200` - 19.2 kbps +// * `38400` - 38.4 kbps +// * `57600` - 57.6 kbps +// * `115200` - 115.2 kbps +type ConsoleServerPortRequestSpeed int + +// ConsoleServerPortRequestType * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type ConsoleServerPortRequestType string + +// ConsoleServerPortTemplate 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 ConsoleServerPortTemplate struct { + Created *time.Time `json:"created"` + Description *string `json:"description,omitempty"` + DeviceType *NestedDeviceType `json:"device_type"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + ModuleType *NestedModuleType `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Type *struct { + Label *ConsoleServerPortTemplateTypeLabel `json:"label,omitempty"` + + // Value * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Value *ConsoleServerPortTemplateTypeValue `json:"value,omitempty"` + } `json:"type,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ConsoleServerPortTemplateTypeLabel defines model for ConsoleServerPortTemplate.Type.Label. +type ConsoleServerPortTemplateTypeLabel string + +// ConsoleServerPortTemplateTypeValue * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type ConsoleServerPortTemplateTypeValue string + +// ConsoleServerPortTemplateRequest 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 ConsoleServerPortTemplateRequest struct { + Description *string `json:"description,omitempty"` + DeviceType *NestedDeviceTypeRequest `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *NestedModuleTypeRequest `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + + // Type * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Type *ConsoleServerPortTemplateRequestType `json:"type,omitempty"` +} + +// ConsoleServerPortTemplateRequestType * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type ConsoleServerPortTemplateRequestType string + +// Contact Adds support for custom fields and tags. +type Contact struct { + Address *string `json:"address,omitempty"` + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + Group *NestedContactGroup `json:"group"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Link *string `json:"link,omitempty"` + Name string `json:"name"` + Phone *string `json:"phone,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Title *string `json:"title,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ContactAssignment Adds support for custom fields and tags. +type ContactAssignment struct { + // Contact Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Contact NestedContact `json:"contact"` + ContentType string `json:"content_type"` + Created *time.Time `json:"created"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Object *map[string]interface{} `json:"object,omitempty"` + ObjectId int64 `json:"object_id"` + Priority *struct { + Label *ContactAssignmentPriorityLabel `json:"label,omitempty"` + + // Value * `primary` - Primary + // * `secondary` - Secondary + // * `tertiary` - Tertiary + // * `inactive` - Inactive + Value *ContactAssignmentPriorityValue `json:"value,omitempty"` + } `json:"priority,omitempty"` + Role *NestedContactRole `json:"role"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ContactAssignmentPriorityLabel defines model for ContactAssignment.Priority.Label. +type ContactAssignmentPriorityLabel string + +// ContactAssignmentPriorityValue * `primary` - Primary +// * `secondary` - Secondary +// * `tertiary` - Tertiary +// * `inactive` - Inactive +type ContactAssignmentPriorityValue string + +// ContactAssignmentRequest Adds support for custom fields and tags. +type ContactAssignmentRequest struct { + // Contact Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Contact NestedContactRequest `json:"contact"` + ContentType string `json:"content_type"` + ObjectId int64 `json:"object_id"` + + // Priority * `primary` - Primary + // * `secondary` - Secondary + // * `tertiary` - Tertiary + // * `inactive` - Inactive + Priority *ContactAssignmentRequestPriority `json:"priority,omitempty"` + Role *NestedContactRoleRequest `json:"role"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// ContactAssignmentRequestPriority * `primary` - Primary +// * `secondary` - Secondary +// * `tertiary` - Tertiary +// * `inactive` - Inactive +type ContactAssignmentRequestPriority string + +// ContactGroup Extends PrimaryModelSerializer to include MPTT support. +type ContactGroup struct { + Depth *int `json:"_depth,omitempty"` + ContactCount *int `json:"contact_count,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Parent *NestedContactGroup `json:"parent"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ContactGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type ContactGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parent *NestedContactGroupRequest `json:"parent"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// ContactRequest Adds support for custom fields and tags. +type ContactRequest struct { + Address *string `json:"address,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + Group *NestedContactGroupRequest `json:"group"` + Link *string `json:"link,omitempty"` + Name string `json:"name"` + Phone *string `json:"phone,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Title *string `json:"title,omitempty"` +} + +// ContactRole Adds support for custom fields and tags. +type ContactRole struct { + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ContactRoleRequest Adds support for custom fields and tags. +type ContactRoleRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// 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"` +} + +// CustomField 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 { + // ChoiceSet Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + ChoiceSet *NestedCustomFieldChoiceSet `json:"choice_set,omitempty"` + ContentTypes []string `json:"content_types"` + Created *time.Time `json:"created"` + DataType *string `json:"data_type,omitempty"` + + // Default Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). + Default *map[string]interface{} `json:"default"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + FilterLogic *struct { + Label *CustomFieldFilterLogicLabel `json:"label,omitempty"` + + // Value * `disabled` - Disabled + // * `loose` - Loose + // * `exact` - Exact + Value *CustomFieldFilterLogicValue `json:"value,omitempty"` + } `json:"filter_logic,omitempty"` + + // GroupName Custom fields within the same group will be displayed together + GroupName *string `json:"group_name,omitempty"` + Id *int `json:"id,omitempty"` + + // IsCloneable Replicate this value when cloning objects + IsCloneable *bool `json:"is_cloneable,omitempty"` + + // Label Name of the field as displayed to users (if not provided, 'the field's name will be used) + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Internal field name + Name string `json:"name"` + ObjectType *string `json:"object_type,omitempty"` + + // Required If true, this field is required when creating new objects or editing an existing object. + Required *bool `json:"required,omitempty"` + + // SearchWeight Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored. + SearchWeight *int `json:"search_weight,omitempty"` + Type struct { + Label *CustomFieldTypeLabel `json:"label,omitempty"` + + // Value * `text` - Text + // * `longtext` - Text (long) + // * `integer` - Integer + // * `decimal` - Decimal + // * `boolean` - Boolean (true/false) + // * `date` - Date + // * `datetime` - Date & time + // * `url` - URL + // * `json` - JSON + // * `select` - Selection + // * `multiselect` - Multiple selection + // * `object` - Object + // * `multiobject` - Multiple objects + Value *CustomFieldTypeValue `json:"value,omitempty"` + } `json:"type"` + UiVisibility *struct { + Label *CustomFieldUiVisibilityLabel `json:"label,omitempty"` + + // Value * `read-write` - Read/write + // * `read-only` - Read-only + // * `hidden` - Hidden + // * `hidden-ifunset` - Hidden (if unset) + Value *CustomFieldUiVisibilityValue `json:"value,omitempty"` + } `json:"ui_visibility,omitempty"` + Url *string `json:"url,omitempty"` + + // ValidationMaximum Maximum allowed value (for numeric fields) + ValidationMaximum *int `json:"validation_maximum"` + + // ValidationMinimum Minimum allowed value (for numeric fields) + ValidationMinimum *int `json:"validation_minimum"` + + // ValidationRegex Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. + ValidationRegex *string `json:"validation_regex,omitempty"` + + // Weight Fields with higher weights appear lower in a form. + Weight *int `json:"weight,omitempty"` +} + +// CustomFieldFilterLogicLabel defines model for CustomField.FilterLogic.Label. +type CustomFieldFilterLogicLabel string + +// CustomFieldFilterLogicValue * `disabled` - Disabled +// * `loose` - Loose +// * `exact` - Exact +type CustomFieldFilterLogicValue string + +// CustomFieldTypeLabel defines model for CustomField.Type.Label. +type CustomFieldTypeLabel string + +// CustomFieldTypeValue * `text` - Text +// * `longtext` - Text (long) +// * `integer` - Integer +// * `decimal` - Decimal +// * `boolean` - Boolean (true/false) +// * `date` - Date +// * `datetime` - Date & time +// * `url` - URL +// * `json` - JSON +// * `select` - Selection +// * `multiselect` - Multiple selection +// * `object` - Object +// * `multiobject` - Multiple objects +type CustomFieldTypeValue string + +// CustomFieldUiVisibilityLabel defines model for CustomField.UiVisibility.Label. +type CustomFieldUiVisibilityLabel string + +// CustomFieldUiVisibilityValue * `read-write` - Read/write +// * `read-only` - Read-only +// * `hidden` - Hidden +// * `hidden-ifunset` - Hidden (if unset) +type CustomFieldUiVisibilityValue string + +// CustomFieldChoiceSet 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 CustomFieldChoiceSet struct { + BaseChoices *struct { + Label *CustomFieldChoiceSetBaseChoicesLabel `json:"label,omitempty"` + + // Value * `IATA` - IATA (Airport codes) + // * `ISO_3166` - ISO 3166 (Country codes) + // * `UN_LOCODE` - UN/LOCODE (Location codes) + Value *CustomFieldChoiceSetBaseChoicesValue `json:"value,omitempty"` + } `json:"base_choices,omitempty"` + ChoicesCount *string `json:"choices_count,omitempty"` + Created *time.Time `json:"created"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + ExtraChoices *[][]string `json:"extra_choices"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + + // OrderAlphabetically Choices are automatically ordered alphabetically + OrderAlphabetically *bool `json:"order_alphabetically,omitempty"` + Url *string `json:"url,omitempty"` +} + +// CustomFieldChoiceSetBaseChoicesLabel defines model for CustomFieldChoiceSet.BaseChoices.Label. +type CustomFieldChoiceSetBaseChoicesLabel string + +// CustomFieldChoiceSetBaseChoicesValue * `IATA` - IATA (Airport codes) +// * `ISO_3166` - ISO 3166 (Country codes) +// * `UN_LOCODE` - UN/LOCODE (Location codes) +type CustomFieldChoiceSetBaseChoicesValue string + +// CustomFieldChoiceSetRequest 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 CustomFieldChoiceSetRequest struct { + // BaseChoices * `IATA` - IATA (Airport codes) + // * `ISO_3166` - ISO 3166 (Country codes) + // * `UN_LOCODE` - UN/LOCODE (Location codes) + BaseChoices *CustomFieldChoiceSetRequestBaseChoices `json:"base_choices,omitempty"` + Description *string `json:"description,omitempty"` + ExtraChoices *[][]string `json:"extra_choices"` + Name string `json:"name"` + + // OrderAlphabetically Choices are automatically ordered alphabetically + OrderAlphabetically *bool `json:"order_alphabetically,omitempty"` +} + +// CustomFieldChoiceSetRequestBaseChoices * `IATA` - IATA (Airport codes) +// * `ISO_3166` - ISO 3166 (Country codes) +// * `UN_LOCODE` - UN/LOCODE (Location codes) +type CustomFieldChoiceSetRequestBaseChoices string + +// CustomFieldRequest 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 CustomFieldRequest struct { + // ChoiceSet Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + ChoiceSet *NestedCustomFieldChoiceSetRequest `json:"choice_set,omitempty"` + ContentTypes []string `json:"content_types"` + + // Default Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). + Default *map[string]interface{} `json:"default"` + Description *string `json:"description,omitempty"` + + // FilterLogic * `disabled` - Disabled + // * `loose` - Loose + // * `exact` - Exact + FilterLogic *CustomFieldRequestFilterLogic `json:"filter_logic,omitempty"` + + // GroupName Custom fields within the same group will be displayed together + GroupName *string `json:"group_name,omitempty"` + + // IsCloneable Replicate this value when cloning objects + IsCloneable *bool `json:"is_cloneable,omitempty"` + + // Label Name of the field as displayed to users (if not provided, 'the field's name will be used) + Label *string `json:"label,omitempty"` + + // Name Internal field name + Name string `json:"name"` + ObjectType *string `json:"object_type,omitempty"` + + // Required If true, this field is required when creating new objects or editing an existing object. + Required *bool `json:"required,omitempty"` + + // SearchWeight Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored. + SearchWeight *int `json:"search_weight,omitempty"` + + // Type * `text` - Text + // * `longtext` - Text (long) + // * `integer` - Integer + // * `decimal` - Decimal + // * `boolean` - Boolean (true/false) + // * `date` - Date + // * `datetime` - Date & time + // * `url` - URL + // * `json` - JSON + // * `select` - Selection + // * `multiselect` - Multiple selection + // * `object` - Object + // * `multiobject` - Multiple objects + Type CustomFieldRequestType `json:"type"` + + // UiVisibility * `read-write` - Read/write + // * `read-only` - Read-only + // * `hidden` - Hidden + // * `hidden-ifunset` - Hidden (if unset) + UiVisibility *CustomFieldRequestUiVisibility `json:"ui_visibility,omitempty"` + + // ValidationMaximum Maximum allowed value (for numeric fields) + ValidationMaximum *int `json:"validation_maximum"` + + // ValidationMinimum Minimum allowed value (for numeric fields) + ValidationMinimum *int `json:"validation_minimum"` + + // ValidationRegex Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. + ValidationRegex *string `json:"validation_regex,omitempty"` + + // Weight Fields with higher weights appear lower in a form. + Weight *int `json:"weight,omitempty"` +} + +// CustomFieldRequestFilterLogic * `disabled` - Disabled +// * `loose` - Loose +// * `exact` - Exact +type CustomFieldRequestFilterLogic string + +// CustomFieldRequestType * `text` - Text +// * `longtext` - Text (long) +// * `integer` - Integer +// * `decimal` - Decimal +// * `boolean` - Boolean (true/false) +// * `date` - Date +// * `datetime` - Date & time +// * `url` - URL +// * `json` - JSON +// * `select` - Selection +// * `multiselect` - Multiple selection +// * `object` - Object +// * `multiobject` - Multiple objects +type CustomFieldRequestType string + +// CustomFieldRequestUiVisibility * `read-write` - Read/write +// * `read-only` - Read-only +// * `hidden` - Hidden +// * `hidden-ifunset` - Hidden (if unset) +type CustomFieldRequestUiVisibility string + +// CustomLink Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type CustomLink struct { + // ButtonClass The class of the first link in a group will be used for the dropdown button + // + // * `outline-dark` - Default + // * `blue` - Blue + // * `indigo` - Indigo + // * `purple` - Purple + // * `pink` - Pink + // * `red` - Red + // * `orange` - Orange + // * `yellow` - Yellow + // * `green` - Green + // * `teal` - Teal + // * `cyan` - Cyan + // * `gray` - Gray + // * `black` - Black + // * `white` - White + // * `ghost-dark` - Link + ButtonClass *CustomLinkButtonClass `json:"button_class,omitempty"` + ContentTypes []string `json:"content_types"` + Created *time.Time `json:"created"` + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + + // GroupName Links with the same group will appear as a dropdown menu + GroupName *string `json:"group_name,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // LinkText Jinja2 template code for link text + LinkText string `json:"link_text"` + + // LinkUrl Jinja2 template code for link URL + LinkUrl string `json:"link_url"` + Name string `json:"name"` + + // NewWindow Force link to open in a new window + NewWindow *bool `json:"new_window,omitempty"` + Url *string `json:"url,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// CustomLinkButtonClass The class of the first link in a group will be used for the dropdown button +// +// * `outline-dark` - Default +// * `blue` - Blue +// * `indigo` - Indigo +// * `purple` - Purple +// * `pink` - Pink +// * `red` - Red +// * `orange` - Orange +// * `yellow` - Yellow +// * `green` - Green +// * `teal` - Teal +// * `cyan` - Cyan +// * `gray` - Gray +// * `black` - Black +// * `white` - White +// * `ghost-dark` - Link +type CustomLinkButtonClass string + +// CustomLinkRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type CustomLinkRequest struct { + // ButtonClass The class of the first link in a group will be used for the dropdown button + // + // * `outline-dark` - Default + // * `blue` - Blue + // * `indigo` - Indigo + // * `purple` - Purple + // * `pink` - Pink + // * `red` - Red + // * `orange` - Orange + // * `yellow` - Yellow + // * `green` - Green + // * `teal` - Teal + // * `cyan` - Cyan + // * `gray` - Gray + // * `black` - Black + // * `white` - White + // * `ghost-dark` - Link + ButtonClass *CustomLinkRequestButtonClass `json:"button_class,omitempty"` + ContentTypes []string `json:"content_types"` + Enabled *bool `json:"enabled,omitempty"` + + // GroupName Links with the same group will appear as a dropdown menu + GroupName *string `json:"group_name,omitempty"` + + // LinkText Jinja2 template code for link text + LinkText string `json:"link_text"` + + // LinkUrl Jinja2 template code for link URL + LinkUrl string `json:"link_url"` + Name string `json:"name"` + + // NewWindow Force link to open in a new window + NewWindow *bool `json:"new_window,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// CustomLinkRequestButtonClass The class of the first link in a group will be used for the dropdown button +// +// * `outline-dark` - Default +// * `blue` - Blue +// * `indigo` - Indigo +// * `purple` - Purple +// * `pink` - Pink +// * `red` - Red +// * `orange` - Orange +// * `yellow` - Yellow +// * `green` - Green +// * `teal` - Teal +// * `cyan` - Cyan +// * `gray` - Gray +// * `black` - Black +// * `white` - White +// * `ghost-dark` - Link +type CustomLinkRequestButtonClass string + +// Dashboard defines model for Dashboard. +type Dashboard struct { + Config *map[string]interface{} `json:"config,omitempty"` + Layout *map[string]interface{} `json:"layout,omitempty"` +} + +// DashboardRequest defines model for DashboardRequest. +type DashboardRequest struct { + Config *map[string]interface{} `json:"config,omitempty"` + Layout *map[string]interface{} `json:"layout,omitempty"` +} + +// DataFile Adds support for custom fields and tags. +type DataFile struct { + Display *string `json:"display,omitempty"` + + // Hash SHA256 hash of the file data + Hash *string `json:"hash,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + + // Path File path relative to the data source's root + Path *string `json:"path,omitempty"` + Size *int `json:"size,omitempty"` + Source *NestedDataSource `json:"source,omitempty"` + Url *string `json:"url,omitempty"` +} + +// DataSource Adds support for custom fields and tags. +type DataSource struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + FileCount *int `json:"file_count,omitempty"` + Id *int `json:"id,omitempty"` + + // IgnoreRules Patterns (one per line) matching files to ignore when syncing + IgnoreRules *string `json:"ignore_rules,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Parameters *map[string]interface{} `json:"parameters"` + SourceUrl string `json:"source_url"` + Status *struct { + Label *DataSourceStatusLabel `json:"label,omitempty"` + + // Value * `new` - New + // * `queued` - Queued + // * `syncing` - Syncing + // * `completed` - Completed + // * `failed` - Failed + Value *DataSourceStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Type struct { + Label *DataSourceTypeLabel `json:"label,omitempty"` + + // Value * `local` - Local + // * `git` - Git + // * `amazon-s3` - Amazon S3 + Value *DataSourceTypeValue `json:"value,omitempty"` + } `json:"type"` + Url *string `json:"url,omitempty"` +} + +// DataSourceStatusLabel defines model for DataSource.Status.Label. +type DataSourceStatusLabel string + +// DataSourceStatusValue * `new` - New +// * `queued` - Queued +// * `syncing` - Syncing +// * `completed` - Completed +// * `failed` - Failed +type DataSourceStatusValue string + +// DataSourceTypeLabel defines model for DataSource.Type.Label. +type DataSourceTypeLabel string + +// DataSourceTypeValue * `local` - Local +// * `git` - Git +// * `amazon-s3` - Amazon S3 +type DataSourceTypeValue string + +// DataSourceRequest Adds support for custom fields and tags. +type DataSourceRequest struct { + Comments *string `json:"comments,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + + // IgnoreRules Patterns (one per line) matching files to ignore when syncing + IgnoreRules *string `json:"ignore_rules,omitempty"` + Name string `json:"name"` + Parameters *map[string]interface{} `json:"parameters"` + SourceUrl string `json:"source_url"` + + // Type * `local` - Local + // * `git` - Git + // * `amazon-s3` - Amazon S3 + Type DataSourceRequestType `json:"type"` +} + +// DataSourceRequestType * `local` - Local +// * `git` - Git +// * `amazon-s3` - Amazon S3 +type DataSourceRequestType string + +// Device Adds support for custom fields and tags. +type Device struct { + Airflow *struct { + Label *DeviceAirflowLabel `json:"label,omitempty"` + + // Value * `front-to-rear` - Front to rear + // * `rear-to-front` - Rear to front + // * `left-to-right` - Left to right + // * `right-to-left` - Right to left + // * `side-to-rear` - Side to rear + // * `passive` - Passive + // * `mixed` - Mixed + Value *DeviceAirflowValue `json:"value,omitempty"` + } `json:"airflow,omitempty"` + + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Cluster *NestedCluster `json:"cluster"` + Comments *string `json:"comments,omitempty"` + ConfigTemplate *NestedConfigTemplate `json:"config_template"` + ConsolePortCount *int `json:"console_port_count,omitempty"` + ConsoleServerPortCount *int `json:"console_server_port_count,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceBayCount *int `json:"device_bay_count,omitempty"` + + // DeviceRole Deprecated in v3.6 in favor of `role`. + DeviceRole *NestedDeviceRole `json:"device_role,omitempty"` + + // DeviceType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DeviceType NestedDeviceType `json:"device_type"` + Display *string `json:"display,omitempty"` + Face *struct { + Label *DeviceFaceLabel `json:"label,omitempty"` + + // Value * `front` - Front + // * `rear` - Rear + Value *DeviceFaceValue `json:"value,omitempty"` + } `json:"face,omitempty"` + FrontPortCount *int `json:"front_port_count,omitempty"` + Id *int `json:"id,omitempty"` + InterfaceCount *int `json:"interface_count,omitempty"` + InventoryItemCount *int `json:"inventory_item_count,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Latitude GPS coordinate in decimal format (xx.yyyyyy) + Latitude *float64 `json:"latitude"` + + // LocalContextData Local config context data takes precedence over source contexts in the final rendered config context + LocalContextData *map[string]interface{} `json:"local_context_data"` + Location *NestedLocation `json:"location"` + + // Longitude GPS coordinate in decimal format (xx.yyyyyy) + Longitude *float64 `json:"longitude"` + ModuleBayCount *int `json:"module_bay_count,omitempty"` + Name *string `json:"name"` + OobIp *NestedIPAddress `json:"oob_ip"` + ParentDevice *NestedDevice `json:"parent_device,omitempty"` + Platform *NestedPlatform `json:"platform"` + Position *float64 `json:"position"` + PowerOutletCount *int `json:"power_outlet_count,omitempty"` + PowerPortCount *int `json:"power_port_count,omitempty"` + PrimaryIp *NestedIPAddress `json:"primary_ip,omitempty"` + PrimaryIp4 *NestedIPAddress `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddress `json:"primary_ip6"` + Rack *NestedRack `json:"rack"` + RearPortCount *int `json:"rear_port_count,omitempty"` + + // Role Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Role NestedDeviceRole `json:"role"` + + // Serial Chassis serial number, assigned by the manufacturer + Serial *string `json:"serial,omitempty"` + + // Site Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Site NestedSite `json:"site"` + Status *struct { + Label *DeviceStatusLabel `json:"label,omitempty"` + + // Value * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `staged` - Staged + // * `failed` - Failed + // * `inventory` - Inventory + // * `decommissioning` - Decommissioning + Value *DeviceStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + VcPosition *int `json:"vc_position"` + + // VcPriority Virtual chassis master election priority + VcPriority *int `json:"vc_priority"` + VirtualChassis *NestedVirtualChassis `json:"virtual_chassis"` +} + +// DeviceAirflowLabel defines model for Device.Airflow.Label. +type DeviceAirflowLabel string + +// DeviceAirflowValue * `front-to-rear` - Front to rear +// * `rear-to-front` - Rear to front +// * `left-to-right` - Left to right +// * `right-to-left` - Right to left +// * `side-to-rear` - Side to rear +// * `passive` - Passive +// * `mixed` - Mixed +type DeviceAirflowValue string + +// DeviceFaceLabel defines model for Device.Face.Label. +type DeviceFaceLabel string + +// DeviceFaceValue * `front` - Front +// * `rear` - Rear +type DeviceFaceValue string + +// DeviceStatusLabel defines model for Device.Status.Label. +type DeviceStatusLabel string + +// DeviceStatusValue * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `staged` - Staged +// * `failed` - Failed +// * `inventory` - Inventory +// * `decommissioning` - Decommissioning +type DeviceStatusValue string + +// DeviceBay Adds support for custom fields and tags. +type DeviceBay struct { + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDevice `json:"device"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + InstalledDevice *NestedDevice `json:"installed_device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// DeviceBayRequest Adds support for custom fields and tags. +type DeviceBayRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDeviceRequest `json:"device"` + InstalledDevice *NestedDeviceRequest `json:"installed_device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// DeviceBayTemplate 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 DeviceBayTemplate struct { + Created *time.Time `json:"created"` + Description *string `json:"description,omitempty"` + + // DeviceType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DeviceType NestedDeviceType `json:"device_type"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// DeviceBayTemplateRequest 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 DeviceBayTemplateRequest struct { + Description *string `json:"description,omitempty"` + + // DeviceType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DeviceType NestedDeviceTypeRequest `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` +} + +// DeviceRole Adds support for custom fields and tags. +type DeviceRole struct { + Color *string `json:"color,omitempty"` + ConfigTemplate *NestedConfigTemplate `json:"config_template"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` + + // VmRole Virtual machines may be assigned to this role + VmRole *bool `json:"vm_role,omitempty"` +} + +// DeviceRoleRequest Adds support for custom fields and tags. +type DeviceRoleRequest struct { + Color *string `json:"color,omitempty"` + ConfigTemplate *NestedConfigTemplateRequest `json:"config_template"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // VmRole Virtual machines may be assigned to this role + VmRole *bool `json:"vm_role,omitempty"` +} + +// DeviceType Adds support for custom fields and tags. +type DeviceType struct { + Airflow *struct { + Label *DeviceTypeAirflowLabel `json:"label,omitempty"` + + // Value * `front-to-rear` - Front to rear + // * `rear-to-front` - Rear to front + // * `left-to-right` - Left to right + // * `right-to-left` - Right to left + // * `side-to-rear` - Side to rear + // * `passive` - Passive + // * `mixed` - Mixed + Value *DeviceTypeAirflowValue `json:"value,omitempty"` + } `json:"airflow"` + Comments *string `json:"comments,omitempty"` + ConsolePortTemplateCount *int `json:"console_port_template_count,omitempty"` + ConsoleServerPortTemplateCount *int `json:"console_server_port_template_count,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DefaultPlatform *NestedPlatform `json:"default_platform"` + Description *string `json:"description,omitempty"` + DeviceBayTemplateCount *int `json:"device_bay_template_count,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` + Display *string `json:"display,omitempty"` + FrontImage *string `json:"front_image,omitempty"` + FrontPortTemplateCount *int `json:"front_port_template_count,omitempty"` + Id *int `json:"id,omitempty"` + InterfaceTemplateCount *int `json:"interface_template_count,omitempty"` + InventoryItemTemplateCount *int `json:"inventory_item_template_count,omitempty"` + + // IsFullDepth Device consumes both front and rear rack faces + IsFullDepth *bool `json:"is_full_depth,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Manufacturer Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Manufacturer NestedManufacturer `json:"manufacturer"` + Model string `json:"model"` + ModuleBayTemplateCount *int `json:"module_bay_template_count,omitempty"` + + // PartNumber Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + PowerOutletTemplateCount *int `json:"power_outlet_template_count,omitempty"` + PowerPortTemplateCount *int `json:"power_port_template_count,omitempty"` + RearImage *string `json:"rear_image,omitempty"` + RearPortTemplateCount *int `json:"rear_port_template_count,omitempty"` + Slug string `json:"slug"` + SubdeviceRole *struct { + Label *DeviceTypeSubdeviceRoleLabel `json:"label,omitempty"` + + // Value * `parent` - Parent + // * `child` - Child + Value *DeviceTypeSubdeviceRoleValue `json:"value,omitempty"` + } `json:"subdevice_role"` + Tags *[]NestedTag `json:"tags,omitempty"` + UHeight *float64 `json:"u_height,omitempty"` + Url *string `json:"url,omitempty"` + Weight *float64 `json:"weight"` + WeightUnit *struct { + Label *DeviceTypeWeightUnitLabel `json:"label,omitempty"` + + // Value * `kg` - Kilograms + // * `g` - Grams + // * `lb` - Pounds + // * `oz` - Ounces + Value *DeviceTypeWeightUnitValue `json:"value,omitempty"` + } `json:"weight_unit"` +} + +// DeviceTypeAirflowLabel defines model for DeviceType.Airflow.Label. +type DeviceTypeAirflowLabel string + +// DeviceTypeAirflowValue * `front-to-rear` - Front to rear +// * `rear-to-front` - Rear to front +// * `left-to-right` - Left to right +// * `right-to-left` - Right to left +// * `side-to-rear` - Side to rear +// * `passive` - Passive +// * `mixed` - Mixed +type DeviceTypeAirflowValue string + +// DeviceTypeSubdeviceRoleLabel defines model for DeviceType.SubdeviceRole.Label. +type DeviceTypeSubdeviceRoleLabel string + +// DeviceTypeSubdeviceRoleValue * `parent` - Parent +// * `child` - Child +type DeviceTypeSubdeviceRoleValue string + +// DeviceTypeWeightUnitLabel defines model for DeviceType.WeightUnit.Label. +type DeviceTypeWeightUnitLabel string + +// DeviceTypeWeightUnitValue * `kg` - Kilograms +// * `g` - Grams +// * `lb` - Pounds +// * `oz` - Ounces +type DeviceTypeWeightUnitValue string + +// DeviceTypeRequest Adds support for custom fields and tags. +type DeviceTypeRequest struct { + // Airflow * `front-to-rear` - Front to rear + // * `rear-to-front` - Rear to front + // * `left-to-right` - Left to right + // * `right-to-left` - Right to left + // * `side-to-rear` - Side to rear + // * `passive` - Passive + // * `mixed` - Mixed + Airflow *DeviceTypeRequestAirflow `json:"airflow"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DefaultPlatform *NestedPlatformRequest `json:"default_platform"` + Description *string `json:"description,omitempty"` + FrontImage *openapi_types.File `json:"front_image,omitempty"` + + // IsFullDepth Device consumes both front and rear rack faces + IsFullDepth *bool `json:"is_full_depth,omitempty"` + + // Manufacturer Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Manufacturer NestedManufacturerRequest `json:"manufacturer"` + Model string `json:"model"` + + // PartNumber Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + RearImage *openapi_types.File `json:"rear_image,omitempty"` + Slug string `json:"slug"` + + // SubdeviceRole * `parent` - Parent + // * `child` - Child + SubdeviceRole *DeviceTypeRequestSubdeviceRole `json:"subdevice_role"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + UHeight *float64 `json:"u_height,omitempty"` + Weight *float64 `json:"weight"` + + // WeightUnit * `kg` - Kilograms + // * `g` - Grams + // * `lb` - Pounds + // * `oz` - Ounces + WeightUnit *DeviceTypeRequestWeightUnit `json:"weight_unit"` +} + +// DeviceTypeRequestAirflow * `front-to-rear` - Front to rear +// * `rear-to-front` - Rear to front +// * `left-to-right` - Left to right +// * `right-to-left` - Right to left +// * `side-to-rear` - Side to rear +// * `passive` - Passive +// * `mixed` - Mixed +type DeviceTypeRequestAirflow string + +// DeviceTypeRequestSubdeviceRole * `parent` - Parent +// * `child` - Child +type DeviceTypeRequestSubdeviceRole string + +// DeviceTypeRequestWeightUnit * `kg` - Kilograms +// * `g` - Grams +// * `lb` - Pounds +// * `oz` - Ounces +type DeviceTypeRequestWeightUnit string + +// DeviceWithConfigContext Adds support for custom fields and tags. +type DeviceWithConfigContext struct { + Airflow *struct { + Label *DeviceWithConfigContextAirflowLabel `json:"label,omitempty"` + + // Value * `front-to-rear` - Front to rear + // * `rear-to-front` - Rear to front + // * `left-to-right` - Left to right + // * `right-to-left` - Right to left + // * `side-to-rear` - Side to rear + // * `passive` - Passive + // * `mixed` - Mixed + Value *DeviceWithConfigContextAirflowValue `json:"value,omitempty"` + } `json:"airflow,omitempty"` + + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Cluster *NestedCluster `json:"cluster"` + Comments *string `json:"comments,omitempty"` + ConfigContext *map[string]interface{} `json:"config_context"` + ConfigTemplate *NestedConfigTemplate `json:"config_template"` + ConsolePortCount *int `json:"console_port_count,omitempty"` + ConsoleServerPortCount *int `json:"console_server_port_count,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceBayCount *int `json:"device_bay_count,omitempty"` + + // DeviceRole Deprecated in v3.6 in favor of `role`. + DeviceRole *NestedDeviceRole `json:"device_role,omitempty"` + + // DeviceType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DeviceType NestedDeviceType `json:"device_type"` + Display *string `json:"display,omitempty"` + Face *struct { + Label *DeviceWithConfigContextFaceLabel `json:"label,omitempty"` + + // Value * `front` - Front + // * `rear` - Rear + Value *DeviceWithConfigContextFaceValue `json:"value,omitempty"` + } `json:"face,omitempty"` + FrontPortCount *int `json:"front_port_count,omitempty"` + Id *int `json:"id,omitempty"` + InterfaceCount *int `json:"interface_count,omitempty"` + InventoryItemCount *int `json:"inventory_item_count,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Latitude GPS coordinate in decimal format (xx.yyyyyy) + Latitude *float64 `json:"latitude"` + + // LocalContextData Local config context data takes precedence over source contexts in the final rendered config context + LocalContextData *map[string]interface{} `json:"local_context_data"` + Location *NestedLocation `json:"location"` + + // Longitude GPS coordinate in decimal format (xx.yyyyyy) + Longitude *float64 `json:"longitude"` + ModuleBayCount *int `json:"module_bay_count,omitempty"` + Name *string `json:"name"` + OobIp *NestedIPAddress `json:"oob_ip"` + ParentDevice *NestedDevice `json:"parent_device,omitempty"` + Platform *NestedPlatform `json:"platform"` + Position *float64 `json:"position"` + PowerOutletCount *int `json:"power_outlet_count,omitempty"` + PowerPortCount *int `json:"power_port_count,omitempty"` + PrimaryIp *NestedIPAddress `json:"primary_ip,omitempty"` + PrimaryIp4 *NestedIPAddress `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddress `json:"primary_ip6"` + Rack *NestedRack `json:"rack"` + RearPortCount *int `json:"rear_port_count,omitempty"` + + // Role Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Role NestedDeviceRole `json:"role"` + + // Serial Chassis serial number, assigned by the manufacturer + Serial *string `json:"serial,omitempty"` + + // Site Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Site NestedSite `json:"site"` + Status *struct { + Label *DeviceWithConfigContextStatusLabel `json:"label,omitempty"` + + // Value * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `staged` - Staged + // * `failed` - Failed + // * `inventory` - Inventory + // * `decommissioning` - Decommissioning + Value *DeviceWithConfigContextStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + VcPosition *int `json:"vc_position"` + + // VcPriority Virtual chassis master election priority + VcPriority *int `json:"vc_priority"` + VirtualChassis *NestedVirtualChassis `json:"virtual_chassis"` +} + +// DeviceWithConfigContextAirflowLabel defines model for DeviceWithConfigContext.Airflow.Label. +type DeviceWithConfigContextAirflowLabel string + +// DeviceWithConfigContextAirflowValue * `front-to-rear` - Front to rear +// * `rear-to-front` - Rear to front +// * `left-to-right` - Left to right +// * `right-to-left` - Right to left +// * `side-to-rear` - Side to rear +// * `passive` - Passive +// * `mixed` - Mixed +type DeviceWithConfigContextAirflowValue string + +// DeviceWithConfigContextFaceLabel defines model for DeviceWithConfigContext.Face.Label. +type DeviceWithConfigContextFaceLabel string + +// DeviceWithConfigContextFaceValue * `front` - Front +// * `rear` - Rear +type DeviceWithConfigContextFaceValue string + +// DeviceWithConfigContextStatusLabel defines model for DeviceWithConfigContext.Status.Label. +type DeviceWithConfigContextStatusLabel string + +// DeviceWithConfigContextStatusValue * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `staged` - Staged +// * `failed` - Failed +// * `inventory` - Inventory +// * `decommissioning` - Decommissioning +type DeviceWithConfigContextStatusValue string + +// DeviceWithConfigContextRequest Adds support for custom fields and tags. +type DeviceWithConfigContextRequest struct { + // Airflow * `front-to-rear` - Front to rear + // * `rear-to-front` - Rear to front + // * `left-to-right` - Left to right + // * `right-to-left` - Right to left + // * `side-to-rear` - Side to rear + // * `passive` - Passive + // * `mixed` - Mixed + Airflow *DeviceWithConfigContextRequestAirflow `json:"airflow,omitempty"` + + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Cluster *NestedClusterRequest `json:"cluster"` + Comments *string `json:"comments,omitempty"` + ConfigTemplate *NestedConfigTemplateRequest `json:"config_template"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DeviceType NestedDeviceTypeRequest `json:"device_type"` + + // Face * `front` - Front + // * `rear` - Rear + Face *DeviceWithConfigContextRequestFace `json:"face,omitempty"` + + // Latitude GPS coordinate in decimal format (xx.yyyyyy) + Latitude *float64 `json:"latitude"` + + // LocalContextData Local config context data takes precedence over source contexts in the final rendered config context + LocalContextData *map[string]interface{} `json:"local_context_data"` + Location *NestedLocationRequest `json:"location"` + + // Longitude GPS coordinate in decimal format (xx.yyyyyy) + Longitude *float64 `json:"longitude"` + Name *string `json:"name"` + OobIp *NestedIPAddressRequest `json:"oob_ip"` + Platform *NestedPlatformRequest `json:"platform"` + Position *float64 `json:"position"` + PrimaryIp4 *NestedIPAddressRequest `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddressRequest `json:"primary_ip6"` + Rack *NestedRackRequest `json:"rack"` + + // Role Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Role NestedDeviceRoleRequest `json:"role"` + + // Serial Chassis serial number, assigned by the manufacturer + Serial *string `json:"serial,omitempty"` + + // Site Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Site NestedSiteRequest `json:"site"` + + // Status * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `staged` - Staged + // * `failed` - Failed + // * `inventory` - Inventory + // * `decommissioning` - Decommissioning + Status *DeviceWithConfigContextRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + VcPosition *int `json:"vc_position"` + + // VcPriority Virtual chassis master election priority + VcPriority *int `json:"vc_priority"` + VirtualChassis *NestedVirtualChassisRequest `json:"virtual_chassis"` +} + +// DeviceWithConfigContextRequestAirflow * `front-to-rear` - Front to rear +// * `rear-to-front` - Rear to front +// * `left-to-right` - Left to right +// * `right-to-left` - Right to left +// * `side-to-rear` - Side to rear +// * `passive` - Passive +// * `mixed` - Mixed +type DeviceWithConfigContextRequestAirflow string + +// DeviceWithConfigContextRequestFace * `front` - Front +// * `rear` - Rear +type DeviceWithConfigContextRequestFace string + +// DeviceWithConfigContextRequestStatus * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `staged` - Staged +// * `failed` - Failed +// * `inventory` - Inventory +// * `decommissioning` - Decommissioning +type DeviceWithConfigContextRequestStatus string + +// ExportTemplate 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 { + // AsAttachment Download file as attachment + AsAttachment *bool `json:"as_attachment,omitempty"` + ContentTypes []string `json:"content_types"` + Created *time.Time `json:"created"` + DataFile *NestedDataFile `json:"data_file,omitempty"` + + // DataPath Path to remote file (relative to data source root) + DataPath *string `json:"data_path,omitempty"` + + // DataSource Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DataSource *NestedDataSource `json:"data_source,omitempty"` + DataSynced *time.Time `json:"data_synced"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + + // FileExtension Extension to append to the rendered filename + FileExtension *string `json:"file_extension,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // MimeType Defaults to text/plain; charset=utf-8 + MimeType *string `json:"mime_type,omitempty"` + Name string `json:"name"` + + // TemplateCode Jinja2 template code. The list of objects being exported is passed as a context variable named queryset. + TemplateCode string `json:"template_code"` + Url *string `json:"url,omitempty"` +} + +// ExportTemplateRequest 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 ExportTemplateRequest struct { + // AsAttachment Download file as attachment + AsAttachment *bool `json:"as_attachment,omitempty"` + ContentTypes []string `json:"content_types"` + + // DataSource Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DataSource *NestedDataSourceRequest `json:"data_source,omitempty"` + Description *string `json:"description,omitempty"` + + // FileExtension Extension to append to the rendered filename + FileExtension *string `json:"file_extension,omitempty"` + + // MimeType Defaults to text/plain; charset=utf-8 + MimeType *string `json:"mime_type,omitempty"` + Name string `json:"name"` + + // TemplateCode Jinja2 template code. The list of objects being exported is passed as a context variable named queryset. + TemplateCode string `json:"template_code"` +} + +// FHRPGroup Adds support for custom fields and tags. +type FHRPGroup struct { + AuthKey *string `json:"auth_key,omitempty"` + + // AuthType * `plaintext` - Plaintext + // * `md5` - MD5 + AuthType *FHRPGroupAuthType `json:"auth_type,omitempty"` + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + GroupId int `json:"group_id"` + Id *int `json:"id,omitempty"` + IpAddresses *[]NestedIPAddress `json:"ip_addresses,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name *string `json:"name,omitempty"` + + // Protocol * `vrrp2` - VRRPv2 + // * `vrrp3` - VRRPv3 + // * `carp` - CARP + // * `clusterxl` - ClusterXL + // * `hsrp` - HSRP + // * `glbp` - GLBP + // * `other` - Other + Protocol FHRPGroupProtocol `json:"protocol"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// FHRPGroupAuthType * `plaintext` - Plaintext +// * `md5` - MD5 +type FHRPGroupAuthType string + +// FHRPGroupProtocol * `vrrp2` - VRRPv2 +// * `vrrp3` - VRRPv3 +// * `carp` - CARP +// * `clusterxl` - ClusterXL +// * `hsrp` - HSRP +// * `glbp` - GLBP +// * `other` - Other +type FHRPGroupProtocol string + +// FHRPGroupAssignment Adds support for custom fields and tags. +type FHRPGroupAssignment struct { + Created *time.Time `json:"created"` + Display *string `json:"display,omitempty"` + + // Group Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Group NestedFHRPGroup `json:"group"` + Id *int `json:"id,omitempty"` + Interface *map[string]interface{} `json:"interface"` + InterfaceId int64 `json:"interface_id"` + InterfaceType string `json:"interface_type"` + LastUpdated *time.Time `json:"last_updated"` + Priority int `json:"priority"` + Url *string `json:"url,omitempty"` +} + +// FHRPGroupAssignmentRequest Adds support for custom fields and tags. +type FHRPGroupAssignmentRequest struct { + // Group Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Group NestedFHRPGroupRequest `json:"group"` + InterfaceId int64 `json:"interface_id"` + InterfaceType string `json:"interface_type"` + Priority int `json:"priority"` +} + +// FHRPGroupRequest Adds support for custom fields and tags. +type FHRPGroupRequest struct { + AuthKey *string `json:"auth_key,omitempty"` + + // AuthType * `plaintext` - Plaintext + // * `md5` - MD5 + AuthType *FHRPGroupRequestAuthType `json:"auth_type,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + GroupId int `json:"group_id"` + Name *string `json:"name,omitempty"` + + // Protocol * `vrrp2` - VRRPv2 + // * `vrrp3` - VRRPv3 + // * `carp` - CARP + // * `clusterxl` - ClusterXL + // * `hsrp` - HSRP + // * `glbp` - GLBP + // * `other` - Other + Protocol FHRPGroupRequestProtocol `json:"protocol"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// FHRPGroupRequestAuthType * `plaintext` - Plaintext +// * `md5` - MD5 +type FHRPGroupRequestAuthType string + +// FHRPGroupRequestProtocol * `vrrp2` - VRRPv2 +// * `vrrp3` - VRRPv3 +// * `carp` - CARP +// * `clusterxl` - ClusterXL +// * `hsrp` - HSRP +// * `glbp` - GLBP +// * `other` - Other +type FHRPGroupRequestProtocol string + +// FrontPort Adds support for custom fields and tags. +type FrontPort struct { + Occupied *bool `json:"_occupied,omitempty"` + Cable *NestedCable `json:"cable"` + CableEnd *string `json:"cable_end,omitempty"` + Color *string `json:"color,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDevice `json:"device"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + LinkPeers *[]interface{} `json:"link_peers,omitempty"` + + // LinkPeersType Return the type of the peer link terminations, or None. + LinkPeersType *string `json:"link_peers_type,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *ComponentNestedModule `json:"module"` + Name string `json:"name"` + + // RearPort NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device) + RearPort FrontPortRearPort `json:"rear_port"` + + // RearPortPosition Mapped position on corresponding rear port + RearPortPosition *int `json:"rear_port_position,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Type struct { + Label *FrontPortTypeLabel `json:"label,omitempty"` + + // Value * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Value *FrontPortTypeValue `json:"value,omitempty"` + } `json:"type"` + Url *string `json:"url,omitempty"` +} + +// FrontPortTypeLabel defines model for FrontPort.Type.Label. +type FrontPortTypeLabel string + +// FrontPortTypeValue * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type FrontPortTypeValue string + +// FrontPortRearPort NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device) +type FrontPortRearPort struct { + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// FrontPortRearPortRequest NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device) +type FrontPortRearPortRequest struct { + Description *string `json:"description,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` +} + +// FrontPortRequest Adds support for custom fields and tags. +type FrontPortRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDeviceRequest `json:"device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *ComponentNestedModuleRequest `json:"module"` + Name string `json:"name"` + + // RearPort NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device) + RearPort FrontPortRearPortRequest `json:"rear_port"` + + // RearPortPosition Mapped position on corresponding rear port + RearPortPosition *int `json:"rear_port_position,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Type FrontPortRequestType `json:"type"` +} + +// FrontPortRequestType * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type FrontPortRequestType string + +// FrontPortTemplate 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 FrontPortTemplate struct { + Color *string `json:"color,omitempty"` + Created *time.Time `json:"created"` + Description *string `json:"description,omitempty"` + DeviceType *NestedDeviceType `json:"device_type"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + ModuleType *NestedModuleType `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + + // RearPort Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + RearPort NestedRearPortTemplate `json:"rear_port"` + RearPortPosition *int `json:"rear_port_position,omitempty"` + Type struct { + Label *FrontPortTemplateTypeLabel `json:"label,omitempty"` + + // Value * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Value *FrontPortTemplateTypeValue `json:"value,omitempty"` + } `json:"type"` + Url *string `json:"url,omitempty"` +} + +// FrontPortTemplateTypeLabel defines model for FrontPortTemplate.Type.Label. +type FrontPortTemplateTypeLabel string + +// FrontPortTemplateTypeValue * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type FrontPortTemplateTypeValue string + +// FrontPortTemplateRequest 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 FrontPortTemplateRequest struct { + Color *string `json:"color,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *NestedDeviceTypeRequest `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *NestedModuleTypeRequest `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + + // RearPort Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + RearPort NestedRearPortTemplateRequest `json:"rear_port"` + RearPortPosition *int `json:"rear_port_position,omitempty"` + + // Type * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Type FrontPortTemplateRequestType `json:"type"` +} + +// FrontPortTemplateRequestType * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type FrontPortTemplateRequestType string + +// GenericObject Minimal representation of some generic object identified by ContentType and PK. +type GenericObject struct { + Object *map[string]interface{} `json:"object"` + ObjectId int `json:"object_id"` + ObjectType string `json:"object_type"` +} + +// GenericObjectRequest Minimal representation of some generic object identified by ContentType and PK. +type GenericObjectRequest struct { + ObjectId int `json:"object_id"` + ObjectType string `json:"object_type"` +} + +// Group Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type Group struct { + 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"` +} + +// GroupRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type GroupRequest struct { + Name string `json:"name"` +} + +// IPAddress Adds support for custom fields and tags. +type IPAddress struct { + Address string `json:"address"` + AssignedObject *map[string]interface{} `json:"assigned_object"` + AssignedObjectId *int64 `json:"assigned_object_id"` + AssignedObjectType *string `json:"assigned_object_type"` + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + + // DnsName Hostname or FQDN (not case-sensitive) + DnsName *string `json:"dns_name,omitempty"` + Family *struct { + Label *IPAddressFamilyLabel `json:"label,omitempty"` + + // Value * `4` - IPv4 + // * `6` - IPv6 + Value *IPAddressFamilyValue `json:"value,omitempty"` + } `json:"family,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + NatInside *NestedIPAddress `json:"nat_inside"` + NatOutside *[]NestedIPAddress `json:"nat_outside,omitempty"` + Role *struct { + Label *IPAddressRoleLabel `json:"label,omitempty"` + + // Value * `loopback` - Loopback + // * `secondary` - Secondary + // * `anycast` - Anycast + // * `vip` - VIP + // * `vrrp` - VRRP + // * `hsrp` - HSRP + // * `glbp` - GLBP + // * `carp` - CARP + Value *IPAddressRoleValue `json:"value,omitempty"` + } `json:"role,omitempty"` + Status *struct { + Label *IPAddressStatusLabel `json:"label,omitempty"` + + // Value * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + // * `dhcp` - DHCP + // * `slaac` - SLAAC + Value *IPAddressStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + Vrf *NestedVRF `json:"vrf"` +} + +// IPAddressFamilyLabel defines model for IPAddress.Family.Label. +type IPAddressFamilyLabel string + +// IPAddressFamilyValue * `4` - IPv4 +// * `6` - IPv6 +type IPAddressFamilyValue int + +// IPAddressRoleLabel defines model for IPAddress.Role.Label. +type IPAddressRoleLabel string + +// IPAddressRoleValue * `loopback` - Loopback +// * `secondary` - Secondary +// * `anycast` - Anycast +// * `vip` - VIP +// * `vrrp` - VRRP +// * `hsrp` - HSRP +// * `glbp` - GLBP +// * `carp` - CARP +type IPAddressRoleValue string + +// IPAddressStatusLabel defines model for IPAddress.Status.Label. +type IPAddressStatusLabel string + +// IPAddressStatusValue * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +// * `dhcp` - DHCP +// * `slaac` - SLAAC +type IPAddressStatusValue string + +// IPAddressRequest Adds support for custom fields and tags. +type IPAddressRequest struct { + Address string `json:"address"` + AssignedObjectId *int64 `json:"assigned_object_id"` + AssignedObjectType *string `json:"assigned_object_type"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DnsName Hostname or FQDN (not case-sensitive) + DnsName *string `json:"dns_name,omitempty"` + NatInside *NestedIPAddressRequest `json:"nat_inside"` + + // Role * `loopback` - Loopback + // * `secondary` - Secondary + // * `anycast` - Anycast + // * `vip` - VIP + // * `vrrp` - VRRP + // * `hsrp` - HSRP + // * `glbp` - GLBP + // * `carp` - CARP + Role *IPAddressRequestRole `json:"role,omitempty"` + + // Status * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + // * `dhcp` - DHCP + // * `slaac` - SLAAC + Status *IPAddressRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Vrf *NestedVRFRequest `json:"vrf"` +} + +// IPAddressRequestRole * `loopback` - Loopback +// * `secondary` - Secondary +// * `anycast` - Anycast +// * `vip` - VIP +// * `vrrp` - VRRP +// * `hsrp` - HSRP +// * `glbp` - GLBP +// * `carp` - CARP +type IPAddressRequestRole string + +// IPAddressRequestStatus * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +// * `dhcp` - DHCP +// * `slaac` - SLAAC +type IPAddressRequestStatus string + +// IPRange Adds support for custom fields and tags. +type IPRange struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + EndAddress string `json:"end_address"` + Family *struct { + Label *IPRangeFamilyLabel `json:"label,omitempty"` + + // Value * `4` - IPv4 + // * `6` - IPv6 + Value *IPRangeFamilyValue `json:"value,omitempty"` + } `json:"family,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // MarkUtilized Treat as 100% utilized + MarkUtilized *bool `json:"mark_utilized,omitempty"` + Role *NestedRole `json:"role"` + Size *int `json:"size,omitempty"` + StartAddress string `json:"start_address"` + Status *struct { + Label *IPRangeStatusLabel `json:"label,omitempty"` + + // Value * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Value *IPRangeStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + Vrf *NestedVRF `json:"vrf"` +} + +// IPRangeFamilyLabel defines model for IPRange.Family.Label. +type IPRangeFamilyLabel string + +// IPRangeFamilyValue * `4` - IPv4 +// * `6` - IPv6 +type IPRangeFamilyValue int + +// IPRangeStatusLabel defines model for IPRange.Status.Label. +type IPRangeStatusLabel string + +// IPRangeStatusValue * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +type IPRangeStatusValue string + +// IPRangeRequest Adds support for custom fields and tags. +type IPRangeRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + EndAddress string `json:"end_address"` + + // MarkUtilized Treat as 100% utilized + MarkUtilized *bool `json:"mark_utilized,omitempty"` + Role *NestedRoleRequest `json:"role"` + StartAddress string `json:"start_address"` + + // Status * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Status *IPRangeRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Vrf *NestedVRFRequest `json:"vrf"` +} + +// IPRangeRequestStatus * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +type IPRangeRequestStatus string + +// ImageAttachment Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type ImageAttachment struct { + ContentType string `json:"content_type"` + Created *time.Time `json:"created"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Image string `json:"image"` + ImageHeight int `json:"image_height"` + ImageWidth int `json:"image_width"` + LastUpdated *time.Time `json:"last_updated"` + Name *string `json:"name,omitempty"` + ObjectId int64 `json:"object_id"` + Parent *map[string]interface{} `json:"parent"` + Url *string `json:"url,omitempty"` +} + +// ImageAttachmentRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type ImageAttachmentRequest struct { + ContentType string `json:"content_type"` + Image openapi_types.File `json:"image"` + ImageHeight int `json:"image_height"` + ImageWidth int `json:"image_width"` + Name *string `json:"name,omitempty"` + ObjectId int64 `json:"object_id"` +} + +// Interface Adds support for custom fields and tags. +type Interface struct { + Occupied *bool `json:"_occupied,omitempty"` + Bridge *NestedInterface `json:"bridge"` + Cable *NestedCable `json:"cable"` + CableEnd *string `json:"cable_end,omitempty"` + ConnectedEndpoints *[]interface{} `json:"connected_endpoints,omitempty"` + ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` + ConnectedEndpointsType *string `json:"connected_endpoints_type,omitempty"` + CountFhrpGroups *int `json:"count_fhrp_groups,omitempty"` + CountIpaddresses *int `json:"count_ipaddresses,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDevice `json:"device"` + Display *string `json:"display,omitempty"` + Duplex *struct { + Label *InterfaceDuplexLabel `json:"label,omitempty"` + + // Value * `half` - Half + // * `full` - Full + // * `auto` - Auto + Value *InterfaceDuplexValue `json:"value,omitempty"` + } `json:"duplex"` + Enabled *bool `json:"enabled,omitempty"` + Id *int `json:"id,omitempty"` + L2vpnTermination *NestedL2VPNTermination `json:"l2vpn_termination"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Lag *NestedInterface `json:"lag"` + LastUpdated *time.Time `json:"last_updated"` + LinkPeers *[]interface{} `json:"link_peers,omitempty"` + + // LinkPeersType Return the type of the peer link terminations, or None. + LinkPeersType *string `json:"link_peers_type,omitempty"` + MacAddress *string `json:"mac_address"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // MgmtOnly This interface is used only for out-of-band management + MgmtOnly *bool `json:"mgmt_only,omitempty"` + Mode *struct { + Label *InterfaceModeLabel `json:"label,omitempty"` + + // Value * `access` - Access + // * `tagged` - Tagged + // * `tagged-all` - Tagged (All) + Value *InterfaceModeValue `json:"value,omitempty"` + } `json:"mode,omitempty"` + Module *ComponentNestedModule `json:"module"` + Mtu *int `json:"mtu"` + Name string `json:"name"` + Parent *NestedInterface `json:"parent"` + PoeMode *struct { + Label *InterfacePoeModeLabel `json:"label,omitempty"` + + // Value * `pd` - PD + // * `pse` - PSE + Value *InterfacePoeModeValue `json:"value,omitempty"` + } `json:"poe_mode,omitempty"` + PoeType *struct { + Label *InterfacePoeTypeLabel `json:"label,omitempty"` + + // Value * `type1-ieee802.3af` - 802.3af (Type 1) + // * `type2-ieee802.3at` - 802.3at (Type 2) + // * `type3-ieee802.3bt` - 802.3bt (Type 3) + // * `type4-ieee802.3bt` - 802.3bt (Type 4) + // * `passive-24v-2pair` - Passive 24V (2-pair) + // * `passive-24v-4pair` - Passive 24V (4-pair) + // * `passive-48v-2pair` - Passive 48V (2-pair) + // * `passive-48v-4pair` - Passive 48V (4-pair) + Value *InterfacePoeTypeValue `json:"value,omitempty"` + } `json:"poe_type,omitempty"` + RfChannel *struct { + Label *InterfaceRfChannelLabel `json:"label,omitempty"` + + // Value * `2.4g-1-2412-22` - 1 (2412 MHz) + // * `2.4g-2-2417-22` - 2 (2417 MHz) + // * `2.4g-3-2422-22` - 3 (2422 MHz) + // * `2.4g-4-2427-22` - 4 (2427 MHz) + // * `2.4g-5-2432-22` - 5 (2432 MHz) + // * `2.4g-6-2437-22` - 6 (2437 MHz) + // * `2.4g-7-2442-22` - 7 (2442 MHz) + // * `2.4g-8-2447-22` - 8 (2447 MHz) + // * `2.4g-9-2452-22` - 9 (2452 MHz) + // * `2.4g-10-2457-22` - 10 (2457 MHz) + // * `2.4g-11-2462-22` - 11 (2462 MHz) + // * `2.4g-12-2467-22` - 12 (2467 MHz) + // * `2.4g-13-2472-22` - 13 (2472 MHz) + // * `5g-32-5160-20` - 32 (5160/20 MHz) + // * `5g-34-5170-40` - 34 (5170/40 MHz) + // * `5g-36-5180-20` - 36 (5180/20 MHz) + // * `5g-38-5190-40` - 38 (5190/40 MHz) + // * `5g-40-5200-20` - 40 (5200/20 MHz) + // * `5g-42-5210-80` - 42 (5210/80 MHz) + // * `5g-44-5220-20` - 44 (5220/20 MHz) + // * `5g-46-5230-40` - 46 (5230/40 MHz) + // * `5g-48-5240-20` - 48 (5240/20 MHz) + // * `5g-50-5250-160` - 50 (5250/160 MHz) + // * `5g-52-5260-20` - 52 (5260/20 MHz) + // * `5g-54-5270-40` - 54 (5270/40 MHz) + // * `5g-56-5280-20` - 56 (5280/20 MHz) + // * `5g-58-5290-80` - 58 (5290/80 MHz) + // * `5g-60-5300-20` - 60 (5300/20 MHz) + // * `5g-62-5310-40` - 62 (5310/40 MHz) + // * `5g-64-5320-20` - 64 (5320/20 MHz) + // * `5g-100-5500-20` - 100 (5500/20 MHz) + // * `5g-102-5510-40` - 102 (5510/40 MHz) + // * `5g-104-5520-20` - 104 (5520/20 MHz) + // * `5g-106-5530-80` - 106 (5530/80 MHz) + // * `5g-108-5540-20` - 108 (5540/20 MHz) + // * `5g-110-5550-40` - 110 (5550/40 MHz) + // * `5g-112-5560-20` - 112 (5560/20 MHz) + // * `5g-114-5570-160` - 114 (5570/160 MHz) + // * `5g-116-5580-20` - 116 (5580/20 MHz) + // * `5g-118-5590-40` - 118 (5590/40 MHz) + // * `5g-120-5600-20` - 120 (5600/20 MHz) + // * `5g-122-5610-80` - 122 (5610/80 MHz) + // * `5g-124-5620-20` - 124 (5620/20 MHz) + // * `5g-126-5630-40` - 126 (5630/40 MHz) + // * `5g-128-5640-20` - 128 (5640/20 MHz) + // * `5g-132-5660-20` - 132 (5660/20 MHz) + // * `5g-134-5670-40` - 134 (5670/40 MHz) + // * `5g-136-5680-20` - 136 (5680/20 MHz) + // * `5g-138-5690-80` - 138 (5690/80 MHz) + // * `5g-140-5700-20` - 140 (5700/20 MHz) + // * `5g-142-5710-40` - 142 (5710/40 MHz) + // * `5g-144-5720-20` - 144 (5720/20 MHz) + // * `5g-149-5745-20` - 149 (5745/20 MHz) + // * `5g-151-5755-40` - 151 (5755/40 MHz) + // * `5g-153-5765-20` - 153 (5765/20 MHz) + // * `5g-155-5775-80` - 155 (5775/80 MHz) + // * `5g-157-5785-20` - 157 (5785/20 MHz) + // * `5g-159-5795-40` - 159 (5795/40 MHz) + // * `5g-161-5805-20` - 161 (5805/20 MHz) + // * `5g-163-5815-160` - 163 (5815/160 MHz) + // * `5g-165-5825-20` - 165 (5825/20 MHz) + // * `5g-167-5835-40` - 167 (5835/40 MHz) + // * `5g-169-5845-20` - 169 (5845/20 MHz) + // * `5g-171-5855-80` - 171 (5855/80 MHz) + // * `5g-173-5865-20` - 173 (5865/20 MHz) + // * `5g-175-5875-40` - 175 (5875/40 MHz) + // * `5g-177-5885-20` - 177 (5885/20 MHz) + // * `6g-1-5955-20` - 1 (5955/20 MHz) + // * `6g-3-5965-40` - 3 (5965/40 MHz) + // * `6g-5-5975-20` - 5 (5975/20 MHz) + // * `6g-7-5985-80` - 7 (5985/80 MHz) + // * `6g-9-5995-20` - 9 (5995/20 MHz) + // * `6g-11-6005-40` - 11 (6005/40 MHz) + // * `6g-13-6015-20` - 13 (6015/20 MHz) + // * `6g-15-6025-160` - 15 (6025/160 MHz) + // * `6g-17-6035-20` - 17 (6035/20 MHz) + // * `6g-19-6045-40` - 19 (6045/40 MHz) + // * `6g-21-6055-20` - 21 (6055/20 MHz) + // * `6g-23-6065-80` - 23 (6065/80 MHz) + // * `6g-25-6075-20` - 25 (6075/20 MHz) + // * `6g-27-6085-40` - 27 (6085/40 MHz) + // * `6g-29-6095-20` - 29 (6095/20 MHz) + // * `6g-31-6105-320` - 31 (6105/320 MHz) + // * `6g-33-6115-20` - 33 (6115/20 MHz) + // * `6g-35-6125-40` - 35 (6125/40 MHz) + // * `6g-37-6135-20` - 37 (6135/20 MHz) + // * `6g-39-6145-80` - 39 (6145/80 MHz) + // * `6g-41-6155-20` - 41 (6155/20 MHz) + // * `6g-43-6165-40` - 43 (6165/40 MHz) + // * `6g-45-6175-20` - 45 (6175/20 MHz) + // * `6g-47-6185-160` - 47 (6185/160 MHz) + // * `6g-49-6195-20` - 49 (6195/20 MHz) + // * `6g-51-6205-40` - 51 (6205/40 MHz) + // * `6g-53-6215-20` - 53 (6215/20 MHz) + // * `6g-55-6225-80` - 55 (6225/80 MHz) + // * `6g-57-6235-20` - 57 (6235/20 MHz) + // * `6g-59-6245-40` - 59 (6245/40 MHz) + // * `6g-61-6255-20` - 61 (6255/20 MHz) + // * `6g-65-6275-20` - 65 (6275/20 MHz) + // * `6g-67-6285-40` - 67 (6285/40 MHz) + // * `6g-69-6295-20` - 69 (6295/20 MHz) + // * `6g-71-6305-80` - 71 (6305/80 MHz) + // * `6g-73-6315-20` - 73 (6315/20 MHz) + // * `6g-75-6325-40` - 75 (6325/40 MHz) + // * `6g-77-6335-20` - 77 (6335/20 MHz) + // * `6g-79-6345-160` - 79 (6345/160 MHz) + // * `6g-81-6355-20` - 81 (6355/20 MHz) + // * `6g-83-6365-40` - 83 (6365/40 MHz) + // * `6g-85-6375-20` - 85 (6375/20 MHz) + // * `6g-87-6385-80` - 87 (6385/80 MHz) + // * `6g-89-6395-20` - 89 (6395/20 MHz) + // * `6g-91-6405-40` - 91 (6405/40 MHz) + // * `6g-93-6415-20` - 93 (6415/20 MHz) + // * `6g-95-6425-320` - 95 (6425/320 MHz) + // * `6g-97-6435-20` - 97 (6435/20 MHz) + // * `6g-99-6445-40` - 99 (6445/40 MHz) + // * `6g-101-6455-20` - 101 (6455/20 MHz) + // * `6g-103-6465-80` - 103 (6465/80 MHz) + // * `6g-105-6475-20` - 105 (6475/20 MHz) + // * `6g-107-6485-40` - 107 (6485/40 MHz) + // * `6g-109-6495-20` - 109 (6495/20 MHz) + // * `6g-111-6505-160` - 111 (6505/160 MHz) + // * `6g-113-6515-20` - 113 (6515/20 MHz) + // * `6g-115-6525-40` - 115 (6525/40 MHz) + // * `6g-117-6535-20` - 117 (6535/20 MHz) + // * `6g-119-6545-80` - 119 (6545/80 MHz) + // * `6g-121-6555-20` - 121 (6555/20 MHz) + // * `6g-123-6565-40` - 123 (6565/40 MHz) + // * `6g-125-6575-20` - 125 (6575/20 MHz) + // * `6g-129-6595-20` - 129 (6595/20 MHz) + // * `6g-131-6605-40` - 131 (6605/40 MHz) + // * `6g-133-6615-20` - 133 (6615/20 MHz) + // * `6g-135-6625-80` - 135 (6625/80 MHz) + // * `6g-137-6635-20` - 137 (6635/20 MHz) + // * `6g-139-6645-40` - 139 (6645/40 MHz) + // * `6g-141-6655-20` - 141 (6655/20 MHz) + // * `6g-143-6665-160` - 143 (6665/160 MHz) + // * `6g-145-6675-20` - 145 (6675/20 MHz) + // * `6g-147-6685-40` - 147 (6685/40 MHz) + // * `6g-149-6695-20` - 149 (6695/20 MHz) + // * `6g-151-6705-80` - 151 (6705/80 MHz) + // * `6g-153-6715-20` - 153 (6715/20 MHz) + // * `6g-155-6725-40` - 155 (6725/40 MHz) + // * `6g-157-6735-20` - 157 (6735/20 MHz) + // * `6g-159-6745-320` - 159 (6745/320 MHz) + // * `6g-161-6755-20` - 161 (6755/20 MHz) + // * `6g-163-6765-40` - 163 (6765/40 MHz) + // * `6g-165-6775-20` - 165 (6775/20 MHz) + // * `6g-167-6785-80` - 167 (6785/80 MHz) + // * `6g-169-6795-20` - 169 (6795/20 MHz) + // * `6g-171-6805-40` - 171 (6805/40 MHz) + // * `6g-173-6815-20` - 173 (6815/20 MHz) + // * `6g-175-6825-160` - 175 (6825/160 MHz) + // * `6g-177-6835-20` - 177 (6835/20 MHz) + // * `6g-179-6845-40` - 179 (6845/40 MHz) + // * `6g-181-6855-20` - 181 (6855/20 MHz) + // * `6g-183-6865-80` - 183 (6865/80 MHz) + // * `6g-185-6875-20` - 185 (6875/20 MHz) + // * `6g-187-6885-40` - 187 (6885/40 MHz) + // * `6g-189-6895-20` - 189 (6895/20 MHz) + // * `6g-193-6915-20` - 193 (6915/20 MHz) + // * `6g-195-6925-40` - 195 (6925/40 MHz) + // * `6g-197-6935-20` - 197 (6935/20 MHz) + // * `6g-199-6945-80` - 199 (6945/80 MHz) + // * `6g-201-6955-20` - 201 (6955/20 MHz) + // * `6g-203-6965-40` - 203 (6965/40 MHz) + // * `6g-205-6975-20` - 205 (6975/20 MHz) + // * `6g-207-6985-160` - 207 (6985/160 MHz) + // * `6g-209-6995-20` - 209 (6995/20 MHz) + // * `6g-211-7005-40` - 211 (7005/40 MHz) + // * `6g-213-7015-20` - 213 (7015/20 MHz) + // * `6g-215-7025-80` - 215 (7025/80 MHz) + // * `6g-217-7035-20` - 217 (7035/20 MHz) + // * `6g-219-7045-40` - 219 (7045/40 MHz) + // * `6g-221-7055-20` - 221 (7055/20 MHz) + // * `6g-225-7075-20` - 225 (7075/20 MHz) + // * `6g-227-7085-40` - 227 (7085/40 MHz) + // * `6g-229-7095-20` - 229 (7095/20 MHz) + // * `6g-233-7115-20` - 233 (7115/20 MHz) + // * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) + // * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) + // * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) + // * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) + // * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) + // * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) + // * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) + // * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) + // * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) + // * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) + // * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) + // * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) + // * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) + // * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) + // * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) + // * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) + // * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) + // * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) + Value *InterfaceRfChannelValue `json:"value,omitempty"` + } `json:"rf_channel,omitempty"` + + // RfChannelFrequency Populated by selected channel (if set) + RfChannelFrequency *float64 `json:"rf_channel_frequency"` + + // RfChannelWidth Populated by selected channel (if set) + RfChannelWidth *float64 `json:"rf_channel_width"` + RfRole *struct { + Label *InterfaceRfRoleLabel `json:"label,omitempty"` + + // Value * `ap` - Access point + // * `station` - Station + Value *InterfaceRfRoleValue `json:"value,omitempty"` + } `json:"rf_role,omitempty"` + Speed *int `json:"speed"` + TaggedVlans *[]int `json:"tagged_vlans,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + TxPower *int `json:"tx_power"` + Type struct { + Label *InterfaceTypeLabel `json:"label,omitempty"` + + // Value * `virtual` - Virtual + // * `bridge` - Bridge + // * `lag` - Link Aggregation Group (LAG) + // * `100base-fx` - 100BASE-FX (10/100ME FIBER) + // * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + // * `100base-tx` - 100BASE-TX (10/100ME) + // * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + // * `1000base-t` - 1000BASE-T (1GE) + // * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + // * `5gbase-t` - 5GBASE-T (5GE) + // * `10gbase-t` - 10GBASE-T (10GE) + // * `10gbase-cx4` - 10GBASE-CX4 (10GE) + // * `1000base-x-gbic` - GBIC (1GE) + // * `1000base-x-sfp` - SFP (1GE) + // * `10gbase-x-sfpp` - SFP+ (10GE) + // * `10gbase-x-xfp` - XFP (10GE) + // * `10gbase-x-xenpak` - XENPAK (10GE) + // * `10gbase-x-x2` - X2 (10GE) + // * `25gbase-x-sfp28` - SFP28 (25GE) + // * `50gbase-x-sfp56` - SFP56 (50GE) + // * `40gbase-x-qsfpp` - QSFP+ (40GE) + // * `50gbase-x-sfp28` - QSFP28 (50GE) + // * `100gbase-x-cfp` - CFP (100GE) + // * `100gbase-x-cfp2` - CFP2 (100GE) + // * `200gbase-x-cfp2` - CFP2 (200GE) + // * `400gbase-x-cfp2` - CFP2 (400GE) + // * `100gbase-x-cfp4` - CFP4 (100GE) + // * `100gbase-x-cxp` - CXP (100GE) + // * `100gbase-x-cpak` - Cisco CPAK (100GE) + // * `100gbase-x-dsfp` - DSFP (100GE) + // * `100gbase-x-sfpdd` - SFP-DD (100GE) + // * `100gbase-x-qsfp28` - QSFP28 (100GE) + // * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + // * `200gbase-x-qsfp56` - QSFP56 (200GE) + // * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + // * `400gbase-x-qsfp112` - QSFP112 (400GE) + // * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + // * `400gbase-x-osfp` - OSFP (400GE) + // * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + // * `400gbase-x-cdfp` - CDFP (400GE) + // * `400gbase-x-cfp8` - CPF8 (400GE) + // * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + // * `800gbase-x-osfp` - OSFP (800GE) + // * `1000base-kx` - 1000BASE-KX (1GE) + // * `10gbase-kr` - 10GBASE-KR (10GE) + // * `10gbase-kx4` - 10GBASE-KX4 (10GE) + // * `25gbase-kr` - 25GBASE-KR (25GE) + // * `40gbase-kr4` - 40GBASE-KR4 (40GE) + // * `50gbase-kr` - 50GBASE-KR (50GE) + // * `100gbase-kp4` - 100GBASE-KP4 (100GE) + // * `100gbase-kr2` - 100GBASE-KR2 (100GE) + // * `100gbase-kr4` - 100GBASE-KR4 (100GE) + // * `ieee802.11a` - IEEE 802.11a + // * `ieee802.11g` - IEEE 802.11b/g + // * `ieee802.11n` - IEEE 802.11n + // * `ieee802.11ac` - IEEE 802.11ac + // * `ieee802.11ad` - IEEE 802.11ad + // * `ieee802.11ax` - IEEE 802.11ax + // * `ieee802.11ay` - IEEE 802.11ay + // * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + // * `other-wireless` - Other (Wireless) + // * `gsm` - GSM + // * `cdma` - CDMA + // * `lte` - LTE + // * `sonet-oc3` - OC-3/STM-1 + // * `sonet-oc12` - OC-12/STM-4 + // * `sonet-oc48` - OC-48/STM-16 + // * `sonet-oc192` - OC-192/STM-64 + // * `sonet-oc768` - OC-768/STM-256 + // * `sonet-oc1920` - OC-1920/STM-640 + // * `sonet-oc3840` - OC-3840/STM-1234 + // * `1gfc-sfp` - SFP (1GFC) + // * `2gfc-sfp` - SFP (2GFC) + // * `4gfc-sfp` - SFP (4GFC) + // * `8gfc-sfpp` - SFP+ (8GFC) + // * `16gfc-sfpp` - SFP+ (16GFC) + // * `32gfc-sfp28` - SFP28 (32GFC) + // * `64gfc-qsfpp` - QSFP+ (64GFC) + // * `128gfc-qsfp28` - QSFP28 (128GFC) + // * `infiniband-sdr` - SDR (2 Gbps) + // * `infiniband-ddr` - DDR (4 Gbps) + // * `infiniband-qdr` - QDR (8 Gbps) + // * `infiniband-fdr10` - FDR10 (10 Gbps) + // * `infiniband-fdr` - FDR (13.5 Gbps) + // * `infiniband-edr` - EDR (25 Gbps) + // * `infiniband-hdr` - HDR (50 Gbps) + // * `infiniband-ndr` - NDR (100 Gbps) + // * `infiniband-xdr` - XDR (250 Gbps) + // * `t1` - T1 (1.544 Mbps) + // * `e1` - E1 (2.048 Mbps) + // * `t3` - T3 (45 Mbps) + // * `e3` - E3 (34 Mbps) + // * `xdsl` - xDSL + // * `docsis` - DOCSIS + // * `gpon` - GPON (2.5 Gbps / 1.25 Gps) + // * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + // * `xgs-pon` - XGS-PON (10 Gbps) + // * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + // * `epon` - EPON (1 Gbps) + // * `10g-epon` - 10G-EPON (10 Gbps) + // * `cisco-stackwise` - Cisco StackWise + // * `cisco-stackwise-plus` - Cisco StackWise Plus + // * `cisco-flexstack` - Cisco FlexStack + // * `cisco-flexstack-plus` - Cisco FlexStack Plus + // * `cisco-stackwise-80` - Cisco StackWise-80 + // * `cisco-stackwise-160` - Cisco StackWise-160 + // * `cisco-stackwise-320` - Cisco StackWise-320 + // * `cisco-stackwise-480` - Cisco StackWise-480 + // * `cisco-stackwise-1t` - Cisco StackWise-1T + // * `juniper-vcp` - Juniper VCP + // * `extreme-summitstack` - Extreme SummitStack + // * `extreme-summitstack-128` - Extreme SummitStack-128 + // * `extreme-summitstack-256` - Extreme SummitStack-256 + // * `extreme-summitstack-512` - Extreme SummitStack-512 + // * `other` - Other + Value *InterfaceTypeValue `json:"value,omitempty"` + } `json:"type"` + UntaggedVlan *NestedVLAN `json:"untagged_vlan"` + Url *string `json:"url,omitempty"` + Vdcs *[]int `json:"vdcs,omitempty"` + Vrf *NestedVRF `json:"vrf"` + WirelessLans *[]int `json:"wireless_lans,omitempty"` + WirelessLink *NestedWirelessLink `json:"wireless_link"` + Wwn *string `json:"wwn"` +} + +// InterfaceDuplexLabel defines model for Interface.Duplex.Label. +type InterfaceDuplexLabel string + +// InterfaceDuplexValue * `half` - Half +// * `full` - Full +// * `auto` - Auto +type InterfaceDuplexValue string + +// InterfaceModeLabel defines model for Interface.Mode.Label. +type InterfaceModeLabel string + +// InterfaceModeValue * `access` - Access +// * `tagged` - Tagged +// * `tagged-all` - Tagged (All) +type InterfaceModeValue string + +// InterfacePoeModeLabel defines model for Interface.PoeMode.Label. +type InterfacePoeModeLabel string + +// InterfacePoeModeValue * `pd` - PD +// * `pse` - PSE +type InterfacePoeModeValue string + +// InterfacePoeTypeLabel defines model for Interface.PoeType.Label. +type InterfacePoeTypeLabel string + +// InterfacePoeTypeValue * `type1-ieee802.3af` - 802.3af (Type 1) +// * `type2-ieee802.3at` - 802.3at (Type 2) +// * `type3-ieee802.3bt` - 802.3bt (Type 3) +// * `type4-ieee802.3bt` - 802.3bt (Type 4) +// * `passive-24v-2pair` - Passive 24V (2-pair) +// * `passive-24v-4pair` - Passive 24V (4-pair) +// * `passive-48v-2pair` - Passive 48V (2-pair) +// * `passive-48v-4pair` - Passive 48V (4-pair) +type InterfacePoeTypeValue string + +// InterfaceRfChannelLabel defines model for Interface.RfChannel.Label. +type InterfaceRfChannelLabel string + +// InterfaceRfChannelValue * `2.4g-1-2412-22` - 1 (2412 MHz) +// * `2.4g-2-2417-22` - 2 (2417 MHz) +// * `2.4g-3-2422-22` - 3 (2422 MHz) +// * `2.4g-4-2427-22` - 4 (2427 MHz) +// * `2.4g-5-2432-22` - 5 (2432 MHz) +// * `2.4g-6-2437-22` - 6 (2437 MHz) +// * `2.4g-7-2442-22` - 7 (2442 MHz) +// * `2.4g-8-2447-22` - 8 (2447 MHz) +// * `2.4g-9-2452-22` - 9 (2452 MHz) +// * `2.4g-10-2457-22` - 10 (2457 MHz) +// * `2.4g-11-2462-22` - 11 (2462 MHz) +// * `2.4g-12-2467-22` - 12 (2467 MHz) +// * `2.4g-13-2472-22` - 13 (2472 MHz) +// * `5g-32-5160-20` - 32 (5160/20 MHz) +// * `5g-34-5170-40` - 34 (5170/40 MHz) +// * `5g-36-5180-20` - 36 (5180/20 MHz) +// * `5g-38-5190-40` - 38 (5190/40 MHz) +// * `5g-40-5200-20` - 40 (5200/20 MHz) +// * `5g-42-5210-80` - 42 (5210/80 MHz) +// * `5g-44-5220-20` - 44 (5220/20 MHz) +// * `5g-46-5230-40` - 46 (5230/40 MHz) +// * `5g-48-5240-20` - 48 (5240/20 MHz) +// * `5g-50-5250-160` - 50 (5250/160 MHz) +// * `5g-52-5260-20` - 52 (5260/20 MHz) +// * `5g-54-5270-40` - 54 (5270/40 MHz) +// * `5g-56-5280-20` - 56 (5280/20 MHz) +// * `5g-58-5290-80` - 58 (5290/80 MHz) +// * `5g-60-5300-20` - 60 (5300/20 MHz) +// * `5g-62-5310-40` - 62 (5310/40 MHz) +// * `5g-64-5320-20` - 64 (5320/20 MHz) +// * `5g-100-5500-20` - 100 (5500/20 MHz) +// * `5g-102-5510-40` - 102 (5510/40 MHz) +// * `5g-104-5520-20` - 104 (5520/20 MHz) +// * `5g-106-5530-80` - 106 (5530/80 MHz) +// * `5g-108-5540-20` - 108 (5540/20 MHz) +// * `5g-110-5550-40` - 110 (5550/40 MHz) +// * `5g-112-5560-20` - 112 (5560/20 MHz) +// * `5g-114-5570-160` - 114 (5570/160 MHz) +// * `5g-116-5580-20` - 116 (5580/20 MHz) +// * `5g-118-5590-40` - 118 (5590/40 MHz) +// * `5g-120-5600-20` - 120 (5600/20 MHz) +// * `5g-122-5610-80` - 122 (5610/80 MHz) +// * `5g-124-5620-20` - 124 (5620/20 MHz) +// * `5g-126-5630-40` - 126 (5630/40 MHz) +// * `5g-128-5640-20` - 128 (5640/20 MHz) +// * `5g-132-5660-20` - 132 (5660/20 MHz) +// * `5g-134-5670-40` - 134 (5670/40 MHz) +// * `5g-136-5680-20` - 136 (5680/20 MHz) +// * `5g-138-5690-80` - 138 (5690/80 MHz) +// * `5g-140-5700-20` - 140 (5700/20 MHz) +// * `5g-142-5710-40` - 142 (5710/40 MHz) +// * `5g-144-5720-20` - 144 (5720/20 MHz) +// * `5g-149-5745-20` - 149 (5745/20 MHz) +// * `5g-151-5755-40` - 151 (5755/40 MHz) +// * `5g-153-5765-20` - 153 (5765/20 MHz) +// * `5g-155-5775-80` - 155 (5775/80 MHz) +// * `5g-157-5785-20` - 157 (5785/20 MHz) +// * `5g-159-5795-40` - 159 (5795/40 MHz) +// * `5g-161-5805-20` - 161 (5805/20 MHz) +// * `5g-163-5815-160` - 163 (5815/160 MHz) +// * `5g-165-5825-20` - 165 (5825/20 MHz) +// * `5g-167-5835-40` - 167 (5835/40 MHz) +// * `5g-169-5845-20` - 169 (5845/20 MHz) +// * `5g-171-5855-80` - 171 (5855/80 MHz) +// * `5g-173-5865-20` - 173 (5865/20 MHz) +// * `5g-175-5875-40` - 175 (5875/40 MHz) +// * `5g-177-5885-20` - 177 (5885/20 MHz) +// * `6g-1-5955-20` - 1 (5955/20 MHz) +// * `6g-3-5965-40` - 3 (5965/40 MHz) +// * `6g-5-5975-20` - 5 (5975/20 MHz) +// * `6g-7-5985-80` - 7 (5985/80 MHz) +// * `6g-9-5995-20` - 9 (5995/20 MHz) +// * `6g-11-6005-40` - 11 (6005/40 MHz) +// * `6g-13-6015-20` - 13 (6015/20 MHz) +// * `6g-15-6025-160` - 15 (6025/160 MHz) +// * `6g-17-6035-20` - 17 (6035/20 MHz) +// * `6g-19-6045-40` - 19 (6045/40 MHz) +// * `6g-21-6055-20` - 21 (6055/20 MHz) +// * `6g-23-6065-80` - 23 (6065/80 MHz) +// * `6g-25-6075-20` - 25 (6075/20 MHz) +// * `6g-27-6085-40` - 27 (6085/40 MHz) +// * `6g-29-6095-20` - 29 (6095/20 MHz) +// * `6g-31-6105-320` - 31 (6105/320 MHz) +// * `6g-33-6115-20` - 33 (6115/20 MHz) +// * `6g-35-6125-40` - 35 (6125/40 MHz) +// * `6g-37-6135-20` - 37 (6135/20 MHz) +// * `6g-39-6145-80` - 39 (6145/80 MHz) +// * `6g-41-6155-20` - 41 (6155/20 MHz) +// * `6g-43-6165-40` - 43 (6165/40 MHz) +// * `6g-45-6175-20` - 45 (6175/20 MHz) +// * `6g-47-6185-160` - 47 (6185/160 MHz) +// * `6g-49-6195-20` - 49 (6195/20 MHz) +// * `6g-51-6205-40` - 51 (6205/40 MHz) +// * `6g-53-6215-20` - 53 (6215/20 MHz) +// * `6g-55-6225-80` - 55 (6225/80 MHz) +// * `6g-57-6235-20` - 57 (6235/20 MHz) +// * `6g-59-6245-40` - 59 (6245/40 MHz) +// * `6g-61-6255-20` - 61 (6255/20 MHz) +// * `6g-65-6275-20` - 65 (6275/20 MHz) +// * `6g-67-6285-40` - 67 (6285/40 MHz) +// * `6g-69-6295-20` - 69 (6295/20 MHz) +// * `6g-71-6305-80` - 71 (6305/80 MHz) +// * `6g-73-6315-20` - 73 (6315/20 MHz) +// * `6g-75-6325-40` - 75 (6325/40 MHz) +// * `6g-77-6335-20` - 77 (6335/20 MHz) +// * `6g-79-6345-160` - 79 (6345/160 MHz) +// * `6g-81-6355-20` - 81 (6355/20 MHz) +// * `6g-83-6365-40` - 83 (6365/40 MHz) +// * `6g-85-6375-20` - 85 (6375/20 MHz) +// * `6g-87-6385-80` - 87 (6385/80 MHz) +// * `6g-89-6395-20` - 89 (6395/20 MHz) +// * `6g-91-6405-40` - 91 (6405/40 MHz) +// * `6g-93-6415-20` - 93 (6415/20 MHz) +// * `6g-95-6425-320` - 95 (6425/320 MHz) +// * `6g-97-6435-20` - 97 (6435/20 MHz) +// * `6g-99-6445-40` - 99 (6445/40 MHz) +// * `6g-101-6455-20` - 101 (6455/20 MHz) +// * `6g-103-6465-80` - 103 (6465/80 MHz) +// * `6g-105-6475-20` - 105 (6475/20 MHz) +// * `6g-107-6485-40` - 107 (6485/40 MHz) +// * `6g-109-6495-20` - 109 (6495/20 MHz) +// * `6g-111-6505-160` - 111 (6505/160 MHz) +// * `6g-113-6515-20` - 113 (6515/20 MHz) +// * `6g-115-6525-40` - 115 (6525/40 MHz) +// * `6g-117-6535-20` - 117 (6535/20 MHz) +// * `6g-119-6545-80` - 119 (6545/80 MHz) +// * `6g-121-6555-20` - 121 (6555/20 MHz) +// * `6g-123-6565-40` - 123 (6565/40 MHz) +// * `6g-125-6575-20` - 125 (6575/20 MHz) +// * `6g-129-6595-20` - 129 (6595/20 MHz) +// * `6g-131-6605-40` - 131 (6605/40 MHz) +// * `6g-133-6615-20` - 133 (6615/20 MHz) +// * `6g-135-6625-80` - 135 (6625/80 MHz) +// * `6g-137-6635-20` - 137 (6635/20 MHz) +// * `6g-139-6645-40` - 139 (6645/40 MHz) +// * `6g-141-6655-20` - 141 (6655/20 MHz) +// * `6g-143-6665-160` - 143 (6665/160 MHz) +// * `6g-145-6675-20` - 145 (6675/20 MHz) +// * `6g-147-6685-40` - 147 (6685/40 MHz) +// * `6g-149-6695-20` - 149 (6695/20 MHz) +// * `6g-151-6705-80` - 151 (6705/80 MHz) +// * `6g-153-6715-20` - 153 (6715/20 MHz) +// * `6g-155-6725-40` - 155 (6725/40 MHz) +// * `6g-157-6735-20` - 157 (6735/20 MHz) +// * `6g-159-6745-320` - 159 (6745/320 MHz) +// * `6g-161-6755-20` - 161 (6755/20 MHz) +// * `6g-163-6765-40` - 163 (6765/40 MHz) +// * `6g-165-6775-20` - 165 (6775/20 MHz) +// * `6g-167-6785-80` - 167 (6785/80 MHz) +// * `6g-169-6795-20` - 169 (6795/20 MHz) +// * `6g-171-6805-40` - 171 (6805/40 MHz) +// * `6g-173-6815-20` - 173 (6815/20 MHz) +// * `6g-175-6825-160` - 175 (6825/160 MHz) +// * `6g-177-6835-20` - 177 (6835/20 MHz) +// * `6g-179-6845-40` - 179 (6845/40 MHz) +// * `6g-181-6855-20` - 181 (6855/20 MHz) +// * `6g-183-6865-80` - 183 (6865/80 MHz) +// * `6g-185-6875-20` - 185 (6875/20 MHz) +// * `6g-187-6885-40` - 187 (6885/40 MHz) +// * `6g-189-6895-20` - 189 (6895/20 MHz) +// * `6g-193-6915-20` - 193 (6915/20 MHz) +// * `6g-195-6925-40` - 195 (6925/40 MHz) +// * `6g-197-6935-20` - 197 (6935/20 MHz) +// * `6g-199-6945-80` - 199 (6945/80 MHz) +// * `6g-201-6955-20` - 201 (6955/20 MHz) +// * `6g-203-6965-40` - 203 (6965/40 MHz) +// * `6g-205-6975-20` - 205 (6975/20 MHz) +// * `6g-207-6985-160` - 207 (6985/160 MHz) +// * `6g-209-6995-20` - 209 (6995/20 MHz) +// * `6g-211-7005-40` - 211 (7005/40 MHz) +// * `6g-213-7015-20` - 213 (7015/20 MHz) +// * `6g-215-7025-80` - 215 (7025/80 MHz) +// * `6g-217-7035-20` - 217 (7035/20 MHz) +// * `6g-219-7045-40` - 219 (7045/40 MHz) +// * `6g-221-7055-20` - 221 (7055/20 MHz) +// * `6g-225-7075-20` - 225 (7075/20 MHz) +// * `6g-227-7085-40` - 227 (7085/40 MHz) +// * `6g-229-7095-20` - 229 (7095/20 MHz) +// * `6g-233-7115-20` - 233 (7115/20 MHz) +// * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) +// * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) +// * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) +// * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) +// * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) +// * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) +// * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) +// * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) +// * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) +// * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) +// * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) +// * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) +// * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) +// * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) +// * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) +// * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) +// * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) +// * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +type InterfaceRfChannelValue string + +// InterfaceRfRoleLabel defines model for Interface.RfRole.Label. +type InterfaceRfRoleLabel string + +// InterfaceRfRoleValue * `ap` - Access point +// * `station` - Station +type InterfaceRfRoleValue string + +// InterfaceTypeLabel defines model for Interface.Type.Label. +type InterfaceTypeLabel string + +// InterfaceTypeValue * `virtual` - Virtual +// * `bridge` - Bridge +// * `lag` - Link Aggregation Group (LAG) +// * `100base-fx` - 100BASE-FX (10/100ME FIBER) +// * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) +// * `100base-tx` - 100BASE-TX (10/100ME) +// * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) +// * `1000base-t` - 1000BASE-T (1GE) +// * `2.5gbase-t` - 2.5GBASE-T (2.5GE) +// * `5gbase-t` - 5GBASE-T (5GE) +// * `10gbase-t` - 10GBASE-T (10GE) +// * `10gbase-cx4` - 10GBASE-CX4 (10GE) +// * `1000base-x-gbic` - GBIC (1GE) +// * `1000base-x-sfp` - SFP (1GE) +// * `10gbase-x-sfpp` - SFP+ (10GE) +// * `10gbase-x-xfp` - XFP (10GE) +// * `10gbase-x-xenpak` - XENPAK (10GE) +// * `10gbase-x-x2` - X2 (10GE) +// * `25gbase-x-sfp28` - SFP28 (25GE) +// * `50gbase-x-sfp56` - SFP56 (50GE) +// * `40gbase-x-qsfpp` - QSFP+ (40GE) +// * `50gbase-x-sfp28` - QSFP28 (50GE) +// * `100gbase-x-cfp` - CFP (100GE) +// * `100gbase-x-cfp2` - CFP2 (100GE) +// * `200gbase-x-cfp2` - CFP2 (200GE) +// * `400gbase-x-cfp2` - CFP2 (400GE) +// * `100gbase-x-cfp4` - CFP4 (100GE) +// * `100gbase-x-cxp` - CXP (100GE) +// * `100gbase-x-cpak` - Cisco CPAK (100GE) +// * `100gbase-x-dsfp` - DSFP (100GE) +// * `100gbase-x-sfpdd` - SFP-DD (100GE) +// * `100gbase-x-qsfp28` - QSFP28 (100GE) +// * `100gbase-x-qsfpdd` - QSFP-DD (100GE) +// * `200gbase-x-qsfp56` - QSFP56 (200GE) +// * `200gbase-x-qsfpdd` - QSFP-DD (200GE) +// * `400gbase-x-qsfp112` - QSFP112 (400GE) +// * `400gbase-x-qsfpdd` - QSFP-DD (400GE) +// * `400gbase-x-osfp` - OSFP (400GE) +// * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) +// * `400gbase-x-cdfp` - CDFP (400GE) +// * `400gbase-x-cfp8` - CPF8 (400GE) +// * `800gbase-x-qsfpdd` - QSFP-DD (800GE) +// * `800gbase-x-osfp` - OSFP (800GE) +// * `1000base-kx` - 1000BASE-KX (1GE) +// * `10gbase-kr` - 10GBASE-KR (10GE) +// * `10gbase-kx4` - 10GBASE-KX4 (10GE) +// * `25gbase-kr` - 25GBASE-KR (25GE) +// * `40gbase-kr4` - 40GBASE-KR4 (40GE) +// * `50gbase-kr` - 50GBASE-KR (50GE) +// * `100gbase-kp4` - 100GBASE-KP4 (100GE) +// * `100gbase-kr2` - 100GBASE-KR2 (100GE) +// * `100gbase-kr4` - 100GBASE-KR4 (100GE) +// * `ieee802.11a` - IEEE 802.11a +// * `ieee802.11g` - IEEE 802.11b/g +// * `ieee802.11n` - IEEE 802.11n +// * `ieee802.11ac` - IEEE 802.11ac +// * `ieee802.11ad` - IEEE 802.11ad +// * `ieee802.11ax` - IEEE 802.11ax +// * `ieee802.11ay` - IEEE 802.11ay +// * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) +// * `other-wireless` - Other (Wireless) +// * `gsm` - GSM +// * `cdma` - CDMA +// * `lte` - LTE +// * `sonet-oc3` - OC-3/STM-1 +// * `sonet-oc12` - OC-12/STM-4 +// * `sonet-oc48` - OC-48/STM-16 +// * `sonet-oc192` - OC-192/STM-64 +// * `sonet-oc768` - OC-768/STM-256 +// * `sonet-oc1920` - OC-1920/STM-640 +// * `sonet-oc3840` - OC-3840/STM-1234 +// * `1gfc-sfp` - SFP (1GFC) +// * `2gfc-sfp` - SFP (2GFC) +// * `4gfc-sfp` - SFP (4GFC) +// * `8gfc-sfpp` - SFP+ (8GFC) +// * `16gfc-sfpp` - SFP+ (16GFC) +// * `32gfc-sfp28` - SFP28 (32GFC) +// * `64gfc-qsfpp` - QSFP+ (64GFC) +// * `128gfc-qsfp28` - QSFP28 (128GFC) +// * `infiniband-sdr` - SDR (2 Gbps) +// * `infiniband-ddr` - DDR (4 Gbps) +// * `infiniband-qdr` - QDR (8 Gbps) +// * `infiniband-fdr10` - FDR10 (10 Gbps) +// * `infiniband-fdr` - FDR (13.5 Gbps) +// * `infiniband-edr` - EDR (25 Gbps) +// * `infiniband-hdr` - HDR (50 Gbps) +// * `infiniband-ndr` - NDR (100 Gbps) +// * `infiniband-xdr` - XDR (250 Gbps) +// * `t1` - T1 (1.544 Mbps) +// * `e1` - E1 (2.048 Mbps) +// * `t3` - T3 (45 Mbps) +// * `e3` - E3 (34 Mbps) +// * `xdsl` - xDSL +// * `docsis` - DOCSIS +// * `gpon` - GPON (2.5 Gbps / 1.25 Gps) +// * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) +// * `xgs-pon` - XGS-PON (10 Gbps) +// * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) +// * `epon` - EPON (1 Gbps) +// * `10g-epon` - 10G-EPON (10 Gbps) +// * `cisco-stackwise` - Cisco StackWise +// * `cisco-stackwise-plus` - Cisco StackWise Plus +// * `cisco-flexstack` - Cisco FlexStack +// * `cisco-flexstack-plus` - Cisco FlexStack Plus +// * `cisco-stackwise-80` - Cisco StackWise-80 +// * `cisco-stackwise-160` - Cisco StackWise-160 +// * `cisco-stackwise-320` - Cisco StackWise-320 +// * `cisco-stackwise-480` - Cisco StackWise-480 +// * `cisco-stackwise-1t` - Cisco StackWise-1T +// * `juniper-vcp` - Juniper VCP +// * `extreme-summitstack` - Extreme SummitStack +// * `extreme-summitstack-128` - Extreme SummitStack-128 +// * `extreme-summitstack-256` - Extreme SummitStack-256 +// * `extreme-summitstack-512` - Extreme SummitStack-512 +// * `other` - Other +type InterfaceTypeValue string + +// InterfaceRequest Adds support for custom fields and tags. +type InterfaceRequest struct { + Bridge *NestedInterfaceRequest `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDeviceRequest `json:"device"` + + // Duplex * `half` - Half + // * `full` - Full + // * `auto` - Auto + Duplex *InterfaceRequestDuplex `json:"duplex"` + Enabled *bool `json:"enabled,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Lag *NestedInterfaceRequest `json:"lag"` + MacAddress *string `json:"mac_address"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // MgmtOnly This interface is used only for out-of-band management + MgmtOnly *bool `json:"mgmt_only,omitempty"` + + // Mode * `access` - Access + // * `tagged` - Tagged + // * `tagged-all` - Tagged (All) + Mode *InterfaceRequestMode `json:"mode,omitempty"` + Module *ComponentNestedModuleRequest `json:"module"` + Mtu *int `json:"mtu"` + Name string `json:"name"` + Parent *NestedInterfaceRequest `json:"parent"` + + // PoeMode * `pd` - PD + // * `pse` - PSE + PoeMode *InterfaceRequestPoeMode `json:"poe_mode,omitempty"` + + // PoeType * `type1-ieee802.3af` - 802.3af (Type 1) + // * `type2-ieee802.3at` - 802.3at (Type 2) + // * `type3-ieee802.3bt` - 802.3bt (Type 3) + // * `type4-ieee802.3bt` - 802.3bt (Type 4) + // * `passive-24v-2pair` - Passive 24V (2-pair) + // * `passive-24v-4pair` - Passive 24V (4-pair) + // * `passive-48v-2pair` - Passive 48V (2-pair) + // * `passive-48v-4pair` - Passive 48V (4-pair) + PoeType *InterfaceRequestPoeType `json:"poe_type,omitempty"` + + // RfChannel * `2.4g-1-2412-22` - 1 (2412 MHz) + // * `2.4g-2-2417-22` - 2 (2417 MHz) + // * `2.4g-3-2422-22` - 3 (2422 MHz) + // * `2.4g-4-2427-22` - 4 (2427 MHz) + // * `2.4g-5-2432-22` - 5 (2432 MHz) + // * `2.4g-6-2437-22` - 6 (2437 MHz) + // * `2.4g-7-2442-22` - 7 (2442 MHz) + // * `2.4g-8-2447-22` - 8 (2447 MHz) + // * `2.4g-9-2452-22` - 9 (2452 MHz) + // * `2.4g-10-2457-22` - 10 (2457 MHz) + // * `2.4g-11-2462-22` - 11 (2462 MHz) + // * `2.4g-12-2467-22` - 12 (2467 MHz) + // * `2.4g-13-2472-22` - 13 (2472 MHz) + // * `5g-32-5160-20` - 32 (5160/20 MHz) + // * `5g-34-5170-40` - 34 (5170/40 MHz) + // * `5g-36-5180-20` - 36 (5180/20 MHz) + // * `5g-38-5190-40` - 38 (5190/40 MHz) + // * `5g-40-5200-20` - 40 (5200/20 MHz) + // * `5g-42-5210-80` - 42 (5210/80 MHz) + // * `5g-44-5220-20` - 44 (5220/20 MHz) + // * `5g-46-5230-40` - 46 (5230/40 MHz) + // * `5g-48-5240-20` - 48 (5240/20 MHz) + // * `5g-50-5250-160` - 50 (5250/160 MHz) + // * `5g-52-5260-20` - 52 (5260/20 MHz) + // * `5g-54-5270-40` - 54 (5270/40 MHz) + // * `5g-56-5280-20` - 56 (5280/20 MHz) + // * `5g-58-5290-80` - 58 (5290/80 MHz) + // * `5g-60-5300-20` - 60 (5300/20 MHz) + // * `5g-62-5310-40` - 62 (5310/40 MHz) + // * `5g-64-5320-20` - 64 (5320/20 MHz) + // * `5g-100-5500-20` - 100 (5500/20 MHz) + // * `5g-102-5510-40` - 102 (5510/40 MHz) + // * `5g-104-5520-20` - 104 (5520/20 MHz) + // * `5g-106-5530-80` - 106 (5530/80 MHz) + // * `5g-108-5540-20` - 108 (5540/20 MHz) + // * `5g-110-5550-40` - 110 (5550/40 MHz) + // * `5g-112-5560-20` - 112 (5560/20 MHz) + // * `5g-114-5570-160` - 114 (5570/160 MHz) + // * `5g-116-5580-20` - 116 (5580/20 MHz) + // * `5g-118-5590-40` - 118 (5590/40 MHz) + // * `5g-120-5600-20` - 120 (5600/20 MHz) + // * `5g-122-5610-80` - 122 (5610/80 MHz) + // * `5g-124-5620-20` - 124 (5620/20 MHz) + // * `5g-126-5630-40` - 126 (5630/40 MHz) + // * `5g-128-5640-20` - 128 (5640/20 MHz) + // * `5g-132-5660-20` - 132 (5660/20 MHz) + // * `5g-134-5670-40` - 134 (5670/40 MHz) + // * `5g-136-5680-20` - 136 (5680/20 MHz) + // * `5g-138-5690-80` - 138 (5690/80 MHz) + // * `5g-140-5700-20` - 140 (5700/20 MHz) + // * `5g-142-5710-40` - 142 (5710/40 MHz) + // * `5g-144-5720-20` - 144 (5720/20 MHz) + // * `5g-149-5745-20` - 149 (5745/20 MHz) + // * `5g-151-5755-40` - 151 (5755/40 MHz) + // * `5g-153-5765-20` - 153 (5765/20 MHz) + // * `5g-155-5775-80` - 155 (5775/80 MHz) + // * `5g-157-5785-20` - 157 (5785/20 MHz) + // * `5g-159-5795-40` - 159 (5795/40 MHz) + // * `5g-161-5805-20` - 161 (5805/20 MHz) + // * `5g-163-5815-160` - 163 (5815/160 MHz) + // * `5g-165-5825-20` - 165 (5825/20 MHz) + // * `5g-167-5835-40` - 167 (5835/40 MHz) + // * `5g-169-5845-20` - 169 (5845/20 MHz) + // * `5g-171-5855-80` - 171 (5855/80 MHz) + // * `5g-173-5865-20` - 173 (5865/20 MHz) + // * `5g-175-5875-40` - 175 (5875/40 MHz) + // * `5g-177-5885-20` - 177 (5885/20 MHz) + // * `6g-1-5955-20` - 1 (5955/20 MHz) + // * `6g-3-5965-40` - 3 (5965/40 MHz) + // * `6g-5-5975-20` - 5 (5975/20 MHz) + // * `6g-7-5985-80` - 7 (5985/80 MHz) + // * `6g-9-5995-20` - 9 (5995/20 MHz) + // * `6g-11-6005-40` - 11 (6005/40 MHz) + // * `6g-13-6015-20` - 13 (6015/20 MHz) + // * `6g-15-6025-160` - 15 (6025/160 MHz) + // * `6g-17-6035-20` - 17 (6035/20 MHz) + // * `6g-19-6045-40` - 19 (6045/40 MHz) + // * `6g-21-6055-20` - 21 (6055/20 MHz) + // * `6g-23-6065-80` - 23 (6065/80 MHz) + // * `6g-25-6075-20` - 25 (6075/20 MHz) + // * `6g-27-6085-40` - 27 (6085/40 MHz) + // * `6g-29-6095-20` - 29 (6095/20 MHz) + // * `6g-31-6105-320` - 31 (6105/320 MHz) + // * `6g-33-6115-20` - 33 (6115/20 MHz) + // * `6g-35-6125-40` - 35 (6125/40 MHz) + // * `6g-37-6135-20` - 37 (6135/20 MHz) + // * `6g-39-6145-80` - 39 (6145/80 MHz) + // * `6g-41-6155-20` - 41 (6155/20 MHz) + // * `6g-43-6165-40` - 43 (6165/40 MHz) + // * `6g-45-6175-20` - 45 (6175/20 MHz) + // * `6g-47-6185-160` - 47 (6185/160 MHz) + // * `6g-49-6195-20` - 49 (6195/20 MHz) + // * `6g-51-6205-40` - 51 (6205/40 MHz) + // * `6g-53-6215-20` - 53 (6215/20 MHz) + // * `6g-55-6225-80` - 55 (6225/80 MHz) + // * `6g-57-6235-20` - 57 (6235/20 MHz) + // * `6g-59-6245-40` - 59 (6245/40 MHz) + // * `6g-61-6255-20` - 61 (6255/20 MHz) + // * `6g-65-6275-20` - 65 (6275/20 MHz) + // * `6g-67-6285-40` - 67 (6285/40 MHz) + // * `6g-69-6295-20` - 69 (6295/20 MHz) + // * `6g-71-6305-80` - 71 (6305/80 MHz) + // * `6g-73-6315-20` - 73 (6315/20 MHz) + // * `6g-75-6325-40` - 75 (6325/40 MHz) + // * `6g-77-6335-20` - 77 (6335/20 MHz) + // * `6g-79-6345-160` - 79 (6345/160 MHz) + // * `6g-81-6355-20` - 81 (6355/20 MHz) + // * `6g-83-6365-40` - 83 (6365/40 MHz) + // * `6g-85-6375-20` - 85 (6375/20 MHz) + // * `6g-87-6385-80` - 87 (6385/80 MHz) + // * `6g-89-6395-20` - 89 (6395/20 MHz) + // * `6g-91-6405-40` - 91 (6405/40 MHz) + // * `6g-93-6415-20` - 93 (6415/20 MHz) + // * `6g-95-6425-320` - 95 (6425/320 MHz) + // * `6g-97-6435-20` - 97 (6435/20 MHz) + // * `6g-99-6445-40` - 99 (6445/40 MHz) + // * `6g-101-6455-20` - 101 (6455/20 MHz) + // * `6g-103-6465-80` - 103 (6465/80 MHz) + // * `6g-105-6475-20` - 105 (6475/20 MHz) + // * `6g-107-6485-40` - 107 (6485/40 MHz) + // * `6g-109-6495-20` - 109 (6495/20 MHz) + // * `6g-111-6505-160` - 111 (6505/160 MHz) + // * `6g-113-6515-20` - 113 (6515/20 MHz) + // * `6g-115-6525-40` - 115 (6525/40 MHz) + // * `6g-117-6535-20` - 117 (6535/20 MHz) + // * `6g-119-6545-80` - 119 (6545/80 MHz) + // * `6g-121-6555-20` - 121 (6555/20 MHz) + // * `6g-123-6565-40` - 123 (6565/40 MHz) + // * `6g-125-6575-20` - 125 (6575/20 MHz) + // * `6g-129-6595-20` - 129 (6595/20 MHz) + // * `6g-131-6605-40` - 131 (6605/40 MHz) + // * `6g-133-6615-20` - 133 (6615/20 MHz) + // * `6g-135-6625-80` - 135 (6625/80 MHz) + // * `6g-137-6635-20` - 137 (6635/20 MHz) + // * `6g-139-6645-40` - 139 (6645/40 MHz) + // * `6g-141-6655-20` - 141 (6655/20 MHz) + // * `6g-143-6665-160` - 143 (6665/160 MHz) + // * `6g-145-6675-20` - 145 (6675/20 MHz) + // * `6g-147-6685-40` - 147 (6685/40 MHz) + // * `6g-149-6695-20` - 149 (6695/20 MHz) + // * `6g-151-6705-80` - 151 (6705/80 MHz) + // * `6g-153-6715-20` - 153 (6715/20 MHz) + // * `6g-155-6725-40` - 155 (6725/40 MHz) + // * `6g-157-6735-20` - 157 (6735/20 MHz) + // * `6g-159-6745-320` - 159 (6745/320 MHz) + // * `6g-161-6755-20` - 161 (6755/20 MHz) + // * `6g-163-6765-40` - 163 (6765/40 MHz) + // * `6g-165-6775-20` - 165 (6775/20 MHz) + // * `6g-167-6785-80` - 167 (6785/80 MHz) + // * `6g-169-6795-20` - 169 (6795/20 MHz) + // * `6g-171-6805-40` - 171 (6805/40 MHz) + // * `6g-173-6815-20` - 173 (6815/20 MHz) + // * `6g-175-6825-160` - 175 (6825/160 MHz) + // * `6g-177-6835-20` - 177 (6835/20 MHz) + // * `6g-179-6845-40` - 179 (6845/40 MHz) + // * `6g-181-6855-20` - 181 (6855/20 MHz) + // * `6g-183-6865-80` - 183 (6865/80 MHz) + // * `6g-185-6875-20` - 185 (6875/20 MHz) + // * `6g-187-6885-40` - 187 (6885/40 MHz) + // * `6g-189-6895-20` - 189 (6895/20 MHz) + // * `6g-193-6915-20` - 193 (6915/20 MHz) + // * `6g-195-6925-40` - 195 (6925/40 MHz) + // * `6g-197-6935-20` - 197 (6935/20 MHz) + // * `6g-199-6945-80` - 199 (6945/80 MHz) + // * `6g-201-6955-20` - 201 (6955/20 MHz) + // * `6g-203-6965-40` - 203 (6965/40 MHz) + // * `6g-205-6975-20` - 205 (6975/20 MHz) + // * `6g-207-6985-160` - 207 (6985/160 MHz) + // * `6g-209-6995-20` - 209 (6995/20 MHz) + // * `6g-211-7005-40` - 211 (7005/40 MHz) + // * `6g-213-7015-20` - 213 (7015/20 MHz) + // * `6g-215-7025-80` - 215 (7025/80 MHz) + // * `6g-217-7035-20` - 217 (7035/20 MHz) + // * `6g-219-7045-40` - 219 (7045/40 MHz) + // * `6g-221-7055-20` - 221 (7055/20 MHz) + // * `6g-225-7075-20` - 225 (7075/20 MHz) + // * `6g-227-7085-40` - 227 (7085/40 MHz) + // * `6g-229-7095-20` - 229 (7095/20 MHz) + // * `6g-233-7115-20` - 233 (7115/20 MHz) + // * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) + // * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) + // * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) + // * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) + // * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) + // * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) + // * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) + // * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) + // * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) + // * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) + // * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) + // * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) + // * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) + // * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) + // * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) + // * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) + // * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) + // * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) + RfChannel *InterfaceRequestRfChannel `json:"rf_channel,omitempty"` + + // RfChannelFrequency Populated by selected channel (if set) + RfChannelFrequency *float64 `json:"rf_channel_frequency"` + + // RfChannelWidth Populated by selected channel (if set) + RfChannelWidth *float64 `json:"rf_channel_width"` + + // RfRole * `ap` - Access point + // * `station` - Station + RfRole *InterfaceRequestRfRole `json:"rf_role,omitempty"` + Speed *int `json:"speed"` + TaggedVlans *[]int `json:"tagged_vlans,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + TxPower *int `json:"tx_power"` + + // Type * `virtual` - Virtual + // * `bridge` - Bridge + // * `lag` - Link Aggregation Group (LAG) + // * `100base-fx` - 100BASE-FX (10/100ME FIBER) + // * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + // * `100base-tx` - 100BASE-TX (10/100ME) + // * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + // * `1000base-t` - 1000BASE-T (1GE) + // * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + // * `5gbase-t` - 5GBASE-T (5GE) + // * `10gbase-t` - 10GBASE-T (10GE) + // * `10gbase-cx4` - 10GBASE-CX4 (10GE) + // * `1000base-x-gbic` - GBIC (1GE) + // * `1000base-x-sfp` - SFP (1GE) + // * `10gbase-x-sfpp` - SFP+ (10GE) + // * `10gbase-x-xfp` - XFP (10GE) + // * `10gbase-x-xenpak` - XENPAK (10GE) + // * `10gbase-x-x2` - X2 (10GE) + // * `25gbase-x-sfp28` - SFP28 (25GE) + // * `50gbase-x-sfp56` - SFP56 (50GE) + // * `40gbase-x-qsfpp` - QSFP+ (40GE) + // * `50gbase-x-sfp28` - QSFP28 (50GE) + // * `100gbase-x-cfp` - CFP (100GE) + // * `100gbase-x-cfp2` - CFP2 (100GE) + // * `200gbase-x-cfp2` - CFP2 (200GE) + // * `400gbase-x-cfp2` - CFP2 (400GE) + // * `100gbase-x-cfp4` - CFP4 (100GE) + // * `100gbase-x-cxp` - CXP (100GE) + // * `100gbase-x-cpak` - Cisco CPAK (100GE) + // * `100gbase-x-dsfp` - DSFP (100GE) + // * `100gbase-x-sfpdd` - SFP-DD (100GE) + // * `100gbase-x-qsfp28` - QSFP28 (100GE) + // * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + // * `200gbase-x-qsfp56` - QSFP56 (200GE) + // * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + // * `400gbase-x-qsfp112` - QSFP112 (400GE) + // * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + // * `400gbase-x-osfp` - OSFP (400GE) + // * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + // * `400gbase-x-cdfp` - CDFP (400GE) + // * `400gbase-x-cfp8` - CPF8 (400GE) + // * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + // * `800gbase-x-osfp` - OSFP (800GE) + // * `1000base-kx` - 1000BASE-KX (1GE) + // * `10gbase-kr` - 10GBASE-KR (10GE) + // * `10gbase-kx4` - 10GBASE-KX4 (10GE) + // * `25gbase-kr` - 25GBASE-KR (25GE) + // * `40gbase-kr4` - 40GBASE-KR4 (40GE) + // * `50gbase-kr` - 50GBASE-KR (50GE) + // * `100gbase-kp4` - 100GBASE-KP4 (100GE) + // * `100gbase-kr2` - 100GBASE-KR2 (100GE) + // * `100gbase-kr4` - 100GBASE-KR4 (100GE) + // * `ieee802.11a` - IEEE 802.11a + // * `ieee802.11g` - IEEE 802.11b/g + // * `ieee802.11n` - IEEE 802.11n + // * `ieee802.11ac` - IEEE 802.11ac + // * `ieee802.11ad` - IEEE 802.11ad + // * `ieee802.11ax` - IEEE 802.11ax + // * `ieee802.11ay` - IEEE 802.11ay + // * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + // * `other-wireless` - Other (Wireless) + // * `gsm` - GSM + // * `cdma` - CDMA + // * `lte` - LTE + // * `sonet-oc3` - OC-3/STM-1 + // * `sonet-oc12` - OC-12/STM-4 + // * `sonet-oc48` - OC-48/STM-16 + // * `sonet-oc192` - OC-192/STM-64 + // * `sonet-oc768` - OC-768/STM-256 + // * `sonet-oc1920` - OC-1920/STM-640 + // * `sonet-oc3840` - OC-3840/STM-1234 + // * `1gfc-sfp` - SFP (1GFC) + // * `2gfc-sfp` - SFP (2GFC) + // * `4gfc-sfp` - SFP (4GFC) + // * `8gfc-sfpp` - SFP+ (8GFC) + // * `16gfc-sfpp` - SFP+ (16GFC) + // * `32gfc-sfp28` - SFP28 (32GFC) + // * `64gfc-qsfpp` - QSFP+ (64GFC) + // * `128gfc-qsfp28` - QSFP28 (128GFC) + // * `infiniband-sdr` - SDR (2 Gbps) + // * `infiniband-ddr` - DDR (4 Gbps) + // * `infiniband-qdr` - QDR (8 Gbps) + // * `infiniband-fdr10` - FDR10 (10 Gbps) + // * `infiniband-fdr` - FDR (13.5 Gbps) + // * `infiniband-edr` - EDR (25 Gbps) + // * `infiniband-hdr` - HDR (50 Gbps) + // * `infiniband-ndr` - NDR (100 Gbps) + // * `infiniband-xdr` - XDR (250 Gbps) + // * `t1` - T1 (1.544 Mbps) + // * `e1` - E1 (2.048 Mbps) + // * `t3` - T3 (45 Mbps) + // * `e3` - E3 (34 Mbps) + // * `xdsl` - xDSL + // * `docsis` - DOCSIS + // * `gpon` - GPON (2.5 Gbps / 1.25 Gps) + // * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + // * `xgs-pon` - XGS-PON (10 Gbps) + // * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + // * `epon` - EPON (1 Gbps) + // * `10g-epon` - 10G-EPON (10 Gbps) + // * `cisco-stackwise` - Cisco StackWise + // * `cisco-stackwise-plus` - Cisco StackWise Plus + // * `cisco-flexstack` - Cisco FlexStack + // * `cisco-flexstack-plus` - Cisco FlexStack Plus + // * `cisco-stackwise-80` - Cisco StackWise-80 + // * `cisco-stackwise-160` - Cisco StackWise-160 + // * `cisco-stackwise-320` - Cisco StackWise-320 + // * `cisco-stackwise-480` - Cisco StackWise-480 + // * `cisco-stackwise-1t` - Cisco StackWise-1T + // * `juniper-vcp` - Juniper VCP + // * `extreme-summitstack` - Extreme SummitStack + // * `extreme-summitstack-128` - Extreme SummitStack-128 + // * `extreme-summitstack-256` - Extreme SummitStack-256 + // * `extreme-summitstack-512` - Extreme SummitStack-512 + // * `other` - Other + Type InterfaceRequestType `json:"type"` + UntaggedVlan *NestedVLANRequest `json:"untagged_vlan"` + Vdcs *[]int `json:"vdcs,omitempty"` + Vrf *NestedVRFRequest `json:"vrf"` + WirelessLans *[]int `json:"wireless_lans,omitempty"` + Wwn *string `json:"wwn"` +} + +// InterfaceRequestDuplex * `half` - Half +// * `full` - Full +// * `auto` - Auto +type InterfaceRequestDuplex string + +// InterfaceRequestMode * `access` - Access +// * `tagged` - Tagged +// * `tagged-all` - Tagged (All) +type InterfaceRequestMode string + +// InterfaceRequestPoeMode * `pd` - PD +// * `pse` - PSE +type InterfaceRequestPoeMode string + +// InterfaceRequestPoeType * `type1-ieee802.3af` - 802.3af (Type 1) +// * `type2-ieee802.3at` - 802.3at (Type 2) +// * `type3-ieee802.3bt` - 802.3bt (Type 3) +// * `type4-ieee802.3bt` - 802.3bt (Type 4) +// * `passive-24v-2pair` - Passive 24V (2-pair) +// * `passive-24v-4pair` - Passive 24V (4-pair) +// * `passive-48v-2pair` - Passive 48V (2-pair) +// * `passive-48v-4pair` - Passive 48V (4-pair) +type InterfaceRequestPoeType string + +// InterfaceRequestRfChannel * `2.4g-1-2412-22` - 1 (2412 MHz) +// * `2.4g-2-2417-22` - 2 (2417 MHz) +// * `2.4g-3-2422-22` - 3 (2422 MHz) +// * `2.4g-4-2427-22` - 4 (2427 MHz) +// * `2.4g-5-2432-22` - 5 (2432 MHz) +// * `2.4g-6-2437-22` - 6 (2437 MHz) +// * `2.4g-7-2442-22` - 7 (2442 MHz) +// * `2.4g-8-2447-22` - 8 (2447 MHz) +// * `2.4g-9-2452-22` - 9 (2452 MHz) +// * `2.4g-10-2457-22` - 10 (2457 MHz) +// * `2.4g-11-2462-22` - 11 (2462 MHz) +// * `2.4g-12-2467-22` - 12 (2467 MHz) +// * `2.4g-13-2472-22` - 13 (2472 MHz) +// * `5g-32-5160-20` - 32 (5160/20 MHz) +// * `5g-34-5170-40` - 34 (5170/40 MHz) +// * `5g-36-5180-20` - 36 (5180/20 MHz) +// * `5g-38-5190-40` - 38 (5190/40 MHz) +// * `5g-40-5200-20` - 40 (5200/20 MHz) +// * `5g-42-5210-80` - 42 (5210/80 MHz) +// * `5g-44-5220-20` - 44 (5220/20 MHz) +// * `5g-46-5230-40` - 46 (5230/40 MHz) +// * `5g-48-5240-20` - 48 (5240/20 MHz) +// * `5g-50-5250-160` - 50 (5250/160 MHz) +// * `5g-52-5260-20` - 52 (5260/20 MHz) +// * `5g-54-5270-40` - 54 (5270/40 MHz) +// * `5g-56-5280-20` - 56 (5280/20 MHz) +// * `5g-58-5290-80` - 58 (5290/80 MHz) +// * `5g-60-5300-20` - 60 (5300/20 MHz) +// * `5g-62-5310-40` - 62 (5310/40 MHz) +// * `5g-64-5320-20` - 64 (5320/20 MHz) +// * `5g-100-5500-20` - 100 (5500/20 MHz) +// * `5g-102-5510-40` - 102 (5510/40 MHz) +// * `5g-104-5520-20` - 104 (5520/20 MHz) +// * `5g-106-5530-80` - 106 (5530/80 MHz) +// * `5g-108-5540-20` - 108 (5540/20 MHz) +// * `5g-110-5550-40` - 110 (5550/40 MHz) +// * `5g-112-5560-20` - 112 (5560/20 MHz) +// * `5g-114-5570-160` - 114 (5570/160 MHz) +// * `5g-116-5580-20` - 116 (5580/20 MHz) +// * `5g-118-5590-40` - 118 (5590/40 MHz) +// * `5g-120-5600-20` - 120 (5600/20 MHz) +// * `5g-122-5610-80` - 122 (5610/80 MHz) +// * `5g-124-5620-20` - 124 (5620/20 MHz) +// * `5g-126-5630-40` - 126 (5630/40 MHz) +// * `5g-128-5640-20` - 128 (5640/20 MHz) +// * `5g-132-5660-20` - 132 (5660/20 MHz) +// * `5g-134-5670-40` - 134 (5670/40 MHz) +// * `5g-136-5680-20` - 136 (5680/20 MHz) +// * `5g-138-5690-80` - 138 (5690/80 MHz) +// * `5g-140-5700-20` - 140 (5700/20 MHz) +// * `5g-142-5710-40` - 142 (5710/40 MHz) +// * `5g-144-5720-20` - 144 (5720/20 MHz) +// * `5g-149-5745-20` - 149 (5745/20 MHz) +// * `5g-151-5755-40` - 151 (5755/40 MHz) +// * `5g-153-5765-20` - 153 (5765/20 MHz) +// * `5g-155-5775-80` - 155 (5775/80 MHz) +// * `5g-157-5785-20` - 157 (5785/20 MHz) +// * `5g-159-5795-40` - 159 (5795/40 MHz) +// * `5g-161-5805-20` - 161 (5805/20 MHz) +// * `5g-163-5815-160` - 163 (5815/160 MHz) +// * `5g-165-5825-20` - 165 (5825/20 MHz) +// * `5g-167-5835-40` - 167 (5835/40 MHz) +// * `5g-169-5845-20` - 169 (5845/20 MHz) +// * `5g-171-5855-80` - 171 (5855/80 MHz) +// * `5g-173-5865-20` - 173 (5865/20 MHz) +// * `5g-175-5875-40` - 175 (5875/40 MHz) +// * `5g-177-5885-20` - 177 (5885/20 MHz) +// * `6g-1-5955-20` - 1 (5955/20 MHz) +// * `6g-3-5965-40` - 3 (5965/40 MHz) +// * `6g-5-5975-20` - 5 (5975/20 MHz) +// * `6g-7-5985-80` - 7 (5985/80 MHz) +// * `6g-9-5995-20` - 9 (5995/20 MHz) +// * `6g-11-6005-40` - 11 (6005/40 MHz) +// * `6g-13-6015-20` - 13 (6015/20 MHz) +// * `6g-15-6025-160` - 15 (6025/160 MHz) +// * `6g-17-6035-20` - 17 (6035/20 MHz) +// * `6g-19-6045-40` - 19 (6045/40 MHz) +// * `6g-21-6055-20` - 21 (6055/20 MHz) +// * `6g-23-6065-80` - 23 (6065/80 MHz) +// * `6g-25-6075-20` - 25 (6075/20 MHz) +// * `6g-27-6085-40` - 27 (6085/40 MHz) +// * `6g-29-6095-20` - 29 (6095/20 MHz) +// * `6g-31-6105-320` - 31 (6105/320 MHz) +// * `6g-33-6115-20` - 33 (6115/20 MHz) +// * `6g-35-6125-40` - 35 (6125/40 MHz) +// * `6g-37-6135-20` - 37 (6135/20 MHz) +// * `6g-39-6145-80` - 39 (6145/80 MHz) +// * `6g-41-6155-20` - 41 (6155/20 MHz) +// * `6g-43-6165-40` - 43 (6165/40 MHz) +// * `6g-45-6175-20` - 45 (6175/20 MHz) +// * `6g-47-6185-160` - 47 (6185/160 MHz) +// * `6g-49-6195-20` - 49 (6195/20 MHz) +// * `6g-51-6205-40` - 51 (6205/40 MHz) +// * `6g-53-6215-20` - 53 (6215/20 MHz) +// * `6g-55-6225-80` - 55 (6225/80 MHz) +// * `6g-57-6235-20` - 57 (6235/20 MHz) +// * `6g-59-6245-40` - 59 (6245/40 MHz) +// * `6g-61-6255-20` - 61 (6255/20 MHz) +// * `6g-65-6275-20` - 65 (6275/20 MHz) +// * `6g-67-6285-40` - 67 (6285/40 MHz) +// * `6g-69-6295-20` - 69 (6295/20 MHz) +// * `6g-71-6305-80` - 71 (6305/80 MHz) +// * `6g-73-6315-20` - 73 (6315/20 MHz) +// * `6g-75-6325-40` - 75 (6325/40 MHz) +// * `6g-77-6335-20` - 77 (6335/20 MHz) +// * `6g-79-6345-160` - 79 (6345/160 MHz) +// * `6g-81-6355-20` - 81 (6355/20 MHz) +// * `6g-83-6365-40` - 83 (6365/40 MHz) +// * `6g-85-6375-20` - 85 (6375/20 MHz) +// * `6g-87-6385-80` - 87 (6385/80 MHz) +// * `6g-89-6395-20` - 89 (6395/20 MHz) +// * `6g-91-6405-40` - 91 (6405/40 MHz) +// * `6g-93-6415-20` - 93 (6415/20 MHz) +// * `6g-95-6425-320` - 95 (6425/320 MHz) +// * `6g-97-6435-20` - 97 (6435/20 MHz) +// * `6g-99-6445-40` - 99 (6445/40 MHz) +// * `6g-101-6455-20` - 101 (6455/20 MHz) +// * `6g-103-6465-80` - 103 (6465/80 MHz) +// * `6g-105-6475-20` - 105 (6475/20 MHz) +// * `6g-107-6485-40` - 107 (6485/40 MHz) +// * `6g-109-6495-20` - 109 (6495/20 MHz) +// * `6g-111-6505-160` - 111 (6505/160 MHz) +// * `6g-113-6515-20` - 113 (6515/20 MHz) +// * `6g-115-6525-40` - 115 (6525/40 MHz) +// * `6g-117-6535-20` - 117 (6535/20 MHz) +// * `6g-119-6545-80` - 119 (6545/80 MHz) +// * `6g-121-6555-20` - 121 (6555/20 MHz) +// * `6g-123-6565-40` - 123 (6565/40 MHz) +// * `6g-125-6575-20` - 125 (6575/20 MHz) +// * `6g-129-6595-20` - 129 (6595/20 MHz) +// * `6g-131-6605-40` - 131 (6605/40 MHz) +// * `6g-133-6615-20` - 133 (6615/20 MHz) +// * `6g-135-6625-80` - 135 (6625/80 MHz) +// * `6g-137-6635-20` - 137 (6635/20 MHz) +// * `6g-139-6645-40` - 139 (6645/40 MHz) +// * `6g-141-6655-20` - 141 (6655/20 MHz) +// * `6g-143-6665-160` - 143 (6665/160 MHz) +// * `6g-145-6675-20` - 145 (6675/20 MHz) +// * `6g-147-6685-40` - 147 (6685/40 MHz) +// * `6g-149-6695-20` - 149 (6695/20 MHz) +// * `6g-151-6705-80` - 151 (6705/80 MHz) +// * `6g-153-6715-20` - 153 (6715/20 MHz) +// * `6g-155-6725-40` - 155 (6725/40 MHz) +// * `6g-157-6735-20` - 157 (6735/20 MHz) +// * `6g-159-6745-320` - 159 (6745/320 MHz) +// * `6g-161-6755-20` - 161 (6755/20 MHz) +// * `6g-163-6765-40` - 163 (6765/40 MHz) +// * `6g-165-6775-20` - 165 (6775/20 MHz) +// * `6g-167-6785-80` - 167 (6785/80 MHz) +// * `6g-169-6795-20` - 169 (6795/20 MHz) +// * `6g-171-6805-40` - 171 (6805/40 MHz) +// * `6g-173-6815-20` - 173 (6815/20 MHz) +// * `6g-175-6825-160` - 175 (6825/160 MHz) +// * `6g-177-6835-20` - 177 (6835/20 MHz) +// * `6g-179-6845-40` - 179 (6845/40 MHz) +// * `6g-181-6855-20` - 181 (6855/20 MHz) +// * `6g-183-6865-80` - 183 (6865/80 MHz) +// * `6g-185-6875-20` - 185 (6875/20 MHz) +// * `6g-187-6885-40` - 187 (6885/40 MHz) +// * `6g-189-6895-20` - 189 (6895/20 MHz) +// * `6g-193-6915-20` - 193 (6915/20 MHz) +// * `6g-195-6925-40` - 195 (6925/40 MHz) +// * `6g-197-6935-20` - 197 (6935/20 MHz) +// * `6g-199-6945-80` - 199 (6945/80 MHz) +// * `6g-201-6955-20` - 201 (6955/20 MHz) +// * `6g-203-6965-40` - 203 (6965/40 MHz) +// * `6g-205-6975-20` - 205 (6975/20 MHz) +// * `6g-207-6985-160` - 207 (6985/160 MHz) +// * `6g-209-6995-20` - 209 (6995/20 MHz) +// * `6g-211-7005-40` - 211 (7005/40 MHz) +// * `6g-213-7015-20` - 213 (7015/20 MHz) +// * `6g-215-7025-80` - 215 (7025/80 MHz) +// * `6g-217-7035-20` - 217 (7035/20 MHz) +// * `6g-219-7045-40` - 219 (7045/40 MHz) +// * `6g-221-7055-20` - 221 (7055/20 MHz) +// * `6g-225-7075-20` - 225 (7075/20 MHz) +// * `6g-227-7085-40` - 227 (7085/40 MHz) +// * `6g-229-7095-20` - 229 (7095/20 MHz) +// * `6g-233-7115-20` - 233 (7115/20 MHz) +// * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) +// * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) +// * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) +// * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) +// * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) +// * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) +// * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) +// * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) +// * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) +// * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) +// * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) +// * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) +// * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) +// * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) +// * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) +// * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) +// * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) +// * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +type InterfaceRequestRfChannel string + +// InterfaceRequestRfRole * `ap` - Access point +// * `station` - Station +type InterfaceRequestRfRole string + +// InterfaceRequestType * `virtual` - Virtual +// * `bridge` - Bridge +// * `lag` - Link Aggregation Group (LAG) +// * `100base-fx` - 100BASE-FX (10/100ME FIBER) +// * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) +// * `100base-tx` - 100BASE-TX (10/100ME) +// * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) +// * `1000base-t` - 1000BASE-T (1GE) +// * `2.5gbase-t` - 2.5GBASE-T (2.5GE) +// * `5gbase-t` - 5GBASE-T (5GE) +// * `10gbase-t` - 10GBASE-T (10GE) +// * `10gbase-cx4` - 10GBASE-CX4 (10GE) +// * `1000base-x-gbic` - GBIC (1GE) +// * `1000base-x-sfp` - SFP (1GE) +// * `10gbase-x-sfpp` - SFP+ (10GE) +// * `10gbase-x-xfp` - XFP (10GE) +// * `10gbase-x-xenpak` - XENPAK (10GE) +// * `10gbase-x-x2` - X2 (10GE) +// * `25gbase-x-sfp28` - SFP28 (25GE) +// * `50gbase-x-sfp56` - SFP56 (50GE) +// * `40gbase-x-qsfpp` - QSFP+ (40GE) +// * `50gbase-x-sfp28` - QSFP28 (50GE) +// * `100gbase-x-cfp` - CFP (100GE) +// * `100gbase-x-cfp2` - CFP2 (100GE) +// * `200gbase-x-cfp2` - CFP2 (200GE) +// * `400gbase-x-cfp2` - CFP2 (400GE) +// * `100gbase-x-cfp4` - CFP4 (100GE) +// * `100gbase-x-cxp` - CXP (100GE) +// * `100gbase-x-cpak` - Cisco CPAK (100GE) +// * `100gbase-x-dsfp` - DSFP (100GE) +// * `100gbase-x-sfpdd` - SFP-DD (100GE) +// * `100gbase-x-qsfp28` - QSFP28 (100GE) +// * `100gbase-x-qsfpdd` - QSFP-DD (100GE) +// * `200gbase-x-qsfp56` - QSFP56 (200GE) +// * `200gbase-x-qsfpdd` - QSFP-DD (200GE) +// * `400gbase-x-qsfp112` - QSFP112 (400GE) +// * `400gbase-x-qsfpdd` - QSFP-DD (400GE) +// * `400gbase-x-osfp` - OSFP (400GE) +// * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) +// * `400gbase-x-cdfp` - CDFP (400GE) +// * `400gbase-x-cfp8` - CPF8 (400GE) +// * `800gbase-x-qsfpdd` - QSFP-DD (800GE) +// * `800gbase-x-osfp` - OSFP (800GE) +// * `1000base-kx` - 1000BASE-KX (1GE) +// * `10gbase-kr` - 10GBASE-KR (10GE) +// * `10gbase-kx4` - 10GBASE-KX4 (10GE) +// * `25gbase-kr` - 25GBASE-KR (25GE) +// * `40gbase-kr4` - 40GBASE-KR4 (40GE) +// * `50gbase-kr` - 50GBASE-KR (50GE) +// * `100gbase-kp4` - 100GBASE-KP4 (100GE) +// * `100gbase-kr2` - 100GBASE-KR2 (100GE) +// * `100gbase-kr4` - 100GBASE-KR4 (100GE) +// * `ieee802.11a` - IEEE 802.11a +// * `ieee802.11g` - IEEE 802.11b/g +// * `ieee802.11n` - IEEE 802.11n +// * `ieee802.11ac` - IEEE 802.11ac +// * `ieee802.11ad` - IEEE 802.11ad +// * `ieee802.11ax` - IEEE 802.11ax +// * `ieee802.11ay` - IEEE 802.11ay +// * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) +// * `other-wireless` - Other (Wireless) +// * `gsm` - GSM +// * `cdma` - CDMA +// * `lte` - LTE +// * `sonet-oc3` - OC-3/STM-1 +// * `sonet-oc12` - OC-12/STM-4 +// * `sonet-oc48` - OC-48/STM-16 +// * `sonet-oc192` - OC-192/STM-64 +// * `sonet-oc768` - OC-768/STM-256 +// * `sonet-oc1920` - OC-1920/STM-640 +// * `sonet-oc3840` - OC-3840/STM-1234 +// * `1gfc-sfp` - SFP (1GFC) +// * `2gfc-sfp` - SFP (2GFC) +// * `4gfc-sfp` - SFP (4GFC) +// * `8gfc-sfpp` - SFP+ (8GFC) +// * `16gfc-sfpp` - SFP+ (16GFC) +// * `32gfc-sfp28` - SFP28 (32GFC) +// * `64gfc-qsfpp` - QSFP+ (64GFC) +// * `128gfc-qsfp28` - QSFP28 (128GFC) +// * `infiniband-sdr` - SDR (2 Gbps) +// * `infiniband-ddr` - DDR (4 Gbps) +// * `infiniband-qdr` - QDR (8 Gbps) +// * `infiniband-fdr10` - FDR10 (10 Gbps) +// * `infiniband-fdr` - FDR (13.5 Gbps) +// * `infiniband-edr` - EDR (25 Gbps) +// * `infiniband-hdr` - HDR (50 Gbps) +// * `infiniband-ndr` - NDR (100 Gbps) +// * `infiniband-xdr` - XDR (250 Gbps) +// * `t1` - T1 (1.544 Mbps) +// * `e1` - E1 (2.048 Mbps) +// * `t3` - T3 (45 Mbps) +// * `e3` - E3 (34 Mbps) +// * `xdsl` - xDSL +// * `docsis` - DOCSIS +// * `gpon` - GPON (2.5 Gbps / 1.25 Gps) +// * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) +// * `xgs-pon` - XGS-PON (10 Gbps) +// * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) +// * `epon` - EPON (1 Gbps) +// * `10g-epon` - 10G-EPON (10 Gbps) +// * `cisco-stackwise` - Cisco StackWise +// * `cisco-stackwise-plus` - Cisco StackWise Plus +// * `cisco-flexstack` - Cisco FlexStack +// * `cisco-flexstack-plus` - Cisco FlexStack Plus +// * `cisco-stackwise-80` - Cisco StackWise-80 +// * `cisco-stackwise-160` - Cisco StackWise-160 +// * `cisco-stackwise-320` - Cisco StackWise-320 +// * `cisco-stackwise-480` - Cisco StackWise-480 +// * `cisco-stackwise-1t` - Cisco StackWise-1T +// * `juniper-vcp` - Juniper VCP +// * `extreme-summitstack` - Extreme SummitStack +// * `extreme-summitstack-128` - Extreme SummitStack-128 +// * `extreme-summitstack-256` - Extreme SummitStack-256 +// * `extreme-summitstack-512` - Extreme SummitStack-512 +// * `other` - Other +type InterfaceRequestType string + +// InterfaceTemplate 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 InterfaceTemplate struct { + Bridge *NestedInterfaceTemplate `json:"bridge"` + Created *time.Time `json:"created"` + Description *string `json:"description,omitempty"` + DeviceType *NestedDeviceType `json:"device_type"` + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + MgmtOnly *bool `json:"mgmt_only,omitempty"` + ModuleType *NestedModuleType `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + PoeMode *struct { + Label *InterfaceTemplatePoeModeLabel `json:"label,omitempty"` + + // Value * `pd` - PD + // * `pse` - PSE + Value *InterfaceTemplatePoeModeValue `json:"value,omitempty"` + } `json:"poe_mode"` + PoeType *struct { + Label *InterfaceTemplatePoeTypeLabel `json:"label,omitempty"` + + // Value * `type1-ieee802.3af` - 802.3af (Type 1) + // * `type2-ieee802.3at` - 802.3at (Type 2) + // * `type3-ieee802.3bt` - 802.3bt (Type 3) + // * `type4-ieee802.3bt` - 802.3bt (Type 4) + // * `passive-24v-2pair` - Passive 24V (2-pair) + // * `passive-24v-4pair` - Passive 24V (4-pair) + // * `passive-48v-2pair` - Passive 48V (2-pair) + // * `passive-48v-4pair` - Passive 48V (4-pair) + Value *InterfaceTemplatePoeTypeValue `json:"value,omitempty"` + } `json:"poe_type"` + RfRole *struct { + Label *InterfaceTemplateRfRoleLabel `json:"label,omitempty"` + + // Value * `ap` - Access point + // * `station` - Station + Value *InterfaceTemplateRfRoleValue `json:"value,omitempty"` + } `json:"rf_role"` + Type struct { + Label *InterfaceTemplateTypeLabel `json:"label,omitempty"` + + // Value * `virtual` - Virtual + // * `bridge` - Bridge + // * `lag` - Link Aggregation Group (LAG) + // * `100base-fx` - 100BASE-FX (10/100ME FIBER) + // * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + // * `100base-tx` - 100BASE-TX (10/100ME) + // * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + // * `1000base-t` - 1000BASE-T (1GE) + // * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + // * `5gbase-t` - 5GBASE-T (5GE) + // * `10gbase-t` - 10GBASE-T (10GE) + // * `10gbase-cx4` - 10GBASE-CX4 (10GE) + // * `1000base-x-gbic` - GBIC (1GE) + // * `1000base-x-sfp` - SFP (1GE) + // * `10gbase-x-sfpp` - SFP+ (10GE) + // * `10gbase-x-xfp` - XFP (10GE) + // * `10gbase-x-xenpak` - XENPAK (10GE) + // * `10gbase-x-x2` - X2 (10GE) + // * `25gbase-x-sfp28` - SFP28 (25GE) + // * `50gbase-x-sfp56` - SFP56 (50GE) + // * `40gbase-x-qsfpp` - QSFP+ (40GE) + // * `50gbase-x-sfp28` - QSFP28 (50GE) + // * `100gbase-x-cfp` - CFP (100GE) + // * `100gbase-x-cfp2` - CFP2 (100GE) + // * `200gbase-x-cfp2` - CFP2 (200GE) + // * `400gbase-x-cfp2` - CFP2 (400GE) + // * `100gbase-x-cfp4` - CFP4 (100GE) + // * `100gbase-x-cxp` - CXP (100GE) + // * `100gbase-x-cpak` - Cisco CPAK (100GE) + // * `100gbase-x-dsfp` - DSFP (100GE) + // * `100gbase-x-sfpdd` - SFP-DD (100GE) + // * `100gbase-x-qsfp28` - QSFP28 (100GE) + // * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + // * `200gbase-x-qsfp56` - QSFP56 (200GE) + // * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + // * `400gbase-x-qsfp112` - QSFP112 (400GE) + // * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + // * `400gbase-x-osfp` - OSFP (400GE) + // * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + // * `400gbase-x-cdfp` - CDFP (400GE) + // * `400gbase-x-cfp8` - CPF8 (400GE) + // * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + // * `800gbase-x-osfp` - OSFP (800GE) + // * `1000base-kx` - 1000BASE-KX (1GE) + // * `10gbase-kr` - 10GBASE-KR (10GE) + // * `10gbase-kx4` - 10GBASE-KX4 (10GE) + // * `25gbase-kr` - 25GBASE-KR (25GE) + // * `40gbase-kr4` - 40GBASE-KR4 (40GE) + // * `50gbase-kr` - 50GBASE-KR (50GE) + // * `100gbase-kp4` - 100GBASE-KP4 (100GE) + // * `100gbase-kr2` - 100GBASE-KR2 (100GE) + // * `100gbase-kr4` - 100GBASE-KR4 (100GE) + // * `ieee802.11a` - IEEE 802.11a + // * `ieee802.11g` - IEEE 802.11b/g + // * `ieee802.11n` - IEEE 802.11n + // * `ieee802.11ac` - IEEE 802.11ac + // * `ieee802.11ad` - IEEE 802.11ad + // * `ieee802.11ax` - IEEE 802.11ax + // * `ieee802.11ay` - IEEE 802.11ay + // * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + // * `other-wireless` - Other (Wireless) + // * `gsm` - GSM + // * `cdma` - CDMA + // * `lte` - LTE + // * `sonet-oc3` - OC-3/STM-1 + // * `sonet-oc12` - OC-12/STM-4 + // * `sonet-oc48` - OC-48/STM-16 + // * `sonet-oc192` - OC-192/STM-64 + // * `sonet-oc768` - OC-768/STM-256 + // * `sonet-oc1920` - OC-1920/STM-640 + // * `sonet-oc3840` - OC-3840/STM-1234 + // * `1gfc-sfp` - SFP (1GFC) + // * `2gfc-sfp` - SFP (2GFC) + // * `4gfc-sfp` - SFP (4GFC) + // * `8gfc-sfpp` - SFP+ (8GFC) + // * `16gfc-sfpp` - SFP+ (16GFC) + // * `32gfc-sfp28` - SFP28 (32GFC) + // * `64gfc-qsfpp` - QSFP+ (64GFC) + // * `128gfc-qsfp28` - QSFP28 (128GFC) + // * `infiniband-sdr` - SDR (2 Gbps) + // * `infiniband-ddr` - DDR (4 Gbps) + // * `infiniband-qdr` - QDR (8 Gbps) + // * `infiniband-fdr10` - FDR10 (10 Gbps) + // * `infiniband-fdr` - FDR (13.5 Gbps) + // * `infiniband-edr` - EDR (25 Gbps) + // * `infiniband-hdr` - HDR (50 Gbps) + // * `infiniband-ndr` - NDR (100 Gbps) + // * `infiniband-xdr` - XDR (250 Gbps) + // * `t1` - T1 (1.544 Mbps) + // * `e1` - E1 (2.048 Mbps) + // * `t3` - T3 (45 Mbps) + // * `e3` - E3 (34 Mbps) + // * `xdsl` - xDSL + // * `docsis` - DOCSIS + // * `gpon` - GPON (2.5 Gbps / 1.25 Gps) + // * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + // * `xgs-pon` - XGS-PON (10 Gbps) + // * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + // * `epon` - EPON (1 Gbps) + // * `10g-epon` - 10G-EPON (10 Gbps) + // * `cisco-stackwise` - Cisco StackWise + // * `cisco-stackwise-plus` - Cisco StackWise Plus + // * `cisco-flexstack` - Cisco FlexStack + // * `cisco-flexstack-plus` - Cisco FlexStack Plus + // * `cisco-stackwise-80` - Cisco StackWise-80 + // * `cisco-stackwise-160` - Cisco StackWise-160 + // * `cisco-stackwise-320` - Cisco StackWise-320 + // * `cisco-stackwise-480` - Cisco StackWise-480 + // * `cisco-stackwise-1t` - Cisco StackWise-1T + // * `juniper-vcp` - Juniper VCP + // * `extreme-summitstack` - Extreme SummitStack + // * `extreme-summitstack-128` - Extreme SummitStack-128 + // * `extreme-summitstack-256` - Extreme SummitStack-256 + // * `extreme-summitstack-512` - Extreme SummitStack-512 + // * `other` - Other + Value *InterfaceTemplateTypeValue `json:"value,omitempty"` + } `json:"type"` + Url *string `json:"url,omitempty"` +} + +// InterfaceTemplatePoeModeLabel defines model for InterfaceTemplate.PoeMode.Label. +type InterfaceTemplatePoeModeLabel string + +// InterfaceTemplatePoeModeValue * `pd` - PD +// * `pse` - PSE +type InterfaceTemplatePoeModeValue string + +// InterfaceTemplatePoeTypeLabel defines model for InterfaceTemplate.PoeType.Label. +type InterfaceTemplatePoeTypeLabel string + +// InterfaceTemplatePoeTypeValue * `type1-ieee802.3af` - 802.3af (Type 1) +// * `type2-ieee802.3at` - 802.3at (Type 2) +// * `type3-ieee802.3bt` - 802.3bt (Type 3) +// * `type4-ieee802.3bt` - 802.3bt (Type 4) +// * `passive-24v-2pair` - Passive 24V (2-pair) +// * `passive-24v-4pair` - Passive 24V (4-pair) +// * `passive-48v-2pair` - Passive 48V (2-pair) +// * `passive-48v-4pair` - Passive 48V (4-pair) +type InterfaceTemplatePoeTypeValue string + +// InterfaceTemplateRfRoleLabel defines model for InterfaceTemplate.RfRole.Label. +type InterfaceTemplateRfRoleLabel string + +// InterfaceTemplateRfRoleValue * `ap` - Access point +// * `station` - Station +type InterfaceTemplateRfRoleValue string + +// InterfaceTemplateTypeLabel defines model for InterfaceTemplate.Type.Label. +type InterfaceTemplateTypeLabel string + +// InterfaceTemplateTypeValue * `virtual` - Virtual +// * `bridge` - Bridge +// * `lag` - Link Aggregation Group (LAG) +// * `100base-fx` - 100BASE-FX (10/100ME FIBER) +// * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) +// * `100base-tx` - 100BASE-TX (10/100ME) +// * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) +// * `1000base-t` - 1000BASE-T (1GE) +// * `2.5gbase-t` - 2.5GBASE-T (2.5GE) +// * `5gbase-t` - 5GBASE-T (5GE) +// * `10gbase-t` - 10GBASE-T (10GE) +// * `10gbase-cx4` - 10GBASE-CX4 (10GE) +// * `1000base-x-gbic` - GBIC (1GE) +// * `1000base-x-sfp` - SFP (1GE) +// * `10gbase-x-sfpp` - SFP+ (10GE) +// * `10gbase-x-xfp` - XFP (10GE) +// * `10gbase-x-xenpak` - XENPAK (10GE) +// * `10gbase-x-x2` - X2 (10GE) +// * `25gbase-x-sfp28` - SFP28 (25GE) +// * `50gbase-x-sfp56` - SFP56 (50GE) +// * `40gbase-x-qsfpp` - QSFP+ (40GE) +// * `50gbase-x-sfp28` - QSFP28 (50GE) +// * `100gbase-x-cfp` - CFP (100GE) +// * `100gbase-x-cfp2` - CFP2 (100GE) +// * `200gbase-x-cfp2` - CFP2 (200GE) +// * `400gbase-x-cfp2` - CFP2 (400GE) +// * `100gbase-x-cfp4` - CFP4 (100GE) +// * `100gbase-x-cxp` - CXP (100GE) +// * `100gbase-x-cpak` - Cisco CPAK (100GE) +// * `100gbase-x-dsfp` - DSFP (100GE) +// * `100gbase-x-sfpdd` - SFP-DD (100GE) +// * `100gbase-x-qsfp28` - QSFP28 (100GE) +// * `100gbase-x-qsfpdd` - QSFP-DD (100GE) +// * `200gbase-x-qsfp56` - QSFP56 (200GE) +// * `200gbase-x-qsfpdd` - QSFP-DD (200GE) +// * `400gbase-x-qsfp112` - QSFP112 (400GE) +// * `400gbase-x-qsfpdd` - QSFP-DD (400GE) +// * `400gbase-x-osfp` - OSFP (400GE) +// * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) +// * `400gbase-x-cdfp` - CDFP (400GE) +// * `400gbase-x-cfp8` - CPF8 (400GE) +// * `800gbase-x-qsfpdd` - QSFP-DD (800GE) +// * `800gbase-x-osfp` - OSFP (800GE) +// * `1000base-kx` - 1000BASE-KX (1GE) +// * `10gbase-kr` - 10GBASE-KR (10GE) +// * `10gbase-kx4` - 10GBASE-KX4 (10GE) +// * `25gbase-kr` - 25GBASE-KR (25GE) +// * `40gbase-kr4` - 40GBASE-KR4 (40GE) +// * `50gbase-kr` - 50GBASE-KR (50GE) +// * `100gbase-kp4` - 100GBASE-KP4 (100GE) +// * `100gbase-kr2` - 100GBASE-KR2 (100GE) +// * `100gbase-kr4` - 100GBASE-KR4 (100GE) +// * `ieee802.11a` - IEEE 802.11a +// * `ieee802.11g` - IEEE 802.11b/g +// * `ieee802.11n` - IEEE 802.11n +// * `ieee802.11ac` - IEEE 802.11ac +// * `ieee802.11ad` - IEEE 802.11ad +// * `ieee802.11ax` - IEEE 802.11ax +// * `ieee802.11ay` - IEEE 802.11ay +// * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) +// * `other-wireless` - Other (Wireless) +// * `gsm` - GSM +// * `cdma` - CDMA +// * `lte` - LTE +// * `sonet-oc3` - OC-3/STM-1 +// * `sonet-oc12` - OC-12/STM-4 +// * `sonet-oc48` - OC-48/STM-16 +// * `sonet-oc192` - OC-192/STM-64 +// * `sonet-oc768` - OC-768/STM-256 +// * `sonet-oc1920` - OC-1920/STM-640 +// * `sonet-oc3840` - OC-3840/STM-1234 +// * `1gfc-sfp` - SFP (1GFC) +// * `2gfc-sfp` - SFP (2GFC) +// * `4gfc-sfp` - SFP (4GFC) +// * `8gfc-sfpp` - SFP+ (8GFC) +// * `16gfc-sfpp` - SFP+ (16GFC) +// * `32gfc-sfp28` - SFP28 (32GFC) +// * `64gfc-qsfpp` - QSFP+ (64GFC) +// * `128gfc-qsfp28` - QSFP28 (128GFC) +// * `infiniband-sdr` - SDR (2 Gbps) +// * `infiniband-ddr` - DDR (4 Gbps) +// * `infiniband-qdr` - QDR (8 Gbps) +// * `infiniband-fdr10` - FDR10 (10 Gbps) +// * `infiniband-fdr` - FDR (13.5 Gbps) +// * `infiniband-edr` - EDR (25 Gbps) +// * `infiniband-hdr` - HDR (50 Gbps) +// * `infiniband-ndr` - NDR (100 Gbps) +// * `infiniband-xdr` - XDR (250 Gbps) +// * `t1` - T1 (1.544 Mbps) +// * `e1` - E1 (2.048 Mbps) +// * `t3` - T3 (45 Mbps) +// * `e3` - E3 (34 Mbps) +// * `xdsl` - xDSL +// * `docsis` - DOCSIS +// * `gpon` - GPON (2.5 Gbps / 1.25 Gps) +// * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) +// * `xgs-pon` - XGS-PON (10 Gbps) +// * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) +// * `epon` - EPON (1 Gbps) +// * `10g-epon` - 10G-EPON (10 Gbps) +// * `cisco-stackwise` - Cisco StackWise +// * `cisco-stackwise-plus` - Cisco StackWise Plus +// * `cisco-flexstack` - Cisco FlexStack +// * `cisco-flexstack-plus` - Cisco FlexStack Plus +// * `cisco-stackwise-80` - Cisco StackWise-80 +// * `cisco-stackwise-160` - Cisco StackWise-160 +// * `cisco-stackwise-320` - Cisco StackWise-320 +// * `cisco-stackwise-480` - Cisco StackWise-480 +// * `cisco-stackwise-1t` - Cisco StackWise-1T +// * `juniper-vcp` - Juniper VCP +// * `extreme-summitstack` - Extreme SummitStack +// * `extreme-summitstack-128` - Extreme SummitStack-128 +// * `extreme-summitstack-256` - Extreme SummitStack-256 +// * `extreme-summitstack-512` - Extreme SummitStack-512 +// * `other` - Other +type InterfaceTemplateTypeValue string + +// InterfaceTemplateRequest 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 InterfaceTemplateRequest struct { + Bridge *NestedInterfaceTemplateRequest `json:"bridge"` + Description *string `json:"description,omitempty"` + DeviceType *NestedDeviceTypeRequest `json:"device_type"` + Enabled *bool `json:"enabled,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + MgmtOnly *bool `json:"mgmt_only,omitempty"` + ModuleType *NestedModuleTypeRequest `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + + // PoeMode * `pd` - PD + // * `pse` - PSE + PoeMode *InterfaceTemplateRequestPoeMode `json:"poe_mode"` + + // PoeType * `type1-ieee802.3af` - 802.3af (Type 1) + // * `type2-ieee802.3at` - 802.3at (Type 2) + // * `type3-ieee802.3bt` - 802.3bt (Type 3) + // * `type4-ieee802.3bt` - 802.3bt (Type 4) + // * `passive-24v-2pair` - Passive 24V (2-pair) + // * `passive-24v-4pair` - Passive 24V (4-pair) + // * `passive-48v-2pair` - Passive 48V (2-pair) + // * `passive-48v-4pair` - Passive 48V (4-pair) + PoeType *InterfaceTemplateRequestPoeType `json:"poe_type"` + + // RfRole * `ap` - Access point + // * `station` - Station + RfRole *InterfaceTemplateRequestRfRole `json:"rf_role"` + + // Type * `virtual` - Virtual + // * `bridge` - Bridge + // * `lag` - Link Aggregation Group (LAG) + // * `100base-fx` - 100BASE-FX (10/100ME FIBER) + // * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + // * `100base-tx` - 100BASE-TX (10/100ME) + // * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + // * `1000base-t` - 1000BASE-T (1GE) + // * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + // * `5gbase-t` - 5GBASE-T (5GE) + // * `10gbase-t` - 10GBASE-T (10GE) + // * `10gbase-cx4` - 10GBASE-CX4 (10GE) + // * `1000base-x-gbic` - GBIC (1GE) + // * `1000base-x-sfp` - SFP (1GE) + // * `10gbase-x-sfpp` - SFP+ (10GE) + // * `10gbase-x-xfp` - XFP (10GE) + // * `10gbase-x-xenpak` - XENPAK (10GE) + // * `10gbase-x-x2` - X2 (10GE) + // * `25gbase-x-sfp28` - SFP28 (25GE) + // * `50gbase-x-sfp56` - SFP56 (50GE) + // * `40gbase-x-qsfpp` - QSFP+ (40GE) + // * `50gbase-x-sfp28` - QSFP28 (50GE) + // * `100gbase-x-cfp` - CFP (100GE) + // * `100gbase-x-cfp2` - CFP2 (100GE) + // * `200gbase-x-cfp2` - CFP2 (200GE) + // * `400gbase-x-cfp2` - CFP2 (400GE) + // * `100gbase-x-cfp4` - CFP4 (100GE) + // * `100gbase-x-cxp` - CXP (100GE) + // * `100gbase-x-cpak` - Cisco CPAK (100GE) + // * `100gbase-x-dsfp` - DSFP (100GE) + // * `100gbase-x-sfpdd` - SFP-DD (100GE) + // * `100gbase-x-qsfp28` - QSFP28 (100GE) + // * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + // * `200gbase-x-qsfp56` - QSFP56 (200GE) + // * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + // * `400gbase-x-qsfp112` - QSFP112 (400GE) + // * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + // * `400gbase-x-osfp` - OSFP (400GE) + // * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + // * `400gbase-x-cdfp` - CDFP (400GE) + // * `400gbase-x-cfp8` - CPF8 (400GE) + // * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + // * `800gbase-x-osfp` - OSFP (800GE) + // * `1000base-kx` - 1000BASE-KX (1GE) + // * `10gbase-kr` - 10GBASE-KR (10GE) + // * `10gbase-kx4` - 10GBASE-KX4 (10GE) + // * `25gbase-kr` - 25GBASE-KR (25GE) + // * `40gbase-kr4` - 40GBASE-KR4 (40GE) + // * `50gbase-kr` - 50GBASE-KR (50GE) + // * `100gbase-kp4` - 100GBASE-KP4 (100GE) + // * `100gbase-kr2` - 100GBASE-KR2 (100GE) + // * `100gbase-kr4` - 100GBASE-KR4 (100GE) + // * `ieee802.11a` - IEEE 802.11a + // * `ieee802.11g` - IEEE 802.11b/g + // * `ieee802.11n` - IEEE 802.11n + // * `ieee802.11ac` - IEEE 802.11ac + // * `ieee802.11ad` - IEEE 802.11ad + // * `ieee802.11ax` - IEEE 802.11ax + // * `ieee802.11ay` - IEEE 802.11ay + // * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + // * `other-wireless` - Other (Wireless) + // * `gsm` - GSM + // * `cdma` - CDMA + // * `lte` - LTE + // * `sonet-oc3` - OC-3/STM-1 + // * `sonet-oc12` - OC-12/STM-4 + // * `sonet-oc48` - OC-48/STM-16 + // * `sonet-oc192` - OC-192/STM-64 + // * `sonet-oc768` - OC-768/STM-256 + // * `sonet-oc1920` - OC-1920/STM-640 + // * `sonet-oc3840` - OC-3840/STM-1234 + // * `1gfc-sfp` - SFP (1GFC) + // * `2gfc-sfp` - SFP (2GFC) + // * `4gfc-sfp` - SFP (4GFC) + // * `8gfc-sfpp` - SFP+ (8GFC) + // * `16gfc-sfpp` - SFP+ (16GFC) + // * `32gfc-sfp28` - SFP28 (32GFC) + // * `64gfc-qsfpp` - QSFP+ (64GFC) + // * `128gfc-qsfp28` - QSFP28 (128GFC) + // * `infiniband-sdr` - SDR (2 Gbps) + // * `infiniband-ddr` - DDR (4 Gbps) + // * `infiniband-qdr` - QDR (8 Gbps) + // * `infiniband-fdr10` - FDR10 (10 Gbps) + // * `infiniband-fdr` - FDR (13.5 Gbps) + // * `infiniband-edr` - EDR (25 Gbps) + // * `infiniband-hdr` - HDR (50 Gbps) + // * `infiniband-ndr` - NDR (100 Gbps) + // * `infiniband-xdr` - XDR (250 Gbps) + // * `t1` - T1 (1.544 Mbps) + // * `e1` - E1 (2.048 Mbps) + // * `t3` - T3 (45 Mbps) + // * `e3` - E3 (34 Mbps) + // * `xdsl` - xDSL + // * `docsis` - DOCSIS + // * `gpon` - GPON (2.5 Gbps / 1.25 Gps) + // * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + // * `xgs-pon` - XGS-PON (10 Gbps) + // * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + // * `epon` - EPON (1 Gbps) + // * `10g-epon` - 10G-EPON (10 Gbps) + // * `cisco-stackwise` - Cisco StackWise + // * `cisco-stackwise-plus` - Cisco StackWise Plus + // * `cisco-flexstack` - Cisco FlexStack + // * `cisco-flexstack-plus` - Cisco FlexStack Plus + // * `cisco-stackwise-80` - Cisco StackWise-80 + // * `cisco-stackwise-160` - Cisco StackWise-160 + // * `cisco-stackwise-320` - Cisco StackWise-320 + // * `cisco-stackwise-480` - Cisco StackWise-480 + // * `cisco-stackwise-1t` - Cisco StackWise-1T + // * `juniper-vcp` - Juniper VCP + // * `extreme-summitstack` - Extreme SummitStack + // * `extreme-summitstack-128` - Extreme SummitStack-128 + // * `extreme-summitstack-256` - Extreme SummitStack-256 + // * `extreme-summitstack-512` - Extreme SummitStack-512 + // * `other` - Other + Type InterfaceTemplateRequestType `json:"type"` +} + +// InterfaceTemplateRequestPoeMode * `pd` - PD +// * `pse` - PSE +type InterfaceTemplateRequestPoeMode string + +// InterfaceTemplateRequestPoeType * `type1-ieee802.3af` - 802.3af (Type 1) +// * `type2-ieee802.3at` - 802.3at (Type 2) +// * `type3-ieee802.3bt` - 802.3bt (Type 3) +// * `type4-ieee802.3bt` - 802.3bt (Type 4) +// * `passive-24v-2pair` - Passive 24V (2-pair) +// * `passive-24v-4pair` - Passive 24V (4-pair) +// * `passive-48v-2pair` - Passive 48V (2-pair) +// * `passive-48v-4pair` - Passive 48V (4-pair) +type InterfaceTemplateRequestPoeType string + +// InterfaceTemplateRequestRfRole * `ap` - Access point +// * `station` - Station +type InterfaceTemplateRequestRfRole string + +// InterfaceTemplateRequestType * `virtual` - Virtual +// * `bridge` - Bridge +// * `lag` - Link Aggregation Group (LAG) +// * `100base-fx` - 100BASE-FX (10/100ME FIBER) +// * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) +// * `100base-tx` - 100BASE-TX (10/100ME) +// * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) +// * `1000base-t` - 1000BASE-T (1GE) +// * `2.5gbase-t` - 2.5GBASE-T (2.5GE) +// * `5gbase-t` - 5GBASE-T (5GE) +// * `10gbase-t` - 10GBASE-T (10GE) +// * `10gbase-cx4` - 10GBASE-CX4 (10GE) +// * `1000base-x-gbic` - GBIC (1GE) +// * `1000base-x-sfp` - SFP (1GE) +// * `10gbase-x-sfpp` - SFP+ (10GE) +// * `10gbase-x-xfp` - XFP (10GE) +// * `10gbase-x-xenpak` - XENPAK (10GE) +// * `10gbase-x-x2` - X2 (10GE) +// * `25gbase-x-sfp28` - SFP28 (25GE) +// * `50gbase-x-sfp56` - SFP56 (50GE) +// * `40gbase-x-qsfpp` - QSFP+ (40GE) +// * `50gbase-x-sfp28` - QSFP28 (50GE) +// * `100gbase-x-cfp` - CFP (100GE) +// * `100gbase-x-cfp2` - CFP2 (100GE) +// * `200gbase-x-cfp2` - CFP2 (200GE) +// * `400gbase-x-cfp2` - CFP2 (400GE) +// * `100gbase-x-cfp4` - CFP4 (100GE) +// * `100gbase-x-cxp` - CXP (100GE) +// * `100gbase-x-cpak` - Cisco CPAK (100GE) +// * `100gbase-x-dsfp` - DSFP (100GE) +// * `100gbase-x-sfpdd` - SFP-DD (100GE) +// * `100gbase-x-qsfp28` - QSFP28 (100GE) +// * `100gbase-x-qsfpdd` - QSFP-DD (100GE) +// * `200gbase-x-qsfp56` - QSFP56 (200GE) +// * `200gbase-x-qsfpdd` - QSFP-DD (200GE) +// * `400gbase-x-qsfp112` - QSFP112 (400GE) +// * `400gbase-x-qsfpdd` - QSFP-DD (400GE) +// * `400gbase-x-osfp` - OSFP (400GE) +// * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) +// * `400gbase-x-cdfp` - CDFP (400GE) +// * `400gbase-x-cfp8` - CPF8 (400GE) +// * `800gbase-x-qsfpdd` - QSFP-DD (800GE) +// * `800gbase-x-osfp` - OSFP (800GE) +// * `1000base-kx` - 1000BASE-KX (1GE) +// * `10gbase-kr` - 10GBASE-KR (10GE) +// * `10gbase-kx4` - 10GBASE-KX4 (10GE) +// * `25gbase-kr` - 25GBASE-KR (25GE) +// * `40gbase-kr4` - 40GBASE-KR4 (40GE) +// * `50gbase-kr` - 50GBASE-KR (50GE) +// * `100gbase-kp4` - 100GBASE-KP4 (100GE) +// * `100gbase-kr2` - 100GBASE-KR2 (100GE) +// * `100gbase-kr4` - 100GBASE-KR4 (100GE) +// * `ieee802.11a` - IEEE 802.11a +// * `ieee802.11g` - IEEE 802.11b/g +// * `ieee802.11n` - IEEE 802.11n +// * `ieee802.11ac` - IEEE 802.11ac +// * `ieee802.11ad` - IEEE 802.11ad +// * `ieee802.11ax` - IEEE 802.11ax +// * `ieee802.11ay` - IEEE 802.11ay +// * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) +// * `other-wireless` - Other (Wireless) +// * `gsm` - GSM +// * `cdma` - CDMA +// * `lte` - LTE +// * `sonet-oc3` - OC-3/STM-1 +// * `sonet-oc12` - OC-12/STM-4 +// * `sonet-oc48` - OC-48/STM-16 +// * `sonet-oc192` - OC-192/STM-64 +// * `sonet-oc768` - OC-768/STM-256 +// * `sonet-oc1920` - OC-1920/STM-640 +// * `sonet-oc3840` - OC-3840/STM-1234 +// * `1gfc-sfp` - SFP (1GFC) +// * `2gfc-sfp` - SFP (2GFC) +// * `4gfc-sfp` - SFP (4GFC) +// * `8gfc-sfpp` - SFP+ (8GFC) +// * `16gfc-sfpp` - SFP+ (16GFC) +// * `32gfc-sfp28` - SFP28 (32GFC) +// * `64gfc-qsfpp` - QSFP+ (64GFC) +// * `128gfc-qsfp28` - QSFP28 (128GFC) +// * `infiniband-sdr` - SDR (2 Gbps) +// * `infiniband-ddr` - DDR (4 Gbps) +// * `infiniband-qdr` - QDR (8 Gbps) +// * `infiniband-fdr10` - FDR10 (10 Gbps) +// * `infiniband-fdr` - FDR (13.5 Gbps) +// * `infiniband-edr` - EDR (25 Gbps) +// * `infiniband-hdr` - HDR (50 Gbps) +// * `infiniband-ndr` - NDR (100 Gbps) +// * `infiniband-xdr` - XDR (250 Gbps) +// * `t1` - T1 (1.544 Mbps) +// * `e1` - E1 (2.048 Mbps) +// * `t3` - T3 (45 Mbps) +// * `e3` - E3 (34 Mbps) +// * `xdsl` - xDSL +// * `docsis` - DOCSIS +// * `gpon` - GPON (2.5 Gbps / 1.25 Gps) +// * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) +// * `xgs-pon` - XGS-PON (10 Gbps) +// * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) +// * `epon` - EPON (1 Gbps) +// * `10g-epon` - 10G-EPON (10 Gbps) +// * `cisco-stackwise` - Cisco StackWise +// * `cisco-stackwise-plus` - Cisco StackWise Plus +// * `cisco-flexstack` - Cisco FlexStack +// * `cisco-flexstack-plus` - Cisco FlexStack Plus +// * `cisco-stackwise-80` - Cisco StackWise-80 +// * `cisco-stackwise-160` - Cisco StackWise-160 +// * `cisco-stackwise-320` - Cisco StackWise-320 +// * `cisco-stackwise-480` - Cisco StackWise-480 +// * `cisco-stackwise-1t` - Cisco StackWise-1T +// * `juniper-vcp` - Juniper VCP +// * `extreme-summitstack` - Extreme SummitStack +// * `extreme-summitstack-128` - Extreme SummitStack-128 +// * `extreme-summitstack-256` - Extreme SummitStack-256 +// * `extreme-summitstack-512` - Extreme SummitStack-512 +// * `other` - Other +type InterfaceTemplateRequestType string + +// InventoryItem Adds support for custom fields and tags. +type InventoryItem struct { + Depth *int `json:"_depth,omitempty"` + + // AssetTag A unique tag used to identify this item + AssetTag *string `json:"asset_tag"` + Component *map[string]interface{} `json:"component"` + ComponentId *int64 `json:"component_id"` + ComponentType *string `json:"component_type"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDevice `json:"device"` + + // Discovered This item was automatically discovered + Discovered *bool `json:"discovered,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Manufacturer *NestedManufacturer `json:"manufacturer"` + Name string `json:"name"` + Parent *int `json:"parent"` + + // PartId Manufacturer-assigned part identifier + PartId *string `json:"part_id,omitempty"` + Role *NestedInventoryItemRole `json:"role"` + Serial *string `json:"serial,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// InventoryItemRequest Adds support for custom fields and tags. +type InventoryItemRequest struct { + // AssetTag A unique tag used to identify this item + AssetTag *string `json:"asset_tag"` + ComponentId *int64 `json:"component_id"` + ComponentType *string `json:"component_type"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDeviceRequest `json:"device"` + + // Discovered This item was automatically discovered + Discovered *bool `json:"discovered,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Manufacturer *NestedManufacturerRequest `json:"manufacturer"` + Name string `json:"name"` + Parent *int `json:"parent"` + + // PartId Manufacturer-assigned part identifier + PartId *string `json:"part_id,omitempty"` + Role *NestedInventoryItemRoleRequest `json:"role"` + Serial *string `json:"serial,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// InventoryItemRole Adds support for custom fields and tags. +type InventoryItemRole struct { + Color *string `json:"color,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + InventoryitemCount *int `json:"inventoryitem_count,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// InventoryItemRoleRequest Adds support for custom fields and tags. +type InventoryItemRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// InventoryItemTemplate 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 InventoryItemTemplate struct { + Depth *int `json:"_depth,omitempty"` + Component *map[string]interface{} `json:"component"` + ComponentId *int64 `json:"component_id"` + ComponentType *string `json:"component_type"` + Created *time.Time `json:"created"` + Description *string `json:"description,omitempty"` + + // DeviceType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DeviceType NestedDeviceType `json:"device_type"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Manufacturer *NestedManufacturer `json:"manufacturer"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Parent *int `json:"parent"` + + // PartId Manufacturer-assigned part identifier + PartId *string `json:"part_id,omitempty"` + Role *NestedInventoryItemRole `json:"role"` + Url *string `json:"url,omitempty"` +} + +// InventoryItemTemplateRequest 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 InventoryItemTemplateRequest struct { + ComponentId *int64 `json:"component_id"` + ComponentType *string `json:"component_type"` + Description *string `json:"description,omitempty"` + + // DeviceType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DeviceType NestedDeviceTypeRequest `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Manufacturer *NestedManufacturerRequest `json:"manufacturer"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Parent *int `json:"parent"` + + // PartId Manufacturer-assigned part identifier + PartId *string `json:"part_id,omitempty"` + Role *NestedInventoryItemRoleRequest `json:"role"` +} + +// Job defines model for Job. +type Job struct { + Completed *time.Time `json:"completed"` + Created *time.Time `json:"created,omitempty"` + Data *map[string]interface{} `json:"data"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Interval Recurrence interval (in minutes) + Interval *int `json:"interval"` + JobId openapi_types.UUID `json:"job_id"` + Name string `json:"name"` + ObjectId *int64 `json:"object_id"` + ObjectType *string `json:"object_type,omitempty"` + Scheduled *time.Time `json:"scheduled"` + Started *time.Time `json:"started"` + Status *struct { + Label *JobStatusLabel `json:"label,omitempty"` + + // Value * `pending` - Pending + // * `scheduled` - Scheduled + // * `running` - Running + // * `completed` - Completed + // * `errored` - Errored + // * `failed` - Failed + Value *JobStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Url *string `json:"url,omitempty"` + User *NestedUser `json:"user,omitempty"` +} + +// JobStatusLabel defines model for Job.Status.Label. +type JobStatusLabel string + +// JobStatusValue * `pending` - Pending +// * `scheduled` - Scheduled +// * `running` - Running +// * `completed` - Completed +// * `errored` - Errored +// * `failed` - Failed +type JobStatusValue string + +// JournalEntry Adds support for custom fields and tags. +type JournalEntry struct { + AssignedObject *map[string]interface{} `json:"assigned_object"` + AssignedObjectId int64 `json:"assigned_object_id"` + AssignedObjectType string `json:"assigned_object_type"` + Comments string `json:"comments"` + Created *time.Time `json:"created"` + CreatedBy *int `json:"created_by"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Kind *struct { + Label *JournalEntryKindLabel `json:"label,omitempty"` + + // Value * `info` - Info + // * `success` - Success + // * `warning` - Warning + // * `danger` - Danger + Value *JournalEntryKindValue `json:"value,omitempty"` + } `json:"kind,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// JournalEntryKindLabel defines model for JournalEntry.Kind.Label. +type JournalEntryKindLabel string + +// JournalEntryKindValue * `info` - Info +// * `success` - Success +// * `warning` - Warning +// * `danger` - Danger +type JournalEntryKindValue string + +// JournalEntryRequest Adds support for custom fields and tags. +type JournalEntryRequest struct { + AssignedObjectId int64 `json:"assigned_object_id"` + AssignedObjectType string `json:"assigned_object_type"` + Comments string `json:"comments"` + CreatedBy *int `json:"created_by"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Kind * `info` - Info + // * `success` - Success + // * `warning` - Warning + // * `danger` - Danger + Kind *JournalEntryRequestKind `json:"kind,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// JournalEntryRequestKind * `info` - Info +// * `success` - Success +// * `warning` - Warning +// * `danger` - Danger +type JournalEntryRequestKind string + +// L2VPN Adds support for custom fields and tags. +type L2VPN struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + ExportTargets *[]int `json:"export_targets,omitempty"` + Id *int `json:"id,omitempty"` + Identifier *int64 `json:"identifier"` + ImportTargets *[]int `json:"import_targets,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Type *struct { + Label *L2VPNTypeLabel `json:"label,omitempty"` + + // Value * `vpws` - VPWS + // * `vpls` - VPLS + // * `vxlan` - VXLAN + // * `vxlan-evpn` - VXLAN-EVPN + // * `mpls-evpn` - MPLS EVPN + // * `pbb-evpn` - PBB EVPN + // * `epl` - EPL + // * `evpl` - EVPL + // * `ep-lan` - Ethernet Private LAN + // * `evp-lan` - Ethernet Virtual Private LAN + // * `ep-tree` - Ethernet Private Tree + // * `evp-tree` - Ethernet Virtual Private Tree + Value *L2VPNTypeValue `json:"value,omitempty"` + } `json:"type,omitempty"` + Url *string `json:"url,omitempty"` +} + +// L2VPNTypeLabel defines model for L2VPN.Type.Label. +type L2VPNTypeLabel string + +// L2VPNTypeValue * `vpws` - VPWS +// * `vpls` - VPLS +// * `vxlan` - VXLAN +// * `vxlan-evpn` - VXLAN-EVPN +// * `mpls-evpn` - MPLS EVPN +// * `pbb-evpn` - PBB EVPN +// * `epl` - EPL +// * `evpl` - EVPL +// * `ep-lan` - Ethernet Private LAN +// * `evp-lan` - Ethernet Virtual Private LAN +// * `ep-tree` - Ethernet Private Tree +// * `evp-tree` - Ethernet Virtual Private Tree +type L2VPNTypeValue string + +// L2VPNRequest Adds support for custom fields and tags. +type L2VPNRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + ExportTargets *[]int `json:"export_targets,omitempty"` + Identifier *int64 `json:"identifier"` + ImportTargets *[]int `json:"import_targets,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + + // Type * `vpws` - VPWS + // * `vpls` - VPLS + // * `vxlan` - VXLAN + // * `vxlan-evpn` - VXLAN-EVPN + // * `mpls-evpn` - MPLS EVPN + // * `pbb-evpn` - PBB EVPN + // * `epl` - EPL + // * `evpl` - EVPL + // * `ep-lan` - Ethernet Private LAN + // * `evp-lan` - Ethernet Virtual Private LAN + // * `ep-tree` - Ethernet Private Tree + // * `evp-tree` - Ethernet Virtual Private Tree + Type *L2VPNRequestType `json:"type,omitempty"` +} + +// L2VPNRequestType * `vpws` - VPWS +// * `vpls` - VPLS +// * `vxlan` - VXLAN +// * `vxlan-evpn` - VXLAN-EVPN +// * `mpls-evpn` - MPLS EVPN +// * `pbb-evpn` - PBB EVPN +// * `epl` - EPL +// * `evpl` - EVPL +// * `ep-lan` - Ethernet Private LAN +// * `evp-lan` - Ethernet Virtual Private LAN +// * `ep-tree` - Ethernet Private Tree +// * `evp-tree` - Ethernet Virtual Private Tree +type L2VPNRequestType string + +// L2VPNTermination Adds support for custom fields and tags. +type L2VPNTermination struct { + AssignedObject *map[string]interface{} `json:"assigned_object"` + AssignedObjectId int64 `json:"assigned_object_id"` + AssignedObjectType string `json:"assigned_object_type"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // L2vpn Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + L2vpn NestedL2VPN `json:"l2vpn"` + LastUpdated *time.Time `json:"last_updated"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// L2VPNTerminationRequest Adds support for custom fields and tags. +type L2VPNTerminationRequest struct { + AssignedObjectId int64 `json:"assigned_object_id"` + AssignedObjectType string `json:"assigned_object_type"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // L2vpn Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + L2vpn NestedL2VPNRequest `json:"l2vpn"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// Location Extends PrimaryModelSerializer to include MPTT support. +type Location struct { + Depth *int `json:"_depth,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Parent *NestedLocation `json:"parent"` + RackCount *int `json:"rack_count,omitempty"` + + // Site Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Site NestedSite `json:"site"` + Slug string `json:"slug"` + Status *struct { + Label *LocationStatusLabel `json:"label,omitempty"` + + // Value * `planned` - Planned + // * `staging` - Staging + // * `active` - Active + // * `decommissioning` - Decommissioning + // * `retired` - Retired + Value *LocationStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` +} + +// LocationStatusLabel defines model for Location.Status.Label. +type LocationStatusLabel string + +// LocationStatusValue * `planned` - Planned +// * `staging` - Staging +// * `active` - Active +// * `decommissioning` - Decommissioning +// * `retired` - Retired +type LocationStatusValue string + +// LocationRequest Extends PrimaryModelSerializer to include MPTT support. +type LocationRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parent *NestedLocationRequest `json:"parent"` + + // Site Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Site NestedSiteRequest `json:"site"` + Slug string `json:"slug"` + + // Status * `planned` - Planned + // * `staging` - Staging + // * `active` - Active + // * `decommissioning` - Decommissioning + // * `retired` - Retired + Status *LocationRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} + +// LocationRequestStatus * `planned` - Planned +// * `staging` - Staging +// * `active` - Active +// * `decommissioning` - Decommissioning +// * `retired` - Retired +type LocationRequestStatus string + +// Manufacturer Adds support for custom fields and tags. +type Manufacturer struct { + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DevicetypeCount *int `json:"devicetype_count,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + InventoryitemCount *int `json:"inventoryitem_count,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + PlatformCount *int `json:"platform_count,omitempty"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ManufacturerRequest Adds support for custom fields and tags. +type ManufacturerRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// Module Adds support for custom fields and tags. +type Module struct { + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDevice `json:"device"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // ModuleBay Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + ModuleBay NestedModuleBay `json:"module_bay"` + + // ModuleType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + ModuleType NestedModuleType `json:"module_type"` + Serial *string `json:"serial,omitempty"` + Status *struct { + Label *ModuleStatusLabel `json:"label,omitempty"` + + // Value * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `staged` - Staged + // * `failed` - Failed + // * `decommissioning` - Decommissioning + Value *ModuleStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ModuleStatusLabel defines model for Module.Status.Label. +type ModuleStatusLabel string + +// ModuleStatusValue * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `staged` - Staged +// * `failed` - Failed +// * `decommissioning` - Decommissioning +type ModuleStatusValue string + +// ModuleBay Adds support for custom fields and tags. +type ModuleBay struct { + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDevice `json:"device"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + InstalledModule *ModuleBayNestedModule `json:"installed_module"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + + // Position Identifier to reference when renaming installed components + Position *string `json:"position,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ModuleBayNestedModule Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type ModuleBayNestedModule struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Serial *string `json:"serial,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ModuleBayNestedModuleRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type ModuleBayNestedModuleRequest struct { + Serial *string `json:"serial,omitempty"` +} + +// ModuleBayRequest Adds support for custom fields and tags. +type ModuleBayRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDeviceRequest `json:"device"` + InstalledModule *ModuleBayNestedModuleRequest `json:"installed_module"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + + // Position Identifier to reference when renaming installed components + Position *string `json:"position,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// ModuleBayTemplate 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 ModuleBayTemplate struct { + Created *time.Time `json:"created"` + Description *string `json:"description,omitempty"` + + // DeviceType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DeviceType NestedDeviceType `json:"device_type"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + + // Position Identifier to reference when renaming installed components + Position *string `json:"position,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ModuleBayTemplateRequest 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 ModuleBayTemplateRequest struct { + Description *string `json:"description,omitempty"` + + // DeviceType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + DeviceType NestedDeviceTypeRequest `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + + // Position Identifier to reference when renaming installed components + Position *string `json:"position,omitempty"` +} + +// ModuleNestedModuleBay Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type ModuleNestedModuleBay struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// ModuleRequest Adds support for custom fields and tags. +type ModuleRequest struct { + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDeviceRequest `json:"device"` + + // ModuleBay Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + ModuleBay NestedModuleBayRequest `json:"module_bay"` + + // ModuleType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + ModuleType NestedModuleTypeRequest `json:"module_type"` + Serial *string `json:"serial,omitempty"` + + // Status * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `staged` - Staged + // * `failed` - Failed + // * `decommissioning` - Decommissioning + Status *ModuleRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// ModuleRequestStatus * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `staged` - Staged +// * `failed` - Failed +// * `decommissioning` - Decommissioning +type ModuleRequestStatus string + +// ModuleType Adds support for custom fields and tags. +type ModuleType struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Manufacturer Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Manufacturer NestedManufacturer `json:"manufacturer"` + Model string `json:"model"` + + // PartNumber Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + Weight *float64 `json:"weight"` + WeightUnit *struct { + Label *ModuleTypeWeightUnitLabel `json:"label,omitempty"` + + // Value * `kg` - Kilograms + // * `g` - Grams + // * `lb` - Pounds + // * `oz` - Ounces + Value *ModuleTypeWeightUnitValue `json:"value,omitempty"` + } `json:"weight_unit"` +} + +// ModuleTypeWeightUnitLabel defines model for ModuleType.WeightUnit.Label. +type ModuleTypeWeightUnitLabel string + +// ModuleTypeWeightUnitValue * `kg` - Kilograms +// * `g` - Grams +// * `lb` - Pounds +// * `oz` - Ounces +type ModuleTypeWeightUnitValue string + +// ModuleTypeRequest Adds support for custom fields and tags. +type ModuleTypeRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Manufacturer Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Manufacturer NestedManufacturerRequest `json:"manufacturer"` + Model string `json:"model"` + + // PartNumber Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Weight *float64 `json:"weight"` + + // WeightUnit * `kg` - Kilograms + // * `g` - Grams + // * `lb` - Pounds + // * `oz` - Ounces + WeightUnit *ModuleTypeRequestWeightUnit `json:"weight_unit"` +} + +// ModuleTypeRequestWeightUnit * `kg` - Kilograms +// * `g` - Grams +// * `lb` - Pounds +// * `oz` - Ounces +type ModuleTypeRequestWeightUnit string + +// NestedCable Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedCable struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Label *string `json:"label,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NestedCircuit Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedCircuit struct { + // Cid Unique circuit ID + Cid string `json:"cid"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NestedCircuitRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedCircuitRequest struct { + // Cid Unique circuit ID + Cid string `json:"cid"` +} + +// NestedCircuitType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedCircuitType struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedCircuitTypeRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedCircuitTypeRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedCluster Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedCluster struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedClusterGroup Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedClusterGroup struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedClusterGroupRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedClusterGroupRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedClusterRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedClusterRequest struct { + Name string `json:"name"` +} + +// NestedClusterType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedClusterType struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedClusterTypeRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedClusterTypeRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedConfigTemplate Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedConfigTemplate struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedConfigTemplateRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedConfigTemplateRequest struct { + Name string `json:"name"` +} + +// NestedContact Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedContact struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedContactGroup Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedContactGroup struct { + Depth *int `json:"_depth,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedContactGroupRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedContactGroupRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedContactRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedContactRequest struct { + Name string `json:"name"` +} + +// NestedContactRole Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedContactRole struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedContactRoleRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedContactRoleRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedCustomFieldChoiceSet Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedCustomFieldChoiceSet struct { + ChoicesCount *string `json:"choices_count,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedCustomFieldChoiceSetRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedCustomFieldChoiceSetRequest struct { + Name string `json:"name"` +} + +// NestedDataFile Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedDataFile struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Path File path relative to the data source's root + Path *string `json:"path,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NestedDataSource Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedDataSource struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedDataSourceRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedDataSourceRequest struct { + Name string `json:"name"` +} + +// NestedDevice Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedDevice struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name *string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedDeviceRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedDeviceRequest struct { + Name *string `json:"name"` +} + +// NestedDeviceRole Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedDeviceRole struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedDeviceRoleRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedDeviceRoleRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedDeviceType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedDeviceType struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Manufacturer *NestedManufacturer `json:"manufacturer,omitempty"` + Model string `json:"model"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedDeviceTypeRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedDeviceTypeRequest struct { + Model string `json:"model"` + Slug string `json:"slug"` +} + +// NestedFHRPGroup Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedFHRPGroup struct { + Display *string `json:"display,omitempty"` + GroupId int `json:"group_id"` + Id *int `json:"id,omitempty"` + + // Protocol * `vrrp2` - VRRPv2 + // * `vrrp3` - VRRPv3 + // * `carp` - CARP + // * `clusterxl` - ClusterXL + // * `hsrp` - HSRP + // * `glbp` - GLBP + // * `other` - Other + Protocol NestedFHRPGroupProtocol `json:"protocol"` + Url *string `json:"url,omitempty"` +} + +// NestedFHRPGroupProtocol * `vrrp2` - VRRPv2 +// * `vrrp3` - VRRPv3 +// * `carp` - CARP +// * `clusterxl` - ClusterXL +// * `hsrp` - HSRP +// * `glbp` - GLBP +// * `other` - Other +type NestedFHRPGroupProtocol string + +// NestedFHRPGroupRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedFHRPGroupRequest struct { + GroupId int `json:"group_id"` + + // Protocol * `vrrp2` - VRRPv2 + // * `vrrp3` - VRRPv3 + // * `carp` - CARP + // * `clusterxl` - ClusterXL + // * `hsrp` - HSRP + // * `glbp` - GLBP + // * `other` - Other + Protocol NestedFHRPGroupRequestProtocol `json:"protocol"` +} + +// NestedFHRPGroupRequestProtocol * `vrrp2` - VRRPv2 +// * `vrrp3` - VRRPv3 +// * `carp` - CARP +// * `clusterxl` - ClusterXL +// * `hsrp` - HSRP +// * `glbp` - GLBP +// * `other` - Other +type NestedFHRPGroupRequestProtocol string + +// NestedIPAddress Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedIPAddress struct { + Address string `json:"address"` + Display *string `json:"display,omitempty"` + Family *int `json:"family,omitempty"` + Id *int `json:"id,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NestedIPAddressRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedIPAddressRequest struct { + Address string `json:"address"` +} + +// NestedInterface Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedInterface struct { + Occupied *bool `json:"_occupied,omitempty"` + Cable *int `json:"cable"` + Device *NestedDevice `json:"device,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedInterfaceRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedInterfaceRequest struct { + Cable *int `json:"cable"` + Name string `json:"name"` +} + +// NestedInterfaceTemplate Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedInterfaceTemplate struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedInterfaceTemplateRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedInterfaceTemplateRequest struct { + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` +} + +// NestedInventoryItemRole Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedInventoryItemRole struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedInventoryItemRoleRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedInventoryItemRoleRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedL2VPN Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedL2VPN struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Identifier *int64 `json:"identifier"` + Name string `json:"name"` + Slug string `json:"slug"` + + // Type * `vpws` - VPWS + // * `vpls` - VPLS + // * `vxlan` - VXLAN + // * `vxlan-evpn` - VXLAN-EVPN + // * `mpls-evpn` - MPLS EVPN + // * `pbb-evpn` - PBB EVPN + // * `epl` - EPL + // * `evpl` - EVPL + // * `ep-lan` - Ethernet Private LAN + // * `evp-lan` - Ethernet Virtual Private LAN + // * `ep-tree` - Ethernet Private Tree + // * `evp-tree` - Ethernet Virtual Private Tree + Type NestedL2VPNType `json:"type"` + Url *string `json:"url,omitempty"` +} + +// NestedL2VPNType * `vpws` - VPWS +// * `vpls` - VPLS +// * `vxlan` - VXLAN +// * `vxlan-evpn` - VXLAN-EVPN +// * `mpls-evpn` - MPLS EVPN +// * `pbb-evpn` - PBB EVPN +// * `epl` - EPL +// * `evpl` - EVPL +// * `ep-lan` - Ethernet Private LAN +// * `evp-lan` - Ethernet Virtual Private LAN +// * `ep-tree` - Ethernet Private Tree +// * `evp-tree` - Ethernet Virtual Private Tree +type NestedL2VPNType string + +// NestedL2VPNRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedL2VPNRequest struct { + Identifier *int64 `json:"identifier"` + Name string `json:"name"` + Slug string `json:"slug"` + + // Type * `vpws` - VPWS + // * `vpls` - VPLS + // * `vxlan` - VXLAN + // * `vxlan-evpn` - VXLAN-EVPN + // * `mpls-evpn` - MPLS EVPN + // * `pbb-evpn` - PBB EVPN + // * `epl` - EPL + // * `evpl` - EVPL + // * `ep-lan` - Ethernet Private LAN + // * `evp-lan` - Ethernet Virtual Private LAN + // * `ep-tree` - Ethernet Private Tree + // * `evp-tree` - Ethernet Virtual Private Tree + Type NestedL2VPNRequestType `json:"type"` +} + +// NestedL2VPNRequestType * `vpws` - VPWS +// * `vpls` - VPLS +// * `vxlan` - VXLAN +// * `vxlan-evpn` - VXLAN-EVPN +// * `mpls-evpn` - MPLS EVPN +// * `pbb-evpn` - PBB EVPN +// * `epl` - EPL +// * `evpl` - EVPL +// * `ep-lan` - Ethernet Private LAN +// * `evp-lan` - Ethernet Virtual Private LAN +// * `ep-tree` - Ethernet Private Tree +// * `evp-tree` - Ethernet Virtual Private Tree +type NestedL2VPNRequestType string + +// NestedL2VPNTermination Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedL2VPNTermination struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // L2vpn Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + L2vpn NestedL2VPN `json:"l2vpn"` + Url *string `json:"url,omitempty"` +} + +// NestedLocation Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedLocation struct { + Depth *int `json:"_depth,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedLocationRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedLocationRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedManufacturer Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedManufacturer struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedManufacturerRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedManufacturerRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedModule Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedModule struct { + Device *NestedDevice `json:"device,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + ModuleBay *ModuleNestedModuleBay `json:"module_bay,omitempty"` + ModuleType *NestedModuleType `json:"module_type,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NestedModuleBay Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedModuleBay struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Module *NestedModule `json:"module"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedModuleBayRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedModuleBayRequest struct { + Name string `json:"name"` +} + +// NestedModuleType Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedModuleType struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Manufacturer *NestedManufacturer `json:"manufacturer,omitempty"` + Model string `json:"model"` + Url *string `json:"url,omitempty"` +} + +// NestedModuleTypeRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedModuleTypeRequest struct { + Model string `json:"model"` +} + +// NestedPlatform Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedPlatform struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedPlatformRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedPlatformRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedPowerPanel Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedPowerPanel struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedPowerPanelRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedPowerPanelRequest struct { + Name string `json:"name"` +} + +// NestedPowerPort Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedPowerPort struct { + Occupied *bool `json:"_occupied,omitempty"` + Cable *int `json:"cable"` + Device *NestedDevice `json:"device,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedPowerPortRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedPowerPortRequest struct { + Cable *int `json:"cable"` + Name string `json:"name"` +} + +// NestedPowerPortTemplate Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedPowerPortTemplate struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedPowerPortTemplateRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedPowerPortTemplateRequest struct { + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` +} + +// NestedProvider Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedProvider struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Name Full name of the provider + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedProviderAccount Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedProviderAccount struct { + Account string `json:"account"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NestedProviderAccountRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedProviderAccountRequest struct { + Account string `json:"account"` + Name *string `json:"name,omitempty"` +} + +// NestedProviderNetwork Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedProviderNetwork struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedProviderNetworkRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedProviderNetworkRequest struct { + Name string `json:"name"` +} + +// NestedProviderRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedProviderRequest struct { + // Name Full name of the provider + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedRIR Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedRIR struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedRIRRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedRIRRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedRack Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedRack struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedRackRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedRackRequest struct { + Name string `json:"name"` +} + +// NestedRackRole Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedRackRole struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedRackRoleRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedRackRoleRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedRearPortTemplate Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedRearPortTemplate struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedRearPortTemplateRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedRearPortTemplateRequest struct { + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` +} + +// NestedRegion Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedRegion struct { + Depth *int `json:"_depth,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedRegionRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedRegionRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedRole Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedRole struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedRoleRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedRoleRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedSite Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedSite struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Name Full name of the site + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedSiteGroup Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedSiteGroup struct { + Depth *int `json:"_depth,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedSiteGroupRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedSiteGroupRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedSiteRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedSiteRequest struct { + // Name Full name of the site + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedTag Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedTag struct { + Color *string `json:"color,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedTagRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedTagRequest struct { + Color *string `json:"color,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedTenant Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedTenant struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedTenantGroup Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedTenantGroup struct { + Depth *int `json:"_depth,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedTenantGroupRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedTenantGroupRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedTenantRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedTenantRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedUser Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedUser struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + Username string `json:"username"` +} + +// NestedUserRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedUserRequest struct { + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + Username string `json:"username"` +} + +// NestedVLAN Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedVLAN struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` + + // Vid Numeric VLAN ID (1-4094) + Vid int `json:"vid"` +} + +// NestedVLANGroup Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedVLANGroup struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedVLANGroupRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedVLANGroupRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedVLANRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedVLANRequest struct { + Name string `json:"name"` + + // Vid Numeric VLAN ID (1-4094) + Vid int `json:"vid"` +} + +// NestedVMInterface Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedVMInterface struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` + VirtualMachine *NestedVirtualMachine `json:"virtual_machine,omitempty"` +} + +// NestedVMInterfaceRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedVMInterfaceRequest struct { + Name string `json:"name"` +} + +// NestedVRF Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedVRF struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + + // Rd Unique route distinguisher (as defined in RFC 4364) + Rd *string `json:"rd"` + Url *string `json:"url,omitempty"` +} + +// NestedVRFRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedVRFRequest struct { + Name string `json:"name"` + + // Rd Unique route distinguisher (as defined in RFC 4364) + Rd *string `json:"rd"` +} + +// NestedVirtualChassis Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedVirtualChassis struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Master Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Master NestedDevice `json:"master"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedVirtualChassisRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedVirtualChassisRequest struct { + // Master Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Master NestedDeviceRequest `json:"master"` + Name string `json:"name"` +} + +// NestedVirtualMachine Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedVirtualMachine struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedVirtualMachineRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedVirtualMachineRequest struct { + Name string `json:"name"` +} + +// NestedWirelessLANGroup Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedWirelessLANGroup struct { + Depth *int `json:"_depth,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NestedWirelessLANGroupRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedWirelessLANGroupRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` +} + +// NestedWirelessLink Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a +// dictionary of attributes which can be used to uniquely identify the related object. This class should be +// subclassed to return a full representation of the related object on read. +type NestedWirelessLink struct { + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Ssid *string `json:"ssid,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ObjectChange defines model for ObjectChange. +type ObjectChange struct { + Action *struct { + Label *ObjectChangeActionLabel `json:"label,omitempty"` + + // Value * `create` - Created + // * `update` - Updated + // * `delete` - Deleted + Value *ObjectChangeActionValue `json:"value,omitempty"` + } `json:"action,omitempty"` + ChangedObject *map[string]interface{} `json:"changed_object"` + ChangedObjectId int64 `json:"changed_object_id"` + ChangedObjectType *string `json:"changed_object_type,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + PostchangeData *map[string]interface{} `json:"postchange_data"` + PrechangeData *map[string]interface{} `json:"prechange_data"` + RequestId *openapi_types.UUID `json:"request_id,omitempty"` + Time *time.Time `json:"time,omitempty"` + Url *string `json:"url,omitempty"` + User *NestedUser `json:"user,omitempty"` + UserName *string `json:"user_name,omitempty"` +} + +// ObjectChangeActionLabel defines model for ObjectChange.Action.Label. +type ObjectChangeActionLabel string + +// ObjectChangeActionValue * `create` - Created +// * `update` - Updated +// * `delete` - Deleted +type ObjectChangeActionValue string + +// ObjectPermission Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type ObjectPermission struct { + // Actions The list of actions granted by this permission + Actions []string `json:"actions"` + + // Constraints Queryset filter matching the applicable objects of the selected type(s) + Constraints *map[string]interface{} `json:"constraints"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Groups *[]int `json:"groups,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + ObjectTypes []string `json:"object_types"` + Url *string `json:"url,omitempty"` + Users *[]int `json:"users,omitempty"` +} + +// ObjectPermissionRequest 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 ObjectPermissionRequest struct { + // Actions The list of actions granted by this permission + Actions []string `json:"actions"` + + // Constraints Queryset filter matching the applicable objects of the selected type(s) + Constraints *map[string]interface{} `json:"constraints"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Groups *[]int `json:"groups,omitempty"` + Name string `json:"name"` + ObjectTypes []string `json:"object_types"` + Users *[]int `json:"users,omitempty"` +} + +// PaginatedASNList defines model for PaginatedASNList. +type PaginatedASNList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ASN `json:"results,omitempty"` +} + +// PaginatedASNRangeList defines model for PaginatedASNRangeList. +type PaginatedASNRangeList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ASNRange `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"` +} + +// PaginatedBookmarkList defines model for PaginatedBookmarkList. +type PaginatedBookmarkList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Bookmark `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"` +} + +// PaginatedCableTerminationList defines model for PaginatedCableTerminationList. +type PaginatedCableTerminationList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]CableTermination `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"` +} + +// 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"` +} + +// 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"` +} + +// PaginatedConfigTemplateList defines model for PaginatedConfigTemplateList. +type PaginatedConfigTemplateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ConfigTemplate `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"` +} + +// PaginatedContactAssignmentList defines model for PaginatedContactAssignmentList. +type PaginatedContactAssignmentList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ContactAssignment `json:"results,omitempty"` +} + +// PaginatedContactGroupList defines model for PaginatedContactGroupList. +type PaginatedContactGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ContactGroup `json:"results,omitempty"` +} + +// PaginatedContactList defines model for PaginatedContactList. +type PaginatedContactList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Contact `json:"results,omitempty"` +} + +// PaginatedContactRoleList defines model for PaginatedContactRoleList. +type PaginatedContactRoleList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ContactRole `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"` +} + +// PaginatedCustomFieldChoiceSetList defines model for PaginatedCustomFieldChoiceSetList. +type PaginatedCustomFieldChoiceSetList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]CustomFieldChoiceSet `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"` +} + +// PaginatedDataFileList defines model for PaginatedDataFileList. +type PaginatedDataFileList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]DataFile `json:"results,omitempty"` +} + +// PaginatedDataSourceList defines model for PaginatedDataSourceList. +type PaginatedDataSourceList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]DataSource `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"` +} + +// 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"` +} + +// PaginatedFHRPGroupAssignmentList defines model for PaginatedFHRPGroupAssignmentList. +type PaginatedFHRPGroupAssignmentList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]FHRPGroupAssignment `json:"results,omitempty"` +} + +// PaginatedFHRPGroupList defines model for PaginatedFHRPGroupList. +type PaginatedFHRPGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]FHRPGroup `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"` +} + +// 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"` +} + +// 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"` +} + +// PaginatedIPRangeList defines model for PaginatedIPRangeList. +type PaginatedIPRangeList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]IPRange `json:"results,omitempty"` +} + +// PaginatedImageAttachmentList defines model for PaginatedImageAttachmentList. +type PaginatedImageAttachmentList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ImageAttachment `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"` +} + +// PaginatedInventoryItemRoleList defines model for PaginatedInventoryItemRoleList. +type PaginatedInventoryItemRoleList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]InventoryItemRole `json:"results,omitempty"` +} + +// PaginatedInventoryItemTemplateList defines model for PaginatedInventoryItemTemplateList. +type PaginatedInventoryItemTemplateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]InventoryItemTemplate `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"` +} + +// PaginatedJournalEntryList defines model for PaginatedJournalEntryList. +type PaginatedJournalEntryList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]JournalEntry `json:"results,omitempty"` +} + +// PaginatedL2VPNList defines model for PaginatedL2VPNList. +type PaginatedL2VPNList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]L2VPN `json:"results,omitempty"` +} + +// PaginatedL2VPNTerminationList defines model for PaginatedL2VPNTerminationList. +type PaginatedL2VPNTerminationList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]L2VPNTermination `json:"results,omitempty"` +} + +// PaginatedLocationList defines model for PaginatedLocationList. +type PaginatedLocationList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Location `json:"results,omitempty"` +} + +// 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"` +} + +// PaginatedModuleBayList defines model for PaginatedModuleBayList. +type PaginatedModuleBayList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ModuleBay `json:"results,omitempty"` +} + +// PaginatedModuleBayTemplateList defines model for PaginatedModuleBayTemplateList. +type PaginatedModuleBayTemplateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ModuleBayTemplate `json:"results,omitempty"` +} + +// PaginatedModuleList defines model for PaginatedModuleList. +type PaginatedModuleList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Module `json:"results,omitempty"` +} + +// PaginatedModuleTypeList defines model for PaginatedModuleTypeList. +type PaginatedModuleTypeList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ModuleType `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"` +} + +// 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"` +} + +// PaginatedProviderAccountList defines model for PaginatedProviderAccountList. +type PaginatedProviderAccountList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ProviderAccount `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"` +} + +// 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"` +} + +// 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"` +} + +// 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"` +} + +// PaginatedSavedFilterList defines model for PaginatedSavedFilterList. +type PaginatedSavedFilterList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]SavedFilter `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"` +} + +// PaginatedServiceTemplateList defines model for PaginatedServiceTemplateList. +type PaginatedServiceTemplateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ServiceTemplate `json:"results,omitempty"` +} + +// PaginatedSiteGroupList defines model for PaginatedSiteGroupList. +type PaginatedSiteGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]SiteGroup `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"` +} + +// PaginatedTagList defines model for PaginatedTagList. +type PaginatedTagList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Tag `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"` +} + +// 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"` +} + +// PaginatedVirtualDeviceContextList defines model for PaginatedVirtualDeviceContextList. +type PaginatedVirtualDeviceContextList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]VirtualDeviceContext `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"` +} + +// 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"` +} + +// PaginatedWirelessLANGroupList defines model for PaginatedWirelessLANGroupList. +type PaginatedWirelessLANGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]WirelessLANGroup `json:"results,omitempty"` +} + +// PaginatedWirelessLANList defines model for PaginatedWirelessLANList. +type PaginatedWirelessLANList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]WirelessLAN `json:"results,omitempty"` +} + +// PaginatedWirelessLinkList defines model for PaginatedWirelessLinkList. +type PaginatedWirelessLinkList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]WirelessLink `json:"results,omitempty"` +} + +// PatchedCableTerminationRequest Adds support for custom fields and tags. +type PatchedCableTerminationRequest struct { + Cable *int `json:"cable,omitempty"` + + // CableEnd * `A` - A + // * `B` - B + CableEnd *PatchedCableTerminationRequestCableEnd `json:"cable_end,omitempty"` + TerminationId *int64 `json:"termination_id,omitempty"` + TerminationType *string `json:"termination_type,omitempty"` +} + +// PatchedCableTerminationRequestCableEnd * `A` - A +// * `B` - B +type PatchedCableTerminationRequestCableEnd string + +// PatchedCircuitTypeRequest Adds support for custom fields and tags. +type PatchedCircuitTypeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedClusterGroupRequest Adds support for custom fields and tags. +type PatchedClusterGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedClusterTypeRequest Adds support for custom fields and tags. +type PatchedClusterTypeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedContactRoleRequest Adds support for custom fields and tags. +type PatchedContactRoleRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedCustomLinkRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedCustomLinkRequest struct { + // ButtonClass The class of the first link in a group will be used for the dropdown button + // + // * `outline-dark` - Default + // * `blue` - Blue + // * `indigo` - Indigo + // * `purple` - Purple + // * `pink` - Pink + // * `red` - Red + // * `orange` - Orange + // * `yellow` - Yellow + // * `green` - Green + // * `teal` - Teal + // * `cyan` - Cyan + // * `gray` - Gray + // * `black` - Black + // * `white` - White + // * `ghost-dark` - Link + ButtonClass *PatchedCustomLinkRequestButtonClass `json:"button_class,omitempty"` + ContentTypes *[]string `json:"content_types,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + + // GroupName Links with the same group will appear as a dropdown menu + GroupName *string `json:"group_name,omitempty"` + + // LinkText Jinja2 template code for link text + LinkText *string `json:"link_text,omitempty"` + + // LinkUrl Jinja2 template code for link URL + LinkUrl *string `json:"link_url,omitempty"` + Name *string `json:"name,omitempty"` + + // NewWindow Force link to open in a new window + NewWindow *bool `json:"new_window,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// PatchedCustomLinkRequestButtonClass The class of the first link in a group will be used for the dropdown button +// +// * `outline-dark` - Default +// * `blue` - Blue +// * `indigo` - Indigo +// * `purple` - Purple +// * `pink` - Pink +// * `red` - Red +// * `orange` - Orange +// * `yellow` - Yellow +// * `green` - Green +// * `teal` - Teal +// * `cyan` - Cyan +// * `gray` - Gray +// * `black` - Black +// * `white` - White +// * `ghost-dark` - Link +type PatchedCustomLinkRequestButtonClass string + +// PatchedDashboardRequest defines model for PatchedDashboardRequest. +type PatchedDashboardRequest struct { + Config *map[string]interface{} `json:"config,omitempty"` + Layout *map[string]interface{} `json:"layout,omitempty"` +} + +// PatchedFHRPGroupRequest Adds support for custom fields and tags. +type PatchedFHRPGroupRequest struct { + AuthKey *string `json:"auth_key,omitempty"` + + // AuthType * `plaintext` - Plaintext + // * `md5` - MD5 + AuthType *PatchedFHRPGroupRequestAuthType `json:"auth_type,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + GroupId *int `json:"group_id,omitempty"` + Name *string `json:"name,omitempty"` + + // Protocol * `vrrp2` - VRRPv2 + // * `vrrp3` - VRRPv3 + // * `carp` - CARP + // * `clusterxl` - ClusterXL + // * `hsrp` - HSRP + // * `glbp` - GLBP + // * `other` - Other + Protocol *PatchedFHRPGroupRequestProtocol `json:"protocol,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedFHRPGroupRequestAuthType * `plaintext` - Plaintext +// * `md5` - MD5 +type PatchedFHRPGroupRequestAuthType string + +// PatchedFHRPGroupRequestProtocol * `vrrp2` - VRRPv2 +// * `vrrp3` - VRRPv3 +// * `carp` - CARP +// * `clusterxl` - ClusterXL +// * `hsrp` - HSRP +// * `glbp` - GLBP +// * `other` - Other +type PatchedFHRPGroupRequestProtocol string + +// PatchedGroupRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedGroupRequest struct { + Name *string `json:"name,omitempty"` +} + +// PatchedImageAttachmentRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedImageAttachmentRequest struct { + ContentType *string `json:"content_type,omitempty"` + Image *openapi_types.File `json:"image,omitempty"` + ImageHeight *int `json:"image_height,omitempty"` + ImageWidth *int `json:"image_width,omitempty"` + Name *string `json:"name,omitempty"` + ObjectId *int64 `json:"object_id,omitempty"` +} + +// PatchedInventoryItemRoleRequest Adds support for custom fields and tags. +type PatchedInventoryItemRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedManufacturerRequest Adds support for custom fields and tags. +type PatchedManufacturerRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedRIRRequest Adds support for custom fields and tags. +type PatchedRIRRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IsPrivate IP space managed by this RIR is considered private + IsPrivate *bool `json:"is_private,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedRackRoleRequest Adds support for custom fields and tags. +type PatchedRackRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedRoleRequest Adds support for custom fields and tags. +type PatchedRoleRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// PatchedSavedFilterRequest 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 PatchedSavedFilterRequest struct { + ContentTypes *[]string `json:"content_types,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Name *string `json:"name,omitempty"` + Parameters *map[string]interface{} `json:"parameters,omitempty"` + Shared *bool `json:"shared,omitempty"` + Slug *string `json:"slug,omitempty"` + User *int `json:"user"` + Weight *int `json:"weight,omitempty"` +} + +// PatchedTagRequest 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 PatchedTagRequest struct { + Color *string `json:"color,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + ObjectTypes *[]string `json:"object_types,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedVLANGroupRequest Adds support for custom fields and tags. +type PatchedVLANGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // MaxVid Highest permissible ID of a child VLAN + MaxVid *int `json:"max_vid,omitempty"` + + // MinVid Lowest permissible ID of a child VLAN + MinVid *int `json:"min_vid,omitempty"` + Name *string `json:"name,omitempty"` + ScopeId *int `json:"scope_id"` + ScopeType *string `json:"scope_type"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWebhookRequest Adds support for custom fields and tags. +type PatchedWebhookRequest struct { + // AdditionalHeaders User-supplied HTTP headers to be sent with the request in addition to the HTTP content type. Headers should be defined in the format Name: Value. Jinja2 template processing is supported with the same context as the request body (below). + AdditionalHeaders *string `json:"additional_headers,omitempty"` + + // BodyTemplate Jinja2 template for a custom request body. If blank, a JSON object representing the change will be included. Available context data includes: event, model, timestamp, username, request_id, and data. + BodyTemplate *string `json:"body_template,omitempty"` + + // CaFilePath The specific CA certificate file to use for SSL verification. Leave blank to use the system defaults. + CaFilePath *string `json:"ca_file_path"` + + // Conditions A set of conditions which determine whether the webhook will be generated. + Conditions *map[string]interface{} `json:"conditions"` + ContentTypes *[]string `json:"content_types,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + + // HttpContentType The complete list of official content types is available here. + HttpContentType *string `json:"http_content_type,omitempty"` + + // HttpMethod * `GET` - GET + // * `POST` - POST + // * `PUT` - PUT + // * `PATCH` - PATCH + // * `DELETE` - DELETE + HttpMethod *PatchedWebhookRequestHttpMethod `json:"http_method,omitempty"` + Name *string `json:"name,omitempty"` + + // PayloadUrl This URL will be called using the HTTP method defined when the webhook is called. Jinja2 template processing is supported with the same context as the request body. + PayloadUrl *string `json:"payload_url,omitempty"` + + // Secret When provided, the request will include a X-Hook-Signature header containing a HMAC hex digest of the payload body using the secret as the key. The secret is not transmitted in the request. + Secret *string `json:"secret,omitempty"` + + // SslVerification Enable SSL certificate verification. Disable with caution! + SslVerification *bool `json:"ssl_verification,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // TypeCreate Triggers when a matching object is created. + TypeCreate *bool `json:"type_create,omitempty"` + + // TypeDelete Triggers when a matching object is deleted. + TypeDelete *bool `json:"type_delete,omitempty"` + + // TypeJobEnd Triggers when a job for a matching object terminates. + TypeJobEnd *bool `json:"type_job_end,omitempty"` + + // TypeJobStart Triggers when a job for a matching object is started. + TypeJobStart *bool `json:"type_job_start,omitempty"` + + // TypeUpdate Triggers when a matching object is updated. + TypeUpdate *bool `json:"type_update,omitempty"` +} + +// PatchedWebhookRequestHttpMethod * `GET` - GET +// * `POST` - POST +// * `PUT` - PUT +// * `PATCH` - PATCH +// * `DELETE` - DELETE +type PatchedWebhookRequestHttpMethod string + +// PatchedWritableASNRangeRequest Adds support for custom fields and tags. +type PatchedWritableASNRangeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + End *int64 `json:"end,omitempty"` + Name *string `json:"name,omitempty"` + Rir *int `json:"rir,omitempty"` + Slug *string `json:"slug,omitempty"` + Start *int64 `json:"start,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// PatchedWritableASNRequest Adds support for custom fields and tags. +type PatchedWritableASNRequest struct { + // Asn 16- or 32-bit autonomous system number + Asn *int64 `json:"asn,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Rir Regional Internet Registry responsible for this AS number space + Rir *int `json:"rir,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// PatchedWritableAggregateRequest Adds support for custom fields and tags. +type PatchedWritableAggregateRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DateAdded *openapi_types.Date `json:"date_added"` + Description *string `json:"description,omitempty"` + Prefix *string `json:"prefix,omitempty"` + + // Rir Regional Internet Registry responsible for this IP space + Rir *int `json:"rir,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// PatchedWritableBookmarkRequest 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 PatchedWritableBookmarkRequest struct { + ObjectId *int64 `json:"object_id,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + User *int `json:"user,omitempty"` +} + +// PatchedWritableCableRequest Adds support for custom fields and tags. +type PatchedWritableCableRequest struct { + ATerminations *[]GenericObjectRequest `json:"a_terminations,omitempty"` + BTerminations *[]GenericObjectRequest `json:"b_terminations,omitempty"` + Color *string `json:"color,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Label *string `json:"label,omitempty"` + Length *float64 `json:"length"` + + // LengthUnit * `km` - Kilometers + // * `m` - Meters + // * `cm` - Centimeters + // * `mi` - Miles + // * `ft` - Feet + // * `in` - Inches + LengthUnit *PatchedWritableCableRequestLengthUnit `json:"length_unit,omitempty"` + + // Status * `connected` - Connected + // * `planned` - Planned + // * `decommissioning` - Decommissioning + Status *PatchedWritableCableRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + + // Type * `cat3` - CAT3 + // * `cat5` - CAT5 + // * `cat5e` - CAT5e + // * `cat6` - CAT6 + // * `cat6a` - CAT6a + // * `cat7` - CAT7 + // * `cat7a` - CAT7a + // * `cat8` - CAT8 + // * `dac-active` - Direct Attach Copper (Active) + // * `dac-passive` - Direct Attach Copper (Passive) + // * `mrj21-trunk` - MRJ21 Trunk + // * `coaxial` - Coaxial + // * `mmf` - Multimode Fiber + // * `mmf-om1` - Multimode Fiber (OM1) + // * `mmf-om2` - Multimode Fiber (OM2) + // * `mmf-om3` - Multimode Fiber (OM3) + // * `mmf-om4` - Multimode Fiber (OM4) + // * `mmf-om5` - Multimode Fiber (OM5) + // * `smf` - Singlemode Fiber + // * `smf-os1` - Singlemode Fiber (OS1) + // * `smf-os2` - Singlemode Fiber (OS2) + // * `aoc` - Active Optical Cabling (AOC) + // * `power` - Power + Type *PatchedWritableCableRequestType `json:"type,omitempty"` +} + +// PatchedWritableCableRequestLengthUnit * `km` - Kilometers +// * `m` - Meters +// * `cm` - Centimeters +// * `mi` - Miles +// * `ft` - Feet +// * `in` - Inches +type PatchedWritableCableRequestLengthUnit string + +// PatchedWritableCableRequestStatus * `connected` - Connected +// * `planned` - Planned +// * `decommissioning` - Decommissioning +type PatchedWritableCableRequestStatus string + +// PatchedWritableCableRequestType * `cat3` - CAT3 +// * `cat5` - CAT5 +// * `cat5e` - CAT5e +// * `cat6` - CAT6 +// * `cat6a` - CAT6a +// * `cat7` - CAT7 +// * `cat7a` - CAT7a +// * `cat8` - CAT8 +// * `dac-active` - Direct Attach Copper (Active) +// * `dac-passive` - Direct Attach Copper (Passive) +// * `mrj21-trunk` - MRJ21 Trunk +// * `coaxial` - Coaxial +// * `mmf` - Multimode Fiber +// * `mmf-om1` - Multimode Fiber (OM1) +// * `mmf-om2` - Multimode Fiber (OM2) +// * `mmf-om3` - Multimode Fiber (OM3) +// * `mmf-om4` - Multimode Fiber (OM4) +// * `mmf-om5` - Multimode Fiber (OM5) +// * `smf` - Singlemode Fiber +// * `smf-os1` - Singlemode Fiber (OS1) +// * `smf-os2` - Singlemode Fiber (OS2) +// * `aoc` - Active Optical Cabling (AOC) +// * `power` - Power +type PatchedWritableCableRequestType string + +// PatchedWritableCircuitRequest Adds support for custom fields and tags. +type PatchedWritableCircuitRequest struct { + // Cid Unique circuit ID + Cid *string `json:"cid,omitempty"` + Comments *string `json:"comments,omitempty"` + + // CommitRate Committed rate + CommitRate *int `json:"commit_rate"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + InstallDate *openapi_types.Date `json:"install_date"` + Provider *int `json:"provider,omitempty"` + ProviderAccount *int `json:"provider_account"` + + // Status * `planned` - Planned + // * `provisioning` - Provisioning + // * `active` - Active + // * `offline` - Offline + // * `deprovisioning` - Deprovisioning + // * `decommissioned` - Decommissioned + Status *PatchedWritableCircuitRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + TerminationDate *openapi_types.Date `json:"termination_date"` + Type *int `json:"type,omitempty"` +} + +// PatchedWritableCircuitRequestStatus * `planned` - Planned +// * `provisioning` - Provisioning +// * `active` - Active +// * `offline` - Offline +// * `deprovisioning` - Deprovisioning +// * `decommissioned` - Decommissioned +type PatchedWritableCircuitRequestStatus string + +// PatchedWritableCircuitTerminationRequest Adds support for custom fields and tags. +type PatchedWritableCircuitTerminationRequest struct { + Circuit *int `json:"circuit,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // PortSpeed Physical circuit speed + PortSpeed *int `json:"port_speed"` + + // PpInfo Patch panel ID and port number(s) + PpInfo *string `json:"pp_info,omitempty"` + ProviderNetwork *int `json:"provider_network"` + Site *int `json:"site"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // TermSide * `A` - A + // * `Z` - Z + TermSide *PatchedWritableCircuitTerminationRequestTermSide `json:"term_side,omitempty"` + + // UpstreamSpeed Upstream speed, if different from port speed + UpstreamSpeed *int `json:"upstream_speed"` + + // XconnectId ID of the local cross-connect + XconnectId *string `json:"xconnect_id,omitempty"` +} + +// PatchedWritableCircuitTerminationRequestTermSide * `A` - A +// * `Z` - Z +type PatchedWritableCircuitTerminationRequestTermSide string + +// PatchedWritableClusterRequest Adds support for custom fields and tags. +type PatchedWritableClusterRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *int `json:"group"` + Name *string `json:"name,omitempty"` + Site *int `json:"site"` + + // Status * `planned` - Planned + // * `staging` - Staging + // * `active` - Active + // * `decommissioning` - Decommissioning + // * `offline` - Offline + Status *PatchedWritableClusterRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + Type *int `json:"type,omitempty"` +} + +// PatchedWritableClusterRequestStatus * `planned` - Planned +// * `staging` - Staging +// * `active` - Active +// * `decommissioning` - Decommissioning +// * `offline` - Offline +type PatchedWritableClusterRequestStatus string + +// PatchedWritableConfigContextRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedWritableConfigContextRequest struct { + ClusterGroups *[]int `json:"cluster_groups,omitempty"` + ClusterTypes *[]int `json:"cluster_types,omitempty"` + Clusters *[]int `json:"clusters,omitempty"` + Data *map[string]interface{} `json:"data,omitempty"` + + // DataSource Remote data source + DataSource *int `json:"data_source"` + Description *string `json:"description,omitempty"` + DeviceTypes *[]int `json:"device_types,omitempty"` + IsActive *bool `json:"is_active,omitempty"` + Locations *[]int `json:"locations,omitempty"` + Name *string `json:"name,omitempty"` + Platforms *[]int `json:"platforms,omitempty"` + Regions *[]int `json:"regions,omitempty"` + Roles *[]int `json:"roles,omitempty"` + SiteGroups *[]int `json:"site_groups,omitempty"` + Sites *[]int `json:"sites,omitempty"` + Tags *[]string `json:"tags,omitempty"` + TenantGroups *[]int `json:"tenant_groups,omitempty"` + Tenants *[]int `json:"tenants,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// PatchedWritableConfigTemplateRequest Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment +// on create() and update(). +type PatchedWritableConfigTemplateRequest struct { + DataFile *int `json:"data_file"` + + // DataSource Remote data source + DataSource *int `json:"data_source"` + Description *string `json:"description,omitempty"` + + // EnvironmentParams Any additional parameters to pass when constructing the Jinja2 environment. + EnvironmentParams *map[string]interface{} `json:"environment_params"` + Name *string `json:"name,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // TemplateCode Jinja2 template code. + TemplateCode *string `json:"template_code,omitempty"` +} + +// PatchedWritableConsolePortRequest Adds support for custom fields and tags. +type PatchedWritableConsolePortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *int `json:"module"` + Name *string `json:"name,omitempty"` + + // Speed Port speed in bits per second + // + // * `1200` - 1200 bps + // * `2400` - 2400 bps + // * `4800` - 4800 bps + // * `9600` - 9600 bps + // * `19200` - 19.2 kbps + // * `38400` - 38.4 kbps + // * `57600` - 57.6 kbps + // * `115200` - 115.2 kbps + Speed *PatchedWritableConsolePortRequestSpeed `json:"speed"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type Physical port type + // + // * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Type *PatchedWritableConsolePortRequestType `json:"type,omitempty"` +} + +// PatchedWritableConsolePortRequestSpeed Port speed in bits per second +// +// * `1200` - 1200 bps +// * `2400` - 2400 bps +// * `4800` - 4800 bps +// * `9600` - 9600 bps +// * `19200` - 19.2 kbps +// * `38400` - 38.4 kbps +// * `57600` - 57.6 kbps +// * `115200` - 115.2 kbps +type PatchedWritableConsolePortRequestSpeed int + +// PatchedWritableConsolePortRequestType Physical port type +// +// * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type PatchedWritableConsolePortRequestType string + +// PatchedWritableConsolePortTemplateRequest 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 PatchedWritableConsolePortTemplateRequest struct { + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *int `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name *string `json:"name,omitempty"` + + // Type * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Type *PatchedWritableConsolePortTemplateRequestType `json:"type,omitempty"` +} + +// PatchedWritableConsolePortTemplateRequestType * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type PatchedWritableConsolePortTemplateRequestType string + +// PatchedWritableConsoleServerPortRequest Adds support for custom fields and tags. +type PatchedWritableConsoleServerPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *int `json:"module"` + Name *string `json:"name,omitempty"` + + // Speed Port speed in bits per second + // + // * `1200` - 1200 bps + // * `2400` - 2400 bps + // * `4800` - 4800 bps + // * `9600` - 9600 bps + // * `19200` - 19.2 kbps + // * `38400` - 38.4 kbps + // * `57600` - 57.6 kbps + // * `115200` - 115.2 kbps + Speed *PatchedWritableConsoleServerPortRequestSpeed `json:"speed"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type Physical port type + // + // * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Type *PatchedWritableConsoleServerPortRequestType `json:"type,omitempty"` +} + +// PatchedWritableConsoleServerPortRequestSpeed Port speed in bits per second +// +// * `1200` - 1200 bps +// * `2400` - 2400 bps +// * `4800` - 4800 bps +// * `9600` - 9600 bps +// * `19200` - 19.2 kbps +// * `38400` - 38.4 kbps +// * `57600` - 57.6 kbps +// * `115200` - 115.2 kbps +type PatchedWritableConsoleServerPortRequestSpeed int + +// PatchedWritableConsoleServerPortRequestType Physical port type +// +// * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type PatchedWritableConsoleServerPortRequestType string + +// PatchedWritableConsoleServerPortTemplateRequest 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 PatchedWritableConsoleServerPortTemplateRequest struct { + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *int `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name *string `json:"name,omitempty"` + + // Type * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Type *PatchedWritableConsoleServerPortTemplateRequestType `json:"type,omitempty"` +} + +// PatchedWritableConsoleServerPortTemplateRequestType * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type PatchedWritableConsoleServerPortTemplateRequestType string + +// PatchedWritableContactAssignmentRequest Adds support for custom fields and tags. +type PatchedWritableContactAssignmentRequest struct { + Contact *int `json:"contact,omitempty"` + ContentType *string `json:"content_type,omitempty"` + ObjectId *int64 `json:"object_id,omitempty"` + + // Priority * `primary` - Primary + // * `secondary` - Secondary + // * `tertiary` - Tertiary + // * `inactive` - Inactive + Priority *PatchedWritableContactAssignmentRequestPriority `json:"priority,omitempty"` + Role *int `json:"role,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableContactAssignmentRequestPriority * `primary` - Primary +// * `secondary` - Secondary +// * `tertiary` - Tertiary +// * `inactive` - Inactive +type PatchedWritableContactAssignmentRequestPriority string + +// PatchedWritableContactGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type PatchedWritableContactGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Parent *int `json:"parent"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableContactRequest Adds support for custom fields and tags. +type PatchedWritableContactRequest struct { + Address *string `json:"address,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + Group *int `json:"group"` + Link *string `json:"link,omitempty"` + Name *string `json:"name,omitempty"` + Phone *string `json:"phone,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Title *string `json:"title,omitempty"` +} + +// PatchedWritableCustomFieldChoiceSetRequest 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 PatchedWritableCustomFieldChoiceSetRequest struct { + // BaseChoices Base set of predefined choices (optional) + // + // * `IATA` - IATA (Airport codes) + // * `ISO_3166` - ISO 3166 (Country codes) + // * `UN_LOCODE` - UN/LOCODE (Location codes) + BaseChoices *PatchedWritableCustomFieldChoiceSetRequestBaseChoices `json:"base_choices,omitempty"` + Description *string `json:"description,omitempty"` + ExtraChoices *[][]string `json:"extra_choices"` + Name *string `json:"name,omitempty"` + + // OrderAlphabetically Choices are automatically ordered alphabetically + OrderAlphabetically *bool `json:"order_alphabetically,omitempty"` +} + +// PatchedWritableCustomFieldChoiceSetRequestBaseChoices Base set of predefined choices (optional) +// +// * `IATA` - IATA (Airport codes) +// * `ISO_3166` - ISO 3166 (Country codes) +// * `UN_LOCODE` - UN/LOCODE (Location codes) +type PatchedWritableCustomFieldChoiceSetRequestBaseChoices string + +// PatchedWritableCustomFieldRequest 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 PatchedWritableCustomFieldRequest struct { + ChoiceSet *int `json:"choice_set"` + ContentTypes *[]string `json:"content_types,omitempty"` + + // Default Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). + Default *map[string]interface{} `json:"default"` + Description *string `json:"description,omitempty"` + + // FilterLogic Loose matches any instance of a given string; exact matches the entire field. + // + // * `disabled` - Disabled + // * `loose` - Loose + // * `exact` - Exact + FilterLogic *PatchedWritableCustomFieldRequestFilterLogic `json:"filter_logic,omitempty"` + + // GroupName Custom fields within the same group will be displayed together + GroupName *string `json:"group_name,omitempty"` + + // IsCloneable Replicate this value when cloning objects + IsCloneable *bool `json:"is_cloneable,omitempty"` + + // Label Name of the field as displayed to users (if not provided, 'the field's name will be used) + Label *string `json:"label,omitempty"` + + // Name Internal field name + Name *string `json:"name,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + + // Required If true, this field is required when creating new objects or editing an existing object. + Required *bool `json:"required,omitempty"` + + // SearchWeight Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored. + SearchWeight *int `json:"search_weight,omitempty"` + + // Type The type of data this custom field holds + // + // * `text` - Text + // * `longtext` - Text (long) + // * `integer` - Integer + // * `decimal` - Decimal + // * `boolean` - Boolean (true/false) + // * `date` - Date + // * `datetime` - Date & time + // * `url` - URL + // * `json` - JSON + // * `select` - Selection + // * `multiselect` - Multiple selection + // * `object` - Object + // * `multiobject` - Multiple objects + Type *PatchedWritableCustomFieldRequestType `json:"type,omitempty"` + + // UiVisibility Specifies the visibility of custom field in the UI + // + // * `read-write` - Read/write + // * `read-only` - Read-only + // * `hidden` - Hidden + // * `hidden-ifunset` - Hidden (if unset) + UiVisibility *PatchedWritableCustomFieldRequestUiVisibility `json:"ui_visibility,omitempty"` + + // ValidationMaximum Maximum allowed value (for numeric fields) + ValidationMaximum *int `json:"validation_maximum"` + + // ValidationMinimum Minimum allowed value (for numeric fields) + ValidationMinimum *int `json:"validation_minimum"` + + // ValidationRegex Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. + ValidationRegex *string `json:"validation_regex,omitempty"` + + // Weight Fields with higher weights appear lower in a form. + Weight *int `json:"weight,omitempty"` +} + +// PatchedWritableCustomFieldRequestFilterLogic Loose matches any instance of a given string; exact matches the entire field. +// +// * `disabled` - Disabled +// * `loose` - Loose +// * `exact` - Exact +type PatchedWritableCustomFieldRequestFilterLogic string + +// PatchedWritableCustomFieldRequestType The type of data this custom field holds +// +// * `text` - Text +// * `longtext` - Text (long) +// * `integer` - Integer +// * `decimal` - Decimal +// * `boolean` - Boolean (true/false) +// * `date` - Date +// * `datetime` - Date & time +// * `url` - URL +// * `json` - JSON +// * `select` - Selection +// * `multiselect` - Multiple selection +// * `object` - Object +// * `multiobject` - Multiple objects +type PatchedWritableCustomFieldRequestType string + +// PatchedWritableCustomFieldRequestUiVisibility Specifies the visibility of custom field in the UI +// +// * `read-write` - Read/write +// * `read-only` - Read-only +// * `hidden` - Hidden +// * `hidden-ifunset` - Hidden (if unset) +type PatchedWritableCustomFieldRequestUiVisibility string + +// PatchedWritableDataSourceRequest Adds support for custom fields and tags. +type PatchedWritableDataSourceRequest struct { + Comments *string `json:"comments,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + + // IgnoreRules Patterns (one per line) matching files to ignore when syncing + IgnoreRules *string `json:"ignore_rules,omitempty"` + Name *string `json:"name,omitempty"` + Parameters *map[string]interface{} `json:"parameters"` + SourceUrl *string `json:"source_url,omitempty"` + + // Type * `local` - Local + // * `git` - Git + // * `amazon-s3` - Amazon S3 + Type *PatchedWritableDataSourceRequestType `json:"type,omitempty"` +} + +// PatchedWritableDataSourceRequestType * `local` - Local +// * `git` - Git +// * `amazon-s3` - Amazon S3 +type PatchedWritableDataSourceRequestType string + +// PatchedWritableDeviceBayRequest Adds support for custom fields and tags. +type PatchedWritableDeviceBayRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device,omitempty"` + InstalledDevice *int `json:"installed_device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableDeviceBayTemplateRequest 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 PatchedWritableDeviceBayTemplateRequest struct { + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name *string `json:"name,omitempty"` +} + +// PatchedWritableDeviceRoleRequest Adds support for custom fields and tags. +type PatchedWritableDeviceRoleRequest struct { + Color *string `json:"color,omitempty"` + ConfigTemplate *int `json:"config_template"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // VmRole Virtual machines may be assigned to this role + VmRole *bool `json:"vm_role,omitempty"` +} + +// PatchedWritableDeviceTypeRequest Adds support for custom fields and tags. +type PatchedWritableDeviceTypeRequest struct { + // Airflow * `front-to-rear` - Front to rear + // * `rear-to-front` - Rear to front + // * `left-to-right` - Left to right + // * `right-to-left` - Right to left + // * `side-to-rear` - Side to rear + // * `passive` - Passive + // * `mixed` - Mixed + Airflow *PatchedWritableDeviceTypeRequestAirflow `json:"airflow,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DefaultPlatform *int `json:"default_platform"` + Description *string `json:"description,omitempty"` + FrontImage *openapi_types.File `json:"front_image,omitempty"` + + // IsFullDepth Device consumes both front and rear rack faces + IsFullDepth *bool `json:"is_full_depth,omitempty"` + Manufacturer *int `json:"manufacturer,omitempty"` + Model *string `json:"model,omitempty"` + + // PartNumber Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + RearImage *openapi_types.File `json:"rear_image,omitempty"` + Slug *string `json:"slug,omitempty"` + + // SubdeviceRole Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. + // + // * `parent` - Parent + // * `child` - Child + SubdeviceRole *PatchedWritableDeviceTypeRequestSubdeviceRole `json:"subdevice_role,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + UHeight *float64 `json:"u_height,omitempty"` + Weight *float64 `json:"weight"` + + // WeightUnit * `kg` - Kilograms + // * `g` - Grams + // * `lb` - Pounds + // * `oz` - Ounces + WeightUnit *PatchedWritableDeviceTypeRequestWeightUnit `json:"weight_unit,omitempty"` +} + +// PatchedWritableDeviceTypeRequestAirflow * `front-to-rear` - Front to rear +// * `rear-to-front` - Rear to front +// * `left-to-right` - Left to right +// * `right-to-left` - Right to left +// * `side-to-rear` - Side to rear +// * `passive` - Passive +// * `mixed` - Mixed +type PatchedWritableDeviceTypeRequestAirflow string + +// PatchedWritableDeviceTypeRequestSubdeviceRole Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. +// +// * `parent` - Parent +// * `child` - Child +type PatchedWritableDeviceTypeRequestSubdeviceRole string + +// PatchedWritableDeviceTypeRequestWeightUnit * `kg` - Kilograms +// * `g` - Grams +// * `lb` - Pounds +// * `oz` - Ounces +type PatchedWritableDeviceTypeRequestWeightUnit string + +// PatchedWritableDeviceWithConfigContextRequest Adds support for custom fields and tags. +type PatchedWritableDeviceWithConfigContextRequest struct { + // Airflow * `front-to-rear` - Front to rear + // * `rear-to-front` - Rear to front + // * `left-to-right` - Left to right + // * `right-to-left` - Right to left + // * `side-to-rear` - Side to rear + // * `passive` - Passive + // * `mixed` - Mixed + Airflow *PatchedWritableDeviceWithConfigContextRequestAirflow `json:"airflow,omitempty"` + + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Cluster *int `json:"cluster"` + Comments *string `json:"comments,omitempty"` + ConfigTemplate *int `json:"config_template"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type,omitempty"` + + // Face * `front` - Front + // * `rear` - Rear + Face *PatchedWritableDeviceWithConfigContextRequestFace `json:"face,omitempty"` + + // Latitude GPS coordinate in decimal format (xx.yyyyyy) + Latitude *float64 `json:"latitude"` + + // LocalContextData Local config context data takes precedence over source contexts in the final rendered config context + LocalContextData *map[string]interface{} `json:"local_context_data"` + Location *int `json:"location"` + + // Longitude GPS coordinate in decimal format (xx.yyyyyy) + Longitude *float64 `json:"longitude"` + Name *string `json:"name"` + OobIp *int `json:"oob_ip"` + Platform *int `json:"platform"` + Position *float64 `json:"position"` + PrimaryIp4 *int `json:"primary_ip4"` + PrimaryIp6 *int `json:"primary_ip6"` + Rack *int `json:"rack"` + + // Role The function this device serves + Role *int `json:"role,omitempty"` + + // Serial Chassis serial number, assigned by the manufacturer + Serial *string `json:"serial,omitempty"` + Site *int `json:"site,omitempty"` + + // Status * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `staged` - Staged + // * `failed` - Failed + // * `inventory` - Inventory + // * `decommissioning` - Decommissioning + Status *PatchedWritableDeviceWithConfigContextRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + VcPosition *int `json:"vc_position"` + + // VcPriority Virtual chassis master election priority + VcPriority *int `json:"vc_priority"` + VirtualChassis *int `json:"virtual_chassis"` +} + +// PatchedWritableDeviceWithConfigContextRequestAirflow * `front-to-rear` - Front to rear +// * `rear-to-front` - Rear to front +// * `left-to-right` - Left to right +// * `right-to-left` - Right to left +// * `side-to-rear` - Side to rear +// * `passive` - Passive +// * `mixed` - Mixed +type PatchedWritableDeviceWithConfigContextRequestAirflow string + +// PatchedWritableDeviceWithConfigContextRequestFace * `front` - Front +// * `rear` - Rear +type PatchedWritableDeviceWithConfigContextRequestFace string + +// PatchedWritableDeviceWithConfigContextRequestStatus * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `staged` - Staged +// * `failed` - Failed +// * `inventory` - Inventory +// * `decommissioning` - Decommissioning +type PatchedWritableDeviceWithConfigContextRequestStatus string + +// PatchedWritableExportTemplateRequest 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 PatchedWritableExportTemplateRequest struct { + // AsAttachment Download file as attachment + AsAttachment *bool `json:"as_attachment,omitempty"` + ContentTypes *[]string `json:"content_types,omitempty"` + + // DataSource Remote data source + DataSource *int `json:"data_source"` + Description *string `json:"description,omitempty"` + + // FileExtension Extension to append to the rendered filename + FileExtension *string `json:"file_extension,omitempty"` + + // MimeType Defaults to text/plain; charset=utf-8 + MimeType *string `json:"mime_type,omitempty"` + Name *string `json:"name,omitempty"` + + // TemplateCode Jinja2 template code. The list of objects being exported is passed as a context variable named queryset. + TemplateCode *string `json:"template_code,omitempty"` +} + +// PatchedWritableFHRPGroupAssignmentRequest Adds support for custom fields and tags. +type PatchedWritableFHRPGroupAssignmentRequest struct { + Group *int `json:"group,omitempty"` + InterfaceId *int64 `json:"interface_id,omitempty"` + InterfaceType *string `json:"interface_type,omitempty"` + Priority *int `json:"priority,omitempty"` +} + +// PatchedWritableFrontPortRequest Adds support for custom fields and tags. +type PatchedWritableFrontPortRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *int `json:"module"` + Name *string `json:"name,omitempty"` + RearPort *int `json:"rear_port,omitempty"` + + // RearPortPosition Mapped position on corresponding rear port + RearPortPosition *int `json:"rear_port_position,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Type *PatchedWritableFrontPortRequestType `json:"type,omitempty"` +} + +// PatchedWritableFrontPortRequestType * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type PatchedWritableFrontPortRequestType string + +// PatchedWritableFrontPortTemplateRequest 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 PatchedWritableFrontPortTemplateRequest struct { + Color *string `json:"color,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *int `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name *string `json:"name,omitempty"` + RearPort *int `json:"rear_port,omitempty"` + RearPortPosition *int `json:"rear_port_position,omitempty"` + + // Type * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Type *PatchedWritableFrontPortTemplateRequestType `json:"type,omitempty"` +} + +// PatchedWritableFrontPortTemplateRequestType * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type PatchedWritableFrontPortTemplateRequestType string + +// PatchedWritableIPAddressRequest Adds support for custom fields and tags. +type PatchedWritableIPAddressRequest struct { + Address *string `json:"address,omitempty"` + AssignedObjectId *int64 `json:"assigned_object_id"` + AssignedObjectType *string `json:"assigned_object_type"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DnsName Hostname or FQDN (not case-sensitive) + DnsName *string `json:"dns_name,omitempty"` + + // NatInside The IP for which this address is the "outside" IP + NatInside *int `json:"nat_inside"` + + // Role The functional role of this IP + // + // * `loopback` - Loopback + // * `secondary` - Secondary + // * `anycast` - Anycast + // * `vip` - VIP + // * `vrrp` - VRRP + // * `hsrp` - HSRP + // * `glbp` - GLBP + // * `carp` - CARP + Role *PatchedWritableIPAddressRequestRole `json:"role,omitempty"` + + // Status The operational status of this IP + // + // * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + // * `dhcp` - DHCP + // * `slaac` - SLAAC + Status *PatchedWritableIPAddressRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + Vrf *int `json:"vrf"` +} + +// PatchedWritableIPAddressRequestRole The functional role of this IP +// +// * `loopback` - Loopback +// * `secondary` - Secondary +// * `anycast` - Anycast +// * `vip` - VIP +// * `vrrp` - VRRP +// * `hsrp` - HSRP +// * `glbp` - GLBP +// * `carp` - CARP +type PatchedWritableIPAddressRequestRole string + +// PatchedWritableIPAddressRequestStatus The operational status of this IP +// +// * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +// * `dhcp` - DHCP +// * `slaac` - SLAAC +type PatchedWritableIPAddressRequestStatus string + +// PatchedWritableIPRangeRequest Adds support for custom fields and tags. +type PatchedWritableIPRangeRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + EndAddress *string `json:"end_address,omitempty"` + + // MarkUtilized Treat as 100% utilized + MarkUtilized *bool `json:"mark_utilized,omitempty"` + + // Role The primary function of this range + Role *int `json:"role"` + StartAddress *string `json:"start_address,omitempty"` + + // Status Operational status of this range + // + // * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Status *PatchedWritableIPRangeRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + Vrf *int `json:"vrf"` +} + +// PatchedWritableIPRangeRequestStatus Operational status of this range +// +// * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +type PatchedWritableIPRangeRequestStatus string + +// PatchedWritableInterfaceRequest Adds support for custom fields and tags. +type PatchedWritableInterfaceRequest struct { + Bridge *int `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device,omitempty"` + + // Duplex * `half` - Half + // * `full` - Full + // * `auto` - Auto + Duplex *PatchedWritableInterfaceRequestDuplex `json:"duplex"` + Enabled *bool `json:"enabled,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Lag *int `json:"lag"` + MacAddress *string `json:"mac_address"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // MgmtOnly This interface is used only for out-of-band management + MgmtOnly *bool `json:"mgmt_only,omitempty"` + + // Mode IEEE 802.1Q tagging strategy + // + // * `access` - Access + // * `tagged` - Tagged + // * `tagged-all` - Tagged (All) + Mode *PatchedWritableInterfaceRequestMode `json:"mode,omitempty"` + Module *int `json:"module"` + Mtu *int `json:"mtu"` + Name *string `json:"name,omitempty"` + Parent *int `json:"parent"` + + // PoeMode * `pd` - PD + // * `pse` - PSE + PoeMode *PatchedWritableInterfaceRequestPoeMode `json:"poe_mode,omitempty"` + + // PoeType * `type1-ieee802.3af` - 802.3af (Type 1) + // * `type2-ieee802.3at` - 802.3at (Type 2) + // * `type3-ieee802.3bt` - 802.3bt (Type 3) + // * `type4-ieee802.3bt` - 802.3bt (Type 4) + // * `passive-24v-2pair` - Passive 24V (2-pair) + // * `passive-24v-4pair` - Passive 24V (4-pair) + // * `passive-48v-2pair` - Passive 48V (2-pair) + // * `passive-48v-4pair` - Passive 48V (4-pair) + PoeType *PatchedWritableInterfaceRequestPoeType `json:"poe_type,omitempty"` + + // RfChannel * `2.4g-1-2412-22` - 1 (2412 MHz) + // * `2.4g-2-2417-22` - 2 (2417 MHz) + // * `2.4g-3-2422-22` - 3 (2422 MHz) + // * `2.4g-4-2427-22` - 4 (2427 MHz) + // * `2.4g-5-2432-22` - 5 (2432 MHz) + // * `2.4g-6-2437-22` - 6 (2437 MHz) + // * `2.4g-7-2442-22` - 7 (2442 MHz) + // * `2.4g-8-2447-22` - 8 (2447 MHz) + // * `2.4g-9-2452-22` - 9 (2452 MHz) + // * `2.4g-10-2457-22` - 10 (2457 MHz) + // * `2.4g-11-2462-22` - 11 (2462 MHz) + // * `2.4g-12-2467-22` - 12 (2467 MHz) + // * `2.4g-13-2472-22` - 13 (2472 MHz) + // * `5g-32-5160-20` - 32 (5160/20 MHz) + // * `5g-34-5170-40` - 34 (5170/40 MHz) + // * `5g-36-5180-20` - 36 (5180/20 MHz) + // * `5g-38-5190-40` - 38 (5190/40 MHz) + // * `5g-40-5200-20` - 40 (5200/20 MHz) + // * `5g-42-5210-80` - 42 (5210/80 MHz) + // * `5g-44-5220-20` - 44 (5220/20 MHz) + // * `5g-46-5230-40` - 46 (5230/40 MHz) + // * `5g-48-5240-20` - 48 (5240/20 MHz) + // * `5g-50-5250-160` - 50 (5250/160 MHz) + // * `5g-52-5260-20` - 52 (5260/20 MHz) + // * `5g-54-5270-40` - 54 (5270/40 MHz) + // * `5g-56-5280-20` - 56 (5280/20 MHz) + // * `5g-58-5290-80` - 58 (5290/80 MHz) + // * `5g-60-5300-20` - 60 (5300/20 MHz) + // * `5g-62-5310-40` - 62 (5310/40 MHz) + // * `5g-64-5320-20` - 64 (5320/20 MHz) + // * `5g-100-5500-20` - 100 (5500/20 MHz) + // * `5g-102-5510-40` - 102 (5510/40 MHz) + // * `5g-104-5520-20` - 104 (5520/20 MHz) + // * `5g-106-5530-80` - 106 (5530/80 MHz) + // * `5g-108-5540-20` - 108 (5540/20 MHz) + // * `5g-110-5550-40` - 110 (5550/40 MHz) + // * `5g-112-5560-20` - 112 (5560/20 MHz) + // * `5g-114-5570-160` - 114 (5570/160 MHz) + // * `5g-116-5580-20` - 116 (5580/20 MHz) + // * `5g-118-5590-40` - 118 (5590/40 MHz) + // * `5g-120-5600-20` - 120 (5600/20 MHz) + // * `5g-122-5610-80` - 122 (5610/80 MHz) + // * `5g-124-5620-20` - 124 (5620/20 MHz) + // * `5g-126-5630-40` - 126 (5630/40 MHz) + // * `5g-128-5640-20` - 128 (5640/20 MHz) + // * `5g-132-5660-20` - 132 (5660/20 MHz) + // * `5g-134-5670-40` - 134 (5670/40 MHz) + // * `5g-136-5680-20` - 136 (5680/20 MHz) + // * `5g-138-5690-80` - 138 (5690/80 MHz) + // * `5g-140-5700-20` - 140 (5700/20 MHz) + // * `5g-142-5710-40` - 142 (5710/40 MHz) + // * `5g-144-5720-20` - 144 (5720/20 MHz) + // * `5g-149-5745-20` - 149 (5745/20 MHz) + // * `5g-151-5755-40` - 151 (5755/40 MHz) + // * `5g-153-5765-20` - 153 (5765/20 MHz) + // * `5g-155-5775-80` - 155 (5775/80 MHz) + // * `5g-157-5785-20` - 157 (5785/20 MHz) + // * `5g-159-5795-40` - 159 (5795/40 MHz) + // * `5g-161-5805-20` - 161 (5805/20 MHz) + // * `5g-163-5815-160` - 163 (5815/160 MHz) + // * `5g-165-5825-20` - 165 (5825/20 MHz) + // * `5g-167-5835-40` - 167 (5835/40 MHz) + // * `5g-169-5845-20` - 169 (5845/20 MHz) + // * `5g-171-5855-80` - 171 (5855/80 MHz) + // * `5g-173-5865-20` - 173 (5865/20 MHz) + // * `5g-175-5875-40` - 175 (5875/40 MHz) + // * `5g-177-5885-20` - 177 (5885/20 MHz) + // * `6g-1-5955-20` - 1 (5955/20 MHz) + // * `6g-3-5965-40` - 3 (5965/40 MHz) + // * `6g-5-5975-20` - 5 (5975/20 MHz) + // * `6g-7-5985-80` - 7 (5985/80 MHz) + // * `6g-9-5995-20` - 9 (5995/20 MHz) + // * `6g-11-6005-40` - 11 (6005/40 MHz) + // * `6g-13-6015-20` - 13 (6015/20 MHz) + // * `6g-15-6025-160` - 15 (6025/160 MHz) + // * `6g-17-6035-20` - 17 (6035/20 MHz) + // * `6g-19-6045-40` - 19 (6045/40 MHz) + // * `6g-21-6055-20` - 21 (6055/20 MHz) + // * `6g-23-6065-80` - 23 (6065/80 MHz) + // * `6g-25-6075-20` - 25 (6075/20 MHz) + // * `6g-27-6085-40` - 27 (6085/40 MHz) + // * `6g-29-6095-20` - 29 (6095/20 MHz) + // * `6g-31-6105-320` - 31 (6105/320 MHz) + // * `6g-33-6115-20` - 33 (6115/20 MHz) + // * `6g-35-6125-40` - 35 (6125/40 MHz) + // * `6g-37-6135-20` - 37 (6135/20 MHz) + // * `6g-39-6145-80` - 39 (6145/80 MHz) + // * `6g-41-6155-20` - 41 (6155/20 MHz) + // * `6g-43-6165-40` - 43 (6165/40 MHz) + // * `6g-45-6175-20` - 45 (6175/20 MHz) + // * `6g-47-6185-160` - 47 (6185/160 MHz) + // * `6g-49-6195-20` - 49 (6195/20 MHz) + // * `6g-51-6205-40` - 51 (6205/40 MHz) + // * `6g-53-6215-20` - 53 (6215/20 MHz) + // * `6g-55-6225-80` - 55 (6225/80 MHz) + // * `6g-57-6235-20` - 57 (6235/20 MHz) + // * `6g-59-6245-40` - 59 (6245/40 MHz) + // * `6g-61-6255-20` - 61 (6255/20 MHz) + // * `6g-65-6275-20` - 65 (6275/20 MHz) + // * `6g-67-6285-40` - 67 (6285/40 MHz) + // * `6g-69-6295-20` - 69 (6295/20 MHz) + // * `6g-71-6305-80` - 71 (6305/80 MHz) + // * `6g-73-6315-20` - 73 (6315/20 MHz) + // * `6g-75-6325-40` - 75 (6325/40 MHz) + // * `6g-77-6335-20` - 77 (6335/20 MHz) + // * `6g-79-6345-160` - 79 (6345/160 MHz) + // * `6g-81-6355-20` - 81 (6355/20 MHz) + // * `6g-83-6365-40` - 83 (6365/40 MHz) + // * `6g-85-6375-20` - 85 (6375/20 MHz) + // * `6g-87-6385-80` - 87 (6385/80 MHz) + // * `6g-89-6395-20` - 89 (6395/20 MHz) + // * `6g-91-6405-40` - 91 (6405/40 MHz) + // * `6g-93-6415-20` - 93 (6415/20 MHz) + // * `6g-95-6425-320` - 95 (6425/320 MHz) + // * `6g-97-6435-20` - 97 (6435/20 MHz) + // * `6g-99-6445-40` - 99 (6445/40 MHz) + // * `6g-101-6455-20` - 101 (6455/20 MHz) + // * `6g-103-6465-80` - 103 (6465/80 MHz) + // * `6g-105-6475-20` - 105 (6475/20 MHz) + // * `6g-107-6485-40` - 107 (6485/40 MHz) + // * `6g-109-6495-20` - 109 (6495/20 MHz) + // * `6g-111-6505-160` - 111 (6505/160 MHz) + // * `6g-113-6515-20` - 113 (6515/20 MHz) + // * `6g-115-6525-40` - 115 (6525/40 MHz) + // * `6g-117-6535-20` - 117 (6535/20 MHz) + // * `6g-119-6545-80` - 119 (6545/80 MHz) + // * `6g-121-6555-20` - 121 (6555/20 MHz) + // * `6g-123-6565-40` - 123 (6565/40 MHz) + // * `6g-125-6575-20` - 125 (6575/20 MHz) + // * `6g-129-6595-20` - 129 (6595/20 MHz) + // * `6g-131-6605-40` - 131 (6605/40 MHz) + // * `6g-133-6615-20` - 133 (6615/20 MHz) + // * `6g-135-6625-80` - 135 (6625/80 MHz) + // * `6g-137-6635-20` - 137 (6635/20 MHz) + // * `6g-139-6645-40` - 139 (6645/40 MHz) + // * `6g-141-6655-20` - 141 (6655/20 MHz) + // * `6g-143-6665-160` - 143 (6665/160 MHz) + // * `6g-145-6675-20` - 145 (6675/20 MHz) + // * `6g-147-6685-40` - 147 (6685/40 MHz) + // * `6g-149-6695-20` - 149 (6695/20 MHz) + // * `6g-151-6705-80` - 151 (6705/80 MHz) + // * `6g-153-6715-20` - 153 (6715/20 MHz) + // * `6g-155-6725-40` - 155 (6725/40 MHz) + // * `6g-157-6735-20` - 157 (6735/20 MHz) + // * `6g-159-6745-320` - 159 (6745/320 MHz) + // * `6g-161-6755-20` - 161 (6755/20 MHz) + // * `6g-163-6765-40` - 163 (6765/40 MHz) + // * `6g-165-6775-20` - 165 (6775/20 MHz) + // * `6g-167-6785-80` - 167 (6785/80 MHz) + // * `6g-169-6795-20` - 169 (6795/20 MHz) + // * `6g-171-6805-40` - 171 (6805/40 MHz) + // * `6g-173-6815-20` - 173 (6815/20 MHz) + // * `6g-175-6825-160` - 175 (6825/160 MHz) + // * `6g-177-6835-20` - 177 (6835/20 MHz) + // * `6g-179-6845-40` - 179 (6845/40 MHz) + // * `6g-181-6855-20` - 181 (6855/20 MHz) + // * `6g-183-6865-80` - 183 (6865/80 MHz) + // * `6g-185-6875-20` - 185 (6875/20 MHz) + // * `6g-187-6885-40` - 187 (6885/40 MHz) + // * `6g-189-6895-20` - 189 (6895/20 MHz) + // * `6g-193-6915-20` - 193 (6915/20 MHz) + // * `6g-195-6925-40` - 195 (6925/40 MHz) + // * `6g-197-6935-20` - 197 (6935/20 MHz) + // * `6g-199-6945-80` - 199 (6945/80 MHz) + // * `6g-201-6955-20` - 201 (6955/20 MHz) + // * `6g-203-6965-40` - 203 (6965/40 MHz) + // * `6g-205-6975-20` - 205 (6975/20 MHz) + // * `6g-207-6985-160` - 207 (6985/160 MHz) + // * `6g-209-6995-20` - 209 (6995/20 MHz) + // * `6g-211-7005-40` - 211 (7005/40 MHz) + // * `6g-213-7015-20` - 213 (7015/20 MHz) + // * `6g-215-7025-80` - 215 (7025/80 MHz) + // * `6g-217-7035-20` - 217 (7035/20 MHz) + // * `6g-219-7045-40` - 219 (7045/40 MHz) + // * `6g-221-7055-20` - 221 (7055/20 MHz) + // * `6g-225-7075-20` - 225 (7075/20 MHz) + // * `6g-227-7085-40` - 227 (7085/40 MHz) + // * `6g-229-7095-20` - 229 (7095/20 MHz) + // * `6g-233-7115-20` - 233 (7115/20 MHz) + // * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) + // * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) + // * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) + // * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) + // * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) + // * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) + // * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) + // * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) + // * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) + // * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) + // * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) + // * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) + // * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) + // * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) + // * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) + // * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) + // * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) + // * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) + RfChannel *PatchedWritableInterfaceRequestRfChannel `json:"rf_channel,omitempty"` + + // RfChannelFrequency Populated by selected channel (if set) + RfChannelFrequency *float64 `json:"rf_channel_frequency"` + + // RfChannelWidth Populated by selected channel (if set) + RfChannelWidth *float64 `json:"rf_channel_width"` + + // RfRole * `ap` - Access point + // * `station` - Station + RfRole *PatchedWritableInterfaceRequestRfRole `json:"rf_role,omitempty"` + Speed *int `json:"speed"` + TaggedVlans *[]int `json:"tagged_vlans,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + TxPower *int `json:"tx_power"` + + // Type * `virtual` - Virtual + // * `bridge` - Bridge + // * `lag` - Link Aggregation Group (LAG) + // * `100base-fx` - 100BASE-FX (10/100ME FIBER) + // * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + // * `100base-tx` - 100BASE-TX (10/100ME) + // * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + // * `1000base-t` - 1000BASE-T (1GE) + // * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + // * `5gbase-t` - 5GBASE-T (5GE) + // * `10gbase-t` - 10GBASE-T (10GE) + // * `10gbase-cx4` - 10GBASE-CX4 (10GE) + // * `1000base-x-gbic` - GBIC (1GE) + // * `1000base-x-sfp` - SFP (1GE) + // * `10gbase-x-sfpp` - SFP+ (10GE) + // * `10gbase-x-xfp` - XFP (10GE) + // * `10gbase-x-xenpak` - XENPAK (10GE) + // * `10gbase-x-x2` - X2 (10GE) + // * `25gbase-x-sfp28` - SFP28 (25GE) + // * `50gbase-x-sfp56` - SFP56 (50GE) + // * `40gbase-x-qsfpp` - QSFP+ (40GE) + // * `50gbase-x-sfp28` - QSFP28 (50GE) + // * `100gbase-x-cfp` - CFP (100GE) + // * `100gbase-x-cfp2` - CFP2 (100GE) + // * `200gbase-x-cfp2` - CFP2 (200GE) + // * `400gbase-x-cfp2` - CFP2 (400GE) + // * `100gbase-x-cfp4` - CFP4 (100GE) + // * `100gbase-x-cxp` - CXP (100GE) + // * `100gbase-x-cpak` - Cisco CPAK (100GE) + // * `100gbase-x-dsfp` - DSFP (100GE) + // * `100gbase-x-sfpdd` - SFP-DD (100GE) + // * `100gbase-x-qsfp28` - QSFP28 (100GE) + // * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + // * `200gbase-x-qsfp56` - QSFP56 (200GE) + // * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + // * `400gbase-x-qsfp112` - QSFP112 (400GE) + // * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + // * `400gbase-x-osfp` - OSFP (400GE) + // * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + // * `400gbase-x-cdfp` - CDFP (400GE) + // * `400gbase-x-cfp8` - CPF8 (400GE) + // * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + // * `800gbase-x-osfp` - OSFP (800GE) + // * `1000base-kx` - 1000BASE-KX (1GE) + // * `10gbase-kr` - 10GBASE-KR (10GE) + // * `10gbase-kx4` - 10GBASE-KX4 (10GE) + // * `25gbase-kr` - 25GBASE-KR (25GE) + // * `40gbase-kr4` - 40GBASE-KR4 (40GE) + // * `50gbase-kr` - 50GBASE-KR (50GE) + // * `100gbase-kp4` - 100GBASE-KP4 (100GE) + // * `100gbase-kr2` - 100GBASE-KR2 (100GE) + // * `100gbase-kr4` - 100GBASE-KR4 (100GE) + // * `ieee802.11a` - IEEE 802.11a + // * `ieee802.11g` - IEEE 802.11b/g + // * `ieee802.11n` - IEEE 802.11n + // * `ieee802.11ac` - IEEE 802.11ac + // * `ieee802.11ad` - IEEE 802.11ad + // * `ieee802.11ax` - IEEE 802.11ax + // * `ieee802.11ay` - IEEE 802.11ay + // * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + // * `other-wireless` - Other (Wireless) + // * `gsm` - GSM + // * `cdma` - CDMA + // * `lte` - LTE + // * `sonet-oc3` - OC-3/STM-1 + // * `sonet-oc12` - OC-12/STM-4 + // * `sonet-oc48` - OC-48/STM-16 + // * `sonet-oc192` - OC-192/STM-64 + // * `sonet-oc768` - OC-768/STM-256 + // * `sonet-oc1920` - OC-1920/STM-640 + // * `sonet-oc3840` - OC-3840/STM-1234 + // * `1gfc-sfp` - SFP (1GFC) + // * `2gfc-sfp` - SFP (2GFC) + // * `4gfc-sfp` - SFP (4GFC) + // * `8gfc-sfpp` - SFP+ (8GFC) + // * `16gfc-sfpp` - SFP+ (16GFC) + // * `32gfc-sfp28` - SFP28 (32GFC) + // * `64gfc-qsfpp` - QSFP+ (64GFC) + // * `128gfc-qsfp28` - QSFP28 (128GFC) + // * `infiniband-sdr` - SDR (2 Gbps) + // * `infiniband-ddr` - DDR (4 Gbps) + // * `infiniband-qdr` - QDR (8 Gbps) + // * `infiniband-fdr10` - FDR10 (10 Gbps) + // * `infiniband-fdr` - FDR (13.5 Gbps) + // * `infiniband-edr` - EDR (25 Gbps) + // * `infiniband-hdr` - HDR (50 Gbps) + // * `infiniband-ndr` - NDR (100 Gbps) + // * `infiniband-xdr` - XDR (250 Gbps) + // * `t1` - T1 (1.544 Mbps) + // * `e1` - E1 (2.048 Mbps) + // * `t3` - T3 (45 Mbps) + // * `e3` - E3 (34 Mbps) + // * `xdsl` - xDSL + // * `docsis` - DOCSIS + // * `gpon` - GPON (2.5 Gbps / 1.25 Gps) + // * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + // * `xgs-pon` - XGS-PON (10 Gbps) + // * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + // * `epon` - EPON (1 Gbps) + // * `10g-epon` - 10G-EPON (10 Gbps) + // * `cisco-stackwise` - Cisco StackWise + // * `cisco-stackwise-plus` - Cisco StackWise Plus + // * `cisco-flexstack` - Cisco FlexStack + // * `cisco-flexstack-plus` - Cisco FlexStack Plus + // * `cisco-stackwise-80` - Cisco StackWise-80 + // * `cisco-stackwise-160` - Cisco StackWise-160 + // * `cisco-stackwise-320` - Cisco StackWise-320 + // * `cisco-stackwise-480` - Cisco StackWise-480 + // * `cisco-stackwise-1t` - Cisco StackWise-1T + // * `juniper-vcp` - Juniper VCP + // * `extreme-summitstack` - Extreme SummitStack + // * `extreme-summitstack-128` - Extreme SummitStack-128 + // * `extreme-summitstack-256` - Extreme SummitStack-256 + // * `extreme-summitstack-512` - Extreme SummitStack-512 + // * `other` - Other + Type *PatchedWritableInterfaceRequestType `json:"type,omitempty"` + UntaggedVlan *int `json:"untagged_vlan"` + Vdcs *[]int `json:"vdcs,omitempty"` + Vrf *int `json:"vrf"` + WirelessLans *[]int `json:"wireless_lans,omitempty"` + Wwn *string `json:"wwn"` +} + +// PatchedWritableInterfaceRequestDuplex * `half` - Half +// * `full` - Full +// * `auto` - Auto +type PatchedWritableInterfaceRequestDuplex string + +// PatchedWritableInterfaceRequestMode IEEE 802.1Q tagging strategy +// +// * `access` - Access +// * `tagged` - Tagged +// * `tagged-all` - Tagged (All) +type PatchedWritableInterfaceRequestMode string + +// PatchedWritableInterfaceRequestPoeMode * `pd` - PD +// * `pse` - PSE +type PatchedWritableInterfaceRequestPoeMode string + +// PatchedWritableInterfaceRequestPoeType * `type1-ieee802.3af` - 802.3af (Type 1) +// * `type2-ieee802.3at` - 802.3at (Type 2) +// * `type3-ieee802.3bt` - 802.3bt (Type 3) +// * `type4-ieee802.3bt` - 802.3bt (Type 4) +// * `passive-24v-2pair` - Passive 24V (2-pair) +// * `passive-24v-4pair` - Passive 24V (4-pair) +// * `passive-48v-2pair` - Passive 48V (2-pair) +// * `passive-48v-4pair` - Passive 48V (4-pair) +type PatchedWritableInterfaceRequestPoeType string + +// PatchedWritableInterfaceRequestRfChannel * `2.4g-1-2412-22` - 1 (2412 MHz) +// * `2.4g-2-2417-22` - 2 (2417 MHz) +// * `2.4g-3-2422-22` - 3 (2422 MHz) +// * `2.4g-4-2427-22` - 4 (2427 MHz) +// * `2.4g-5-2432-22` - 5 (2432 MHz) +// * `2.4g-6-2437-22` - 6 (2437 MHz) +// * `2.4g-7-2442-22` - 7 (2442 MHz) +// * `2.4g-8-2447-22` - 8 (2447 MHz) +// * `2.4g-9-2452-22` - 9 (2452 MHz) +// * `2.4g-10-2457-22` - 10 (2457 MHz) +// * `2.4g-11-2462-22` - 11 (2462 MHz) +// * `2.4g-12-2467-22` - 12 (2467 MHz) +// * `2.4g-13-2472-22` - 13 (2472 MHz) +// * `5g-32-5160-20` - 32 (5160/20 MHz) +// * `5g-34-5170-40` - 34 (5170/40 MHz) +// * `5g-36-5180-20` - 36 (5180/20 MHz) +// * `5g-38-5190-40` - 38 (5190/40 MHz) +// * `5g-40-5200-20` - 40 (5200/20 MHz) +// * `5g-42-5210-80` - 42 (5210/80 MHz) +// * `5g-44-5220-20` - 44 (5220/20 MHz) +// * `5g-46-5230-40` - 46 (5230/40 MHz) +// * `5g-48-5240-20` - 48 (5240/20 MHz) +// * `5g-50-5250-160` - 50 (5250/160 MHz) +// * `5g-52-5260-20` - 52 (5260/20 MHz) +// * `5g-54-5270-40` - 54 (5270/40 MHz) +// * `5g-56-5280-20` - 56 (5280/20 MHz) +// * `5g-58-5290-80` - 58 (5290/80 MHz) +// * `5g-60-5300-20` - 60 (5300/20 MHz) +// * `5g-62-5310-40` - 62 (5310/40 MHz) +// * `5g-64-5320-20` - 64 (5320/20 MHz) +// * `5g-100-5500-20` - 100 (5500/20 MHz) +// * `5g-102-5510-40` - 102 (5510/40 MHz) +// * `5g-104-5520-20` - 104 (5520/20 MHz) +// * `5g-106-5530-80` - 106 (5530/80 MHz) +// * `5g-108-5540-20` - 108 (5540/20 MHz) +// * `5g-110-5550-40` - 110 (5550/40 MHz) +// * `5g-112-5560-20` - 112 (5560/20 MHz) +// * `5g-114-5570-160` - 114 (5570/160 MHz) +// * `5g-116-5580-20` - 116 (5580/20 MHz) +// * `5g-118-5590-40` - 118 (5590/40 MHz) +// * `5g-120-5600-20` - 120 (5600/20 MHz) +// * `5g-122-5610-80` - 122 (5610/80 MHz) +// * `5g-124-5620-20` - 124 (5620/20 MHz) +// * `5g-126-5630-40` - 126 (5630/40 MHz) +// * `5g-128-5640-20` - 128 (5640/20 MHz) +// * `5g-132-5660-20` - 132 (5660/20 MHz) +// * `5g-134-5670-40` - 134 (5670/40 MHz) +// * `5g-136-5680-20` - 136 (5680/20 MHz) +// * `5g-138-5690-80` - 138 (5690/80 MHz) +// * `5g-140-5700-20` - 140 (5700/20 MHz) +// * `5g-142-5710-40` - 142 (5710/40 MHz) +// * `5g-144-5720-20` - 144 (5720/20 MHz) +// * `5g-149-5745-20` - 149 (5745/20 MHz) +// * `5g-151-5755-40` - 151 (5755/40 MHz) +// * `5g-153-5765-20` - 153 (5765/20 MHz) +// * `5g-155-5775-80` - 155 (5775/80 MHz) +// * `5g-157-5785-20` - 157 (5785/20 MHz) +// * `5g-159-5795-40` - 159 (5795/40 MHz) +// * `5g-161-5805-20` - 161 (5805/20 MHz) +// * `5g-163-5815-160` - 163 (5815/160 MHz) +// * `5g-165-5825-20` - 165 (5825/20 MHz) +// * `5g-167-5835-40` - 167 (5835/40 MHz) +// * `5g-169-5845-20` - 169 (5845/20 MHz) +// * `5g-171-5855-80` - 171 (5855/80 MHz) +// * `5g-173-5865-20` - 173 (5865/20 MHz) +// * `5g-175-5875-40` - 175 (5875/40 MHz) +// * `5g-177-5885-20` - 177 (5885/20 MHz) +// * `6g-1-5955-20` - 1 (5955/20 MHz) +// * `6g-3-5965-40` - 3 (5965/40 MHz) +// * `6g-5-5975-20` - 5 (5975/20 MHz) +// * `6g-7-5985-80` - 7 (5985/80 MHz) +// * `6g-9-5995-20` - 9 (5995/20 MHz) +// * `6g-11-6005-40` - 11 (6005/40 MHz) +// * `6g-13-6015-20` - 13 (6015/20 MHz) +// * `6g-15-6025-160` - 15 (6025/160 MHz) +// * `6g-17-6035-20` - 17 (6035/20 MHz) +// * `6g-19-6045-40` - 19 (6045/40 MHz) +// * `6g-21-6055-20` - 21 (6055/20 MHz) +// * `6g-23-6065-80` - 23 (6065/80 MHz) +// * `6g-25-6075-20` - 25 (6075/20 MHz) +// * `6g-27-6085-40` - 27 (6085/40 MHz) +// * `6g-29-6095-20` - 29 (6095/20 MHz) +// * `6g-31-6105-320` - 31 (6105/320 MHz) +// * `6g-33-6115-20` - 33 (6115/20 MHz) +// * `6g-35-6125-40` - 35 (6125/40 MHz) +// * `6g-37-6135-20` - 37 (6135/20 MHz) +// * `6g-39-6145-80` - 39 (6145/80 MHz) +// * `6g-41-6155-20` - 41 (6155/20 MHz) +// * `6g-43-6165-40` - 43 (6165/40 MHz) +// * `6g-45-6175-20` - 45 (6175/20 MHz) +// * `6g-47-6185-160` - 47 (6185/160 MHz) +// * `6g-49-6195-20` - 49 (6195/20 MHz) +// * `6g-51-6205-40` - 51 (6205/40 MHz) +// * `6g-53-6215-20` - 53 (6215/20 MHz) +// * `6g-55-6225-80` - 55 (6225/80 MHz) +// * `6g-57-6235-20` - 57 (6235/20 MHz) +// * `6g-59-6245-40` - 59 (6245/40 MHz) +// * `6g-61-6255-20` - 61 (6255/20 MHz) +// * `6g-65-6275-20` - 65 (6275/20 MHz) +// * `6g-67-6285-40` - 67 (6285/40 MHz) +// * `6g-69-6295-20` - 69 (6295/20 MHz) +// * `6g-71-6305-80` - 71 (6305/80 MHz) +// * `6g-73-6315-20` - 73 (6315/20 MHz) +// * `6g-75-6325-40` - 75 (6325/40 MHz) +// * `6g-77-6335-20` - 77 (6335/20 MHz) +// * `6g-79-6345-160` - 79 (6345/160 MHz) +// * `6g-81-6355-20` - 81 (6355/20 MHz) +// * `6g-83-6365-40` - 83 (6365/40 MHz) +// * `6g-85-6375-20` - 85 (6375/20 MHz) +// * `6g-87-6385-80` - 87 (6385/80 MHz) +// * `6g-89-6395-20` - 89 (6395/20 MHz) +// * `6g-91-6405-40` - 91 (6405/40 MHz) +// * `6g-93-6415-20` - 93 (6415/20 MHz) +// * `6g-95-6425-320` - 95 (6425/320 MHz) +// * `6g-97-6435-20` - 97 (6435/20 MHz) +// * `6g-99-6445-40` - 99 (6445/40 MHz) +// * `6g-101-6455-20` - 101 (6455/20 MHz) +// * `6g-103-6465-80` - 103 (6465/80 MHz) +// * `6g-105-6475-20` - 105 (6475/20 MHz) +// * `6g-107-6485-40` - 107 (6485/40 MHz) +// * `6g-109-6495-20` - 109 (6495/20 MHz) +// * `6g-111-6505-160` - 111 (6505/160 MHz) +// * `6g-113-6515-20` - 113 (6515/20 MHz) +// * `6g-115-6525-40` - 115 (6525/40 MHz) +// * `6g-117-6535-20` - 117 (6535/20 MHz) +// * `6g-119-6545-80` - 119 (6545/80 MHz) +// * `6g-121-6555-20` - 121 (6555/20 MHz) +// * `6g-123-6565-40` - 123 (6565/40 MHz) +// * `6g-125-6575-20` - 125 (6575/20 MHz) +// * `6g-129-6595-20` - 129 (6595/20 MHz) +// * `6g-131-6605-40` - 131 (6605/40 MHz) +// * `6g-133-6615-20` - 133 (6615/20 MHz) +// * `6g-135-6625-80` - 135 (6625/80 MHz) +// * `6g-137-6635-20` - 137 (6635/20 MHz) +// * `6g-139-6645-40` - 139 (6645/40 MHz) +// * `6g-141-6655-20` - 141 (6655/20 MHz) +// * `6g-143-6665-160` - 143 (6665/160 MHz) +// * `6g-145-6675-20` - 145 (6675/20 MHz) +// * `6g-147-6685-40` - 147 (6685/40 MHz) +// * `6g-149-6695-20` - 149 (6695/20 MHz) +// * `6g-151-6705-80` - 151 (6705/80 MHz) +// * `6g-153-6715-20` - 153 (6715/20 MHz) +// * `6g-155-6725-40` - 155 (6725/40 MHz) +// * `6g-157-6735-20` - 157 (6735/20 MHz) +// * `6g-159-6745-320` - 159 (6745/320 MHz) +// * `6g-161-6755-20` - 161 (6755/20 MHz) +// * `6g-163-6765-40` - 163 (6765/40 MHz) +// * `6g-165-6775-20` - 165 (6775/20 MHz) +// * `6g-167-6785-80` - 167 (6785/80 MHz) +// * `6g-169-6795-20` - 169 (6795/20 MHz) +// * `6g-171-6805-40` - 171 (6805/40 MHz) +// * `6g-173-6815-20` - 173 (6815/20 MHz) +// * `6g-175-6825-160` - 175 (6825/160 MHz) +// * `6g-177-6835-20` - 177 (6835/20 MHz) +// * `6g-179-6845-40` - 179 (6845/40 MHz) +// * `6g-181-6855-20` - 181 (6855/20 MHz) +// * `6g-183-6865-80` - 183 (6865/80 MHz) +// * `6g-185-6875-20` - 185 (6875/20 MHz) +// * `6g-187-6885-40` - 187 (6885/40 MHz) +// * `6g-189-6895-20` - 189 (6895/20 MHz) +// * `6g-193-6915-20` - 193 (6915/20 MHz) +// * `6g-195-6925-40` - 195 (6925/40 MHz) +// * `6g-197-6935-20` - 197 (6935/20 MHz) +// * `6g-199-6945-80` - 199 (6945/80 MHz) +// * `6g-201-6955-20` - 201 (6955/20 MHz) +// * `6g-203-6965-40` - 203 (6965/40 MHz) +// * `6g-205-6975-20` - 205 (6975/20 MHz) +// * `6g-207-6985-160` - 207 (6985/160 MHz) +// * `6g-209-6995-20` - 209 (6995/20 MHz) +// * `6g-211-7005-40` - 211 (7005/40 MHz) +// * `6g-213-7015-20` - 213 (7015/20 MHz) +// * `6g-215-7025-80` - 215 (7025/80 MHz) +// * `6g-217-7035-20` - 217 (7035/20 MHz) +// * `6g-219-7045-40` - 219 (7045/40 MHz) +// * `6g-221-7055-20` - 221 (7055/20 MHz) +// * `6g-225-7075-20` - 225 (7075/20 MHz) +// * `6g-227-7085-40` - 227 (7085/40 MHz) +// * `6g-229-7095-20` - 229 (7095/20 MHz) +// * `6g-233-7115-20` - 233 (7115/20 MHz) +// * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) +// * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) +// * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) +// * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) +// * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) +// * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) +// * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) +// * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) +// * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) +// * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) +// * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) +// * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) +// * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) +// * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) +// * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) +// * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) +// * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) +// * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +type PatchedWritableInterfaceRequestRfChannel string + +// PatchedWritableInterfaceRequestRfRole * `ap` - Access point +// * `station` - Station +type PatchedWritableInterfaceRequestRfRole string + +// PatchedWritableInterfaceRequestType * `virtual` - Virtual +// * `bridge` - Bridge +// * `lag` - Link Aggregation Group (LAG) +// * `100base-fx` - 100BASE-FX (10/100ME FIBER) +// * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) +// * `100base-tx` - 100BASE-TX (10/100ME) +// * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) +// * `1000base-t` - 1000BASE-T (1GE) +// * `2.5gbase-t` - 2.5GBASE-T (2.5GE) +// * `5gbase-t` - 5GBASE-T (5GE) +// * `10gbase-t` - 10GBASE-T (10GE) +// * `10gbase-cx4` - 10GBASE-CX4 (10GE) +// * `1000base-x-gbic` - GBIC (1GE) +// * `1000base-x-sfp` - SFP (1GE) +// * `10gbase-x-sfpp` - SFP+ (10GE) +// * `10gbase-x-xfp` - XFP (10GE) +// * `10gbase-x-xenpak` - XENPAK (10GE) +// * `10gbase-x-x2` - X2 (10GE) +// * `25gbase-x-sfp28` - SFP28 (25GE) +// * `50gbase-x-sfp56` - SFP56 (50GE) +// * `40gbase-x-qsfpp` - QSFP+ (40GE) +// * `50gbase-x-sfp28` - QSFP28 (50GE) +// * `100gbase-x-cfp` - CFP (100GE) +// * `100gbase-x-cfp2` - CFP2 (100GE) +// * `200gbase-x-cfp2` - CFP2 (200GE) +// * `400gbase-x-cfp2` - CFP2 (400GE) +// * `100gbase-x-cfp4` - CFP4 (100GE) +// * `100gbase-x-cxp` - CXP (100GE) +// * `100gbase-x-cpak` - Cisco CPAK (100GE) +// * `100gbase-x-dsfp` - DSFP (100GE) +// * `100gbase-x-sfpdd` - SFP-DD (100GE) +// * `100gbase-x-qsfp28` - QSFP28 (100GE) +// * `100gbase-x-qsfpdd` - QSFP-DD (100GE) +// * `200gbase-x-qsfp56` - QSFP56 (200GE) +// * `200gbase-x-qsfpdd` - QSFP-DD (200GE) +// * `400gbase-x-qsfp112` - QSFP112 (400GE) +// * `400gbase-x-qsfpdd` - QSFP-DD (400GE) +// * `400gbase-x-osfp` - OSFP (400GE) +// * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) +// * `400gbase-x-cdfp` - CDFP (400GE) +// * `400gbase-x-cfp8` - CPF8 (400GE) +// * `800gbase-x-qsfpdd` - QSFP-DD (800GE) +// * `800gbase-x-osfp` - OSFP (800GE) +// * `1000base-kx` - 1000BASE-KX (1GE) +// * `10gbase-kr` - 10GBASE-KR (10GE) +// * `10gbase-kx4` - 10GBASE-KX4 (10GE) +// * `25gbase-kr` - 25GBASE-KR (25GE) +// * `40gbase-kr4` - 40GBASE-KR4 (40GE) +// * `50gbase-kr` - 50GBASE-KR (50GE) +// * `100gbase-kp4` - 100GBASE-KP4 (100GE) +// * `100gbase-kr2` - 100GBASE-KR2 (100GE) +// * `100gbase-kr4` - 100GBASE-KR4 (100GE) +// * `ieee802.11a` - IEEE 802.11a +// * `ieee802.11g` - IEEE 802.11b/g +// * `ieee802.11n` - IEEE 802.11n +// * `ieee802.11ac` - IEEE 802.11ac +// * `ieee802.11ad` - IEEE 802.11ad +// * `ieee802.11ax` - IEEE 802.11ax +// * `ieee802.11ay` - IEEE 802.11ay +// * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) +// * `other-wireless` - Other (Wireless) +// * `gsm` - GSM +// * `cdma` - CDMA +// * `lte` - LTE +// * `sonet-oc3` - OC-3/STM-1 +// * `sonet-oc12` - OC-12/STM-4 +// * `sonet-oc48` - OC-48/STM-16 +// * `sonet-oc192` - OC-192/STM-64 +// * `sonet-oc768` - OC-768/STM-256 +// * `sonet-oc1920` - OC-1920/STM-640 +// * `sonet-oc3840` - OC-3840/STM-1234 +// * `1gfc-sfp` - SFP (1GFC) +// * `2gfc-sfp` - SFP (2GFC) +// * `4gfc-sfp` - SFP (4GFC) +// * `8gfc-sfpp` - SFP+ (8GFC) +// * `16gfc-sfpp` - SFP+ (16GFC) +// * `32gfc-sfp28` - SFP28 (32GFC) +// * `64gfc-qsfpp` - QSFP+ (64GFC) +// * `128gfc-qsfp28` - QSFP28 (128GFC) +// * `infiniband-sdr` - SDR (2 Gbps) +// * `infiniband-ddr` - DDR (4 Gbps) +// * `infiniband-qdr` - QDR (8 Gbps) +// * `infiniband-fdr10` - FDR10 (10 Gbps) +// * `infiniband-fdr` - FDR (13.5 Gbps) +// * `infiniband-edr` - EDR (25 Gbps) +// * `infiniband-hdr` - HDR (50 Gbps) +// * `infiniband-ndr` - NDR (100 Gbps) +// * `infiniband-xdr` - XDR (250 Gbps) +// * `t1` - T1 (1.544 Mbps) +// * `e1` - E1 (2.048 Mbps) +// * `t3` - T3 (45 Mbps) +// * `e3` - E3 (34 Mbps) +// * `xdsl` - xDSL +// * `docsis` - DOCSIS +// * `gpon` - GPON (2.5 Gbps / 1.25 Gps) +// * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) +// * `xgs-pon` - XGS-PON (10 Gbps) +// * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) +// * `epon` - EPON (1 Gbps) +// * `10g-epon` - 10G-EPON (10 Gbps) +// * `cisco-stackwise` - Cisco StackWise +// * `cisco-stackwise-plus` - Cisco StackWise Plus +// * `cisco-flexstack` - Cisco FlexStack +// * `cisco-flexstack-plus` - Cisco FlexStack Plus +// * `cisco-stackwise-80` - Cisco StackWise-80 +// * `cisco-stackwise-160` - Cisco StackWise-160 +// * `cisco-stackwise-320` - Cisco StackWise-320 +// * `cisco-stackwise-480` - Cisco StackWise-480 +// * `cisco-stackwise-1t` - Cisco StackWise-1T +// * `juniper-vcp` - Juniper VCP +// * `extreme-summitstack` - Extreme SummitStack +// * `extreme-summitstack-128` - Extreme SummitStack-128 +// * `extreme-summitstack-256` - Extreme SummitStack-256 +// * `extreme-summitstack-512` - Extreme SummitStack-512 +// * `other` - Other +type PatchedWritableInterfaceRequestType string + +// PatchedWritableInterfaceTemplateRequest 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 PatchedWritableInterfaceTemplateRequest struct { + Bridge *int `json:"bridge"` + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type"` + Enabled *bool `json:"enabled,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + MgmtOnly *bool `json:"mgmt_only,omitempty"` + ModuleType *int `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name *string `json:"name,omitempty"` + + // PoeMode * `pd` - PD + // * `pse` - PSE + PoeMode *PatchedWritableInterfaceTemplateRequestPoeMode `json:"poe_mode,omitempty"` + + // PoeType * `type1-ieee802.3af` - 802.3af (Type 1) + // * `type2-ieee802.3at` - 802.3at (Type 2) + // * `type3-ieee802.3bt` - 802.3bt (Type 3) + // * `type4-ieee802.3bt` - 802.3bt (Type 4) + // * `passive-24v-2pair` - Passive 24V (2-pair) + // * `passive-24v-4pair` - Passive 24V (4-pair) + // * `passive-48v-2pair` - Passive 48V (2-pair) + // * `passive-48v-4pair` - Passive 48V (4-pair) + PoeType *PatchedWritableInterfaceTemplateRequestPoeType `json:"poe_type,omitempty"` + + // RfRole * `ap` - Access point + // * `station` - Station + RfRole *PatchedWritableInterfaceTemplateRequestRfRole `json:"rf_role,omitempty"` + + // Type * `virtual` - Virtual + // * `bridge` - Bridge + // * `lag` - Link Aggregation Group (LAG) + // * `100base-fx` - 100BASE-FX (10/100ME FIBER) + // * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + // * `100base-tx` - 100BASE-TX (10/100ME) + // * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + // * `1000base-t` - 1000BASE-T (1GE) + // * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + // * `5gbase-t` - 5GBASE-T (5GE) + // * `10gbase-t` - 10GBASE-T (10GE) + // * `10gbase-cx4` - 10GBASE-CX4 (10GE) + // * `1000base-x-gbic` - GBIC (1GE) + // * `1000base-x-sfp` - SFP (1GE) + // * `10gbase-x-sfpp` - SFP+ (10GE) + // * `10gbase-x-xfp` - XFP (10GE) + // * `10gbase-x-xenpak` - XENPAK (10GE) + // * `10gbase-x-x2` - X2 (10GE) + // * `25gbase-x-sfp28` - SFP28 (25GE) + // * `50gbase-x-sfp56` - SFP56 (50GE) + // * `40gbase-x-qsfpp` - QSFP+ (40GE) + // * `50gbase-x-sfp28` - QSFP28 (50GE) + // * `100gbase-x-cfp` - CFP (100GE) + // * `100gbase-x-cfp2` - CFP2 (100GE) + // * `200gbase-x-cfp2` - CFP2 (200GE) + // * `400gbase-x-cfp2` - CFP2 (400GE) + // * `100gbase-x-cfp4` - CFP4 (100GE) + // * `100gbase-x-cxp` - CXP (100GE) + // * `100gbase-x-cpak` - Cisco CPAK (100GE) + // * `100gbase-x-dsfp` - DSFP (100GE) + // * `100gbase-x-sfpdd` - SFP-DD (100GE) + // * `100gbase-x-qsfp28` - QSFP28 (100GE) + // * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + // * `200gbase-x-qsfp56` - QSFP56 (200GE) + // * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + // * `400gbase-x-qsfp112` - QSFP112 (400GE) + // * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + // * `400gbase-x-osfp` - OSFP (400GE) + // * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + // * `400gbase-x-cdfp` - CDFP (400GE) + // * `400gbase-x-cfp8` - CPF8 (400GE) + // * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + // * `800gbase-x-osfp` - OSFP (800GE) + // * `1000base-kx` - 1000BASE-KX (1GE) + // * `10gbase-kr` - 10GBASE-KR (10GE) + // * `10gbase-kx4` - 10GBASE-KX4 (10GE) + // * `25gbase-kr` - 25GBASE-KR (25GE) + // * `40gbase-kr4` - 40GBASE-KR4 (40GE) + // * `50gbase-kr` - 50GBASE-KR (50GE) + // * `100gbase-kp4` - 100GBASE-KP4 (100GE) + // * `100gbase-kr2` - 100GBASE-KR2 (100GE) + // * `100gbase-kr4` - 100GBASE-KR4 (100GE) + // * `ieee802.11a` - IEEE 802.11a + // * `ieee802.11g` - IEEE 802.11b/g + // * `ieee802.11n` - IEEE 802.11n + // * `ieee802.11ac` - IEEE 802.11ac + // * `ieee802.11ad` - IEEE 802.11ad + // * `ieee802.11ax` - IEEE 802.11ax + // * `ieee802.11ay` - IEEE 802.11ay + // * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + // * `other-wireless` - Other (Wireless) + // * `gsm` - GSM + // * `cdma` - CDMA + // * `lte` - LTE + // * `sonet-oc3` - OC-3/STM-1 + // * `sonet-oc12` - OC-12/STM-4 + // * `sonet-oc48` - OC-48/STM-16 + // * `sonet-oc192` - OC-192/STM-64 + // * `sonet-oc768` - OC-768/STM-256 + // * `sonet-oc1920` - OC-1920/STM-640 + // * `sonet-oc3840` - OC-3840/STM-1234 + // * `1gfc-sfp` - SFP (1GFC) + // * `2gfc-sfp` - SFP (2GFC) + // * `4gfc-sfp` - SFP (4GFC) + // * `8gfc-sfpp` - SFP+ (8GFC) + // * `16gfc-sfpp` - SFP+ (16GFC) + // * `32gfc-sfp28` - SFP28 (32GFC) + // * `64gfc-qsfpp` - QSFP+ (64GFC) + // * `128gfc-qsfp28` - QSFP28 (128GFC) + // * `infiniband-sdr` - SDR (2 Gbps) + // * `infiniband-ddr` - DDR (4 Gbps) + // * `infiniband-qdr` - QDR (8 Gbps) + // * `infiniband-fdr10` - FDR10 (10 Gbps) + // * `infiniband-fdr` - FDR (13.5 Gbps) + // * `infiniband-edr` - EDR (25 Gbps) + // * `infiniband-hdr` - HDR (50 Gbps) + // * `infiniband-ndr` - NDR (100 Gbps) + // * `infiniband-xdr` - XDR (250 Gbps) + // * `t1` - T1 (1.544 Mbps) + // * `e1` - E1 (2.048 Mbps) + // * `t3` - T3 (45 Mbps) + // * `e3` - E3 (34 Mbps) + // * `xdsl` - xDSL + // * `docsis` - DOCSIS + // * `gpon` - GPON (2.5 Gbps / 1.25 Gps) + // * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + // * `xgs-pon` - XGS-PON (10 Gbps) + // * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + // * `epon` - EPON (1 Gbps) + // * `10g-epon` - 10G-EPON (10 Gbps) + // * `cisco-stackwise` - Cisco StackWise + // * `cisco-stackwise-plus` - Cisco StackWise Plus + // * `cisco-flexstack` - Cisco FlexStack + // * `cisco-flexstack-plus` - Cisco FlexStack Plus + // * `cisco-stackwise-80` - Cisco StackWise-80 + // * `cisco-stackwise-160` - Cisco StackWise-160 + // * `cisco-stackwise-320` - Cisco StackWise-320 + // * `cisco-stackwise-480` - Cisco StackWise-480 + // * `cisco-stackwise-1t` - Cisco StackWise-1T + // * `juniper-vcp` - Juniper VCP + // * `extreme-summitstack` - Extreme SummitStack + // * `extreme-summitstack-128` - Extreme SummitStack-128 + // * `extreme-summitstack-256` - Extreme SummitStack-256 + // * `extreme-summitstack-512` - Extreme SummitStack-512 + // * `other` - Other + Type *PatchedWritableInterfaceTemplateRequestType `json:"type,omitempty"` +} + +// PatchedWritableInterfaceTemplateRequestPoeMode * `pd` - PD +// * `pse` - PSE +type PatchedWritableInterfaceTemplateRequestPoeMode string + +// PatchedWritableInterfaceTemplateRequestPoeType * `type1-ieee802.3af` - 802.3af (Type 1) +// * `type2-ieee802.3at` - 802.3at (Type 2) +// * `type3-ieee802.3bt` - 802.3bt (Type 3) +// * `type4-ieee802.3bt` - 802.3bt (Type 4) +// * `passive-24v-2pair` - Passive 24V (2-pair) +// * `passive-24v-4pair` - Passive 24V (4-pair) +// * `passive-48v-2pair` - Passive 48V (2-pair) +// * `passive-48v-4pair` - Passive 48V (4-pair) +type PatchedWritableInterfaceTemplateRequestPoeType string + +// PatchedWritableInterfaceTemplateRequestRfRole * `ap` - Access point +// * `station` - Station +type PatchedWritableInterfaceTemplateRequestRfRole string + +// PatchedWritableInterfaceTemplateRequestType * `virtual` - Virtual +// * `bridge` - Bridge +// * `lag` - Link Aggregation Group (LAG) +// * `100base-fx` - 100BASE-FX (10/100ME FIBER) +// * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) +// * `100base-tx` - 100BASE-TX (10/100ME) +// * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) +// * `1000base-t` - 1000BASE-T (1GE) +// * `2.5gbase-t` - 2.5GBASE-T (2.5GE) +// * `5gbase-t` - 5GBASE-T (5GE) +// * `10gbase-t` - 10GBASE-T (10GE) +// * `10gbase-cx4` - 10GBASE-CX4 (10GE) +// * `1000base-x-gbic` - GBIC (1GE) +// * `1000base-x-sfp` - SFP (1GE) +// * `10gbase-x-sfpp` - SFP+ (10GE) +// * `10gbase-x-xfp` - XFP (10GE) +// * `10gbase-x-xenpak` - XENPAK (10GE) +// * `10gbase-x-x2` - X2 (10GE) +// * `25gbase-x-sfp28` - SFP28 (25GE) +// * `50gbase-x-sfp56` - SFP56 (50GE) +// * `40gbase-x-qsfpp` - QSFP+ (40GE) +// * `50gbase-x-sfp28` - QSFP28 (50GE) +// * `100gbase-x-cfp` - CFP (100GE) +// * `100gbase-x-cfp2` - CFP2 (100GE) +// * `200gbase-x-cfp2` - CFP2 (200GE) +// * `400gbase-x-cfp2` - CFP2 (400GE) +// * `100gbase-x-cfp4` - CFP4 (100GE) +// * `100gbase-x-cxp` - CXP (100GE) +// * `100gbase-x-cpak` - Cisco CPAK (100GE) +// * `100gbase-x-dsfp` - DSFP (100GE) +// * `100gbase-x-sfpdd` - SFP-DD (100GE) +// * `100gbase-x-qsfp28` - QSFP28 (100GE) +// * `100gbase-x-qsfpdd` - QSFP-DD (100GE) +// * `200gbase-x-qsfp56` - QSFP56 (200GE) +// * `200gbase-x-qsfpdd` - QSFP-DD (200GE) +// * `400gbase-x-qsfp112` - QSFP112 (400GE) +// * `400gbase-x-qsfpdd` - QSFP-DD (400GE) +// * `400gbase-x-osfp` - OSFP (400GE) +// * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) +// * `400gbase-x-cdfp` - CDFP (400GE) +// * `400gbase-x-cfp8` - CPF8 (400GE) +// * `800gbase-x-qsfpdd` - QSFP-DD (800GE) +// * `800gbase-x-osfp` - OSFP (800GE) +// * `1000base-kx` - 1000BASE-KX (1GE) +// * `10gbase-kr` - 10GBASE-KR (10GE) +// * `10gbase-kx4` - 10GBASE-KX4 (10GE) +// * `25gbase-kr` - 25GBASE-KR (25GE) +// * `40gbase-kr4` - 40GBASE-KR4 (40GE) +// * `50gbase-kr` - 50GBASE-KR (50GE) +// * `100gbase-kp4` - 100GBASE-KP4 (100GE) +// * `100gbase-kr2` - 100GBASE-KR2 (100GE) +// * `100gbase-kr4` - 100GBASE-KR4 (100GE) +// * `ieee802.11a` - IEEE 802.11a +// * `ieee802.11g` - IEEE 802.11b/g +// * `ieee802.11n` - IEEE 802.11n +// * `ieee802.11ac` - IEEE 802.11ac +// * `ieee802.11ad` - IEEE 802.11ad +// * `ieee802.11ax` - IEEE 802.11ax +// * `ieee802.11ay` - IEEE 802.11ay +// * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) +// * `other-wireless` - Other (Wireless) +// * `gsm` - GSM +// * `cdma` - CDMA +// * `lte` - LTE +// * `sonet-oc3` - OC-3/STM-1 +// * `sonet-oc12` - OC-12/STM-4 +// * `sonet-oc48` - OC-48/STM-16 +// * `sonet-oc192` - OC-192/STM-64 +// * `sonet-oc768` - OC-768/STM-256 +// * `sonet-oc1920` - OC-1920/STM-640 +// * `sonet-oc3840` - OC-3840/STM-1234 +// * `1gfc-sfp` - SFP (1GFC) +// * `2gfc-sfp` - SFP (2GFC) +// * `4gfc-sfp` - SFP (4GFC) +// * `8gfc-sfpp` - SFP+ (8GFC) +// * `16gfc-sfpp` - SFP+ (16GFC) +// * `32gfc-sfp28` - SFP28 (32GFC) +// * `64gfc-qsfpp` - QSFP+ (64GFC) +// * `128gfc-qsfp28` - QSFP28 (128GFC) +// * `infiniband-sdr` - SDR (2 Gbps) +// * `infiniband-ddr` - DDR (4 Gbps) +// * `infiniband-qdr` - QDR (8 Gbps) +// * `infiniband-fdr10` - FDR10 (10 Gbps) +// * `infiniband-fdr` - FDR (13.5 Gbps) +// * `infiniband-edr` - EDR (25 Gbps) +// * `infiniband-hdr` - HDR (50 Gbps) +// * `infiniband-ndr` - NDR (100 Gbps) +// * `infiniband-xdr` - XDR (250 Gbps) +// * `t1` - T1 (1.544 Mbps) +// * `e1` - E1 (2.048 Mbps) +// * `t3` - T3 (45 Mbps) +// * `e3` - E3 (34 Mbps) +// * `xdsl` - xDSL +// * `docsis` - DOCSIS +// * `gpon` - GPON (2.5 Gbps / 1.25 Gps) +// * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) +// * `xgs-pon` - XGS-PON (10 Gbps) +// * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) +// * `epon` - EPON (1 Gbps) +// * `10g-epon` - 10G-EPON (10 Gbps) +// * `cisco-stackwise` - Cisco StackWise +// * `cisco-stackwise-plus` - Cisco StackWise Plus +// * `cisco-flexstack` - Cisco FlexStack +// * `cisco-flexstack-plus` - Cisco FlexStack Plus +// * `cisco-stackwise-80` - Cisco StackWise-80 +// * `cisco-stackwise-160` - Cisco StackWise-160 +// * `cisco-stackwise-320` - Cisco StackWise-320 +// * `cisco-stackwise-480` - Cisco StackWise-480 +// * `cisco-stackwise-1t` - Cisco StackWise-1T +// * `juniper-vcp` - Juniper VCP +// * `extreme-summitstack` - Extreme SummitStack +// * `extreme-summitstack-128` - Extreme SummitStack-128 +// * `extreme-summitstack-256` - Extreme SummitStack-256 +// * `extreme-summitstack-512` - Extreme SummitStack-512 +// * `other` - Other +type PatchedWritableInterfaceTemplateRequestType string + +// PatchedWritableInventoryItemRequest Adds support for custom fields and tags. +type PatchedWritableInventoryItemRequest struct { + // AssetTag A unique tag used to identify this item + AssetTag *string `json:"asset_tag"` + ComponentId *int64 `json:"component_id"` + ComponentType *string `json:"component_type"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device,omitempty"` + + // Discovered This item was automatically discovered + Discovered *bool `json:"discovered,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Manufacturer *int `json:"manufacturer"` + Name *string `json:"name,omitempty"` + Parent *int `json:"parent"` + + // PartId Manufacturer-assigned part identifier + PartId *string `json:"part_id,omitempty"` + Role *int `json:"role"` + Serial *string `json:"serial,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableInventoryItemTemplateRequest 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 PatchedWritableInventoryItemTemplateRequest struct { + ComponentId *int64 `json:"component_id"` + ComponentType *string `json:"component_type"` + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Manufacturer *int `json:"manufacturer"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name *string `json:"name,omitempty"` + Parent *int `json:"parent"` + + // PartId Manufacturer-assigned part identifier + PartId *string `json:"part_id,omitempty"` + Role *int `json:"role"` +} + +// PatchedWritableJournalEntryRequest Adds support for custom fields and tags. +type PatchedWritableJournalEntryRequest struct { + AssignedObjectId *int64 `json:"assigned_object_id,omitempty"` + AssignedObjectType *string `json:"assigned_object_type,omitempty"` + Comments *string `json:"comments,omitempty"` + CreatedBy *int `json:"created_by"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Kind * `info` - Info + // * `success` - Success + // * `warning` - Warning + // * `danger` - Danger + Kind *PatchedWritableJournalEntryRequestKind `json:"kind,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableJournalEntryRequestKind * `info` - Info +// * `success` - Success +// * `warning` - Warning +// * `danger` - Danger +type PatchedWritableJournalEntryRequestKind string + +// PatchedWritableL2VPNRequest Adds support for custom fields and tags. +type PatchedWritableL2VPNRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + ExportTargets *[]int `json:"export_targets,omitempty"` + Identifier *int64 `json:"identifier"` + ImportTargets *[]int `json:"import_targets,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + + // Type * `vpws` - VPWS + // * `vpls` - VPLS + // * `vxlan` - VXLAN + // * `vxlan-evpn` - VXLAN-EVPN + // * `mpls-evpn` - MPLS EVPN + // * `pbb-evpn` - PBB EVPN + // * `epl` - EPL + // * `evpl` - EVPL + // * `ep-lan` - Ethernet Private LAN + // * `evp-lan` - Ethernet Virtual Private LAN + // * `ep-tree` - Ethernet Private Tree + // * `evp-tree` - Ethernet Virtual Private Tree + Type *PatchedWritableL2VPNRequestType `json:"type,omitempty"` +} + +// PatchedWritableL2VPNRequestType * `vpws` - VPWS +// * `vpls` - VPLS +// * `vxlan` - VXLAN +// * `vxlan-evpn` - VXLAN-EVPN +// * `mpls-evpn` - MPLS EVPN +// * `pbb-evpn` - PBB EVPN +// * `epl` - EPL +// * `evpl` - EVPL +// * `ep-lan` - Ethernet Private LAN +// * `evp-lan` - Ethernet Virtual Private LAN +// * `ep-tree` - Ethernet Private Tree +// * `evp-tree` - Ethernet Virtual Private Tree +type PatchedWritableL2VPNRequestType string + +// PatchedWritableL2VPNTerminationRequest Adds support for custom fields and tags. +type PatchedWritableL2VPNTerminationRequest struct { + AssignedObjectId *int64 `json:"assigned_object_id,omitempty"` + AssignedObjectType *string `json:"assigned_object_type,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + L2vpn *int `json:"l2vpn,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableLocationRequest Extends PrimaryModelSerializer to include MPTT support. +type PatchedWritableLocationRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Parent *int `json:"parent"` + Site *int `json:"site,omitempty"` + Slug *string `json:"slug,omitempty"` + + // Status * `planned` - Planned + // * `staging` - Staging + // * `active` - Active + // * `decommissioning` - Decommissioning + // * `retired` - Retired + Status *PatchedWritableLocationRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// PatchedWritableLocationRequestStatus * `planned` - Planned +// * `staging` - Staging +// * `active` - Active +// * `decommissioning` - Decommissioning +// * `retired` - Retired +type PatchedWritableLocationRequestStatus string + +// PatchedWritableModuleBayRequest Adds support for custom fields and tags. +type PatchedWritableModuleBayRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device,omitempty"` + InstalledModule *int `json:"installed_module,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + + // Position Identifier to reference when renaming installed components + Position *string `json:"position,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableModuleBayTemplateRequest 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 PatchedWritableModuleBayTemplateRequest struct { + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name *string `json:"name,omitempty"` + + // Position Identifier to reference when renaming installed components + Position *string `json:"position,omitempty"` +} + +// PatchedWritableModuleRequest Adds support for custom fields and tags. +type PatchedWritableModuleRequest struct { + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device,omitempty"` + ModuleBay *int `json:"module_bay,omitempty"` + ModuleType *int `json:"module_type,omitempty"` + Serial *string `json:"serial,omitempty"` + + // Status * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `staged` - Staged + // * `failed` - Failed + // * `decommissioning` - Decommissioning + Status *PatchedWritableModuleRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableModuleRequestStatus * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `staged` - Staged +// * `failed` - Failed +// * `decommissioning` - Decommissioning +type PatchedWritableModuleRequestStatus string + +// PatchedWritableModuleTypeRequest Adds support for custom fields and tags. +type PatchedWritableModuleTypeRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Manufacturer *int `json:"manufacturer,omitempty"` + Model *string `json:"model,omitempty"` + + // PartNumber Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Weight *float64 `json:"weight"` + + // WeightUnit * `kg` - Kilograms + // * `g` - Grams + // * `lb` - Pounds + // * `oz` - Ounces + WeightUnit *PatchedWritableModuleTypeRequestWeightUnit `json:"weight_unit,omitempty"` +} + +// PatchedWritableModuleTypeRequestWeightUnit * `kg` - Kilograms +// * `g` - Grams +// * `lb` - Pounds +// * `oz` - Ounces +type PatchedWritableModuleTypeRequestWeightUnit string + +// PatchedWritableObjectPermissionRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedWritableObjectPermissionRequest struct { + // Actions The list of actions granted by this permission + Actions *[]string `json:"actions,omitempty"` + + // Constraints Queryset filter matching the applicable objects of the selected type(s) + Constraints *map[string]interface{} `json:"constraints"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Groups *[]int `json:"groups,omitempty"` + Name *string `json:"name,omitempty"` + ObjectTypes *[]string `json:"object_types,omitempty"` + Users *[]int `json:"users,omitempty"` +} + +// PatchedWritablePlatformRequest Adds support for custom fields and tags. +type PatchedWritablePlatformRequest struct { + ConfigTemplate *int `json:"config_template"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Manufacturer Optionally limit this platform to devices of a certain manufacturer + Manufacturer *int `json:"manufacturer"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritablePowerFeedRequest Adds support for custom fields and tags. +type PatchedWritablePowerFeedRequest struct { + Amperage *int `json:"amperage,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // MaxUtilization Maximum permissible draw (percentage) + MaxUtilization *int `json:"max_utilization,omitempty"` + Name *string `json:"name,omitempty"` + + // Phase * `single-phase` - Single phase + // * `three-phase` - Three-phase + Phase *PatchedWritablePowerFeedRequestPhase `json:"phase,omitempty"` + PowerPanel *int `json:"power_panel,omitempty"` + Rack *int `json:"rack"` + + // Status * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `failed` - Failed + Status *PatchedWritablePowerFeedRequestStatus `json:"status,omitempty"` + + // Supply * `ac` - AC + // * `dc` - DC + Supply *PatchedWritablePowerFeedRequestSupply `json:"supply,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + + // Type * `primary` - Primary + // * `redundant` - Redundant + Type *PatchedWritablePowerFeedRequestType `json:"type,omitempty"` + Voltage *int `json:"voltage,omitempty"` +} + +// PatchedWritablePowerFeedRequestPhase * `single-phase` - Single phase +// * `three-phase` - Three-phase +type PatchedWritablePowerFeedRequestPhase string + +// PatchedWritablePowerFeedRequestStatus * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `failed` - Failed +type PatchedWritablePowerFeedRequestStatus string + +// PatchedWritablePowerFeedRequestSupply * `ac` - AC +// * `dc` - DC +type PatchedWritablePowerFeedRequestSupply string + +// PatchedWritablePowerFeedRequestType * `primary` - Primary +// * `redundant` - Redundant +type PatchedWritablePowerFeedRequestType string + +// PatchedWritablePowerOutletRequest Adds support for custom fields and tags. +type PatchedWritablePowerOutletRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device,omitempty"` + + // FeedLeg Phase (for three-phase feeds) + // + // * `A` - A + // * `B` - B + // * `C` - C + FeedLeg *PatchedWritablePowerOutletRequestFeedLeg `json:"feed_leg,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *int `json:"module"` + Name *string `json:"name,omitempty"` + PowerPort *int `json:"power_port"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type Physical port type + // + // * `iec-60320-c5` - C5 + // * `iec-60320-c7` - C7 + // * `iec-60320-c13` - C13 + // * `iec-60320-c15` - C15 + // * `iec-60320-c19` - C19 + // * `iec-60320-c21` - C21 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15r` - NEMA 1-15R + // * `nema-5-15r` - NEMA 5-15R + // * `nema-5-20r` - NEMA 5-20R + // * `nema-5-30r` - NEMA 5-30R + // * `nema-5-50r` - NEMA 5-50R + // * `nema-6-15r` - NEMA 6-15R + // * `nema-6-20r` - NEMA 6-20R + // * `nema-6-30r` - NEMA 6-30R + // * `nema-6-50r` - NEMA 6-50R + // * `nema-10-30r` - NEMA 10-30R + // * `nema-10-50r` - NEMA 10-50R + // * `nema-14-20r` - NEMA 14-20R + // * `nema-14-30r` - NEMA 14-30R + // * `nema-14-50r` - NEMA 14-50R + // * `nema-14-60r` - NEMA 14-60R + // * `nema-15-15r` - NEMA 15-15R + // * `nema-15-20r` - NEMA 15-20R + // * `nema-15-30r` - NEMA 15-30R + // * `nema-15-50r` - NEMA 15-50R + // * `nema-15-60r` - NEMA 15-60R + // * `nema-l1-15r` - NEMA L1-15R + // * `nema-l5-15r` - NEMA L5-15R + // * `nema-l5-20r` - NEMA L5-20R + // * `nema-l5-30r` - NEMA L5-30R + // * `nema-l5-50r` - NEMA L5-50R + // * `nema-l6-15r` - NEMA L6-15R + // * `nema-l6-20r` - NEMA L6-20R + // * `nema-l6-30r` - NEMA L6-30R + // * `nema-l6-50r` - NEMA L6-50R + // * `nema-l10-30r` - NEMA L10-30R + // * `nema-l14-20r` - NEMA L14-20R + // * `nema-l14-30r` - NEMA L14-30R + // * `nema-l14-50r` - NEMA L14-50R + // * `nema-l14-60r` - NEMA L14-60R + // * `nema-l15-20r` - NEMA L15-20R + // * `nema-l15-30r` - NEMA L15-30R + // * `nema-l15-50r` - NEMA L15-50R + // * `nema-l15-60r` - NEMA L15-60R + // * `nema-l21-20r` - NEMA L21-20R + // * `nema-l21-30r` - NEMA L21-30R + // * `nema-l22-30r` - NEMA L22-30R + // * `CS6360C` - CS6360C + // * `CS6364C` - CS6364C + // * `CS8164C` - CS8164C + // * `CS8264C` - CS8264C + // * `CS8364C` - CS8364C + // * `CS8464C` - CS8464C + // * `ita-e` - ITA Type E (CEE 7/5) + // * `ita-f` - ITA Type F (CEE 7/3) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `ita-multistandard` - ITA Multistandard + // * `usb-a` - USB Type A + // * `usb-micro-b` - USB Micro B + // * `usb-c` - USB Type C + // * `dc-terminal` - DC Terminal + // * `hdot-cx` - HDOT Cx + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20a` - Neutrik powerCON (20A) + // * `neutrik-powercon-32a` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Type *PatchedWritablePowerOutletRequestType `json:"type,omitempty"` +} + +// PatchedWritablePowerOutletRequestFeedLeg Phase (for three-phase feeds) +// +// * `A` - A +// * `B` - B +// * `C` - C +type PatchedWritablePowerOutletRequestFeedLeg string + +// PatchedWritablePowerOutletRequestType Physical port type +// +// * `iec-60320-c5` - C5 +// * `iec-60320-c7` - C7 +// * `iec-60320-c13` - C13 +// * `iec-60320-c15` - C15 +// * `iec-60320-c19` - C19 +// * `iec-60320-c21` - C21 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15r` - NEMA 1-15R +// * `nema-5-15r` - NEMA 5-15R +// * `nema-5-20r` - NEMA 5-20R +// * `nema-5-30r` - NEMA 5-30R +// * `nema-5-50r` - NEMA 5-50R +// * `nema-6-15r` - NEMA 6-15R +// * `nema-6-20r` - NEMA 6-20R +// * `nema-6-30r` - NEMA 6-30R +// * `nema-6-50r` - NEMA 6-50R +// * `nema-10-30r` - NEMA 10-30R +// * `nema-10-50r` - NEMA 10-50R +// * `nema-14-20r` - NEMA 14-20R +// * `nema-14-30r` - NEMA 14-30R +// * `nema-14-50r` - NEMA 14-50R +// * `nema-14-60r` - NEMA 14-60R +// * `nema-15-15r` - NEMA 15-15R +// * `nema-15-20r` - NEMA 15-20R +// * `nema-15-30r` - NEMA 15-30R +// * `nema-15-50r` - NEMA 15-50R +// * `nema-15-60r` - NEMA 15-60R +// * `nema-l1-15r` - NEMA L1-15R +// * `nema-l5-15r` - NEMA L5-15R +// * `nema-l5-20r` - NEMA L5-20R +// * `nema-l5-30r` - NEMA L5-30R +// * `nema-l5-50r` - NEMA L5-50R +// * `nema-l6-15r` - NEMA L6-15R +// * `nema-l6-20r` - NEMA L6-20R +// * `nema-l6-30r` - NEMA L6-30R +// * `nema-l6-50r` - NEMA L6-50R +// * `nema-l10-30r` - NEMA L10-30R +// * `nema-l14-20r` - NEMA L14-20R +// * `nema-l14-30r` - NEMA L14-30R +// * `nema-l14-50r` - NEMA L14-50R +// * `nema-l14-60r` - NEMA L14-60R +// * `nema-l15-20r` - NEMA L15-20R +// * `nema-l15-30r` - NEMA L15-30R +// * `nema-l15-50r` - NEMA L15-50R +// * `nema-l15-60r` - NEMA L15-60R +// * `nema-l21-20r` - NEMA L21-20R +// * `nema-l21-30r` - NEMA L21-30R +// * `nema-l22-30r` - NEMA L22-30R +// * `CS6360C` - CS6360C +// * `CS6364C` - CS6364C +// * `CS8164C` - CS8164C +// * `CS8264C` - CS8264C +// * `CS8364C` - CS8364C +// * `CS8464C` - CS8464C +// * `ita-e` - ITA Type E (CEE 7/5) +// * `ita-f` - ITA Type F (CEE 7/3) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `ita-multistandard` - ITA Multistandard +// * `usb-a` - USB Type A +// * `usb-micro-b` - USB Micro B +// * `usb-c` - USB Type C +// * `dc-terminal` - DC Terminal +// * `hdot-cx` - HDOT Cx +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20a` - Neutrik powerCON (20A) +// * `neutrik-powercon-32a` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type PatchedWritablePowerOutletRequestType string + +// PatchedWritablePowerOutletTemplateRequest 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 PatchedWritablePowerOutletTemplateRequest struct { + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type"` + + // FeedLeg Phase (for three-phase feeds) + // + // * `A` - A + // * `B` - B + // * `C` - C + FeedLeg *PatchedWritablePowerOutletTemplateRequestFeedLeg `json:"feed_leg,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *int `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name *string `json:"name,omitempty"` + PowerPort *int `json:"power_port"` + + // Type * `iec-60320-c5` - C5 + // * `iec-60320-c7` - C7 + // * `iec-60320-c13` - C13 + // * `iec-60320-c15` - C15 + // * `iec-60320-c19` - C19 + // * `iec-60320-c21` - C21 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15r` - NEMA 1-15R + // * `nema-5-15r` - NEMA 5-15R + // * `nema-5-20r` - NEMA 5-20R + // * `nema-5-30r` - NEMA 5-30R + // * `nema-5-50r` - NEMA 5-50R + // * `nema-6-15r` - NEMA 6-15R + // * `nema-6-20r` - NEMA 6-20R + // * `nema-6-30r` - NEMA 6-30R + // * `nema-6-50r` - NEMA 6-50R + // * `nema-10-30r` - NEMA 10-30R + // * `nema-10-50r` - NEMA 10-50R + // * `nema-14-20r` - NEMA 14-20R + // * `nema-14-30r` - NEMA 14-30R + // * `nema-14-50r` - NEMA 14-50R + // * `nema-14-60r` - NEMA 14-60R + // * `nema-15-15r` - NEMA 15-15R + // * `nema-15-20r` - NEMA 15-20R + // * `nema-15-30r` - NEMA 15-30R + // * `nema-15-50r` - NEMA 15-50R + // * `nema-15-60r` - NEMA 15-60R + // * `nema-l1-15r` - NEMA L1-15R + // * `nema-l5-15r` - NEMA L5-15R + // * `nema-l5-20r` - NEMA L5-20R + // * `nema-l5-30r` - NEMA L5-30R + // * `nema-l5-50r` - NEMA L5-50R + // * `nema-l6-15r` - NEMA L6-15R + // * `nema-l6-20r` - NEMA L6-20R + // * `nema-l6-30r` - NEMA L6-30R + // * `nema-l6-50r` - NEMA L6-50R + // * `nema-l10-30r` - NEMA L10-30R + // * `nema-l14-20r` - NEMA L14-20R + // * `nema-l14-30r` - NEMA L14-30R + // * `nema-l14-50r` - NEMA L14-50R + // * `nema-l14-60r` - NEMA L14-60R + // * `nema-l15-20r` - NEMA L15-20R + // * `nema-l15-30r` - NEMA L15-30R + // * `nema-l15-50r` - NEMA L15-50R + // * `nema-l15-60r` - NEMA L15-60R + // * `nema-l21-20r` - NEMA L21-20R + // * `nema-l21-30r` - NEMA L21-30R + // * `nema-l22-30r` - NEMA L22-30R + // * `CS6360C` - CS6360C + // * `CS6364C` - CS6364C + // * `CS8164C` - CS8164C + // * `CS8264C` - CS8264C + // * `CS8364C` - CS8364C + // * `CS8464C` - CS8464C + // * `ita-e` - ITA Type E (CEE 7/5) + // * `ita-f` - ITA Type F (CEE 7/3) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `ita-multistandard` - ITA Multistandard + // * `usb-a` - USB Type A + // * `usb-micro-b` - USB Micro B + // * `usb-c` - USB Type C + // * `dc-terminal` - DC Terminal + // * `hdot-cx` - HDOT Cx + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20a` - Neutrik powerCON (20A) + // * `neutrik-powercon-32a` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Type *PatchedWritablePowerOutletTemplateRequestType `json:"type,omitempty"` +} + +// PatchedWritablePowerOutletTemplateRequestFeedLeg Phase (for three-phase feeds) +// +// * `A` - A +// * `B` - B +// * `C` - C +type PatchedWritablePowerOutletTemplateRequestFeedLeg string + +// PatchedWritablePowerOutletTemplateRequestType * `iec-60320-c5` - C5 +// * `iec-60320-c7` - C7 +// * `iec-60320-c13` - C13 +// * `iec-60320-c15` - C15 +// * `iec-60320-c19` - C19 +// * `iec-60320-c21` - C21 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15r` - NEMA 1-15R +// * `nema-5-15r` - NEMA 5-15R +// * `nema-5-20r` - NEMA 5-20R +// * `nema-5-30r` - NEMA 5-30R +// * `nema-5-50r` - NEMA 5-50R +// * `nema-6-15r` - NEMA 6-15R +// * `nema-6-20r` - NEMA 6-20R +// * `nema-6-30r` - NEMA 6-30R +// * `nema-6-50r` - NEMA 6-50R +// * `nema-10-30r` - NEMA 10-30R +// * `nema-10-50r` - NEMA 10-50R +// * `nema-14-20r` - NEMA 14-20R +// * `nema-14-30r` - NEMA 14-30R +// * `nema-14-50r` - NEMA 14-50R +// * `nema-14-60r` - NEMA 14-60R +// * `nema-15-15r` - NEMA 15-15R +// * `nema-15-20r` - NEMA 15-20R +// * `nema-15-30r` - NEMA 15-30R +// * `nema-15-50r` - NEMA 15-50R +// * `nema-15-60r` - NEMA 15-60R +// * `nema-l1-15r` - NEMA L1-15R +// * `nema-l5-15r` - NEMA L5-15R +// * `nema-l5-20r` - NEMA L5-20R +// * `nema-l5-30r` - NEMA L5-30R +// * `nema-l5-50r` - NEMA L5-50R +// * `nema-l6-15r` - NEMA L6-15R +// * `nema-l6-20r` - NEMA L6-20R +// * `nema-l6-30r` - NEMA L6-30R +// * `nema-l6-50r` - NEMA L6-50R +// * `nema-l10-30r` - NEMA L10-30R +// * `nema-l14-20r` - NEMA L14-20R +// * `nema-l14-30r` - NEMA L14-30R +// * `nema-l14-50r` - NEMA L14-50R +// * `nema-l14-60r` - NEMA L14-60R +// * `nema-l15-20r` - NEMA L15-20R +// * `nema-l15-30r` - NEMA L15-30R +// * `nema-l15-50r` - NEMA L15-50R +// * `nema-l15-60r` - NEMA L15-60R +// * `nema-l21-20r` - NEMA L21-20R +// * `nema-l21-30r` - NEMA L21-30R +// * `nema-l22-30r` - NEMA L22-30R +// * `CS6360C` - CS6360C +// * `CS6364C` - CS6364C +// * `CS8164C` - CS8164C +// * `CS8264C` - CS8264C +// * `CS8364C` - CS8364C +// * `CS8464C` - CS8464C +// * `ita-e` - ITA Type E (CEE 7/5) +// * `ita-f` - ITA Type F (CEE 7/3) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `ita-multistandard` - ITA Multistandard +// * `usb-a` - USB Type A +// * `usb-micro-b` - USB Micro B +// * `usb-c` - USB Type C +// * `dc-terminal` - DC Terminal +// * `hdot-cx` - HDOT Cx +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20a` - Neutrik powerCON (20A) +// * `neutrik-powercon-32a` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type PatchedWritablePowerOutletTemplateRequestType string + +// PatchedWritablePowerPanelRequest Adds support for custom fields and tags. +type PatchedWritablePowerPanelRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Location *int `json:"location"` + Name *string `json:"name,omitempty"` + Site *int `json:"site,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritablePowerPortRequest Adds support for custom fields and tags. +type PatchedWritablePowerPortRequest struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + Module *int `json:"module"` + Name *string `json:"name,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type Physical port type + // + // * `iec-60320-c6` - C6 + // * `iec-60320-c8` - C8 + // * `iec-60320-c14` - C14 + // * `iec-60320-c16` - C16 + // * `iec-60320-c20` - C20 + // * `iec-60320-c22` - C22 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15p` - NEMA 1-15P + // * `nema-5-15p` - NEMA 5-15P + // * `nema-5-20p` - NEMA 5-20P + // * `nema-5-30p` - NEMA 5-30P + // * `nema-5-50p` - NEMA 5-50P + // * `nema-6-15p` - NEMA 6-15P + // * `nema-6-20p` - NEMA 6-20P + // * `nema-6-30p` - NEMA 6-30P + // * `nema-6-50p` - NEMA 6-50P + // * `nema-10-30p` - NEMA 10-30P + // * `nema-10-50p` - NEMA 10-50P + // * `nema-14-20p` - NEMA 14-20P + // * `nema-14-30p` - NEMA 14-30P + // * `nema-14-50p` - NEMA 14-50P + // * `nema-14-60p` - NEMA 14-60P + // * `nema-15-15p` - NEMA 15-15P + // * `nema-15-20p` - NEMA 15-20P + // * `nema-15-30p` - NEMA 15-30P + // * `nema-15-50p` - NEMA 15-50P + // * `nema-15-60p` - NEMA 15-60P + // * `nema-l1-15p` - NEMA L1-15P + // * `nema-l5-15p` - NEMA L5-15P + // * `nema-l5-20p` - NEMA L5-20P + // * `nema-l5-30p` - NEMA L5-30P + // * `nema-l5-50p` - NEMA L5-50P + // * `nema-l6-15p` - NEMA L6-15P + // * `nema-l6-20p` - NEMA L6-20P + // * `nema-l6-30p` - NEMA L6-30P + // * `nema-l6-50p` - NEMA L6-50P + // * `nema-l10-30p` - NEMA L10-30P + // * `nema-l14-20p` - NEMA L14-20P + // * `nema-l14-30p` - NEMA L14-30P + // * `nema-l14-50p` - NEMA L14-50P + // * `nema-l14-60p` - NEMA L14-60P + // * `nema-l15-20p` - NEMA L15-20P + // * `nema-l15-30p` - NEMA L15-30P + // * `nema-l15-50p` - NEMA L15-50P + // * `nema-l15-60p` - NEMA L15-60P + // * `nema-l21-20p` - NEMA L21-20P + // * `nema-l21-30p` - NEMA L21-30P + // * `nema-l22-30p` - NEMA L22-30P + // * `cs6361c` - CS6361C + // * `cs6365c` - CS6365C + // * `cs8165c` - CS8165C + // * `cs8265c` - CS8265C + // * `cs8365c` - CS8365C + // * `cs8465c` - CS8465C + // * `ita-c` - ITA Type C (CEE 7/16) + // * `ita-e` - ITA Type E (CEE 7/6) + // * `ita-f` - ITA Type F (CEE 7/4) + // * `ita-ef` - ITA Type E/F (CEE 7/7) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `usb-3-b` - USB 3.0 Type B + // * `usb-3-micro-b` - USB 3.0 Micro B + // * `dc-terminal` - DC Terminal + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20` - Neutrik powerCON (20A) + // * `neutrik-powercon-32` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Type *PatchedWritablePowerPortRequestType `json:"type,omitempty"` +} + +// PatchedWritablePowerPortRequestType Physical port type +// +// * `iec-60320-c6` - C6 +// * `iec-60320-c8` - C8 +// * `iec-60320-c14` - C14 +// * `iec-60320-c16` - C16 +// * `iec-60320-c20` - C20 +// * `iec-60320-c22` - C22 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15p` - NEMA 1-15P +// * `nema-5-15p` - NEMA 5-15P +// * `nema-5-20p` - NEMA 5-20P +// * `nema-5-30p` - NEMA 5-30P +// * `nema-5-50p` - NEMA 5-50P +// * `nema-6-15p` - NEMA 6-15P +// * `nema-6-20p` - NEMA 6-20P +// * `nema-6-30p` - NEMA 6-30P +// * `nema-6-50p` - NEMA 6-50P +// * `nema-10-30p` - NEMA 10-30P +// * `nema-10-50p` - NEMA 10-50P +// * `nema-14-20p` - NEMA 14-20P +// * `nema-14-30p` - NEMA 14-30P +// * `nema-14-50p` - NEMA 14-50P +// * `nema-14-60p` - NEMA 14-60P +// * `nema-15-15p` - NEMA 15-15P +// * `nema-15-20p` - NEMA 15-20P +// * `nema-15-30p` - NEMA 15-30P +// * `nema-15-50p` - NEMA 15-50P +// * `nema-15-60p` - NEMA 15-60P +// * `nema-l1-15p` - NEMA L1-15P +// * `nema-l5-15p` - NEMA L5-15P +// * `nema-l5-20p` - NEMA L5-20P +// * `nema-l5-30p` - NEMA L5-30P +// * `nema-l5-50p` - NEMA L5-50P +// * `nema-l6-15p` - NEMA L6-15P +// * `nema-l6-20p` - NEMA L6-20P +// * `nema-l6-30p` - NEMA L6-30P +// * `nema-l6-50p` - NEMA L6-50P +// * `nema-l10-30p` - NEMA L10-30P +// * `nema-l14-20p` - NEMA L14-20P +// * `nema-l14-30p` - NEMA L14-30P +// * `nema-l14-50p` - NEMA L14-50P +// * `nema-l14-60p` - NEMA L14-60P +// * `nema-l15-20p` - NEMA L15-20P +// * `nema-l15-30p` - NEMA L15-30P +// * `nema-l15-50p` - NEMA L15-50P +// * `nema-l15-60p` - NEMA L15-60P +// * `nema-l21-20p` - NEMA L21-20P +// * `nema-l21-30p` - NEMA L21-30P +// * `nema-l22-30p` - NEMA L22-30P +// * `cs6361c` - CS6361C +// * `cs6365c` - CS6365C +// * `cs8165c` - CS8165C +// * `cs8265c` - CS8265C +// * `cs8365c` - CS8365C +// * `cs8465c` - CS8465C +// * `ita-c` - ITA Type C (CEE 7/16) +// * `ita-e` - ITA Type E (CEE 7/6) +// * `ita-f` - ITA Type F (CEE 7/4) +// * `ita-ef` - ITA Type E/F (CEE 7/7) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `usb-3-b` - USB 3.0 Type B +// * `usb-3-micro-b` - USB 3.0 Micro B +// * `dc-terminal` - DC Terminal +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20` - Neutrik powerCON (20A) +// * `neutrik-powercon-32` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type PatchedWritablePowerPortRequestType string + +// PatchedWritablePowerPortTemplateRequest 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 PatchedWritablePowerPortTemplateRequest struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + ModuleType *int `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name *string `json:"name,omitempty"` + + // Type * `iec-60320-c6` - C6 + // * `iec-60320-c8` - C8 + // * `iec-60320-c14` - C14 + // * `iec-60320-c16` - C16 + // * `iec-60320-c20` - C20 + // * `iec-60320-c22` - C22 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15p` - NEMA 1-15P + // * `nema-5-15p` - NEMA 5-15P + // * `nema-5-20p` - NEMA 5-20P + // * `nema-5-30p` - NEMA 5-30P + // * `nema-5-50p` - NEMA 5-50P + // * `nema-6-15p` - NEMA 6-15P + // * `nema-6-20p` - NEMA 6-20P + // * `nema-6-30p` - NEMA 6-30P + // * `nema-6-50p` - NEMA 6-50P + // * `nema-10-30p` - NEMA 10-30P + // * `nema-10-50p` - NEMA 10-50P + // * `nema-14-20p` - NEMA 14-20P + // * `nema-14-30p` - NEMA 14-30P + // * `nema-14-50p` - NEMA 14-50P + // * `nema-14-60p` - NEMA 14-60P + // * `nema-15-15p` - NEMA 15-15P + // * `nema-15-20p` - NEMA 15-20P + // * `nema-15-30p` - NEMA 15-30P + // * `nema-15-50p` - NEMA 15-50P + // * `nema-15-60p` - NEMA 15-60P + // * `nema-l1-15p` - NEMA L1-15P + // * `nema-l5-15p` - NEMA L5-15P + // * `nema-l5-20p` - NEMA L5-20P + // * `nema-l5-30p` - NEMA L5-30P + // * `nema-l5-50p` - NEMA L5-50P + // * `nema-l6-15p` - NEMA L6-15P + // * `nema-l6-20p` - NEMA L6-20P + // * `nema-l6-30p` - NEMA L6-30P + // * `nema-l6-50p` - NEMA L6-50P + // * `nema-l10-30p` - NEMA L10-30P + // * `nema-l14-20p` - NEMA L14-20P + // * `nema-l14-30p` - NEMA L14-30P + // * `nema-l14-50p` - NEMA L14-50P + // * `nema-l14-60p` - NEMA L14-60P + // * `nema-l15-20p` - NEMA L15-20P + // * `nema-l15-30p` - NEMA L15-30P + // * `nema-l15-50p` - NEMA L15-50P + // * `nema-l15-60p` - NEMA L15-60P + // * `nema-l21-20p` - NEMA L21-20P + // * `nema-l21-30p` - NEMA L21-30P + // * `nema-l22-30p` - NEMA L22-30P + // * `cs6361c` - CS6361C + // * `cs6365c` - CS6365C + // * `cs8165c` - CS8165C + // * `cs8265c` - CS8265C + // * `cs8365c` - CS8365C + // * `cs8465c` - CS8465C + // * `ita-c` - ITA Type C (CEE 7/16) + // * `ita-e` - ITA Type E (CEE 7/6) + // * `ita-f` - ITA Type F (CEE 7/4) + // * `ita-ef` - ITA Type E/F (CEE 7/7) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `usb-3-b` - USB 3.0 Type B + // * `usb-3-micro-b` - USB 3.0 Micro B + // * `dc-terminal` - DC Terminal + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20` - Neutrik powerCON (20A) + // * `neutrik-powercon-32` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Type *PatchedWritablePowerPortTemplateRequestType `json:"type,omitempty"` +} + +// PatchedWritablePowerPortTemplateRequestType * `iec-60320-c6` - C6 +// * `iec-60320-c8` - C8 +// * `iec-60320-c14` - C14 +// * `iec-60320-c16` - C16 +// * `iec-60320-c20` - C20 +// * `iec-60320-c22` - C22 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15p` - NEMA 1-15P +// * `nema-5-15p` - NEMA 5-15P +// * `nema-5-20p` - NEMA 5-20P +// * `nema-5-30p` - NEMA 5-30P +// * `nema-5-50p` - NEMA 5-50P +// * `nema-6-15p` - NEMA 6-15P +// * `nema-6-20p` - NEMA 6-20P +// * `nema-6-30p` - NEMA 6-30P +// * `nema-6-50p` - NEMA 6-50P +// * `nema-10-30p` - NEMA 10-30P +// * `nema-10-50p` - NEMA 10-50P +// * `nema-14-20p` - NEMA 14-20P +// * `nema-14-30p` - NEMA 14-30P +// * `nema-14-50p` - NEMA 14-50P +// * `nema-14-60p` - NEMA 14-60P +// * `nema-15-15p` - NEMA 15-15P +// * `nema-15-20p` - NEMA 15-20P +// * `nema-15-30p` - NEMA 15-30P +// * `nema-15-50p` - NEMA 15-50P +// * `nema-15-60p` - NEMA 15-60P +// * `nema-l1-15p` - NEMA L1-15P +// * `nema-l5-15p` - NEMA L5-15P +// * `nema-l5-20p` - NEMA L5-20P +// * `nema-l5-30p` - NEMA L5-30P +// * `nema-l5-50p` - NEMA L5-50P +// * `nema-l6-15p` - NEMA L6-15P +// * `nema-l6-20p` - NEMA L6-20P +// * `nema-l6-30p` - NEMA L6-30P +// * `nema-l6-50p` - NEMA L6-50P +// * `nema-l10-30p` - NEMA L10-30P +// * `nema-l14-20p` - NEMA L14-20P +// * `nema-l14-30p` - NEMA L14-30P +// * `nema-l14-50p` - NEMA L14-50P +// * `nema-l14-60p` - NEMA L14-60P +// * `nema-l15-20p` - NEMA L15-20P +// * `nema-l15-30p` - NEMA L15-30P +// * `nema-l15-50p` - NEMA L15-50P +// * `nema-l15-60p` - NEMA L15-60P +// * `nema-l21-20p` - NEMA L21-20P +// * `nema-l21-30p` - NEMA L21-30P +// * `nema-l22-30p` - NEMA L22-30P +// * `cs6361c` - CS6361C +// * `cs6365c` - CS6365C +// * `cs8165c` - CS8165C +// * `cs8265c` - CS8265C +// * `cs8365c` - CS8365C +// * `cs8465c` - CS8465C +// * `ita-c` - ITA Type C (CEE 7/16) +// * `ita-e` - ITA Type E (CEE 7/6) +// * `ita-f` - ITA Type F (CEE 7/4) +// * `ita-ef` - ITA Type E/F (CEE 7/7) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `usb-3-b` - USB 3.0 Type B +// * `usb-3-micro-b` - USB 3.0 Micro B +// * `dc-terminal` - DC Terminal +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20` - Neutrik powerCON (20A) +// * `neutrik-powercon-32` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type PatchedWritablePowerPortTemplateRequestType string + +// PatchedWritablePrefixRequest Adds support for custom fields and tags. +type PatchedWritablePrefixRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IsPool All IP addresses within this prefix are considered usable + IsPool *bool `json:"is_pool,omitempty"` + + // MarkUtilized Treat as 100% utilized + MarkUtilized *bool `json:"mark_utilized,omitempty"` + Prefix *string `json:"prefix,omitempty"` + + // Role The primary function of this prefix + Role *int `json:"role"` + Site *int `json:"site"` + + // Status Operational status of this prefix + // + // * `container` - Container + // * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Status *PatchedWritablePrefixRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + Vlan *int `json:"vlan"` + Vrf *int `json:"vrf"` +} + +// PatchedWritablePrefixRequestStatus Operational status of this prefix +// +// * `container` - Container +// * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +type PatchedWritablePrefixRequestStatus string + +// PatchedWritableProviderAccountRequest Adds support for custom fields and tags. +type PatchedWritableProviderAccountRequest struct { + Account *string `json:"account,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Provider *int `json:"provider,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableProviderNetworkRequest Adds support for custom fields and tags. +type PatchedWritableProviderNetworkRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Provider *int `json:"provider,omitempty"` + ServiceId *string `json:"service_id,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableProviderRequest Adds support for custom fields and tags. +type PatchedWritableProviderRequest struct { + Accounts *[]int `json:"accounts,omitempty"` + Asns *[]int `json:"asns,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Full name of the provider + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableRackRequest Adds support for custom fields and tags. +type PatchedWritableRackRequest struct { + // AssetTag A unique tag used to identify this rack + AssetTag *string `json:"asset_tag"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DescUnits Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + Description *string `json:"description,omitempty"` + FacilityId *string `json:"facility_id"` + Location *int `json:"location"` + + // MaxWeight Maximum load capacity for the rack + MaxWeight *int `json:"max_weight"` + + // MountingDepth Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. + MountingDepth *int `json:"mounting_depth"` + Name *string `json:"name,omitempty"` + + // OuterDepth Outer dimension of rack (depth) + OuterDepth *int `json:"outer_depth"` + + // OuterUnit * `mm` - Millimeters + // * `in` - Inches + OuterUnit *PatchedWritableRackRequestOuterUnit `json:"outer_unit,omitempty"` + + // OuterWidth Outer dimension of rack (width) + OuterWidth *int `json:"outer_width"` + + // Role Functional role + Role *int `json:"role"` + Serial *string `json:"serial,omitempty"` + Site *int `json:"site,omitempty"` + + // StartingUnit Starting unit for rack + StartingUnit *int `json:"starting_unit,omitempty"` + + // Status * `reserved` - Reserved + // * `available` - Available + // * `planned` - Planned + // * `active` - Active + // * `deprecated` - Deprecated + Status *PatchedWritableRackRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + + // Type * `2-post-frame` - 2-post frame + // * `4-post-frame` - 4-post frame + // * `4-post-cabinet` - 4-post cabinet + // * `wall-frame` - Wall-mounted frame + // * `wall-frame-vertical` - Wall-mounted frame (vertical) + // * `wall-cabinet` - Wall-mounted cabinet + // * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) + Type *PatchedWritableRackRequestType `json:"type,omitempty"` + + // UHeight Height in rack units + UHeight *int `json:"u_height,omitempty"` + Weight *float64 `json:"weight"` + + // WeightUnit * `kg` - Kilograms + // * `g` - Grams + // * `lb` - Pounds + // * `oz` - Ounces + WeightUnit *PatchedWritableRackRequestWeightUnit `json:"weight_unit,omitempty"` + + // Width Rail-to-rail width + // + // * `10` - 10 inches + // * `19` - 19 inches + // * `21` - 21 inches + // * `23` - 23 inches + Width *PatchedWritableRackRequestWidth `json:"width,omitempty"` +} + +// PatchedWritableRackRequestOuterUnit * `mm` - Millimeters +// * `in` - Inches +type PatchedWritableRackRequestOuterUnit string + +// PatchedWritableRackRequestStatus * `reserved` - Reserved +// * `available` - Available +// * `planned` - Planned +// * `active` - Active +// * `deprecated` - Deprecated +type PatchedWritableRackRequestStatus string + +// PatchedWritableRackRequestType * `2-post-frame` - 2-post frame +// * `4-post-frame` - 4-post frame +// * `4-post-cabinet` - 4-post cabinet +// * `wall-frame` - Wall-mounted frame +// * `wall-frame-vertical` - Wall-mounted frame (vertical) +// * `wall-cabinet` - Wall-mounted cabinet +// * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +type PatchedWritableRackRequestType string + +// PatchedWritableRackRequestWeightUnit * `kg` - Kilograms +// * `g` - Grams +// * `lb` - Pounds +// * `oz` - Ounces +type PatchedWritableRackRequestWeightUnit string + +// PatchedWritableRackRequestWidth Rail-to-rail width +// +// * `10` - 10 inches +// * `19` - 19 inches +// * `21` - 21 inches +// * `23` - 23 inches +type PatchedWritableRackRequestWidth int + +// PatchedWritableRackReservationRequest Adds support for custom fields and tags. +type PatchedWritableRackReservationRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Rack *int `json:"rack,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + Units *[]int `json:"units,omitempty"` + User *int `json:"user,omitempty"` +} + +// PatchedWritableRearPortRequest Adds support for custom fields and tags. +type PatchedWritableRearPortRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *int `json:"module"` + Name *string `json:"name,omitempty"` + + // Positions Number of front ports which may be mapped + Positions *int `json:"positions,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Type *PatchedWritableRearPortRequestType `json:"type,omitempty"` +} + +// PatchedWritableRearPortRequestType * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type PatchedWritableRearPortRequestType string + +// PatchedWritableRearPortTemplateRequest 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 PatchedWritableRearPortTemplateRequest struct { + Color *string `json:"color,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *int `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name *string `json:"name,omitempty"` + Positions *int `json:"positions,omitempty"` + + // Type * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Type *PatchedWritableRearPortTemplateRequestType `json:"type,omitempty"` +} + +// PatchedWritableRearPortTemplateRequestType * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type PatchedWritableRearPortTemplateRequestType string + +// PatchedWritableRegionRequest Extends PrimaryModelSerializer to include MPTT support. +type PatchedWritableRegionRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Parent *int `json:"parent"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableRouteTargetRequest Adds support for custom fields and tags. +type PatchedWritableRouteTargetRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Route target value (formatted in accordance with RFC 4360) + Name *string `json:"name,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// PatchedWritableServiceRequest Adds support for custom fields and tags. +type PatchedWritableServiceRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device"` + + // Ipaddresses The specific IP addresses (if any) to which this service is bound + Ipaddresses *[]int `json:"ipaddresses,omitempty"` + Name *string `json:"name,omitempty"` + Ports *[]int `json:"ports,omitempty"` + + // Protocol * `tcp` - TCP + // * `udp` - UDP + // * `sctp` - SCTP + Protocol *PatchedWritableServiceRequestProtocol `json:"protocol,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + VirtualMachine *int `json:"virtual_machine"` +} + +// PatchedWritableServiceRequestProtocol * `tcp` - TCP +// * `udp` - UDP +// * `sctp` - SCTP +type PatchedWritableServiceRequestProtocol string + +// PatchedWritableServiceTemplateRequest Adds support for custom fields and tags. +type PatchedWritableServiceTemplateRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Ports *[]int `json:"ports,omitempty"` + + // Protocol * `tcp` - TCP + // * `udp` - UDP + // * `sctp` - SCTP + Protocol *PatchedWritableServiceTemplateRequestProtocol `json:"protocol,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableServiceTemplateRequestProtocol * `tcp` - TCP +// * `udp` - UDP +// * `sctp` - SCTP +type PatchedWritableServiceTemplateRequestProtocol string + +// PatchedWritableSiteGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type PatchedWritableSiteGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Parent *int `json:"parent"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableSiteRequest Adds support for custom fields and tags. +type PatchedWritableSiteRequest struct { + Asns *[]int `json:"asns,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Facility Local facility ID or description + Facility *string `json:"facility,omitempty"` + Group *int `json:"group"` + + // Latitude GPS coordinate in decimal format (xx.yyyyyy) + Latitude *float64 `json:"latitude"` + + // Longitude GPS coordinate in decimal format (xx.yyyyyy) + Longitude *float64 `json:"longitude"` + + // Name Full name of the site + Name *string `json:"name,omitempty"` + + // PhysicalAddress Physical location of the building + PhysicalAddress *string `json:"physical_address,omitempty"` + Region *int `json:"region"` + + // ShippingAddress If different from the physical address + ShippingAddress *string `json:"shipping_address,omitempty"` + Slug *string `json:"slug,omitempty"` + + // Status * `planned` - Planned + // * `staging` - Staging + // * `active` - Active + // * `decommissioning` - Decommissioning + // * `retired` - Retired + Status *PatchedWritableSiteRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + TimeZone *string `json:"time_zone"` +} + +// PatchedWritableSiteRequestStatus * `planned` - Planned +// * `staging` - Staging +// * `active` - Active +// * `decommissioning` - Decommissioning +// * `retired` - Retired +type PatchedWritableSiteRequestStatus string + +// PatchedWritableTenantGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type PatchedWritableTenantGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Parent *int `json:"parent"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableTenantRequest Adds support for custom fields and tags. +type PatchedWritableTenantRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *int `json:"group"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableTokenRequest 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 PatchedWritableTokenRequest struct { + Description *string `json:"description,omitempty"` + Expires *time.Time `json:"expires"` + Key *string `json:"key,omitempty"` + LastUsed *time.Time `json:"last_used"` + User *int `json:"user,omitempty"` + + // WriteEnabled Permit create/update/delete operations using this key + WriteEnabled *bool `json:"write_enabled,omitempty"` +} + +// PatchedWritableUserRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedWritableUserRequest struct { + DateJoined *time.Time `json:"date_joined,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + FirstName *string `json:"first_name,omitempty"` + + // Groups The groups this user belongs to. A user will get all permissions granted to each of their groups. + Groups *[]int `json:"groups,omitempty"` + + // IsActive Designates whether this user should be treated as active. Unselect this instead of deleting accounts. + IsActive *bool `json:"is_active,omitempty"` + + // IsStaff Designates whether the user can log into this admin site. + IsStaff *bool `json:"is_staff,omitempty"` + LastName *string `json:"last_name,omitempty"` + Password *string `json:"password,omitempty"` + + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + Username *string `json:"username,omitempty"` +} + +// PatchedWritableVLANRequest Adds support for custom fields and tags. +type PatchedWritableVLANRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Group VLAN group (optional) + Group *int `json:"group"` + Name *string `json:"name,omitempty"` + + // Role The primary function of this VLAN + Role *int `json:"role"` + + // Site The specific site to which this VLAN is assigned (if any) + Site *int `json:"site"` + + // Status Operational status of this VLAN + // + // * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Status *PatchedWritableVLANRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + + // Vid Numeric VLAN ID (1-4094) + Vid *int `json:"vid,omitempty"` +} + +// PatchedWritableVLANRequestStatus Operational status of this VLAN +// +// * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +type PatchedWritableVLANRequestStatus string + +// PatchedWritableVMInterfaceRequest Adds support for custom fields and tags. +type PatchedWritableVMInterfaceRequest struct { + Bridge *int `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + MacAddress *string `json:"mac_address"` + + // Mode IEEE 802.1Q tagging strategy + // + // * `access` - Access + // * `tagged` - Tagged + // * `tagged-all` - Tagged (All) + Mode *PatchedWritableVMInterfaceRequestMode `json:"mode,omitempty"` + Mtu *int `json:"mtu"` + Name *string `json:"name,omitempty"` + Parent *int `json:"parent"` + TaggedVlans *[]int `json:"tagged_vlans,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + UntaggedVlan *int `json:"untagged_vlan"` + VirtualMachine *int `json:"virtual_machine,omitempty"` + Vrf *int `json:"vrf"` +} + +// PatchedWritableVMInterfaceRequestMode IEEE 802.1Q tagging strategy +// +// * `access` - Access +// * `tagged` - Tagged +// * `tagged-all` - Tagged (All) +type PatchedWritableVMInterfaceRequestMode string + +// PatchedWritableVRFRequest Adds support for custom fields and tags. +type PatchedWritableVRFRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // EnforceUnique Prevent duplicate prefixes/IP addresses within this VRF + EnforceUnique *bool `json:"enforce_unique,omitempty"` + ExportTargets *[]int `json:"export_targets,omitempty"` + ImportTargets *[]int `json:"import_targets,omitempty"` + Name *string `json:"name,omitempty"` + + // Rd Unique route distinguisher (as defined in RFC 4364) + Rd *string `json:"rd"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// PatchedWritableVirtualChassisRequest Adds support for custom fields and tags. +type PatchedWritableVirtualChassisRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Domain *string `json:"domain,omitempty"` + Master *int `json:"master"` + Name *string `json:"name,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableVirtualDeviceContextRequest Adds support for custom fields and tags. +type PatchedWritableVirtualDeviceContextRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device"` + + // Identifier Numeric identifier unique to the parent device + Identifier *int `json:"identifier"` + Name *string `json:"name,omitempty"` + PrimaryIp4 *int `json:"primary_ip4"` + PrimaryIp6 *int `json:"primary_ip6"` + + // Status * `active` - Active + // * `planned` - Planned + // * `offline` - Offline + Status *PatchedWritableVirtualDeviceContextRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// PatchedWritableVirtualDeviceContextRequestStatus * `active` - Active +// * `planned` - Planned +// * `offline` - Offline +type PatchedWritableVirtualDeviceContextRequestStatus string + +// PatchedWritableVirtualMachineWithConfigContextRequest Adds support for custom fields and tags. +type PatchedWritableVirtualMachineWithConfigContextRequest struct { + Cluster *int `json:"cluster"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device"` + Disk *int `json:"disk"` + + // LocalContextData Local config context data takes precedence over source contexts in the final rendered config context + LocalContextData *map[string]interface{} `json:"local_context_data"` + Memory *int `json:"memory"` + Name *string `json:"name,omitempty"` + Platform *int `json:"platform"` + PrimaryIp4 *int `json:"primary_ip4"` + PrimaryIp6 *int `json:"primary_ip6"` + Role *int `json:"role"` + Site *int `json:"site"` + + // Status * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `staged` - Staged + // * `failed` - Failed + // * `decommissioning` - Decommissioning + Status *PatchedWritableVirtualMachineWithConfigContextRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + Vcpus *float64 `json:"vcpus"` +} + +// PatchedWritableVirtualMachineWithConfigContextRequestStatus * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `staged` - Staged +// * `failed` - Failed +// * `decommissioning` - Decommissioning +type PatchedWritableVirtualMachineWithConfigContextRequestStatus string + +// PatchedWritableWirelessLANGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type PatchedWritableWirelessLANGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Parent *int `json:"parent"` + Slug *string `json:"slug,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PatchedWritableWirelessLANRequest Adds support for custom fields and tags. +type PatchedWritableWirelessLANRequest struct { + // AuthCipher * `auto` - Auto + // * `tkip` - TKIP + // * `aes` - AES + AuthCipher *PatchedWritableWirelessLANRequestAuthCipher `json:"auth_cipher,omitempty"` + AuthPsk *string `json:"auth_psk,omitempty"` + + // AuthType * `open` - Open + // * `wep` - WEP + // * `wpa-personal` - WPA Personal (PSK) + // * `wpa-enterprise` - WPA Enterprise + AuthType *PatchedWritableWirelessLANRequestAuthType `json:"auth_type,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *int `json:"group"` + Ssid *string `json:"ssid,omitempty"` + + // Status * `active` - Active + // * `reserved` - Reserved + // * `disabled` - Disabled + // * `deprecated` - Deprecated + Status *PatchedWritableWirelessLANRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + Vlan *int `json:"vlan"` +} + +// PatchedWritableWirelessLANRequestAuthCipher * `auto` - Auto +// * `tkip` - TKIP +// * `aes` - AES +type PatchedWritableWirelessLANRequestAuthCipher string + +// PatchedWritableWirelessLANRequestAuthType * `open` - Open +// * `wep` - WEP +// * `wpa-personal` - WPA Personal (PSK) +// * `wpa-enterprise` - WPA Enterprise +type PatchedWritableWirelessLANRequestAuthType string + +// PatchedWritableWirelessLANRequestStatus * `active` - Active +// * `reserved` - Reserved +// * `disabled` - Disabled +// * `deprecated` - Deprecated +type PatchedWritableWirelessLANRequestStatus string + +// PatchedWritableWirelessLinkRequest Adds support for custom fields and tags. +type PatchedWritableWirelessLinkRequest struct { + // AuthCipher * `auto` - Auto + // * `tkip` - TKIP + // * `aes` - AES + AuthCipher *PatchedWritableWirelessLinkRequestAuthCipher `json:"auth_cipher,omitempty"` + AuthPsk *string `json:"auth_psk,omitempty"` + + // AuthType * `open` - Open + // * `wep` - WEP + // * `wpa-personal` - WPA Personal (PSK) + // * `wpa-enterprise` - WPA Enterprise + AuthType *PatchedWritableWirelessLinkRequestAuthType `json:"auth_type,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + InterfaceA *int `json:"interface_a,omitempty"` + InterfaceB *int `json:"interface_b,omitempty"` + Ssid *string `json:"ssid,omitempty"` + + // Status * `connected` - Connected + // * `planned` - Planned + // * `decommissioning` - Decommissioning + Status *PatchedWritableWirelessLinkRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// PatchedWritableWirelessLinkRequestAuthCipher * `auto` - Auto +// * `tkip` - TKIP +// * `aes` - AES +type PatchedWritableWirelessLinkRequestAuthCipher string + +// PatchedWritableWirelessLinkRequestAuthType * `open` - Open +// * `wep` - WEP +// * `wpa-personal` - WPA Personal (PSK) +// * `wpa-enterprise` - WPA Enterprise +type PatchedWritableWirelessLinkRequestAuthType string + +// PatchedWritableWirelessLinkRequestStatus * `connected` - Connected +// * `planned` - Planned +// * `decommissioning` - Decommissioning +type PatchedWritableWirelessLinkRequestStatus string + +// Platform Adds support for custom fields and tags. +type Platform struct { + ConfigTemplate *NestedConfigTemplate `json:"config_template"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Manufacturer *NestedManufacturer `json:"manufacturer"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` +} + +// PlatformRequest Adds support for custom fields and tags. +type PlatformRequest struct { + ConfigTemplate *NestedConfigTemplateRequest `json:"config_template"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Manufacturer *NestedManufacturerRequest `json:"manufacturer"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PowerFeed Adds support for custom fields and tags. +type PowerFeed struct { + Occupied *bool `json:"_occupied,omitempty"` + Amperage *int `json:"amperage,omitempty"` + Cable *NestedCable `json:"cable"` + CableEnd *string `json:"cable_end,omitempty"` + Comments *string `json:"comments,omitempty"` + ConnectedEndpoints *[]interface{} `json:"connected_endpoints,omitempty"` + ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` + ConnectedEndpointsType *string `json:"connected_endpoints_type,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + LinkPeers *[]interface{} `json:"link_peers,omitempty"` + + // LinkPeersType Return the type of the peer link terminations, or None. + LinkPeersType *string `json:"link_peers_type,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // MaxUtilization Maximum permissible draw (percentage) + MaxUtilization *int `json:"max_utilization,omitempty"` + Name string `json:"name"` + Phase *struct { + Label *PowerFeedPhaseLabel `json:"label,omitempty"` + + // Value * `single-phase` - Single phase + // * `three-phase` - Three-phase + Value *PowerFeedPhaseValue `json:"value,omitempty"` + } `json:"phase,omitempty"` + + // PowerPanel Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + PowerPanel NestedPowerPanel `json:"power_panel"` + Rack *NestedRack `json:"rack"` + Status *struct { + Label *PowerFeedStatusLabel `json:"label,omitempty"` + + // Value * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `failed` - Failed + Value *PowerFeedStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Supply *struct { + Label *PowerFeedSupplyLabel `json:"label,omitempty"` + + // Value * `ac` - AC + // * `dc` - DC + Value *PowerFeedSupplyValue `json:"value,omitempty"` + } `json:"supply,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Type *struct { + Label *PowerFeedTypeLabel `json:"label,omitempty"` + + // Value * `primary` - Primary + // * `redundant` - Redundant + Value *PowerFeedTypeValue `json:"value,omitempty"` + } `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + Voltage *int `json:"voltage,omitempty"` +} + +// PowerFeedPhaseLabel defines model for PowerFeed.Phase.Label. +type PowerFeedPhaseLabel string + +// PowerFeedPhaseValue * `single-phase` - Single phase +// * `three-phase` - Three-phase +type PowerFeedPhaseValue string + +// PowerFeedStatusLabel defines model for PowerFeed.Status.Label. +type PowerFeedStatusLabel string + +// PowerFeedStatusValue * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `failed` - Failed +type PowerFeedStatusValue string + +// PowerFeedSupplyLabel defines model for PowerFeed.Supply.Label. +type PowerFeedSupplyLabel string + +// PowerFeedSupplyValue * `ac` - AC +// * `dc` - DC +type PowerFeedSupplyValue string + +// PowerFeedTypeLabel defines model for PowerFeed.Type.Label. +type PowerFeedTypeLabel string + +// PowerFeedTypeValue * `primary` - Primary +// * `redundant` - Redundant +type PowerFeedTypeValue string + +// PowerFeedRequest Adds support for custom fields and tags. +type PowerFeedRequest struct { + Amperage *int `json:"amperage,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // MaxUtilization Maximum permissible draw (percentage) + MaxUtilization *int `json:"max_utilization,omitempty"` + Name string `json:"name"` + + // Phase * `single-phase` - Single phase + // * `three-phase` - Three-phase + Phase *PowerFeedRequestPhase `json:"phase,omitempty"` + + // PowerPanel Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + PowerPanel NestedPowerPanelRequest `json:"power_panel"` + Rack *NestedRackRequest `json:"rack"` + + // Status * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `failed` - Failed + Status *PowerFeedRequestStatus `json:"status,omitempty"` + + // Supply * `ac` - AC + // * `dc` - DC + Supply *PowerFeedRequestSupply `json:"supply,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + + // Type * `primary` - Primary + // * `redundant` - Redundant + Type *PowerFeedRequestType `json:"type,omitempty"` + Voltage *int `json:"voltage,omitempty"` +} + +// PowerFeedRequestPhase * `single-phase` - Single phase +// * `three-phase` - Three-phase +type PowerFeedRequestPhase string + +// PowerFeedRequestStatus * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `failed` - Failed +type PowerFeedRequestStatus string + +// PowerFeedRequestSupply * `ac` - AC +// * `dc` - DC +type PowerFeedRequestSupply string + +// PowerFeedRequestType * `primary` - Primary +// * `redundant` - Redundant +type PowerFeedRequestType string + +// PowerOutlet Adds support for custom fields and tags. +type PowerOutlet struct { + Occupied *bool `json:"_occupied,omitempty"` + Cable *NestedCable `json:"cable"` + CableEnd *string `json:"cable_end,omitempty"` + ConnectedEndpoints *[]interface{} `json:"connected_endpoints,omitempty"` + ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` + ConnectedEndpointsType *string `json:"connected_endpoints_type,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDevice `json:"device"` + Display *string `json:"display,omitempty"` + FeedLeg *struct { + Label *PowerOutletFeedLegLabel `json:"label,omitempty"` + + // Value * `A` - A + // * `B` - B + // * `C` - C + Value *PowerOutletFeedLegValue `json:"value,omitempty"` + } `json:"feed_leg"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + LinkPeers *[]interface{} `json:"link_peers,omitempty"` + + // LinkPeersType Return the type of the peer link terminations, or None. + LinkPeersType *string `json:"link_peers_type,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *ComponentNestedModule `json:"module"` + Name string `json:"name"` + PowerPort *NestedPowerPort `json:"power_port"` + Tags *[]NestedTag `json:"tags,omitempty"` + Type *struct { + Label *PowerOutletTypeLabel `json:"label,omitempty"` + + // Value * `iec-60320-c5` - C5 + // * `iec-60320-c7` - C7 + // * `iec-60320-c13` - C13 + // * `iec-60320-c15` - C15 + // * `iec-60320-c19` - C19 + // * `iec-60320-c21` - C21 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15r` - NEMA 1-15R + // * `nema-5-15r` - NEMA 5-15R + // * `nema-5-20r` - NEMA 5-20R + // * `nema-5-30r` - NEMA 5-30R + // * `nema-5-50r` - NEMA 5-50R + // * `nema-6-15r` - NEMA 6-15R + // * `nema-6-20r` - NEMA 6-20R + // * `nema-6-30r` - NEMA 6-30R + // * `nema-6-50r` - NEMA 6-50R + // * `nema-10-30r` - NEMA 10-30R + // * `nema-10-50r` - NEMA 10-50R + // * `nema-14-20r` - NEMA 14-20R + // * `nema-14-30r` - NEMA 14-30R + // * `nema-14-50r` - NEMA 14-50R + // * `nema-14-60r` - NEMA 14-60R + // * `nema-15-15r` - NEMA 15-15R + // * `nema-15-20r` - NEMA 15-20R + // * `nema-15-30r` - NEMA 15-30R + // * `nema-15-50r` - NEMA 15-50R + // * `nema-15-60r` - NEMA 15-60R + // * `nema-l1-15r` - NEMA L1-15R + // * `nema-l5-15r` - NEMA L5-15R + // * `nema-l5-20r` - NEMA L5-20R + // * `nema-l5-30r` - NEMA L5-30R + // * `nema-l5-50r` - NEMA L5-50R + // * `nema-l6-15r` - NEMA L6-15R + // * `nema-l6-20r` - NEMA L6-20R + // * `nema-l6-30r` - NEMA L6-30R + // * `nema-l6-50r` - NEMA L6-50R + // * `nema-l10-30r` - NEMA L10-30R + // * `nema-l14-20r` - NEMA L14-20R + // * `nema-l14-30r` - NEMA L14-30R + // * `nema-l14-50r` - NEMA L14-50R + // * `nema-l14-60r` - NEMA L14-60R + // * `nema-l15-20r` - NEMA L15-20R + // * `nema-l15-30r` - NEMA L15-30R + // * `nema-l15-50r` - NEMA L15-50R + // * `nema-l15-60r` - NEMA L15-60R + // * `nema-l21-20r` - NEMA L21-20R + // * `nema-l21-30r` - NEMA L21-30R + // * `nema-l22-30r` - NEMA L22-30R + // * `CS6360C` - CS6360C + // * `CS6364C` - CS6364C + // * `CS8164C` - CS8164C + // * `CS8264C` - CS8264C + // * `CS8364C` - CS8364C + // * `CS8464C` - CS8464C + // * `ita-e` - ITA Type E (CEE 7/5) + // * `ita-f` - ITA Type F (CEE 7/3) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `ita-multistandard` - ITA Multistandard + // * `usb-a` - USB Type A + // * `usb-micro-b` - USB Micro B + // * `usb-c` - USB Type C + // * `dc-terminal` - DC Terminal + // * `hdot-cx` - HDOT Cx + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20a` - Neutrik powerCON (20A) + // * `neutrik-powercon-32a` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Value *PowerOutletTypeValue `json:"value,omitempty"` + } `json:"type"` + Url *string `json:"url,omitempty"` +} + +// PowerOutletFeedLegLabel defines model for PowerOutlet.FeedLeg.Label. +type PowerOutletFeedLegLabel string + +// PowerOutletFeedLegValue * `A` - A +// * `B` - B +// * `C` - C +type PowerOutletFeedLegValue string + +// PowerOutletTypeLabel defines model for PowerOutlet.Type.Label. +type PowerOutletTypeLabel string + +// PowerOutletTypeValue * `iec-60320-c5` - C5 +// * `iec-60320-c7` - C7 +// * `iec-60320-c13` - C13 +// * `iec-60320-c15` - C15 +// * `iec-60320-c19` - C19 +// * `iec-60320-c21` - C21 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15r` - NEMA 1-15R +// * `nema-5-15r` - NEMA 5-15R +// * `nema-5-20r` - NEMA 5-20R +// * `nema-5-30r` - NEMA 5-30R +// * `nema-5-50r` - NEMA 5-50R +// * `nema-6-15r` - NEMA 6-15R +// * `nema-6-20r` - NEMA 6-20R +// * `nema-6-30r` - NEMA 6-30R +// * `nema-6-50r` - NEMA 6-50R +// * `nema-10-30r` - NEMA 10-30R +// * `nema-10-50r` - NEMA 10-50R +// * `nema-14-20r` - NEMA 14-20R +// * `nema-14-30r` - NEMA 14-30R +// * `nema-14-50r` - NEMA 14-50R +// * `nema-14-60r` - NEMA 14-60R +// * `nema-15-15r` - NEMA 15-15R +// * `nema-15-20r` - NEMA 15-20R +// * `nema-15-30r` - NEMA 15-30R +// * `nema-15-50r` - NEMA 15-50R +// * `nema-15-60r` - NEMA 15-60R +// * `nema-l1-15r` - NEMA L1-15R +// * `nema-l5-15r` - NEMA L5-15R +// * `nema-l5-20r` - NEMA L5-20R +// * `nema-l5-30r` - NEMA L5-30R +// * `nema-l5-50r` - NEMA L5-50R +// * `nema-l6-15r` - NEMA L6-15R +// * `nema-l6-20r` - NEMA L6-20R +// * `nema-l6-30r` - NEMA L6-30R +// * `nema-l6-50r` - NEMA L6-50R +// * `nema-l10-30r` - NEMA L10-30R +// * `nema-l14-20r` - NEMA L14-20R +// * `nema-l14-30r` - NEMA L14-30R +// * `nema-l14-50r` - NEMA L14-50R +// * `nema-l14-60r` - NEMA L14-60R +// * `nema-l15-20r` - NEMA L15-20R +// * `nema-l15-30r` - NEMA L15-30R +// * `nema-l15-50r` - NEMA L15-50R +// * `nema-l15-60r` - NEMA L15-60R +// * `nema-l21-20r` - NEMA L21-20R +// * `nema-l21-30r` - NEMA L21-30R +// * `nema-l22-30r` - NEMA L22-30R +// * `CS6360C` - CS6360C +// * `CS6364C` - CS6364C +// * `CS8164C` - CS8164C +// * `CS8264C` - CS8264C +// * `CS8364C` - CS8364C +// * `CS8464C` - CS8464C +// * `ita-e` - ITA Type E (CEE 7/5) +// * `ita-f` - ITA Type F (CEE 7/3) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `ita-multistandard` - ITA Multistandard +// * `usb-a` - USB Type A +// * `usb-micro-b` - USB Micro B +// * `usb-c` - USB Type C +// * `dc-terminal` - DC Terminal +// * `hdot-cx` - HDOT Cx +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20a` - Neutrik powerCON (20A) +// * `neutrik-powercon-32a` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type PowerOutletTypeValue string + +// PowerOutletRequest Adds support for custom fields and tags. +type PowerOutletRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDeviceRequest `json:"device"` + + // FeedLeg * `A` - A + // * `B` - B + // * `C` - C + FeedLeg *PowerOutletRequestFeedLeg `json:"feed_leg"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *ComponentNestedModuleRequest `json:"module"` + Name string `json:"name"` + PowerPort *NestedPowerPortRequest `json:"power_port"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type * `iec-60320-c5` - C5 + // * `iec-60320-c7` - C7 + // * `iec-60320-c13` - C13 + // * `iec-60320-c15` - C15 + // * `iec-60320-c19` - C19 + // * `iec-60320-c21` - C21 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15r` - NEMA 1-15R + // * `nema-5-15r` - NEMA 5-15R + // * `nema-5-20r` - NEMA 5-20R + // * `nema-5-30r` - NEMA 5-30R + // * `nema-5-50r` - NEMA 5-50R + // * `nema-6-15r` - NEMA 6-15R + // * `nema-6-20r` - NEMA 6-20R + // * `nema-6-30r` - NEMA 6-30R + // * `nema-6-50r` - NEMA 6-50R + // * `nema-10-30r` - NEMA 10-30R + // * `nema-10-50r` - NEMA 10-50R + // * `nema-14-20r` - NEMA 14-20R + // * `nema-14-30r` - NEMA 14-30R + // * `nema-14-50r` - NEMA 14-50R + // * `nema-14-60r` - NEMA 14-60R + // * `nema-15-15r` - NEMA 15-15R + // * `nema-15-20r` - NEMA 15-20R + // * `nema-15-30r` - NEMA 15-30R + // * `nema-15-50r` - NEMA 15-50R + // * `nema-15-60r` - NEMA 15-60R + // * `nema-l1-15r` - NEMA L1-15R + // * `nema-l5-15r` - NEMA L5-15R + // * `nema-l5-20r` - NEMA L5-20R + // * `nema-l5-30r` - NEMA L5-30R + // * `nema-l5-50r` - NEMA L5-50R + // * `nema-l6-15r` - NEMA L6-15R + // * `nema-l6-20r` - NEMA L6-20R + // * `nema-l6-30r` - NEMA L6-30R + // * `nema-l6-50r` - NEMA L6-50R + // * `nema-l10-30r` - NEMA L10-30R + // * `nema-l14-20r` - NEMA L14-20R + // * `nema-l14-30r` - NEMA L14-30R + // * `nema-l14-50r` - NEMA L14-50R + // * `nema-l14-60r` - NEMA L14-60R + // * `nema-l15-20r` - NEMA L15-20R + // * `nema-l15-30r` - NEMA L15-30R + // * `nema-l15-50r` - NEMA L15-50R + // * `nema-l15-60r` - NEMA L15-60R + // * `nema-l21-20r` - NEMA L21-20R + // * `nema-l21-30r` - NEMA L21-30R + // * `nema-l22-30r` - NEMA L22-30R + // * `CS6360C` - CS6360C + // * `CS6364C` - CS6364C + // * `CS8164C` - CS8164C + // * `CS8264C` - CS8264C + // * `CS8364C` - CS8364C + // * `CS8464C` - CS8464C + // * `ita-e` - ITA Type E (CEE 7/5) + // * `ita-f` - ITA Type F (CEE 7/3) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `ita-multistandard` - ITA Multistandard + // * `usb-a` - USB Type A + // * `usb-micro-b` - USB Micro B + // * `usb-c` - USB Type C + // * `dc-terminal` - DC Terminal + // * `hdot-cx` - HDOT Cx + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20a` - Neutrik powerCON (20A) + // * `neutrik-powercon-32a` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Type *PowerOutletRequestType `json:"type"` +} + +// PowerOutletRequestFeedLeg * `A` - A +// * `B` - B +// * `C` - C +type PowerOutletRequestFeedLeg string + +// PowerOutletRequestType * `iec-60320-c5` - C5 +// * `iec-60320-c7` - C7 +// * `iec-60320-c13` - C13 +// * `iec-60320-c15` - C15 +// * `iec-60320-c19` - C19 +// * `iec-60320-c21` - C21 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15r` - NEMA 1-15R +// * `nema-5-15r` - NEMA 5-15R +// * `nema-5-20r` - NEMA 5-20R +// * `nema-5-30r` - NEMA 5-30R +// * `nema-5-50r` - NEMA 5-50R +// * `nema-6-15r` - NEMA 6-15R +// * `nema-6-20r` - NEMA 6-20R +// * `nema-6-30r` - NEMA 6-30R +// * `nema-6-50r` - NEMA 6-50R +// * `nema-10-30r` - NEMA 10-30R +// * `nema-10-50r` - NEMA 10-50R +// * `nema-14-20r` - NEMA 14-20R +// * `nema-14-30r` - NEMA 14-30R +// * `nema-14-50r` - NEMA 14-50R +// * `nema-14-60r` - NEMA 14-60R +// * `nema-15-15r` - NEMA 15-15R +// * `nema-15-20r` - NEMA 15-20R +// * `nema-15-30r` - NEMA 15-30R +// * `nema-15-50r` - NEMA 15-50R +// * `nema-15-60r` - NEMA 15-60R +// * `nema-l1-15r` - NEMA L1-15R +// * `nema-l5-15r` - NEMA L5-15R +// * `nema-l5-20r` - NEMA L5-20R +// * `nema-l5-30r` - NEMA L5-30R +// * `nema-l5-50r` - NEMA L5-50R +// * `nema-l6-15r` - NEMA L6-15R +// * `nema-l6-20r` - NEMA L6-20R +// * `nema-l6-30r` - NEMA L6-30R +// * `nema-l6-50r` - NEMA L6-50R +// * `nema-l10-30r` - NEMA L10-30R +// * `nema-l14-20r` - NEMA L14-20R +// * `nema-l14-30r` - NEMA L14-30R +// * `nema-l14-50r` - NEMA L14-50R +// * `nema-l14-60r` - NEMA L14-60R +// * `nema-l15-20r` - NEMA L15-20R +// * `nema-l15-30r` - NEMA L15-30R +// * `nema-l15-50r` - NEMA L15-50R +// * `nema-l15-60r` - NEMA L15-60R +// * `nema-l21-20r` - NEMA L21-20R +// * `nema-l21-30r` - NEMA L21-30R +// * `nema-l22-30r` - NEMA L22-30R +// * `CS6360C` - CS6360C +// * `CS6364C` - CS6364C +// * `CS8164C` - CS8164C +// * `CS8264C` - CS8264C +// * `CS8364C` - CS8364C +// * `CS8464C` - CS8464C +// * `ita-e` - ITA Type E (CEE 7/5) +// * `ita-f` - ITA Type F (CEE 7/3) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `ita-multistandard` - ITA Multistandard +// * `usb-a` - USB Type A +// * `usb-micro-b` - USB Micro B +// * `usb-c` - USB Type C +// * `dc-terminal` - DC Terminal +// * `hdot-cx` - HDOT Cx +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20a` - Neutrik powerCON (20A) +// * `neutrik-powercon-32a` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type PowerOutletRequestType string + +// PowerOutletTemplate 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 PowerOutletTemplate struct { + Created *time.Time `json:"created"` + Description *string `json:"description,omitempty"` + DeviceType *NestedDeviceType `json:"device_type"` + Display *string `json:"display,omitempty"` + FeedLeg *struct { + Label *PowerOutletTemplateFeedLegLabel `json:"label,omitempty"` + + // Value * `A` - A + // * `B` - B + // * `C` - C + Value *PowerOutletTemplateFeedLegValue `json:"value,omitempty"` + } `json:"feed_leg"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + ModuleType *NestedModuleType `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + PowerPort *NestedPowerPortTemplate `json:"power_port"` + Type *struct { + Label *PowerOutletTemplateTypeLabel `json:"label,omitempty"` + + // Value * `iec-60320-c5` - C5 + // * `iec-60320-c7` - C7 + // * `iec-60320-c13` - C13 + // * `iec-60320-c15` - C15 + // * `iec-60320-c19` - C19 + // * `iec-60320-c21` - C21 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15r` - NEMA 1-15R + // * `nema-5-15r` - NEMA 5-15R + // * `nema-5-20r` - NEMA 5-20R + // * `nema-5-30r` - NEMA 5-30R + // * `nema-5-50r` - NEMA 5-50R + // * `nema-6-15r` - NEMA 6-15R + // * `nema-6-20r` - NEMA 6-20R + // * `nema-6-30r` - NEMA 6-30R + // * `nema-6-50r` - NEMA 6-50R + // * `nema-10-30r` - NEMA 10-30R + // * `nema-10-50r` - NEMA 10-50R + // * `nema-14-20r` - NEMA 14-20R + // * `nema-14-30r` - NEMA 14-30R + // * `nema-14-50r` - NEMA 14-50R + // * `nema-14-60r` - NEMA 14-60R + // * `nema-15-15r` - NEMA 15-15R + // * `nema-15-20r` - NEMA 15-20R + // * `nema-15-30r` - NEMA 15-30R + // * `nema-15-50r` - NEMA 15-50R + // * `nema-15-60r` - NEMA 15-60R + // * `nema-l1-15r` - NEMA L1-15R + // * `nema-l5-15r` - NEMA L5-15R + // * `nema-l5-20r` - NEMA L5-20R + // * `nema-l5-30r` - NEMA L5-30R + // * `nema-l5-50r` - NEMA L5-50R + // * `nema-l6-15r` - NEMA L6-15R + // * `nema-l6-20r` - NEMA L6-20R + // * `nema-l6-30r` - NEMA L6-30R + // * `nema-l6-50r` - NEMA L6-50R + // * `nema-l10-30r` - NEMA L10-30R + // * `nema-l14-20r` - NEMA L14-20R + // * `nema-l14-30r` - NEMA L14-30R + // * `nema-l14-50r` - NEMA L14-50R + // * `nema-l14-60r` - NEMA L14-60R + // * `nema-l15-20r` - NEMA L15-20R + // * `nema-l15-30r` - NEMA L15-30R + // * `nema-l15-50r` - NEMA L15-50R + // * `nema-l15-60r` - NEMA L15-60R + // * `nema-l21-20r` - NEMA L21-20R + // * `nema-l21-30r` - NEMA L21-30R + // * `nema-l22-30r` - NEMA L22-30R + // * `CS6360C` - CS6360C + // * `CS6364C` - CS6364C + // * `CS8164C` - CS8164C + // * `CS8264C` - CS8264C + // * `CS8364C` - CS8364C + // * `CS8464C` - CS8464C + // * `ita-e` - ITA Type E (CEE 7/5) + // * `ita-f` - ITA Type F (CEE 7/3) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `ita-multistandard` - ITA Multistandard + // * `usb-a` - USB Type A + // * `usb-micro-b` - USB Micro B + // * `usb-c` - USB Type C + // * `dc-terminal` - DC Terminal + // * `hdot-cx` - HDOT Cx + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20a` - Neutrik powerCON (20A) + // * `neutrik-powercon-32a` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Value *PowerOutletTemplateTypeValue `json:"value,omitempty"` + } `json:"type"` + Url *string `json:"url,omitempty"` +} + +// PowerOutletTemplateFeedLegLabel defines model for PowerOutletTemplate.FeedLeg.Label. +type PowerOutletTemplateFeedLegLabel string + +// PowerOutletTemplateFeedLegValue * `A` - A +// * `B` - B +// * `C` - C +type PowerOutletTemplateFeedLegValue string + +// PowerOutletTemplateTypeLabel defines model for PowerOutletTemplate.Type.Label. +type PowerOutletTemplateTypeLabel string + +// PowerOutletTemplateTypeValue * `iec-60320-c5` - C5 +// * `iec-60320-c7` - C7 +// * `iec-60320-c13` - C13 +// * `iec-60320-c15` - C15 +// * `iec-60320-c19` - C19 +// * `iec-60320-c21` - C21 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15r` - NEMA 1-15R +// * `nema-5-15r` - NEMA 5-15R +// * `nema-5-20r` - NEMA 5-20R +// * `nema-5-30r` - NEMA 5-30R +// * `nema-5-50r` - NEMA 5-50R +// * `nema-6-15r` - NEMA 6-15R +// * `nema-6-20r` - NEMA 6-20R +// * `nema-6-30r` - NEMA 6-30R +// * `nema-6-50r` - NEMA 6-50R +// * `nema-10-30r` - NEMA 10-30R +// * `nema-10-50r` - NEMA 10-50R +// * `nema-14-20r` - NEMA 14-20R +// * `nema-14-30r` - NEMA 14-30R +// * `nema-14-50r` - NEMA 14-50R +// * `nema-14-60r` - NEMA 14-60R +// * `nema-15-15r` - NEMA 15-15R +// * `nema-15-20r` - NEMA 15-20R +// * `nema-15-30r` - NEMA 15-30R +// * `nema-15-50r` - NEMA 15-50R +// * `nema-15-60r` - NEMA 15-60R +// * `nema-l1-15r` - NEMA L1-15R +// * `nema-l5-15r` - NEMA L5-15R +// * `nema-l5-20r` - NEMA L5-20R +// * `nema-l5-30r` - NEMA L5-30R +// * `nema-l5-50r` - NEMA L5-50R +// * `nema-l6-15r` - NEMA L6-15R +// * `nema-l6-20r` - NEMA L6-20R +// * `nema-l6-30r` - NEMA L6-30R +// * `nema-l6-50r` - NEMA L6-50R +// * `nema-l10-30r` - NEMA L10-30R +// * `nema-l14-20r` - NEMA L14-20R +// * `nema-l14-30r` - NEMA L14-30R +// * `nema-l14-50r` - NEMA L14-50R +// * `nema-l14-60r` - NEMA L14-60R +// * `nema-l15-20r` - NEMA L15-20R +// * `nema-l15-30r` - NEMA L15-30R +// * `nema-l15-50r` - NEMA L15-50R +// * `nema-l15-60r` - NEMA L15-60R +// * `nema-l21-20r` - NEMA L21-20R +// * `nema-l21-30r` - NEMA L21-30R +// * `nema-l22-30r` - NEMA L22-30R +// * `CS6360C` - CS6360C +// * `CS6364C` - CS6364C +// * `CS8164C` - CS8164C +// * `CS8264C` - CS8264C +// * `CS8364C` - CS8364C +// * `CS8464C` - CS8464C +// * `ita-e` - ITA Type E (CEE 7/5) +// * `ita-f` - ITA Type F (CEE 7/3) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `ita-multistandard` - ITA Multistandard +// * `usb-a` - USB Type A +// * `usb-micro-b` - USB Micro B +// * `usb-c` - USB Type C +// * `dc-terminal` - DC Terminal +// * `hdot-cx` - HDOT Cx +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20a` - Neutrik powerCON (20A) +// * `neutrik-powercon-32a` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type PowerOutletTemplateTypeValue string + +// PowerOutletTemplateRequest 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 PowerOutletTemplateRequest struct { + Description *string `json:"description,omitempty"` + DeviceType *NestedDeviceTypeRequest `json:"device_type"` + + // FeedLeg * `A` - A + // * `B` - B + // * `C` - C + FeedLeg *PowerOutletTemplateRequestFeedLeg `json:"feed_leg"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *NestedModuleTypeRequest `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + PowerPort *NestedPowerPortTemplateRequest `json:"power_port"` + + // Type * `iec-60320-c5` - C5 + // * `iec-60320-c7` - C7 + // * `iec-60320-c13` - C13 + // * `iec-60320-c15` - C15 + // * `iec-60320-c19` - C19 + // * `iec-60320-c21` - C21 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15r` - NEMA 1-15R + // * `nema-5-15r` - NEMA 5-15R + // * `nema-5-20r` - NEMA 5-20R + // * `nema-5-30r` - NEMA 5-30R + // * `nema-5-50r` - NEMA 5-50R + // * `nema-6-15r` - NEMA 6-15R + // * `nema-6-20r` - NEMA 6-20R + // * `nema-6-30r` - NEMA 6-30R + // * `nema-6-50r` - NEMA 6-50R + // * `nema-10-30r` - NEMA 10-30R + // * `nema-10-50r` - NEMA 10-50R + // * `nema-14-20r` - NEMA 14-20R + // * `nema-14-30r` - NEMA 14-30R + // * `nema-14-50r` - NEMA 14-50R + // * `nema-14-60r` - NEMA 14-60R + // * `nema-15-15r` - NEMA 15-15R + // * `nema-15-20r` - NEMA 15-20R + // * `nema-15-30r` - NEMA 15-30R + // * `nema-15-50r` - NEMA 15-50R + // * `nema-15-60r` - NEMA 15-60R + // * `nema-l1-15r` - NEMA L1-15R + // * `nema-l5-15r` - NEMA L5-15R + // * `nema-l5-20r` - NEMA L5-20R + // * `nema-l5-30r` - NEMA L5-30R + // * `nema-l5-50r` - NEMA L5-50R + // * `nema-l6-15r` - NEMA L6-15R + // * `nema-l6-20r` - NEMA L6-20R + // * `nema-l6-30r` - NEMA L6-30R + // * `nema-l6-50r` - NEMA L6-50R + // * `nema-l10-30r` - NEMA L10-30R + // * `nema-l14-20r` - NEMA L14-20R + // * `nema-l14-30r` - NEMA L14-30R + // * `nema-l14-50r` - NEMA L14-50R + // * `nema-l14-60r` - NEMA L14-60R + // * `nema-l15-20r` - NEMA L15-20R + // * `nema-l15-30r` - NEMA L15-30R + // * `nema-l15-50r` - NEMA L15-50R + // * `nema-l15-60r` - NEMA L15-60R + // * `nema-l21-20r` - NEMA L21-20R + // * `nema-l21-30r` - NEMA L21-30R + // * `nema-l22-30r` - NEMA L22-30R + // * `CS6360C` - CS6360C + // * `CS6364C` - CS6364C + // * `CS8164C` - CS8164C + // * `CS8264C` - CS8264C + // * `CS8364C` - CS8364C + // * `CS8464C` - CS8464C + // * `ita-e` - ITA Type E (CEE 7/5) + // * `ita-f` - ITA Type F (CEE 7/3) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `ita-multistandard` - ITA Multistandard + // * `usb-a` - USB Type A + // * `usb-micro-b` - USB Micro B + // * `usb-c` - USB Type C + // * `dc-terminal` - DC Terminal + // * `hdot-cx` - HDOT Cx + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20a` - Neutrik powerCON (20A) + // * `neutrik-powercon-32a` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Type *PowerOutletTemplateRequestType `json:"type"` +} + +// PowerOutletTemplateRequestFeedLeg * `A` - A +// * `B` - B +// * `C` - C +type PowerOutletTemplateRequestFeedLeg string + +// PowerOutletTemplateRequestType * `iec-60320-c5` - C5 +// * `iec-60320-c7` - C7 +// * `iec-60320-c13` - C13 +// * `iec-60320-c15` - C15 +// * `iec-60320-c19` - C19 +// * `iec-60320-c21` - C21 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15r` - NEMA 1-15R +// * `nema-5-15r` - NEMA 5-15R +// * `nema-5-20r` - NEMA 5-20R +// * `nema-5-30r` - NEMA 5-30R +// * `nema-5-50r` - NEMA 5-50R +// * `nema-6-15r` - NEMA 6-15R +// * `nema-6-20r` - NEMA 6-20R +// * `nema-6-30r` - NEMA 6-30R +// * `nema-6-50r` - NEMA 6-50R +// * `nema-10-30r` - NEMA 10-30R +// * `nema-10-50r` - NEMA 10-50R +// * `nema-14-20r` - NEMA 14-20R +// * `nema-14-30r` - NEMA 14-30R +// * `nema-14-50r` - NEMA 14-50R +// * `nema-14-60r` - NEMA 14-60R +// * `nema-15-15r` - NEMA 15-15R +// * `nema-15-20r` - NEMA 15-20R +// * `nema-15-30r` - NEMA 15-30R +// * `nema-15-50r` - NEMA 15-50R +// * `nema-15-60r` - NEMA 15-60R +// * `nema-l1-15r` - NEMA L1-15R +// * `nema-l5-15r` - NEMA L5-15R +// * `nema-l5-20r` - NEMA L5-20R +// * `nema-l5-30r` - NEMA L5-30R +// * `nema-l5-50r` - NEMA L5-50R +// * `nema-l6-15r` - NEMA L6-15R +// * `nema-l6-20r` - NEMA L6-20R +// * `nema-l6-30r` - NEMA L6-30R +// * `nema-l6-50r` - NEMA L6-50R +// * `nema-l10-30r` - NEMA L10-30R +// * `nema-l14-20r` - NEMA L14-20R +// * `nema-l14-30r` - NEMA L14-30R +// * `nema-l14-50r` - NEMA L14-50R +// * `nema-l14-60r` - NEMA L14-60R +// * `nema-l15-20r` - NEMA L15-20R +// * `nema-l15-30r` - NEMA L15-30R +// * `nema-l15-50r` - NEMA L15-50R +// * `nema-l15-60r` - NEMA L15-60R +// * `nema-l21-20r` - NEMA L21-20R +// * `nema-l21-30r` - NEMA L21-30R +// * `nema-l22-30r` - NEMA L22-30R +// * `CS6360C` - CS6360C +// * `CS6364C` - CS6364C +// * `CS8164C` - CS8164C +// * `CS8264C` - CS8264C +// * `CS8364C` - CS8364C +// * `CS8464C` - CS8464C +// * `ita-e` - ITA Type E (CEE 7/5) +// * `ita-f` - ITA Type F (CEE 7/3) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `ita-multistandard` - ITA Multistandard +// * `usb-a` - USB Type A +// * `usb-micro-b` - USB Micro B +// * `usb-c` - USB Type C +// * `dc-terminal` - DC Terminal +// * `hdot-cx` - HDOT Cx +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20a` - Neutrik powerCON (20A) +// * `neutrik-powercon-32a` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type PowerOutletTemplateRequestType string + +// PowerPanel Adds support for custom fields and tags. +type PowerPanel struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Location *NestedLocation `json:"location"` + Name string `json:"name"` + PowerfeedCount *int `json:"powerfeed_count,omitempty"` + + // Site Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Site NestedSite `json:"site"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// PowerPanelRequest Adds support for custom fields and tags. +type PowerPanelRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Location *NestedLocationRequest `json:"location"` + Name string `json:"name"` + + // Site Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Site NestedSiteRequest `json:"site"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// PowerPort Adds support for custom fields and tags. +type PowerPort struct { + Occupied *bool `json:"_occupied,omitempty"` + + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + Cable *NestedCable `json:"cable"` + CableEnd *string `json:"cable_end,omitempty"` + ConnectedEndpoints *[]interface{} `json:"connected_endpoints,omitempty"` + ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` + ConnectedEndpointsType *string `json:"connected_endpoints_type,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDevice `json:"device"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + LinkPeers *[]interface{} `json:"link_peers,omitempty"` + + // LinkPeersType Return the type of the peer link terminations, or None. + LinkPeersType *string `json:"link_peers_type,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + Module *ComponentNestedModule `json:"module"` + Name string `json:"name"` + Tags *[]NestedTag `json:"tags,omitempty"` + Type *struct { + Label *PowerPortTypeLabel `json:"label,omitempty"` + + // Value * `iec-60320-c6` - C6 + // * `iec-60320-c8` - C8 + // * `iec-60320-c14` - C14 + // * `iec-60320-c16` - C16 + // * `iec-60320-c20` - C20 + // * `iec-60320-c22` - C22 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15p` - NEMA 1-15P + // * `nema-5-15p` - NEMA 5-15P + // * `nema-5-20p` - NEMA 5-20P + // * `nema-5-30p` - NEMA 5-30P + // * `nema-5-50p` - NEMA 5-50P + // * `nema-6-15p` - NEMA 6-15P + // * `nema-6-20p` - NEMA 6-20P + // * `nema-6-30p` - NEMA 6-30P + // * `nema-6-50p` - NEMA 6-50P + // * `nema-10-30p` - NEMA 10-30P + // * `nema-10-50p` - NEMA 10-50P + // * `nema-14-20p` - NEMA 14-20P + // * `nema-14-30p` - NEMA 14-30P + // * `nema-14-50p` - NEMA 14-50P + // * `nema-14-60p` - NEMA 14-60P + // * `nema-15-15p` - NEMA 15-15P + // * `nema-15-20p` - NEMA 15-20P + // * `nema-15-30p` - NEMA 15-30P + // * `nema-15-50p` - NEMA 15-50P + // * `nema-15-60p` - NEMA 15-60P + // * `nema-l1-15p` - NEMA L1-15P + // * `nema-l5-15p` - NEMA L5-15P + // * `nema-l5-20p` - NEMA L5-20P + // * `nema-l5-30p` - NEMA L5-30P + // * `nema-l5-50p` - NEMA L5-50P + // * `nema-l6-15p` - NEMA L6-15P + // * `nema-l6-20p` - NEMA L6-20P + // * `nema-l6-30p` - NEMA L6-30P + // * `nema-l6-50p` - NEMA L6-50P + // * `nema-l10-30p` - NEMA L10-30P + // * `nema-l14-20p` - NEMA L14-20P + // * `nema-l14-30p` - NEMA L14-30P + // * `nema-l14-50p` - NEMA L14-50P + // * `nema-l14-60p` - NEMA L14-60P + // * `nema-l15-20p` - NEMA L15-20P + // * `nema-l15-30p` - NEMA L15-30P + // * `nema-l15-50p` - NEMA L15-50P + // * `nema-l15-60p` - NEMA L15-60P + // * `nema-l21-20p` - NEMA L21-20P + // * `nema-l21-30p` - NEMA L21-30P + // * `nema-l22-30p` - NEMA L22-30P + // * `cs6361c` - CS6361C + // * `cs6365c` - CS6365C + // * `cs8165c` - CS8165C + // * `cs8265c` - CS8265C + // * `cs8365c` - CS8365C + // * `cs8465c` - CS8465C + // * `ita-c` - ITA Type C (CEE 7/16) + // * `ita-e` - ITA Type E (CEE 7/6) + // * `ita-f` - ITA Type F (CEE 7/4) + // * `ita-ef` - ITA Type E/F (CEE 7/7) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `usb-3-b` - USB 3.0 Type B + // * `usb-3-micro-b` - USB 3.0 Micro B + // * `dc-terminal` - DC Terminal + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20` - Neutrik powerCON (20A) + // * `neutrik-powercon-32` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Value *PowerPortTypeValue `json:"value,omitempty"` + } `json:"type"` + Url *string `json:"url,omitempty"` +} + +// PowerPortTypeLabel defines model for PowerPort.Type.Label. +type PowerPortTypeLabel string + +// PowerPortTypeValue * `iec-60320-c6` - C6 +// * `iec-60320-c8` - C8 +// * `iec-60320-c14` - C14 +// * `iec-60320-c16` - C16 +// * `iec-60320-c20` - C20 +// * `iec-60320-c22` - C22 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15p` - NEMA 1-15P +// * `nema-5-15p` - NEMA 5-15P +// * `nema-5-20p` - NEMA 5-20P +// * `nema-5-30p` - NEMA 5-30P +// * `nema-5-50p` - NEMA 5-50P +// * `nema-6-15p` - NEMA 6-15P +// * `nema-6-20p` - NEMA 6-20P +// * `nema-6-30p` - NEMA 6-30P +// * `nema-6-50p` - NEMA 6-50P +// * `nema-10-30p` - NEMA 10-30P +// * `nema-10-50p` - NEMA 10-50P +// * `nema-14-20p` - NEMA 14-20P +// * `nema-14-30p` - NEMA 14-30P +// * `nema-14-50p` - NEMA 14-50P +// * `nema-14-60p` - NEMA 14-60P +// * `nema-15-15p` - NEMA 15-15P +// * `nema-15-20p` - NEMA 15-20P +// * `nema-15-30p` - NEMA 15-30P +// * `nema-15-50p` - NEMA 15-50P +// * `nema-15-60p` - NEMA 15-60P +// * `nema-l1-15p` - NEMA L1-15P +// * `nema-l5-15p` - NEMA L5-15P +// * `nema-l5-20p` - NEMA L5-20P +// * `nema-l5-30p` - NEMA L5-30P +// * `nema-l5-50p` - NEMA L5-50P +// * `nema-l6-15p` - NEMA L6-15P +// * `nema-l6-20p` - NEMA L6-20P +// * `nema-l6-30p` - NEMA L6-30P +// * `nema-l6-50p` - NEMA L6-50P +// * `nema-l10-30p` - NEMA L10-30P +// * `nema-l14-20p` - NEMA L14-20P +// * `nema-l14-30p` - NEMA L14-30P +// * `nema-l14-50p` - NEMA L14-50P +// * `nema-l14-60p` - NEMA L14-60P +// * `nema-l15-20p` - NEMA L15-20P +// * `nema-l15-30p` - NEMA L15-30P +// * `nema-l15-50p` - NEMA L15-50P +// * `nema-l15-60p` - NEMA L15-60P +// * `nema-l21-20p` - NEMA L21-20P +// * `nema-l21-30p` - NEMA L21-30P +// * `nema-l22-30p` - NEMA L22-30P +// * `cs6361c` - CS6361C +// * `cs6365c` - CS6365C +// * `cs8165c` - CS8165C +// * `cs8265c` - CS8265C +// * `cs8365c` - CS8365C +// * `cs8465c` - CS8465C +// * `ita-c` - ITA Type C (CEE 7/16) +// * `ita-e` - ITA Type E (CEE 7/6) +// * `ita-f` - ITA Type F (CEE 7/4) +// * `ita-ef` - ITA Type E/F (CEE 7/7) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `usb-3-b` - USB 3.0 Type B +// * `usb-3-micro-b` - USB 3.0 Micro B +// * `dc-terminal` - DC Terminal +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20` - Neutrik powerCON (20A) +// * `neutrik-powercon-32` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type PowerPortTypeValue string + +// PowerPortRequest Adds support for custom fields and tags. +type PowerPortRequest struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDeviceRequest `json:"device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + Module *ComponentNestedModuleRequest `json:"module"` + Name string `json:"name"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type * `iec-60320-c6` - C6 + // * `iec-60320-c8` - C8 + // * `iec-60320-c14` - C14 + // * `iec-60320-c16` - C16 + // * `iec-60320-c20` - C20 + // * `iec-60320-c22` - C22 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15p` - NEMA 1-15P + // * `nema-5-15p` - NEMA 5-15P + // * `nema-5-20p` - NEMA 5-20P + // * `nema-5-30p` - NEMA 5-30P + // * `nema-5-50p` - NEMA 5-50P + // * `nema-6-15p` - NEMA 6-15P + // * `nema-6-20p` - NEMA 6-20P + // * `nema-6-30p` - NEMA 6-30P + // * `nema-6-50p` - NEMA 6-50P + // * `nema-10-30p` - NEMA 10-30P + // * `nema-10-50p` - NEMA 10-50P + // * `nema-14-20p` - NEMA 14-20P + // * `nema-14-30p` - NEMA 14-30P + // * `nema-14-50p` - NEMA 14-50P + // * `nema-14-60p` - NEMA 14-60P + // * `nema-15-15p` - NEMA 15-15P + // * `nema-15-20p` - NEMA 15-20P + // * `nema-15-30p` - NEMA 15-30P + // * `nema-15-50p` - NEMA 15-50P + // * `nema-15-60p` - NEMA 15-60P + // * `nema-l1-15p` - NEMA L1-15P + // * `nema-l5-15p` - NEMA L5-15P + // * `nema-l5-20p` - NEMA L5-20P + // * `nema-l5-30p` - NEMA L5-30P + // * `nema-l5-50p` - NEMA L5-50P + // * `nema-l6-15p` - NEMA L6-15P + // * `nema-l6-20p` - NEMA L6-20P + // * `nema-l6-30p` - NEMA L6-30P + // * `nema-l6-50p` - NEMA L6-50P + // * `nema-l10-30p` - NEMA L10-30P + // * `nema-l14-20p` - NEMA L14-20P + // * `nema-l14-30p` - NEMA L14-30P + // * `nema-l14-50p` - NEMA L14-50P + // * `nema-l14-60p` - NEMA L14-60P + // * `nema-l15-20p` - NEMA L15-20P + // * `nema-l15-30p` - NEMA L15-30P + // * `nema-l15-50p` - NEMA L15-50P + // * `nema-l15-60p` - NEMA L15-60P + // * `nema-l21-20p` - NEMA L21-20P + // * `nema-l21-30p` - NEMA L21-30P + // * `nema-l22-30p` - NEMA L22-30P + // * `cs6361c` - CS6361C + // * `cs6365c` - CS6365C + // * `cs8165c` - CS8165C + // * `cs8265c` - CS8265C + // * `cs8365c` - CS8365C + // * `cs8465c` - CS8465C + // * `ita-c` - ITA Type C (CEE 7/16) + // * `ita-e` - ITA Type E (CEE 7/6) + // * `ita-f` - ITA Type F (CEE 7/4) + // * `ita-ef` - ITA Type E/F (CEE 7/7) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `usb-3-b` - USB 3.0 Type B + // * `usb-3-micro-b` - USB 3.0 Micro B + // * `dc-terminal` - DC Terminal + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20` - Neutrik powerCON (20A) + // * `neutrik-powercon-32` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Type *PowerPortRequestType `json:"type"` +} + +// PowerPortRequestType * `iec-60320-c6` - C6 +// * `iec-60320-c8` - C8 +// * `iec-60320-c14` - C14 +// * `iec-60320-c16` - C16 +// * `iec-60320-c20` - C20 +// * `iec-60320-c22` - C22 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15p` - NEMA 1-15P +// * `nema-5-15p` - NEMA 5-15P +// * `nema-5-20p` - NEMA 5-20P +// * `nema-5-30p` - NEMA 5-30P +// * `nema-5-50p` - NEMA 5-50P +// * `nema-6-15p` - NEMA 6-15P +// * `nema-6-20p` - NEMA 6-20P +// * `nema-6-30p` - NEMA 6-30P +// * `nema-6-50p` - NEMA 6-50P +// * `nema-10-30p` - NEMA 10-30P +// * `nema-10-50p` - NEMA 10-50P +// * `nema-14-20p` - NEMA 14-20P +// * `nema-14-30p` - NEMA 14-30P +// * `nema-14-50p` - NEMA 14-50P +// * `nema-14-60p` - NEMA 14-60P +// * `nema-15-15p` - NEMA 15-15P +// * `nema-15-20p` - NEMA 15-20P +// * `nema-15-30p` - NEMA 15-30P +// * `nema-15-50p` - NEMA 15-50P +// * `nema-15-60p` - NEMA 15-60P +// * `nema-l1-15p` - NEMA L1-15P +// * `nema-l5-15p` - NEMA L5-15P +// * `nema-l5-20p` - NEMA L5-20P +// * `nema-l5-30p` - NEMA L5-30P +// * `nema-l5-50p` - NEMA L5-50P +// * `nema-l6-15p` - NEMA L6-15P +// * `nema-l6-20p` - NEMA L6-20P +// * `nema-l6-30p` - NEMA L6-30P +// * `nema-l6-50p` - NEMA L6-50P +// * `nema-l10-30p` - NEMA L10-30P +// * `nema-l14-20p` - NEMA L14-20P +// * `nema-l14-30p` - NEMA L14-30P +// * `nema-l14-50p` - NEMA L14-50P +// * `nema-l14-60p` - NEMA L14-60P +// * `nema-l15-20p` - NEMA L15-20P +// * `nema-l15-30p` - NEMA L15-30P +// * `nema-l15-50p` - NEMA L15-50P +// * `nema-l15-60p` - NEMA L15-60P +// * `nema-l21-20p` - NEMA L21-20P +// * `nema-l21-30p` - NEMA L21-30P +// * `nema-l22-30p` - NEMA L22-30P +// * `cs6361c` - CS6361C +// * `cs6365c` - CS6365C +// * `cs8165c` - CS8165C +// * `cs8265c` - CS8265C +// * `cs8365c` - CS8365C +// * `cs8465c` - CS8465C +// * `ita-c` - ITA Type C (CEE 7/16) +// * `ita-e` - ITA Type E (CEE 7/6) +// * `ita-f` - ITA Type F (CEE 7/4) +// * `ita-ef` - ITA Type E/F (CEE 7/7) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `usb-3-b` - USB 3.0 Type B +// * `usb-3-micro-b` - USB 3.0 Micro B +// * `dc-terminal` - DC Terminal +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20` - Neutrik powerCON (20A) +// * `neutrik-powercon-32` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type PowerPortRequestType string + +// PowerPortTemplate 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 PowerPortTemplate struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + Created *time.Time `json:"created"` + Description *string `json:"description,omitempty"` + DeviceType *NestedDeviceType `json:"device_type"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + ModuleType *NestedModuleType `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Type *struct { + Label *PowerPortTemplateTypeLabel `json:"label,omitempty"` + + // Value * `iec-60320-c6` - C6 + // * `iec-60320-c8` - C8 + // * `iec-60320-c14` - C14 + // * `iec-60320-c16` - C16 + // * `iec-60320-c20` - C20 + // * `iec-60320-c22` - C22 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15p` - NEMA 1-15P + // * `nema-5-15p` - NEMA 5-15P + // * `nema-5-20p` - NEMA 5-20P + // * `nema-5-30p` - NEMA 5-30P + // * `nema-5-50p` - NEMA 5-50P + // * `nema-6-15p` - NEMA 6-15P + // * `nema-6-20p` - NEMA 6-20P + // * `nema-6-30p` - NEMA 6-30P + // * `nema-6-50p` - NEMA 6-50P + // * `nema-10-30p` - NEMA 10-30P + // * `nema-10-50p` - NEMA 10-50P + // * `nema-14-20p` - NEMA 14-20P + // * `nema-14-30p` - NEMA 14-30P + // * `nema-14-50p` - NEMA 14-50P + // * `nema-14-60p` - NEMA 14-60P + // * `nema-15-15p` - NEMA 15-15P + // * `nema-15-20p` - NEMA 15-20P + // * `nema-15-30p` - NEMA 15-30P + // * `nema-15-50p` - NEMA 15-50P + // * `nema-15-60p` - NEMA 15-60P + // * `nema-l1-15p` - NEMA L1-15P + // * `nema-l5-15p` - NEMA L5-15P + // * `nema-l5-20p` - NEMA L5-20P + // * `nema-l5-30p` - NEMA L5-30P + // * `nema-l5-50p` - NEMA L5-50P + // * `nema-l6-15p` - NEMA L6-15P + // * `nema-l6-20p` - NEMA L6-20P + // * `nema-l6-30p` - NEMA L6-30P + // * `nema-l6-50p` - NEMA L6-50P + // * `nema-l10-30p` - NEMA L10-30P + // * `nema-l14-20p` - NEMA L14-20P + // * `nema-l14-30p` - NEMA L14-30P + // * `nema-l14-50p` - NEMA L14-50P + // * `nema-l14-60p` - NEMA L14-60P + // * `nema-l15-20p` - NEMA L15-20P + // * `nema-l15-30p` - NEMA L15-30P + // * `nema-l15-50p` - NEMA L15-50P + // * `nema-l15-60p` - NEMA L15-60P + // * `nema-l21-20p` - NEMA L21-20P + // * `nema-l21-30p` - NEMA L21-30P + // * `nema-l22-30p` - NEMA L22-30P + // * `cs6361c` - CS6361C + // * `cs6365c` - CS6365C + // * `cs8165c` - CS8165C + // * `cs8265c` - CS8265C + // * `cs8365c` - CS8365C + // * `cs8465c` - CS8465C + // * `ita-c` - ITA Type C (CEE 7/16) + // * `ita-e` - ITA Type E (CEE 7/6) + // * `ita-f` - ITA Type F (CEE 7/4) + // * `ita-ef` - ITA Type E/F (CEE 7/7) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `usb-3-b` - USB 3.0 Type B + // * `usb-3-micro-b` - USB 3.0 Micro B + // * `dc-terminal` - DC Terminal + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20` - Neutrik powerCON (20A) + // * `neutrik-powercon-32` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Value *PowerPortTemplateTypeValue `json:"value,omitempty"` + } `json:"type"` + Url *string `json:"url,omitempty"` +} + +// PowerPortTemplateTypeLabel defines model for PowerPortTemplate.Type.Label. +type PowerPortTemplateTypeLabel string + +// PowerPortTemplateTypeValue * `iec-60320-c6` - C6 +// * `iec-60320-c8` - C8 +// * `iec-60320-c14` - C14 +// * `iec-60320-c16` - C16 +// * `iec-60320-c20` - C20 +// * `iec-60320-c22` - C22 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15p` - NEMA 1-15P +// * `nema-5-15p` - NEMA 5-15P +// * `nema-5-20p` - NEMA 5-20P +// * `nema-5-30p` - NEMA 5-30P +// * `nema-5-50p` - NEMA 5-50P +// * `nema-6-15p` - NEMA 6-15P +// * `nema-6-20p` - NEMA 6-20P +// * `nema-6-30p` - NEMA 6-30P +// * `nema-6-50p` - NEMA 6-50P +// * `nema-10-30p` - NEMA 10-30P +// * `nema-10-50p` - NEMA 10-50P +// * `nema-14-20p` - NEMA 14-20P +// * `nema-14-30p` - NEMA 14-30P +// * `nema-14-50p` - NEMA 14-50P +// * `nema-14-60p` - NEMA 14-60P +// * `nema-15-15p` - NEMA 15-15P +// * `nema-15-20p` - NEMA 15-20P +// * `nema-15-30p` - NEMA 15-30P +// * `nema-15-50p` - NEMA 15-50P +// * `nema-15-60p` - NEMA 15-60P +// * `nema-l1-15p` - NEMA L1-15P +// * `nema-l5-15p` - NEMA L5-15P +// * `nema-l5-20p` - NEMA L5-20P +// * `nema-l5-30p` - NEMA L5-30P +// * `nema-l5-50p` - NEMA L5-50P +// * `nema-l6-15p` - NEMA L6-15P +// * `nema-l6-20p` - NEMA L6-20P +// * `nema-l6-30p` - NEMA L6-30P +// * `nema-l6-50p` - NEMA L6-50P +// * `nema-l10-30p` - NEMA L10-30P +// * `nema-l14-20p` - NEMA L14-20P +// * `nema-l14-30p` - NEMA L14-30P +// * `nema-l14-50p` - NEMA L14-50P +// * `nema-l14-60p` - NEMA L14-60P +// * `nema-l15-20p` - NEMA L15-20P +// * `nema-l15-30p` - NEMA L15-30P +// * `nema-l15-50p` - NEMA L15-50P +// * `nema-l15-60p` - NEMA L15-60P +// * `nema-l21-20p` - NEMA L21-20P +// * `nema-l21-30p` - NEMA L21-30P +// * `nema-l22-30p` - NEMA L22-30P +// * `cs6361c` - CS6361C +// * `cs6365c` - CS6365C +// * `cs8165c` - CS8165C +// * `cs8265c` - CS8265C +// * `cs8365c` - CS8365C +// * `cs8465c` - CS8465C +// * `ita-c` - ITA Type C (CEE 7/16) +// * `ita-e` - ITA Type E (CEE 7/6) +// * `ita-f` - ITA Type F (CEE 7/4) +// * `ita-ef` - ITA Type E/F (CEE 7/7) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `usb-3-b` - USB 3.0 Type B +// * `usb-3-micro-b` - USB 3.0 Micro B +// * `dc-terminal` - DC Terminal +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20` - Neutrik powerCON (20A) +// * `neutrik-powercon-32` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type PowerPortTemplateTypeValue string + +// PowerPortTemplateRequest 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 PowerPortTemplateRequest struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + Description *string `json:"description,omitempty"` + DeviceType *NestedDeviceTypeRequest `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + ModuleType *NestedModuleTypeRequest `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + + // Type * `iec-60320-c6` - C6 + // * `iec-60320-c8` - C8 + // * `iec-60320-c14` - C14 + // * `iec-60320-c16` - C16 + // * `iec-60320-c20` - C20 + // * `iec-60320-c22` - C22 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15p` - NEMA 1-15P + // * `nema-5-15p` - NEMA 5-15P + // * `nema-5-20p` - NEMA 5-20P + // * `nema-5-30p` - NEMA 5-30P + // * `nema-5-50p` - NEMA 5-50P + // * `nema-6-15p` - NEMA 6-15P + // * `nema-6-20p` - NEMA 6-20P + // * `nema-6-30p` - NEMA 6-30P + // * `nema-6-50p` - NEMA 6-50P + // * `nema-10-30p` - NEMA 10-30P + // * `nema-10-50p` - NEMA 10-50P + // * `nema-14-20p` - NEMA 14-20P + // * `nema-14-30p` - NEMA 14-30P + // * `nema-14-50p` - NEMA 14-50P + // * `nema-14-60p` - NEMA 14-60P + // * `nema-15-15p` - NEMA 15-15P + // * `nema-15-20p` - NEMA 15-20P + // * `nema-15-30p` - NEMA 15-30P + // * `nema-15-50p` - NEMA 15-50P + // * `nema-15-60p` - NEMA 15-60P + // * `nema-l1-15p` - NEMA L1-15P + // * `nema-l5-15p` - NEMA L5-15P + // * `nema-l5-20p` - NEMA L5-20P + // * `nema-l5-30p` - NEMA L5-30P + // * `nema-l5-50p` - NEMA L5-50P + // * `nema-l6-15p` - NEMA L6-15P + // * `nema-l6-20p` - NEMA L6-20P + // * `nema-l6-30p` - NEMA L6-30P + // * `nema-l6-50p` - NEMA L6-50P + // * `nema-l10-30p` - NEMA L10-30P + // * `nema-l14-20p` - NEMA L14-20P + // * `nema-l14-30p` - NEMA L14-30P + // * `nema-l14-50p` - NEMA L14-50P + // * `nema-l14-60p` - NEMA L14-60P + // * `nema-l15-20p` - NEMA L15-20P + // * `nema-l15-30p` - NEMA L15-30P + // * `nema-l15-50p` - NEMA L15-50P + // * `nema-l15-60p` - NEMA L15-60P + // * `nema-l21-20p` - NEMA L21-20P + // * `nema-l21-30p` - NEMA L21-30P + // * `nema-l22-30p` - NEMA L22-30P + // * `cs6361c` - CS6361C + // * `cs6365c` - CS6365C + // * `cs8165c` - CS8165C + // * `cs8265c` - CS8265C + // * `cs8365c` - CS8365C + // * `cs8465c` - CS8465C + // * `ita-c` - ITA Type C (CEE 7/16) + // * `ita-e` - ITA Type E (CEE 7/6) + // * `ita-f` - ITA Type F (CEE 7/4) + // * `ita-ef` - ITA Type E/F (CEE 7/7) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `usb-3-b` - USB 3.0 Type B + // * `usb-3-micro-b` - USB 3.0 Micro B + // * `dc-terminal` - DC Terminal + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20` - Neutrik powerCON (20A) + // * `neutrik-powercon-32` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Type *PowerPortTemplateRequestType `json:"type"` +} + +// PowerPortTemplateRequestType * `iec-60320-c6` - C6 +// * `iec-60320-c8` - C8 +// * `iec-60320-c14` - C14 +// * `iec-60320-c16` - C16 +// * `iec-60320-c20` - C20 +// * `iec-60320-c22` - C22 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15p` - NEMA 1-15P +// * `nema-5-15p` - NEMA 5-15P +// * `nema-5-20p` - NEMA 5-20P +// * `nema-5-30p` - NEMA 5-30P +// * `nema-5-50p` - NEMA 5-50P +// * `nema-6-15p` - NEMA 6-15P +// * `nema-6-20p` - NEMA 6-20P +// * `nema-6-30p` - NEMA 6-30P +// * `nema-6-50p` - NEMA 6-50P +// * `nema-10-30p` - NEMA 10-30P +// * `nema-10-50p` - NEMA 10-50P +// * `nema-14-20p` - NEMA 14-20P +// * `nema-14-30p` - NEMA 14-30P +// * `nema-14-50p` - NEMA 14-50P +// * `nema-14-60p` - NEMA 14-60P +// * `nema-15-15p` - NEMA 15-15P +// * `nema-15-20p` - NEMA 15-20P +// * `nema-15-30p` - NEMA 15-30P +// * `nema-15-50p` - NEMA 15-50P +// * `nema-15-60p` - NEMA 15-60P +// * `nema-l1-15p` - NEMA L1-15P +// * `nema-l5-15p` - NEMA L5-15P +// * `nema-l5-20p` - NEMA L5-20P +// * `nema-l5-30p` - NEMA L5-30P +// * `nema-l5-50p` - NEMA L5-50P +// * `nema-l6-15p` - NEMA L6-15P +// * `nema-l6-20p` - NEMA L6-20P +// * `nema-l6-30p` - NEMA L6-30P +// * `nema-l6-50p` - NEMA L6-50P +// * `nema-l10-30p` - NEMA L10-30P +// * `nema-l14-20p` - NEMA L14-20P +// * `nema-l14-30p` - NEMA L14-30P +// * `nema-l14-50p` - NEMA L14-50P +// * `nema-l14-60p` - NEMA L14-60P +// * `nema-l15-20p` - NEMA L15-20P +// * `nema-l15-30p` - NEMA L15-30P +// * `nema-l15-50p` - NEMA L15-50P +// * `nema-l15-60p` - NEMA L15-60P +// * `nema-l21-20p` - NEMA L21-20P +// * `nema-l21-30p` - NEMA L21-30P +// * `nema-l22-30p` - NEMA L22-30P +// * `cs6361c` - CS6361C +// * `cs6365c` - CS6365C +// * `cs8165c` - CS8165C +// * `cs8265c` - CS8265C +// * `cs8365c` - CS8365C +// * `cs8465c` - CS8465C +// * `ita-c` - ITA Type C (CEE 7/16) +// * `ita-e` - ITA Type E (CEE 7/6) +// * `ita-f` - ITA Type F (CEE 7/4) +// * `ita-ef` - ITA Type E/F (CEE 7/7) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `usb-3-b` - USB 3.0 Type B +// * `usb-3-micro-b` - USB 3.0 Micro B +// * `dc-terminal` - DC Terminal +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20` - Neutrik powerCON (20A) +// * `neutrik-powercon-32` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type PowerPortTemplateRequestType string + +// Prefix Adds support for custom fields and tags. +type Prefix struct { + Depth *int `json:"_depth,omitempty"` + Children *int `json:"children,omitempty"` + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Family *struct { + Label *PrefixFamilyLabel `json:"label,omitempty"` + + // Value * `4` - IPv4 + // * `6` - IPv6 + Value *PrefixFamilyValue `json:"value,omitempty"` + } `json:"family,omitempty"` + Id *int `json:"id,omitempty"` + + // IsPool All IP addresses within this prefix are considered usable + IsPool *bool `json:"is_pool,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // MarkUtilized Treat as 100% utilized + MarkUtilized *bool `json:"mark_utilized,omitempty"` + Prefix string `json:"prefix"` + Role *NestedRole `json:"role"` + Site *NestedSite `json:"site"` + Status *struct { + Label *PrefixStatusLabel `json:"label,omitempty"` + + // Value * `container` - Container + // * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Value *PrefixStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + Vlan *NestedVLAN `json:"vlan"` + Vrf *NestedVRF `json:"vrf"` +} + +// PrefixFamilyLabel defines model for Prefix.Family.Label. +type PrefixFamilyLabel string + +// PrefixFamilyValue * `4` - IPv4 +// * `6` - IPv6 +type PrefixFamilyValue int + +// PrefixStatusLabel defines model for Prefix.Status.Label. +type PrefixStatusLabel string + +// PrefixStatusValue * `container` - Container +// * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +type PrefixStatusValue string + +// PrefixRequest Adds support for custom fields and tags. +type PrefixRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IsPool All IP addresses within this prefix are considered usable + IsPool *bool `json:"is_pool,omitempty"` + + // MarkUtilized Treat as 100% utilized + MarkUtilized *bool `json:"mark_utilized,omitempty"` + Prefix string `json:"prefix"` + Role *NestedRoleRequest `json:"role"` + Site *NestedSiteRequest `json:"site"` + + // Status * `container` - Container + // * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Status *PrefixRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Vlan *NestedVLANRequest `json:"vlan"` + Vrf *NestedVRFRequest `json:"vrf"` +} + +// PrefixRequestStatus * `container` - Container +// * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +type PrefixRequestStatus string + +// Provider Adds support for custom fields and tags. +type Provider struct { + Accounts *[]int `json:"accounts,omitempty"` + Asns *[]int `json:"asns,omitempty"` + CircuitCount *int `json:"circuit_count,omitempty"` + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Full name of the provider + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ProviderAccount Adds support for custom fields and tags. +type ProviderAccount struct { + Account string `json:"account"` + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name *string `json:"name,omitempty"` + + // Provider Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Provider NestedProvider `json:"provider"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ProviderAccountRequest Adds support for custom fields and tags. +type ProviderAccountRequest struct { + Account string `json:"account"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + + // Provider Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Provider NestedProviderRequest `json:"provider"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// ProviderNetwork Adds support for custom fields and tags. +type ProviderNetwork struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + + // Provider Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Provider NestedProvider `json:"provider"` + ServiceId *string `json:"service_id,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ProviderNetworkRequest Adds support for custom fields and tags. +type ProviderNetworkRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + + // Provider Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Provider NestedProviderRequest `json:"provider"` + ServiceId *string `json:"service_id,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// ProviderRequest Adds support for custom fields and tags. +type ProviderRequest struct { + Accounts *[]int `json:"accounts,omitempty"` + Asns *[]int `json:"asns,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Full name of the provider + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// RIR Adds support for custom fields and tags. +type RIR struct { + AggregateCount *int `json:"aggregate_count,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // IsPrivate IP space managed by this RIR is considered private + IsPrivate *bool `json:"is_private,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// RIRRequest Adds support for custom fields and tags. +type RIRRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IsPrivate IP space managed by this RIR is considered private + IsPrivate *bool `json:"is_private,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// Rack Adds support for custom fields and tags. +type Rack struct { + // AssetTag A unique tag used to identify this rack + AssetTag *string `json:"asset_tag"` + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DescUnits Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + Description *string `json:"description,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` + Display *string `json:"display,omitempty"` + FacilityId *string `json:"facility_id"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Location *NestedLocation `json:"location"` + + // MaxWeight Maximum load capacity for the rack + MaxWeight *int `json:"max_weight"` + + // MountingDepth Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. + MountingDepth *int `json:"mounting_depth"` + Name string `json:"name"` + + // OuterDepth Outer dimension of rack (depth) + OuterDepth *int `json:"outer_depth"` + OuterUnit *struct { + Label *RackOuterUnitLabel `json:"label,omitempty"` + + // Value * `mm` - Millimeters + // * `in` - Inches + Value *RackOuterUnitValue `json:"value,omitempty"` + } `json:"outer_unit"` + + // OuterWidth Outer dimension of rack (width) + OuterWidth *int `json:"outer_width"` + PowerfeedCount *int `json:"powerfeed_count,omitempty"` + Role *NestedRackRole `json:"role"` + Serial *string `json:"serial,omitempty"` + + // Site Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Site NestedSite `json:"site"` + + // StartingUnit Starting unit for rack + StartingUnit *int `json:"starting_unit,omitempty"` + Status *struct { + Label *RackStatusLabel `json:"label,omitempty"` + + // Value * `reserved` - Reserved + // * `available` - Available + // * `planned` - Planned + // * `active` - Active + // * `deprecated` - Deprecated + Value *RackStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Type *struct { + Label *RackTypeLabel `json:"label,omitempty"` + + // Value * `2-post-frame` - 2-post frame + // * `4-post-frame` - 4-post frame + // * `4-post-cabinet` - 4-post cabinet + // * `wall-frame` - Wall-mounted frame + // * `wall-frame-vertical` - Wall-mounted frame (vertical) + // * `wall-cabinet` - Wall-mounted cabinet + // * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) + Value *RackTypeValue `json:"value,omitempty"` + } `json:"type"` + + // UHeight Height in rack units + UHeight *int `json:"u_height,omitempty"` + Url *string `json:"url,omitempty"` + Weight *float64 `json:"weight"` + WeightUnit *struct { + Label *RackWeightUnitLabel `json:"label,omitempty"` + + // Value * `kg` - Kilograms + // * `g` - Grams + // * `lb` - Pounds + // * `oz` - Ounces + Value *RackWeightUnitValue `json:"value,omitempty"` + } `json:"weight_unit"` + Width *struct { + Label *RackWidthLabel `json:"label,omitempty"` + + // Value * `10` - 10 inches + // * `19` - 19 inches + // * `21` - 21 inches + // * `23` - 23 inches + Value *RackWidthValue `json:"value,omitempty"` + } `json:"width,omitempty"` +} + +// RackOuterUnitLabel defines model for Rack.OuterUnit.Label. +type RackOuterUnitLabel string + +// RackOuterUnitValue * `mm` - Millimeters +// * `in` - Inches +type RackOuterUnitValue string + +// RackStatusLabel defines model for Rack.Status.Label. +type RackStatusLabel string + +// RackStatusValue * `reserved` - Reserved +// * `available` - Available +// * `planned` - Planned +// * `active` - Active +// * `deprecated` - Deprecated +type RackStatusValue string + +// RackTypeLabel defines model for Rack.Type.Label. +type RackTypeLabel string + +// RackTypeValue * `2-post-frame` - 2-post frame +// * `4-post-frame` - 4-post frame +// * `4-post-cabinet` - 4-post cabinet +// * `wall-frame` - Wall-mounted frame +// * `wall-frame-vertical` - Wall-mounted frame (vertical) +// * `wall-cabinet` - Wall-mounted cabinet +// * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +type RackTypeValue string + +// RackWeightUnitLabel defines model for Rack.WeightUnit.Label. +type RackWeightUnitLabel string + +// RackWeightUnitValue * `kg` - Kilograms +// * `g` - Grams +// * `lb` - Pounds +// * `oz` - Ounces +type RackWeightUnitValue string + +// RackWidthLabel defines model for Rack.Width.Label. +type RackWidthLabel string + +// RackWidthValue * `10` - 10 inches +// * `19` - 19 inches +// * `21` - 21 inches +// * `23` - 23 inches +type RackWidthValue int + +// RackRequest Adds support for custom fields and tags. +type RackRequest struct { + // AssetTag A unique tag used to identify this rack + AssetTag *string `json:"asset_tag"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DescUnits Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + Description *string `json:"description,omitempty"` + FacilityId *string `json:"facility_id"` + Location *NestedLocationRequest `json:"location"` + + // MaxWeight Maximum load capacity for the rack + MaxWeight *int `json:"max_weight"` + + // MountingDepth Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. + MountingDepth *int `json:"mounting_depth"` + Name string `json:"name"` + + // OuterDepth Outer dimension of rack (depth) + OuterDepth *int `json:"outer_depth"` + + // OuterUnit * `mm` - Millimeters + // * `in` - Inches + OuterUnit *RackRequestOuterUnit `json:"outer_unit"` + + // OuterWidth Outer dimension of rack (width) + OuterWidth *int `json:"outer_width"` + Role *NestedRackRoleRequest `json:"role"` + Serial *string `json:"serial,omitempty"` + + // Site Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Site NestedSiteRequest `json:"site"` + + // StartingUnit Starting unit for rack + StartingUnit *int `json:"starting_unit,omitempty"` + + // Status * `reserved` - Reserved + // * `available` - Available + // * `planned` - Planned + // * `active` - Active + // * `deprecated` - Deprecated + Status *RackRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + + // Type * `2-post-frame` - 2-post frame + // * `4-post-frame` - 4-post frame + // * `4-post-cabinet` - 4-post cabinet + // * `wall-frame` - Wall-mounted frame + // * `wall-frame-vertical` - Wall-mounted frame (vertical) + // * `wall-cabinet` - Wall-mounted cabinet + // * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) + Type *RackRequestType `json:"type"` + + // UHeight Height in rack units + UHeight *int `json:"u_height,omitempty"` + Weight *float64 `json:"weight"` + + // WeightUnit * `kg` - Kilograms + // * `g` - Grams + // * `lb` - Pounds + // * `oz` - Ounces + WeightUnit *RackRequestWeightUnit `json:"weight_unit"` + + // Width * `10` - 10 inches + // * `19` - 19 inches + // * `21` - 21 inches + // * `23` - 23 inches + Width *RackRequestWidth `json:"width,omitempty"` +} + +// RackRequestOuterUnit * `mm` - Millimeters +// * `in` - Inches +type RackRequestOuterUnit string + +// RackRequestStatus * `reserved` - Reserved +// * `available` - Available +// * `planned` - Planned +// * `active` - Active +// * `deprecated` - Deprecated +type RackRequestStatus string + +// RackRequestType * `2-post-frame` - 2-post frame +// * `4-post-frame` - 4-post frame +// * `4-post-cabinet` - 4-post cabinet +// * `wall-frame` - Wall-mounted frame +// * `wall-frame-vertical` - Wall-mounted frame (vertical) +// * `wall-cabinet` - Wall-mounted cabinet +// * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +type RackRequestType string + +// RackRequestWeightUnit * `kg` - Kilograms +// * `g` - Grams +// * `lb` - Pounds +// * `oz` - Ounces +type RackRequestWeightUnit string + +// RackRequestWidth * `10` - 10 inches +// * `19` - 19 inches +// * `21` - 21 inches +// * `23` - 23 inches +type RackRequestWidth int + +// RackReservation Adds support for custom fields and tags. +type RackReservation struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description string `json:"description"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Rack Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Rack NestedRack `json:"rack"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Units []int `json:"units"` + Url *string `json:"url,omitempty"` + + // User Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + User NestedUser `json:"user"` +} + +// RackReservationRequest Adds support for custom fields and tags. +type RackReservationRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description string `json:"description"` + + // Rack Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Rack NestedRackRequest `json:"rack"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Units []int `json:"units"` + + // User Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + User NestedUserRequest `json:"user"` +} + +// RackRole Adds support for custom fields and tags. +type RackRole struct { + Color *string `json:"color,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + RackCount *int `json:"rack_count,omitempty"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// RackRoleRequest Adds support for custom fields and tags. +type RackRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// RearPort Adds support for custom fields and tags. +type RearPort struct { + Occupied *bool `json:"_occupied,omitempty"` + Cable *NestedCable `json:"cable"` + CableEnd *string `json:"cable_end,omitempty"` + Color *string `json:"color,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDevice `json:"device"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + LinkPeers *[]interface{} `json:"link_peers,omitempty"` + + // LinkPeersType Return the type of the peer link terminations, or None. + LinkPeersType *string `json:"link_peers_type,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *ComponentNestedModule `json:"module"` + Name string `json:"name"` + + // Positions Number of front ports which may be mapped + Positions *int `json:"positions,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Type struct { + Label *RearPortTypeLabel `json:"label,omitempty"` + + // Value * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Value *RearPortTypeValue `json:"value,omitempty"` + } `json:"type"` + Url *string `json:"url,omitempty"` +} + +// RearPortTypeLabel defines model for RearPort.Type.Label. +type RearPortTypeLabel string + +// RearPortTypeValue * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type RearPortTypeValue string + +// RearPortRequest Adds support for custom fields and tags. +type RearPortRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDeviceRequest `json:"device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *ComponentNestedModuleRequest `json:"module"` + Name string `json:"name"` + + // Positions Number of front ports which may be mapped + Positions *int `json:"positions,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Type RearPortRequestType `json:"type"` +} + +// RearPortRequestType * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type RearPortRequestType string + +// RearPortTemplate 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 RearPortTemplate struct { + Color *string `json:"color,omitempty"` + Created *time.Time `json:"created"` + Description *string `json:"description,omitempty"` + DeviceType *NestedDeviceType `json:"device_type"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + ModuleType *NestedModuleType `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Positions *int `json:"positions,omitempty"` + Type struct { + Label *RearPortTemplateTypeLabel `json:"label,omitempty"` + + // Value * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Value *RearPortTemplateTypeValue `json:"value,omitempty"` + } `json:"type"` + Url *string `json:"url,omitempty"` +} + +// RearPortTemplateTypeLabel defines model for RearPortTemplate.Type.Label. +type RearPortTemplateTypeLabel string + +// RearPortTemplateTypeValue * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type RearPortTemplateTypeValue string + +// RearPortTemplateRequest 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 RearPortTemplateRequest struct { + Color *string `json:"color,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *NestedDeviceTypeRequest `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *NestedModuleTypeRequest `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Positions *int `json:"positions,omitempty"` + + // Type * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Type RearPortTemplateRequestType `json:"type"` +} + +// RearPortTemplateRequestType * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type RearPortTemplateRequestType string + +// Region Extends PrimaryModelSerializer to include MPTT support. +type Region struct { + Depth *int `json:"_depth,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Parent *NestedRegion `json:"parent"` + SiteCount *int `json:"site_count,omitempty"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// RegionRequest Extends PrimaryModelSerializer to include MPTT support. +type RegionRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parent *NestedRegionRequest `json:"parent"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// Role Adds support for custom fields and tags. +type Role struct { + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + PrefixCount *int `json:"prefix_count,omitempty"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + VlanCount *int `json:"vlan_count,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// RoleRequest Adds support for custom fields and tags. +type RoleRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// RouteTarget Adds support for custom fields and tags. +type RouteTarget struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Route target value (formatted in accordance with RFC 4360) + Name string `json:"name"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` +} + +// RouteTargetRequest Adds support for custom fields and tags. +type RouteTargetRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Route target value (formatted in accordance with RFC 4360) + Name string `json:"name"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} + +// SavedFilter 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 SavedFilter struct { + ContentTypes []string `json:"content_types"` + Created *time.Time `json:"created"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Parameters map[string]interface{} `json:"parameters"` + Shared *bool `json:"shared,omitempty"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` + User *int `json:"user"` + Weight *int `json:"weight,omitempty"` +} + +// SavedFilterRequest 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 SavedFilterRequest struct { + ContentTypes []string `json:"content_types"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Name string `json:"name"` + Parameters map[string]interface{} `json:"parameters"` + Shared *bool `json:"shared,omitempty"` + Slug string `json:"slug"` + User *int `json:"user"` + Weight *int `json:"weight,omitempty"` +} + +// Service Adds support for custom fields and tags. +type Service struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *NestedDevice `json:"device"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Ipaddresses *[]int `json:"ipaddresses,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Ports []int `json:"ports"` + Protocol *struct { + Label *ServiceProtocolLabel `json:"label,omitempty"` + + // Value * `tcp` - TCP + // * `udp` - UDP + // * `sctp` - SCTP + Value *ServiceProtocolValue `json:"value,omitempty"` + } `json:"protocol,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + VirtualMachine *NestedVirtualMachine `json:"virtual_machine"` +} + +// ServiceProtocolLabel defines model for Service.Protocol.Label. +type ServiceProtocolLabel string + +// ServiceProtocolValue * `tcp` - TCP +// * `udp` - UDP +// * `sctp` - SCTP +type ServiceProtocolValue string + +// ServiceRequest Adds support for custom fields and tags. +type ServiceRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *NestedDeviceRequest `json:"device"` + Ipaddresses *[]int `json:"ipaddresses,omitempty"` + Name string `json:"name"` + Ports []int `json:"ports"` + + // Protocol * `tcp` - TCP + // * `udp` - UDP + // * `sctp` - SCTP + Protocol *ServiceRequestProtocol `json:"protocol,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + VirtualMachine *NestedVirtualMachineRequest `json:"virtual_machine"` +} + +// ServiceRequestProtocol * `tcp` - TCP +// * `udp` - UDP +// * `sctp` - SCTP +type ServiceRequestProtocol string + +// ServiceTemplate Adds support for custom fields and tags. +type ServiceTemplate struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Ports []int `json:"ports"` + Protocol *struct { + Label *ServiceTemplateProtocolLabel `json:"label,omitempty"` + + // Value * `tcp` - TCP + // * `udp` - UDP + // * `sctp` - SCTP + Value *ServiceTemplateProtocolValue `json:"value,omitempty"` + } `json:"protocol,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ServiceTemplateProtocolLabel defines model for ServiceTemplate.Protocol.Label. +type ServiceTemplateProtocolLabel string + +// ServiceTemplateProtocolValue * `tcp` - TCP +// * `udp` - UDP +// * `sctp` - SCTP +type ServiceTemplateProtocolValue string + +// ServiceTemplateRequest Adds support for custom fields and tags. +type ServiceTemplateRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Ports []int `json:"ports"` + + // Protocol * `tcp` - TCP + // * `udp` - UDP + // * `sctp` - SCTP + Protocol *ServiceTemplateRequestProtocol `json:"protocol,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// ServiceTemplateRequestProtocol * `tcp` - TCP +// * `udp` - UDP +// * `sctp` - SCTP +type ServiceTemplateRequestProtocol string + +// Site Adds support for custom fields and tags. +type Site struct { + Asns *[]int `json:"asns,omitempty"` + CircuitCount *int `json:"circuit_count,omitempty"` + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` + Display *string `json:"display,omitempty"` + + // Facility Local facility ID or description + Facility *string `json:"facility,omitempty"` + Group *NestedSiteGroup `json:"group"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Latitude GPS coordinate in decimal format (xx.yyyyyy) + Latitude *float64 `json:"latitude"` + + // Longitude GPS coordinate in decimal format (xx.yyyyyy) + Longitude *float64 `json:"longitude"` + + // Name Full name of the site + Name string `json:"name"` + + // PhysicalAddress Physical location of the building + PhysicalAddress *string `json:"physical_address,omitempty"` + PrefixCount *int `json:"prefix_count,omitempty"` + RackCount *int `json:"rack_count,omitempty"` + Region *NestedRegion `json:"region"` + + // ShippingAddress If different from the physical address + ShippingAddress *string `json:"shipping_address,omitempty"` + Slug string `json:"slug"` + Status *struct { + Label *SiteStatusLabel `json:"label,omitempty"` + + // Value * `planned` - Planned + // * `staging` - Staging + // * `active` - Active + // * `decommissioning` - Decommissioning + // * `retired` - Retired + Value *SiteStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + TimeZone *string `json:"time_zone"` + Url *string `json:"url,omitempty"` + VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` + VlanCount *int `json:"vlan_count,omitempty"` +} + +// SiteStatusLabel defines model for Site.Status.Label. +type SiteStatusLabel string + +// SiteStatusValue * `planned` - Planned +// * `staging` - Staging +// * `active` - Active +// * `decommissioning` - Decommissioning +// * `retired` - Retired +type SiteStatusValue string + +// SiteGroup Extends PrimaryModelSerializer to include MPTT support. +type SiteGroup struct { + Depth *int `json:"_depth,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Parent *NestedSiteGroup `json:"parent"` + SiteCount *int `json:"site_count,omitempty"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// SiteGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type SiteGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parent *NestedSiteGroupRequest `json:"parent"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// SiteRequest Adds support for custom fields and tags. +type SiteRequest struct { + Asns *[]int `json:"asns,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Facility Local facility ID or description + Facility *string `json:"facility,omitempty"` + Group *NestedSiteGroupRequest `json:"group"` + + // Latitude GPS coordinate in decimal format (xx.yyyyyy) + Latitude *float64 `json:"latitude"` + + // Longitude GPS coordinate in decimal format (xx.yyyyyy) + Longitude *float64 `json:"longitude"` + + // Name Full name of the site + Name string `json:"name"` + + // PhysicalAddress Physical location of the building + PhysicalAddress *string `json:"physical_address,omitempty"` + Region *NestedRegionRequest `json:"region"` + + // ShippingAddress If different from the physical address + ShippingAddress *string `json:"shipping_address,omitempty"` + Slug string `json:"slug"` + + // Status * `planned` - Planned + // * `staging` - Staging + // * `active` - Active + // * `decommissioning` - Decommissioning + // * `retired` - Retired + Status *SiteRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + TimeZone *string `json:"time_zone"` +} + +// SiteRequestStatus * `planned` - Planned +// * `staging` - Staging +// * `active` - Active +// * `decommissioning` - Decommissioning +// * `retired` - Retired +type SiteRequestStatus string + +// Tag 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 Tag struct { + Color *string `json:"color,omitempty"` + Created *time.Time `json:"created"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + ObjectTypes *[]string `json:"object_types,omitempty"` + Slug string `json:"slug"` + TaggedItems *int `json:"tagged_items,omitempty"` + Url *string `json:"url,omitempty"` +} + +// TagRequest 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 TagRequest struct { + Color *string `json:"color,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + ObjectTypes *[]string `json:"object_types,omitempty"` + Slug string `json:"slug"` +} + +// Tenant Adds support for custom fields and tags. +type Tenant struct { + CircuitCount *int `json:"circuit_count,omitempty"` + ClusterCount *int `json:"cluster_count,omitempty"` + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` + Display *string `json:"display,omitempty"` + Group *NestedTenantGroup `json:"group"` + Id *int `json:"id,omitempty"` + IpaddressCount *int `json:"ipaddress_count,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + 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"` + Tags *[]NestedTag `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"` +} + +// TenantGroup Extends PrimaryModelSerializer to include MPTT support. +type TenantGroup struct { + Depth *int `json:"_depth,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Parent *NestedTenantGroup `json:"parent"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + TenantCount *int `json:"tenant_count,omitempty"` + Url *string `json:"url,omitempty"` +} + +// TenantGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type TenantGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parent *NestedTenantGroupRequest `json:"parent"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// TenantRequest Adds support for custom fields and tags. +type TenantRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *NestedTenantGroupRequest `json:"group"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// Token Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type Token struct { + Created *time.Time `json:"created,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Expires *time.Time `json:"expires"` + Id *int `json:"id,omitempty"` + Key *string `json:"key,omitempty"` + LastUsed *time.Time `json:"last_used"` + Url *string `json:"url,omitempty"` + + // User Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + User NestedUser `json:"user"` + + // WriteEnabled Permit create/update/delete operations using this key + WriteEnabled *bool `json:"write_enabled,omitempty"` +} + +// TokenProvision 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 TokenProvision struct { + Created *time.Time `json:"created,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Expires *time.Time `json:"expires"` + Id *int `json:"id,omitempty"` + Key *string `json:"key,omitempty"` + LastUsed *time.Time `json:"last_used,omitempty"` + Url *string `json:"url,omitempty"` + User *NestedUser `json:"user,omitempty"` + + // WriteEnabled Permit create/update/delete operations using this key + WriteEnabled *bool `json:"write_enabled,omitempty"` +} + +// TokenProvisionRequest 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 TokenProvisionRequest struct { + Description *string `json:"description,omitempty"` + Expires *time.Time `json:"expires"` + Password *string `json:"password,omitempty"` + Username *string `json:"username,omitempty"` + + // WriteEnabled Permit create/update/delete operations using this key + WriteEnabled *bool `json:"write_enabled,omitempty"` +} + +// TokenRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type TokenRequest struct { + Description *string `json:"description,omitempty"` + Expires *time.Time `json:"expires"` + Key *string `json:"key,omitempty"` + LastUsed *time.Time `json:"last_used"` + + // User Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + User NestedUserRequest `json:"user"` + + // WriteEnabled Permit create/update/delete operations using this key + WriteEnabled *bool `json:"write_enabled,omitempty"` +} + +// User Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type User struct { + DateJoined *time.Time `json:"date_joined,omitempty"` + Display *string `json:"display,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + FirstName *string `json:"first_name,omitempty"` + Groups *[]int `json:"groups,omitempty"` + Id *int `json:"id,omitempty"` + + // IsActive Designates whether this user should be treated as active. Unselect this instead of deleting accounts. + IsActive *bool `json:"is_active,omitempty"` + + // IsStaff Designates whether the user can log into this admin site. + IsStaff *bool `json:"is_staff,omitempty"` + LastName *string `json:"last_name,omitempty"` + Url *string `json:"url,omitempty"` + + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + Username string `json:"username"` +} + +// UserRequest 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 UserRequest struct { + DateJoined *time.Time `json:"date_joined,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + FirstName *string `json:"first_name,omitempty"` + Groups *[]int `json:"groups,omitempty"` + + // IsActive Designates whether this user should be treated as active. Unselect this instead of deleting accounts. + IsActive *bool `json:"is_active,omitempty"` + + // IsStaff Designates whether the user can log into this admin site. + IsStaff *bool `json:"is_staff,omitempty"` + LastName *string `json:"last_name,omitempty"` + Password *string `json:"password,omitempty"` + + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + Username string `json:"username"` +} + +// VLAN Adds support for custom fields and tags. +type VLAN struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Group *NestedVLANGroup `json:"group"` + Id *int `json:"id,omitempty"` + L2vpnTermination *NestedL2VPNTermination `json:"l2vpn_termination"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + PrefixCount *int `json:"prefix_count,omitempty"` + Role *NestedRole `json:"role"` + Site *NestedSite `json:"site"` + Status *struct { + Label *VLANStatusLabel `json:"label,omitempty"` + + // Value * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Value *VLANStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + + // Vid Numeric VLAN ID (1-4094) + Vid int `json:"vid"` +} + +// VLANStatusLabel defines model for VLAN.Status.Label. +type VLANStatusLabel string + +// VLANStatusValue * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +type VLANStatusValue string + +// VLANGroup Adds support for custom fields and tags. +type VLANGroup struct { + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // MaxVid Highest permissible ID of a child VLAN + MaxVid *int `json:"max_vid,omitempty"` + + // MinVid Lowest permissible ID of a child VLAN + MinVid *int `json:"min_vid,omitempty"` + Name string `json:"name"` + Scope *map[string]interface{} `json:"scope"` + ScopeId *int `json:"scope_id"` + ScopeType *string `json:"scope_type"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + Utilization *string `json:"utilization,omitempty"` + VlanCount *int `json:"vlan_count,omitempty"` +} + +// VLANGroupRequest Adds support for custom fields and tags. +type VLANGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // MaxVid Highest permissible ID of a child VLAN + MaxVid *int `json:"max_vid,omitempty"` + + // MinVid Lowest permissible ID of a child VLAN + MinVid *int `json:"min_vid,omitempty"` + Name string `json:"name"` + ScopeId *int `json:"scope_id"` + ScopeType *string `json:"scope_type"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// VLANRequest Adds support for custom fields and tags. +type VLANRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *NestedVLANGroupRequest `json:"group"` + Name string `json:"name"` + Role *NestedRoleRequest `json:"role"` + Site *NestedSiteRequest `json:"site"` + + // Status * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Status *VLANRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + + // Vid Numeric VLAN ID (1-4094) + Vid int `json:"vid"` +} + +// VLANRequestStatus * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +type VLANRequestStatus string + +// VMInterface Adds support for custom fields and tags. +type VMInterface struct { + Bridge *NestedVMInterface `json:"bridge"` + CountFhrpGroups *int `json:"count_fhrp_groups,omitempty"` + CountIpaddresses *int `json:"count_ipaddresses,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Id *int `json:"id,omitempty"` + L2vpnTermination *NestedL2VPNTermination `json:"l2vpn_termination"` + LastUpdated *time.Time `json:"last_updated"` + MacAddress *string `json:"mac_address"` + Mode *struct { + Label *VMInterfaceModeLabel `json:"label,omitempty"` + + // Value * `access` - Access + // * `tagged` - Tagged + // * `tagged-all` - Tagged (All) + Value *VMInterfaceModeValue `json:"value,omitempty"` + } `json:"mode,omitempty"` + Mtu *int `json:"mtu"` + Name string `json:"name"` + Parent *NestedVMInterface `json:"parent"` + TaggedVlans *[]int `json:"tagged_vlans,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + UntaggedVlan *NestedVLAN `json:"untagged_vlan"` + Url *string `json:"url,omitempty"` + + // VirtualMachine Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + VirtualMachine NestedVirtualMachine `json:"virtual_machine"` + Vrf *NestedVRF `json:"vrf"` +} + +// VMInterfaceModeLabel defines model for VMInterface.Mode.Label. +type VMInterfaceModeLabel string + +// VMInterfaceModeValue * `access` - Access +// * `tagged` - Tagged +// * `tagged-all` - Tagged (All) +type VMInterfaceModeValue string + +// VMInterfaceRequest Adds support for custom fields and tags. +type VMInterfaceRequest struct { + Bridge *NestedVMInterfaceRequest `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + MacAddress *string `json:"mac_address"` + + // Mode * `access` - Access + // * `tagged` - Tagged + // * `tagged-all` - Tagged (All) + Mode *VMInterfaceRequestMode `json:"mode,omitempty"` + Mtu *int `json:"mtu"` + Name string `json:"name"` + Parent *NestedVMInterfaceRequest `json:"parent"` + TaggedVlans *[]int `json:"tagged_vlans,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + UntaggedVlan *NestedVLANRequest `json:"untagged_vlan"` + + // VirtualMachine Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + VirtualMachine NestedVirtualMachineRequest `json:"virtual_machine"` + Vrf *NestedVRFRequest `json:"vrf"` +} + +// VMInterfaceRequestMode * `access` - Access +// * `tagged` - Tagged +// * `tagged-all` - Tagged (All) +type VMInterfaceRequestMode string + +// VRF Adds support for custom fields and tags. +type VRF struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + + // EnforceUnique Prevent duplicate prefixes/IP addresses within this VRF + EnforceUnique *bool `json:"enforce_unique,omitempty"` + ExportTargets *[]int `json:"export_targets,omitempty"` + Id *int `json:"id,omitempty"` + ImportTargets *[]int `json:"import_targets,omitempty"` + IpaddressCount *int `json:"ipaddress_count,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + PrefixCount *int `json:"prefix_count,omitempty"` + + // Rd Unique route distinguisher (as defined in RFC 4364) + Rd *string `json:"rd"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` +} + +// VRFRequest Adds support for custom fields and tags. +type VRFRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // EnforceUnique Prevent duplicate prefixes/IP addresses within this VRF + EnforceUnique *bool `json:"enforce_unique,omitempty"` + ExportTargets *[]int `json:"export_targets,omitempty"` + ImportTargets *[]int `json:"import_targets,omitempty"` + Name string `json:"name"` + + // Rd Unique route distinguisher (as defined in RFC 4364) + Rd *string `json:"rd"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} + +// VirtualChassis Adds support for custom fields and tags. +type VirtualChassis struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Domain *string `json:"domain,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Master *NestedDevice `json:"master"` + MemberCount *int `json:"member_count,omitempty"` + Name string `json:"name"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// VirtualChassisRequest Adds support for custom fields and tags. +type VirtualChassisRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Domain *string `json:"domain,omitempty"` + Master *NestedDeviceRequest `json:"master"` + Name string `json:"name"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// VirtualDeviceContext Adds support for custom fields and tags. +type VirtualDeviceContext struct { + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDevice `json:"device"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // Identifier Numeric identifier unique to the parent device + Identifier *int `json:"identifier"` + InterfaceCount *int `json:"interface_count,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + PrimaryIp *NestedIPAddress `json:"primary_ip"` + PrimaryIp4 *NestedIPAddress `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddress `json:"primary_ip6"` + Status struct { + Label *VirtualDeviceContextStatusLabel `json:"label,omitempty"` + + // Value * `active` - Active + // * `planned` - Planned + // * `offline` - Offline + Value *VirtualDeviceContextStatusValue `json:"value,omitempty"` + } `json:"status"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` +} + +// VirtualDeviceContextStatusLabel defines model for VirtualDeviceContext.Status.Label. +type VirtualDeviceContextStatusLabel string + +// VirtualDeviceContextStatusValue * `active` - Active +// * `planned` - Planned +// * `offline` - Offline +type VirtualDeviceContextStatusValue string + +// VirtualDeviceContextRequest Adds support for custom fields and tags. +type VirtualDeviceContextRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + Device NestedDeviceRequest `json:"device"` + + // Identifier Numeric identifier unique to the parent device + Identifier *int `json:"identifier"` + Name string `json:"name"` + PrimaryIp4 *NestedIPAddressRequest `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddressRequest `json:"primary_ip6"` + + // Status * `active` - Active + // * `planned` - Planned + // * `offline` - Offline + Status VirtualDeviceContextRequestStatus `json:"status"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} + +// VirtualDeviceContextRequestStatus * `active` - Active +// * `planned` - Planned +// * `offline` - Offline +type VirtualDeviceContextRequestStatus string + +// VirtualMachineWithConfigContext Adds support for custom fields and tags. +type VirtualMachineWithConfigContext struct { + Cluster *NestedCluster `json:"cluster"` + Comments *string `json:"comments,omitempty"` + ConfigContext *map[string]interface{} `json:"config_context"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *NestedDevice `json:"device"` + Disk *int `json:"disk"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + InterfaceCount *int `json:"interface_count,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // LocalContextData Local config context data takes precedence over source contexts in the final rendered config context + LocalContextData *map[string]interface{} `json:"local_context_data"` + Memory *int `json:"memory"` + Name string `json:"name"` + Platform *NestedPlatform `json:"platform"` + PrimaryIp *NestedIPAddress `json:"primary_ip,omitempty"` + PrimaryIp4 *NestedIPAddress `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddress `json:"primary_ip6"` + Role *NestedDeviceRole `json:"role"` + Site *NestedSite `json:"site"` + Status *struct { + Label *VirtualMachineWithConfigContextStatusLabel `json:"label,omitempty"` + + // Value * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `staged` - Staged + // * `failed` - Failed + // * `decommissioning` - Decommissioning + Value *VirtualMachineWithConfigContextStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + Vcpus *float64 `json:"vcpus"` +} + +// VirtualMachineWithConfigContextStatusLabel defines model for VirtualMachineWithConfigContext.Status.Label. +type VirtualMachineWithConfigContextStatusLabel string + +// VirtualMachineWithConfigContextStatusValue * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `staged` - Staged +// * `failed` - Failed +// * `decommissioning` - Decommissioning +type VirtualMachineWithConfigContextStatusValue string + +// VirtualMachineWithConfigContextRequest Adds support for custom fields and tags. +type VirtualMachineWithConfigContextRequest struct { + Cluster *NestedClusterRequest `json:"cluster"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *NestedDeviceRequest `json:"device"` + Disk *int `json:"disk"` + + // LocalContextData Local config context data takes precedence over source contexts in the final rendered config context + LocalContextData *map[string]interface{} `json:"local_context_data"` + Memory *int `json:"memory"` + Name string `json:"name"` + Platform *NestedPlatformRequest `json:"platform"` + PrimaryIp4 *NestedIPAddressRequest `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddressRequest `json:"primary_ip6"` + Role *NestedDeviceRoleRequest `json:"role"` + Site *NestedSiteRequest `json:"site"` + + // Status * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `staged` - Staged + // * `failed` - Failed + // * `decommissioning` - Decommissioning + Status *VirtualMachineWithConfigContextRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Vcpus *float64 `json:"vcpus"` +} + +// VirtualMachineWithConfigContextRequestStatus * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `staged` - Staged +// * `failed` - Failed +// * `decommissioning` - Decommissioning +type VirtualMachineWithConfigContextRequestStatus string + +// Webhook Adds support for custom fields and tags. +type Webhook struct { + // AdditionalHeaders User-supplied HTTP headers to be sent with the request in addition to the HTTP content type. Headers should be defined in the format Name: Value. Jinja2 template processing is supported with the same context as the request body (below). + AdditionalHeaders *string `json:"additional_headers,omitempty"` + + // BodyTemplate Jinja2 template for a custom request body. If blank, a JSON object representing the change will be included. Available context data includes: event, model, timestamp, username, request_id, and data. + BodyTemplate *string `json:"body_template,omitempty"` + + // CaFilePath The specific CA certificate file to use for SSL verification. Leave blank to use the system defaults. + CaFilePath *string `json:"ca_file_path"` + + // Conditions A set of conditions which determine whether the webhook will be generated. + Conditions *map[string]interface{} `json:"conditions"` + ContentTypes []string `json:"content_types"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + + // HttpContentType The complete list of official content types is available here. + HttpContentType *string `json:"http_content_type,omitempty"` + + // HttpMethod * `GET` - GET + // * `POST` - POST + // * `PUT` - PUT + // * `PATCH` - PATCH + // * `DELETE` - DELETE + HttpMethod *WebhookHttpMethod `json:"http_method,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + + // PayloadUrl This URL will be called using the HTTP method defined when the webhook is called. Jinja2 template processing is supported with the same context as the request body. + PayloadUrl string `json:"payload_url"` + + // Secret When provided, the request will include a X-Hook-Signature header containing a HMAC hex digest of the payload body using the secret as the key. The secret is not transmitted in the request. + Secret *string `json:"secret,omitempty"` + + // SslVerification Enable SSL certificate verification. Disable with caution! + SslVerification *bool `json:"ssl_verification,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + + // TypeCreate Triggers when a matching object is created. + TypeCreate *bool `json:"type_create,omitempty"` + + // TypeDelete Triggers when a matching object is deleted. + TypeDelete *bool `json:"type_delete,omitempty"` + + // TypeJobEnd Triggers when a job for a matching object terminates. + TypeJobEnd *bool `json:"type_job_end,omitempty"` + + // TypeJobStart Triggers when a job for a matching object is started. + TypeJobStart *bool `json:"type_job_start,omitempty"` + + // TypeUpdate Triggers when a matching object is updated. + TypeUpdate *bool `json:"type_update,omitempty"` + Url *string `json:"url,omitempty"` +} + +// WebhookHttpMethod * `GET` - GET +// * `POST` - POST +// * `PUT` - PUT +// * `PATCH` - PATCH +// * `DELETE` - DELETE +type WebhookHttpMethod string + +// WebhookRequest Adds support for custom fields and tags. +type WebhookRequest struct { + // AdditionalHeaders User-supplied HTTP headers to be sent with the request in addition to the HTTP content type. Headers should be defined in the format Name: Value. Jinja2 template processing is supported with the same context as the request body (below). + AdditionalHeaders *string `json:"additional_headers,omitempty"` + + // BodyTemplate Jinja2 template for a custom request body. If blank, a JSON object representing the change will be included. Available context data includes: event, model, timestamp, username, request_id, and data. + BodyTemplate *string `json:"body_template,omitempty"` + + // CaFilePath The specific CA certificate file to use for SSL verification. Leave blank to use the system defaults. + CaFilePath *string `json:"ca_file_path"` + + // Conditions A set of conditions which determine whether the webhook will be generated. + Conditions *map[string]interface{} `json:"conditions"` + ContentTypes []string `json:"content_types"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + + // HttpContentType The complete list of official content types is available here. + HttpContentType *string `json:"http_content_type,omitempty"` + + // HttpMethod * `GET` - GET + // * `POST` - POST + // * `PUT` - PUT + // * `PATCH` - PATCH + // * `DELETE` - DELETE + HttpMethod *WebhookRequestHttpMethod `json:"http_method,omitempty"` + Name string `json:"name"` + + // PayloadUrl This URL will be called using the HTTP method defined when the webhook is called. Jinja2 template processing is supported with the same context as the request body. + PayloadUrl string `json:"payload_url"` + + // Secret When provided, the request will include a X-Hook-Signature header containing a HMAC hex digest of the payload body using the secret as the key. The secret is not transmitted in the request. + Secret *string `json:"secret,omitempty"` + + // SslVerification Enable SSL certificate verification. Disable with caution! + SslVerification *bool `json:"ssl_verification,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // TypeCreate Triggers when a matching object is created. + TypeCreate *bool `json:"type_create,omitempty"` + + // TypeDelete Triggers when a matching object is deleted. + TypeDelete *bool `json:"type_delete,omitempty"` + + // TypeJobEnd Triggers when a job for a matching object terminates. + TypeJobEnd *bool `json:"type_job_end,omitempty"` + + // TypeJobStart Triggers when a job for a matching object is started. + TypeJobStart *bool `json:"type_job_start,omitempty"` + + // TypeUpdate Triggers when a matching object is updated. + TypeUpdate *bool `json:"type_update,omitempty"` +} + +// WebhookRequestHttpMethod * `GET` - GET +// * `POST` - POST +// * `PUT` - PUT +// * `PATCH` - PATCH +// * `DELETE` - DELETE +type WebhookRequestHttpMethod string + +// WirelessLAN Adds support for custom fields and tags. +type WirelessLAN struct { + AuthCipher *struct { + Label *WirelessLANAuthCipherLabel `json:"label,omitempty"` + + // Value * `auto` - Auto + // * `tkip` - TKIP + // * `aes` - AES + Value *WirelessLANAuthCipherValue `json:"value,omitempty"` + } `json:"auth_cipher,omitempty"` + AuthPsk *string `json:"auth_psk,omitempty"` + AuthType *struct { + Label *WirelessLANAuthTypeLabel `json:"label,omitempty"` + + // Value * `open` - Open + // * `wep` - WEP + // * `wpa-personal` - WPA Personal (PSK) + // * `wpa-enterprise` - WPA Enterprise + Value *WirelessLANAuthTypeValue `json:"value,omitempty"` + } `json:"auth_type,omitempty"` + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Group *NestedWirelessLANGroup `json:"group"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Ssid string `json:"ssid"` + Status *struct { + Label *WirelessLANStatusLabel `json:"label,omitempty"` + + // Value * `active` - Active + // * `reserved` - Reserved + // * `disabled` - Disabled + // * `deprecated` - Deprecated + Value *WirelessLANStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + Vlan *NestedVLAN `json:"vlan"` +} + +// WirelessLANAuthCipherLabel defines model for WirelessLAN.AuthCipher.Label. +type WirelessLANAuthCipherLabel string + +// WirelessLANAuthCipherValue * `auto` - Auto +// * `tkip` - TKIP +// * `aes` - AES +type WirelessLANAuthCipherValue string + +// WirelessLANAuthTypeLabel defines model for WirelessLAN.AuthType.Label. +type WirelessLANAuthTypeLabel string + +// WirelessLANAuthTypeValue * `open` - Open +// * `wep` - WEP +// * `wpa-personal` - WPA Personal (PSK) +// * `wpa-enterprise` - WPA Enterprise +type WirelessLANAuthTypeValue string + +// WirelessLANStatusLabel defines model for WirelessLAN.Status.Label. +type WirelessLANStatusLabel string + +// WirelessLANStatusValue * `active` - Active +// * `reserved` - Reserved +// * `disabled` - Disabled +// * `deprecated` - Deprecated +type WirelessLANStatusValue string + +// WirelessLANGroup Extends PrimaryModelSerializer to include MPTT support. +type WirelessLANGroup struct { + Depth *int `json:"_depth,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Parent *NestedWirelessLANGroup `json:"parent"` + Slug string `json:"slug"` + Tags *[]NestedTag `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + WirelesslanCount *int `json:"wirelesslan_count,omitempty"` +} + +// WirelessLANGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type WirelessLANGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parent *NestedWirelessLANGroupRequest `json:"parent"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WirelessLANRequest Adds support for custom fields and tags. +type WirelessLANRequest struct { + // AuthCipher * `auto` - Auto + // * `tkip` - TKIP + // * `aes` - AES + AuthCipher *WirelessLANRequestAuthCipher `json:"auth_cipher,omitempty"` + AuthPsk *string `json:"auth_psk,omitempty"` + + // AuthType * `open` - Open + // * `wep` - WEP + // * `wpa-personal` - WPA Personal (PSK) + // * `wpa-enterprise` - WPA Enterprise + AuthType *WirelessLANRequestAuthType `json:"auth_type,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *NestedWirelessLANGroupRequest `json:"group"` + Ssid string `json:"ssid"` + + // Status * `active` - Active + // * `reserved` - Reserved + // * `disabled` - Disabled + // * `deprecated` - Deprecated + Status *WirelessLANRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Vlan *NestedVLANRequest `json:"vlan"` +} + +// WirelessLANRequestAuthCipher * `auto` - Auto +// * `tkip` - TKIP +// * `aes` - AES +type WirelessLANRequestAuthCipher string + +// WirelessLANRequestAuthType * `open` - Open +// * `wep` - WEP +// * `wpa-personal` - WPA Personal (PSK) +// * `wpa-enterprise` - WPA Enterprise +type WirelessLANRequestAuthType string + +// WirelessLANRequestStatus * `active` - Active +// * `reserved` - Reserved +// * `disabled` - Disabled +// * `deprecated` - Deprecated +type WirelessLANRequestStatus string + +// WirelessLink Adds support for custom fields and tags. +type WirelessLink struct { + AuthCipher *struct { + Label *WirelessLinkAuthCipherLabel `json:"label,omitempty"` + + // Value * `auto` - Auto + // * `tkip` - TKIP + // * `aes` - AES + Value *WirelessLinkAuthCipherValue `json:"value,omitempty"` + } `json:"auth_cipher,omitempty"` + AuthPsk *string `json:"auth_psk,omitempty"` + AuthType *struct { + Label *WirelessLinkAuthTypeLabel `json:"label,omitempty"` + + // Value * `open` - Open + // * `wep` - WEP + // * `wpa-personal` - WPA Personal (PSK) + // * `wpa-enterprise` - WPA Enterprise + Value *WirelessLinkAuthTypeValue `json:"value,omitempty"` + } `json:"auth_type,omitempty"` + Comments *string `json:"comments,omitempty"` + Created *time.Time `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + + // InterfaceA Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + InterfaceA NestedInterface `json:"interface_a"` + + // InterfaceB Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + InterfaceB NestedInterface `json:"interface_b"` + LastUpdated *time.Time `json:"last_updated"` + Ssid *string `json:"ssid,omitempty"` + Status *struct { + Label *WirelessLinkStatusLabel `json:"label,omitempty"` + + // Value * `connected` - Connected + // * `planned` - Planned + // * `decommissioning` - Decommissioning + Value *WirelessLinkStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]NestedTag `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` +} + +// WirelessLinkAuthCipherLabel defines model for WirelessLink.AuthCipher.Label. +type WirelessLinkAuthCipherLabel string + +// WirelessLinkAuthCipherValue * `auto` - Auto +// * `tkip` - TKIP +// * `aes` - AES +type WirelessLinkAuthCipherValue string + +// WirelessLinkAuthTypeLabel defines model for WirelessLink.AuthType.Label. +type WirelessLinkAuthTypeLabel string + +// WirelessLinkAuthTypeValue * `open` - Open +// * `wep` - WEP +// * `wpa-personal` - WPA Personal (PSK) +// * `wpa-enterprise` - WPA Enterprise +type WirelessLinkAuthTypeValue string + +// WirelessLinkStatusLabel defines model for WirelessLink.Status.Label. +type WirelessLinkStatusLabel string + +// WirelessLinkStatusValue * `connected` - Connected +// * `planned` - Planned +// * `decommissioning` - Decommissioning +type WirelessLinkStatusValue string + +// WirelessLinkRequest Adds support for custom fields and tags. +type WirelessLinkRequest struct { + // AuthCipher * `auto` - Auto + // * `tkip` - TKIP + // * `aes` - AES + AuthCipher *WirelessLinkRequestAuthCipher `json:"auth_cipher,omitempty"` + AuthPsk *string `json:"auth_psk,omitempty"` + + // AuthType * `open` - Open + // * `wep` - WEP + // * `wpa-personal` - WPA Personal (PSK) + // * `wpa-enterprise` - WPA Enterprise + AuthType *WirelessLinkRequestAuthType `json:"auth_type,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // InterfaceA Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + InterfaceA NestedInterfaceRequest `json:"interface_a"` + + // InterfaceB Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a + // dictionary of attributes which can be used to uniquely identify the related object. This class should be + // subclassed to return a full representation of the related object on read. + InterfaceB NestedInterfaceRequest `json:"interface_b"` + Ssid *string `json:"ssid,omitempty"` + + // Status * `connected` - Connected + // * `planned` - Planned + // * `decommissioning` - Decommissioning + Status *WirelessLinkRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} + +// WirelessLinkRequestAuthCipher * `auto` - Auto +// * `tkip` - TKIP +// * `aes` - AES +type WirelessLinkRequestAuthCipher string + +// WirelessLinkRequestAuthType * `open` - Open +// * `wep` - WEP +// * `wpa-personal` - WPA Personal (PSK) +// * `wpa-enterprise` - WPA Enterprise +type WirelessLinkRequestAuthType string + +// WirelessLinkRequestStatus * `connected` - Connected +// * `planned` - Planned +// * `decommissioning` - Decommissioning +type WirelessLinkRequestStatus string + +// WritableASNRangeRequest Adds support for custom fields and tags. +type WritableASNRangeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + End int64 `json:"end"` + Name string `json:"name"` + Rir int `json:"rir"` + Slug string `json:"slug"` + Start int64 `json:"start"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// WritableASNRequest Adds support for custom fields and tags. +type WritableASNRequest struct { + // Asn 16- or 32-bit autonomous system number + Asn int64 `json:"asn"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Rir Regional Internet Registry responsible for this AS number space + Rir int `json:"rir"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// WritableAggregateRequest Adds support for custom fields and tags. +type WritableAggregateRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DateAdded *openapi_types.Date `json:"date_added"` + Description *string `json:"description,omitempty"` + Prefix string `json:"prefix"` + + // Rir Regional Internet Registry responsible for this IP space + Rir int `json:"rir"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// WritableBookmarkRequest 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 WritableBookmarkRequest struct { + ObjectId int64 `json:"object_id"` + ObjectType string `json:"object_type"` + User int `json:"user"` +} + +// WritableCableRequest Adds support for custom fields and tags. +type WritableCableRequest struct { + ATerminations *[]GenericObjectRequest `json:"a_terminations,omitempty"` + BTerminations *[]GenericObjectRequest `json:"b_terminations,omitempty"` + Color *string `json:"color,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Label *string `json:"label,omitempty"` + Length *float64 `json:"length"` + + // LengthUnit * `km` - Kilometers + // * `m` - Meters + // * `cm` - Centimeters + // * `mi` - Miles + // * `ft` - Feet + // * `in` - Inches + LengthUnit *WritableCableRequestLengthUnit `json:"length_unit,omitempty"` + + // Status * `connected` - Connected + // * `planned` - Planned + // * `decommissioning` - Decommissioning + Status *WritableCableRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + + // Type * `cat3` - CAT3 + // * `cat5` - CAT5 + // * `cat5e` - CAT5e + // * `cat6` - CAT6 + // * `cat6a` - CAT6a + // * `cat7` - CAT7 + // * `cat7a` - CAT7a + // * `cat8` - CAT8 + // * `dac-active` - Direct Attach Copper (Active) + // * `dac-passive` - Direct Attach Copper (Passive) + // * `mrj21-trunk` - MRJ21 Trunk + // * `coaxial` - Coaxial + // * `mmf` - Multimode Fiber + // * `mmf-om1` - Multimode Fiber (OM1) + // * `mmf-om2` - Multimode Fiber (OM2) + // * `mmf-om3` - Multimode Fiber (OM3) + // * `mmf-om4` - Multimode Fiber (OM4) + // * `mmf-om5` - Multimode Fiber (OM5) + // * `smf` - Singlemode Fiber + // * `smf-os1` - Singlemode Fiber (OS1) + // * `smf-os2` - Singlemode Fiber (OS2) + // * `aoc` - Active Optical Cabling (AOC) + // * `power` - Power + Type *WritableCableRequestType `json:"type,omitempty"` +} + +// WritableCableRequestLengthUnit * `km` - Kilometers +// * `m` - Meters +// * `cm` - Centimeters +// * `mi` - Miles +// * `ft` - Feet +// * `in` - Inches +type WritableCableRequestLengthUnit string + +// WritableCableRequestStatus * `connected` - Connected +// * `planned` - Planned +// * `decommissioning` - Decommissioning +type WritableCableRequestStatus string + +// WritableCableRequestType * `cat3` - CAT3 +// * `cat5` - CAT5 +// * `cat5e` - CAT5e +// * `cat6` - CAT6 +// * `cat6a` - CAT6a +// * `cat7` - CAT7 +// * `cat7a` - CAT7a +// * `cat8` - CAT8 +// * `dac-active` - Direct Attach Copper (Active) +// * `dac-passive` - Direct Attach Copper (Passive) +// * `mrj21-trunk` - MRJ21 Trunk +// * `coaxial` - Coaxial +// * `mmf` - Multimode Fiber +// * `mmf-om1` - Multimode Fiber (OM1) +// * `mmf-om2` - Multimode Fiber (OM2) +// * `mmf-om3` - Multimode Fiber (OM3) +// * `mmf-om4` - Multimode Fiber (OM4) +// * `mmf-om5` - Multimode Fiber (OM5) +// * `smf` - Singlemode Fiber +// * `smf-os1` - Singlemode Fiber (OS1) +// * `smf-os2` - Singlemode Fiber (OS2) +// * `aoc` - Active Optical Cabling (AOC) +// * `power` - Power +type WritableCableRequestType string + +// WritableCircuitRequest Adds support for custom fields and tags. +type WritableCircuitRequest struct { + // Cid Unique circuit ID + Cid string `json:"cid"` + Comments *string `json:"comments,omitempty"` + + // CommitRate Committed rate + CommitRate *int `json:"commit_rate"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + InstallDate *openapi_types.Date `json:"install_date"` + Provider int `json:"provider"` + ProviderAccount *int `json:"provider_account"` + + // Status * `planned` - Planned + // * `provisioning` - Provisioning + // * `active` - Active + // * `offline` - Offline + // * `deprovisioning` - Deprovisioning + // * `decommissioned` - Decommissioned + Status *WritableCircuitRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + TerminationDate *openapi_types.Date `json:"termination_date"` + Type int `json:"type"` +} + +// WritableCircuitRequestStatus * `planned` - Planned +// * `provisioning` - Provisioning +// * `active` - Active +// * `offline` - Offline +// * `deprovisioning` - Deprovisioning +// * `decommissioned` - Decommissioned +type WritableCircuitRequestStatus string + +// WritableCircuitTerminationRequest Adds support for custom fields and tags. +type WritableCircuitTerminationRequest struct { + Circuit int `json:"circuit"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // PortSpeed Physical circuit speed + PortSpeed *int `json:"port_speed"` + + // PpInfo Patch panel ID and port number(s) + PpInfo *string `json:"pp_info,omitempty"` + ProviderNetwork *int `json:"provider_network"` + Site *int `json:"site"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // TermSide * `A` - A + // * `Z` - Z + TermSide WritableCircuitTerminationRequestTermSide `json:"term_side"` + + // UpstreamSpeed Upstream speed, if different from port speed + UpstreamSpeed *int `json:"upstream_speed"` + + // XconnectId ID of the local cross-connect + XconnectId *string `json:"xconnect_id,omitempty"` +} + +// WritableCircuitTerminationRequestTermSide * `A` - A +// * `Z` - Z +type WritableCircuitTerminationRequestTermSide string + +// WritableClusterRequest Adds support for custom fields and tags. +type WritableClusterRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *int `json:"group"` + Name string `json:"name"` + Site *int `json:"site"` + + // Status * `planned` - Planned + // * `staging` - Staging + // * `active` - Active + // * `decommissioning` - Decommissioning + // * `offline` - Offline + Status *WritableClusterRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + Type int `json:"type"` +} + +// WritableClusterRequestStatus * `planned` - Planned +// * `staging` - Staging +// * `active` - Active +// * `decommissioning` - Decommissioning +// * `offline` - Offline +type WritableClusterRequestStatus string + +// WritableConfigContextRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type WritableConfigContextRequest struct { + ClusterGroups *[]int `json:"cluster_groups,omitempty"` + ClusterTypes *[]int `json:"cluster_types,omitempty"` + Clusters *[]int `json:"clusters,omitempty"` + Data map[string]interface{} `json:"data"` + + // DataSource Remote data source + DataSource *int `json:"data_source"` + Description *string `json:"description,omitempty"` + DeviceTypes *[]int `json:"device_types,omitempty"` + IsActive *bool `json:"is_active,omitempty"` + Locations *[]int `json:"locations,omitempty"` + Name string `json:"name"` + Platforms *[]int `json:"platforms,omitempty"` + Regions *[]int `json:"regions,omitempty"` + Roles *[]int `json:"roles,omitempty"` + SiteGroups *[]int `json:"site_groups,omitempty"` + Sites *[]int `json:"sites,omitempty"` + Tags *[]string `json:"tags,omitempty"` + TenantGroups *[]int `json:"tenant_groups,omitempty"` + Tenants *[]int `json:"tenants,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// WritableConfigTemplateRequest Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment +// on create() and update(). +type WritableConfigTemplateRequest struct { + DataFile *int `json:"data_file"` + + // DataSource Remote data source + DataSource *int `json:"data_source"` + Description *string `json:"description,omitempty"` + + // EnvironmentParams Any additional parameters to pass when constructing the Jinja2 environment. + EnvironmentParams *map[string]interface{} `json:"environment_params"` + Name string `json:"name"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // TemplateCode Jinja2 template code. + TemplateCode string `json:"template_code"` +} + +// WritableConsolePortRequest Adds support for custom fields and tags. +type WritableConsolePortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device int `json:"device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *int `json:"module"` + Name string `json:"name"` + + // Speed Port speed in bits per second + // + // * `1200` - 1200 bps + // * `2400` - 2400 bps + // * `4800` - 4800 bps + // * `9600` - 9600 bps + // * `19200` - 19.2 kbps + // * `38400` - 38.4 kbps + // * `57600` - 57.6 kbps + // * `115200` - 115.2 kbps + Speed *WritableConsolePortRequestSpeed `json:"speed"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type Physical port type + // + // * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Type *WritableConsolePortRequestType `json:"type,omitempty"` +} + +// WritableConsolePortRequestSpeed Port speed in bits per second +// +// * `1200` - 1200 bps +// * `2400` - 2400 bps +// * `4800` - 4800 bps +// * `9600` - 9600 bps +// * `19200` - 19.2 kbps +// * `38400` - 38.4 kbps +// * `57600` - 57.6 kbps +// * `115200` - 115.2 kbps +type WritableConsolePortRequestSpeed int + +// WritableConsolePortRequestType Physical port type +// +// * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type WritableConsolePortRequestType string + +// WritableConsolePortTemplateRequest 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 WritableConsolePortTemplateRequest struct { + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *int `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + + // Type * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Type *WritableConsolePortTemplateRequestType `json:"type,omitempty"` +} + +// WritableConsolePortTemplateRequestType * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type WritableConsolePortTemplateRequestType string + +// WritableConsoleServerPortRequest Adds support for custom fields and tags. +type WritableConsoleServerPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device int `json:"device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *int `json:"module"` + Name string `json:"name"` + + // Speed Port speed in bits per second + // + // * `1200` - 1200 bps + // * `2400` - 2400 bps + // * `4800` - 4800 bps + // * `9600` - 9600 bps + // * `19200` - 19.2 kbps + // * `38400` - 38.4 kbps + // * `57600` - 57.6 kbps + // * `115200` - 115.2 kbps + Speed *WritableConsoleServerPortRequestSpeed `json:"speed"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type Physical port type + // + // * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Type *WritableConsoleServerPortRequestType `json:"type,omitempty"` +} + +// WritableConsoleServerPortRequestSpeed Port speed in bits per second +// +// * `1200` - 1200 bps +// * `2400` - 2400 bps +// * `4800` - 4800 bps +// * `9600` - 9600 bps +// * `19200` - 19.2 kbps +// * `38400` - 38.4 kbps +// * `57600` - 57.6 kbps +// * `115200` - 115.2 kbps +type WritableConsoleServerPortRequestSpeed int + +// WritableConsoleServerPortRequestType Physical port type +// +// * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type WritableConsoleServerPortRequestType string + +// WritableConsoleServerPortTemplateRequest 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 WritableConsoleServerPortTemplateRequest struct { + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *int `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + + // Type * `de-9` - DE-9 + // * `db-25` - DB-25 + // * `rj-11` - RJ-11 + // * `rj-12` - RJ-12 + // * `rj-45` - RJ-45 + // * `mini-din-8` - Mini-DIN 8 + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `other` - Other + Type *WritableConsoleServerPortTemplateRequestType `json:"type,omitempty"` +} + +// WritableConsoleServerPortTemplateRequestType * `de-9` - DE-9 +// * `db-25` - DB-25 +// * `rj-11` - RJ-11 +// * `rj-12` - RJ-12 +// * `rj-45` - RJ-45 +// * `mini-din-8` - Mini-DIN 8 +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `other` - Other +type WritableConsoleServerPortTemplateRequestType string + +// WritableContactAssignmentRequest Adds support for custom fields and tags. +type WritableContactAssignmentRequest struct { + Contact int `json:"contact"` + ContentType string `json:"content_type"` + ObjectId int64 `json:"object_id"` + + // Priority * `primary` - Primary + // * `secondary` - Secondary + // * `tertiary` - Tertiary + // * `inactive` - Inactive + Priority *WritableContactAssignmentRequestPriority `json:"priority,omitempty"` + Role int `json:"role"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableContactAssignmentRequestPriority * `primary` - Primary +// * `secondary` - Secondary +// * `tertiary` - Tertiary +// * `inactive` - Inactive +type WritableContactAssignmentRequestPriority string + +// WritableContactGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type WritableContactGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parent *int `json:"parent"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableContactRequest Adds support for custom fields and tags. +type WritableContactRequest struct { + Address *string `json:"address,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + Group *int `json:"group"` + Link *string `json:"link,omitempty"` + Name string `json:"name"` + Phone *string `json:"phone,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Title *string `json:"title,omitempty"` +} + +// WritableCustomFieldChoiceSetRequest 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 WritableCustomFieldChoiceSetRequest struct { + // BaseChoices Base set of predefined choices (optional) + // + // * `IATA` - IATA (Airport codes) + // * `ISO_3166` - ISO 3166 (Country codes) + // * `UN_LOCODE` - UN/LOCODE (Location codes) + BaseChoices *WritableCustomFieldChoiceSetRequestBaseChoices `json:"base_choices,omitempty"` + Description *string `json:"description,omitempty"` + ExtraChoices *[][]string `json:"extra_choices"` + Name string `json:"name"` + + // OrderAlphabetically Choices are automatically ordered alphabetically + OrderAlphabetically *bool `json:"order_alphabetically,omitempty"` +} + +// WritableCustomFieldChoiceSetRequestBaseChoices Base set of predefined choices (optional) +// +// * `IATA` - IATA (Airport codes) +// * `ISO_3166` - ISO 3166 (Country codes) +// * `UN_LOCODE` - UN/LOCODE (Location codes) +type WritableCustomFieldChoiceSetRequestBaseChoices string + +// WritableCustomFieldRequest 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 WritableCustomFieldRequest struct { + ChoiceSet *int `json:"choice_set"` + ContentTypes []string `json:"content_types"` + + // Default Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). + Default *map[string]interface{} `json:"default"` + Description *string `json:"description,omitempty"` + + // FilterLogic Loose matches any instance of a given string; exact matches the entire field. + // + // * `disabled` - Disabled + // * `loose` - Loose + // * `exact` - Exact + FilterLogic *WritableCustomFieldRequestFilterLogic `json:"filter_logic,omitempty"` + + // GroupName Custom fields within the same group will be displayed together + GroupName *string `json:"group_name,omitempty"` + + // IsCloneable Replicate this value when cloning objects + IsCloneable *bool `json:"is_cloneable,omitempty"` + + // Label Name of the field as displayed to users (if not provided, 'the field's name will be used) + Label *string `json:"label,omitempty"` + + // Name Internal field name + Name string `json:"name"` + ObjectType *string `json:"object_type,omitempty"` + + // Required If true, this field is required when creating new objects or editing an existing object. + Required *bool `json:"required,omitempty"` + + // SearchWeight Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored. + SearchWeight *int `json:"search_weight,omitempty"` + + // Type The type of data this custom field holds + // + // * `text` - Text + // * `longtext` - Text (long) + // * `integer` - Integer + // * `decimal` - Decimal + // * `boolean` - Boolean (true/false) + // * `date` - Date + // * `datetime` - Date & time + // * `url` - URL + // * `json` - JSON + // * `select` - Selection + // * `multiselect` - Multiple selection + // * `object` - Object + // * `multiobject` - Multiple objects + Type *WritableCustomFieldRequestType `json:"type,omitempty"` + + // UiVisibility Specifies the visibility of custom field in the UI + // + // * `read-write` - Read/write + // * `read-only` - Read-only + // * `hidden` - Hidden + // * `hidden-ifunset` - Hidden (if unset) + UiVisibility *WritableCustomFieldRequestUiVisibility `json:"ui_visibility,omitempty"` + + // ValidationMaximum Maximum allowed value (for numeric fields) + ValidationMaximum *int `json:"validation_maximum"` + + // ValidationMinimum Minimum allowed value (for numeric fields) + ValidationMinimum *int `json:"validation_minimum"` + + // ValidationRegex Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. + ValidationRegex *string `json:"validation_regex,omitempty"` + + // Weight Fields with higher weights appear lower in a form. + Weight *int `json:"weight,omitempty"` +} + +// WritableCustomFieldRequestFilterLogic Loose matches any instance of a given string; exact matches the entire field. +// +// * `disabled` - Disabled +// * `loose` - Loose +// * `exact` - Exact +type WritableCustomFieldRequestFilterLogic string + +// WritableCustomFieldRequestType The type of data this custom field holds +// +// * `text` - Text +// * `longtext` - Text (long) +// * `integer` - Integer +// * `decimal` - Decimal +// * `boolean` - Boolean (true/false) +// * `date` - Date +// * `datetime` - Date & time +// * `url` - URL +// * `json` - JSON +// * `select` - Selection +// * `multiselect` - Multiple selection +// * `object` - Object +// * `multiobject` - Multiple objects +type WritableCustomFieldRequestType string + +// WritableCustomFieldRequestUiVisibility Specifies the visibility of custom field in the UI +// +// * `read-write` - Read/write +// * `read-only` - Read-only +// * `hidden` - Hidden +// * `hidden-ifunset` - Hidden (if unset) +type WritableCustomFieldRequestUiVisibility string + +// WritableDataSourceRequest Adds support for custom fields and tags. +type WritableDataSourceRequest struct { + Comments *string `json:"comments,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + + // IgnoreRules Patterns (one per line) matching files to ignore when syncing + IgnoreRules *string `json:"ignore_rules,omitempty"` + Name string `json:"name"` + Parameters *map[string]interface{} `json:"parameters"` + SourceUrl string `json:"source_url"` + + // Type * `local` - Local + // * `git` - Git + // * `amazon-s3` - Amazon S3 + Type *WritableDataSourceRequestType `json:"type,omitempty"` +} + +// WritableDataSourceRequestType * `local` - Local +// * `git` - Git +// * `amazon-s3` - Amazon S3 +type WritableDataSourceRequestType string + +// WritableDeviceBayRequest Adds support for custom fields and tags. +type WritableDeviceBayRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device int `json:"device"` + InstalledDevice *int `json:"installed_device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableDeviceBayTemplateRequest 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 WritableDeviceBayTemplateRequest struct { + Description *string `json:"description,omitempty"` + DeviceType int `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` +} + +// WritableDeviceRoleRequest Adds support for custom fields and tags. +type WritableDeviceRoleRequest struct { + Color *string `json:"color,omitempty"` + ConfigTemplate *int `json:"config_template"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // VmRole Virtual machines may be assigned to this role + VmRole *bool `json:"vm_role,omitempty"` +} + +// WritableDeviceTypeRequest Adds support for custom fields and tags. +type WritableDeviceTypeRequest struct { + // Airflow * `front-to-rear` - Front to rear + // * `rear-to-front` - Rear to front + // * `left-to-right` - Left to right + // * `right-to-left` - Right to left + // * `side-to-rear` - Side to rear + // * `passive` - Passive + // * `mixed` - Mixed + Airflow *WritableDeviceTypeRequestAirflow `json:"airflow,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DefaultPlatform *int `json:"default_platform"` + Description *string `json:"description,omitempty"` + FrontImage *openapi_types.File `json:"front_image,omitempty"` + + // IsFullDepth Device consumes both front and rear rack faces + IsFullDepth *bool `json:"is_full_depth,omitempty"` + Manufacturer int `json:"manufacturer"` + Model string `json:"model"` + + // PartNumber Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + RearImage *openapi_types.File `json:"rear_image,omitempty"` + Slug string `json:"slug"` + + // SubdeviceRole Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. + // + // * `parent` - Parent + // * `child` - Child + SubdeviceRole *WritableDeviceTypeRequestSubdeviceRole `json:"subdevice_role,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + UHeight *float64 `json:"u_height,omitempty"` + Weight *float64 `json:"weight"` + + // WeightUnit * `kg` - Kilograms + // * `g` - Grams + // * `lb` - Pounds + // * `oz` - Ounces + WeightUnit *WritableDeviceTypeRequestWeightUnit `json:"weight_unit,omitempty"` +} + +// WritableDeviceTypeRequestAirflow * `front-to-rear` - Front to rear +// * `rear-to-front` - Rear to front +// * `left-to-right` - Left to right +// * `right-to-left` - Right to left +// * `side-to-rear` - Side to rear +// * `passive` - Passive +// * `mixed` - Mixed +type WritableDeviceTypeRequestAirflow string + +// WritableDeviceTypeRequestSubdeviceRole Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. +// +// * `parent` - Parent +// * `child` - Child +type WritableDeviceTypeRequestSubdeviceRole string + +// WritableDeviceTypeRequestWeightUnit * `kg` - Kilograms +// * `g` - Grams +// * `lb` - Pounds +// * `oz` - Ounces +type WritableDeviceTypeRequestWeightUnit string + +// WritableDeviceWithConfigContextRequest Adds support for custom fields and tags. +type WritableDeviceWithConfigContextRequest struct { + // Airflow * `front-to-rear` - Front to rear + // * `rear-to-front` - Rear to front + // * `left-to-right` - Left to right + // * `right-to-left` - Right to left + // * `side-to-rear` - Side to rear + // * `passive` - Passive + // * `mixed` - Mixed + Airflow *WritableDeviceWithConfigContextRequestAirflow `json:"airflow,omitempty"` + + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Cluster *int `json:"cluster"` + Comments *string `json:"comments,omitempty"` + ConfigTemplate *int `json:"config_template"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType int `json:"device_type"` + + // Face * `front` - Front + // * `rear` - Rear + Face *WritableDeviceWithConfigContextRequestFace `json:"face,omitempty"` + + // Latitude GPS coordinate in decimal format (xx.yyyyyy) + Latitude *float64 `json:"latitude"` + + // LocalContextData Local config context data takes precedence over source contexts in the final rendered config context + LocalContextData *map[string]interface{} `json:"local_context_data"` + Location *int `json:"location"` + + // Longitude GPS coordinate in decimal format (xx.yyyyyy) + Longitude *float64 `json:"longitude"` + Name *string `json:"name"` + OobIp *int `json:"oob_ip"` + Platform *int `json:"platform"` + Position *float64 `json:"position"` + PrimaryIp4 *int `json:"primary_ip4"` + PrimaryIp6 *int `json:"primary_ip6"` + Rack *int `json:"rack"` + + // Role The function this device serves + Role int `json:"role"` + + // Serial Chassis serial number, assigned by the manufacturer + Serial *string `json:"serial,omitempty"` + Site int `json:"site"` + + // Status * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `staged` - Staged + // * `failed` - Failed + // * `inventory` - Inventory + // * `decommissioning` - Decommissioning + Status *WritableDeviceWithConfigContextRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + VcPosition *int `json:"vc_position"` + + // VcPriority Virtual chassis master election priority + VcPriority *int `json:"vc_priority"` + VirtualChassis *int `json:"virtual_chassis"` +} + +// WritableDeviceWithConfigContextRequestAirflow * `front-to-rear` - Front to rear +// * `rear-to-front` - Rear to front +// * `left-to-right` - Left to right +// * `right-to-left` - Right to left +// * `side-to-rear` - Side to rear +// * `passive` - Passive +// * `mixed` - Mixed +type WritableDeviceWithConfigContextRequestAirflow string + +// WritableDeviceWithConfigContextRequestFace * `front` - Front +// * `rear` - Rear +type WritableDeviceWithConfigContextRequestFace string + +// WritableDeviceWithConfigContextRequestStatus * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `staged` - Staged +// * `failed` - Failed +// * `inventory` - Inventory +// * `decommissioning` - Decommissioning +type WritableDeviceWithConfigContextRequestStatus string + +// WritableExportTemplateRequest 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 WritableExportTemplateRequest struct { + // AsAttachment Download file as attachment + AsAttachment *bool `json:"as_attachment,omitempty"` + ContentTypes []string `json:"content_types"` + + // DataSource Remote data source + DataSource *int `json:"data_source"` + Description *string `json:"description,omitempty"` + + // FileExtension Extension to append to the rendered filename + FileExtension *string `json:"file_extension,omitempty"` + + // MimeType Defaults to text/plain; charset=utf-8 + MimeType *string `json:"mime_type,omitempty"` + Name string `json:"name"` + + // TemplateCode Jinja2 template code. The list of objects being exported is passed as a context variable named queryset. + TemplateCode string `json:"template_code"` +} + +// WritableFHRPGroupAssignmentRequest Adds support for custom fields and tags. +type WritableFHRPGroupAssignmentRequest struct { + Group int `json:"group"` + InterfaceId int64 `json:"interface_id"` + InterfaceType string `json:"interface_type"` + Priority int `json:"priority"` +} + +// WritableFrontPortRequest Adds support for custom fields and tags. +type WritableFrontPortRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device int `json:"device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *int `json:"module"` + Name string `json:"name"` + RearPort int `json:"rear_port"` + + // RearPortPosition Mapped position on corresponding rear port + RearPortPosition *int `json:"rear_port_position,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Type WritableFrontPortRequestType `json:"type"` +} + +// WritableFrontPortRequestType * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type WritableFrontPortRequestType string + +// WritableFrontPortTemplateRequest 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 WritableFrontPortTemplateRequest struct { + Color *string `json:"color,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *int `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + RearPort int `json:"rear_port"` + RearPortPosition *int `json:"rear_port_position,omitempty"` + + // Type * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Type WritableFrontPortTemplateRequestType `json:"type"` +} + +// WritableFrontPortTemplateRequestType * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type WritableFrontPortTemplateRequestType string + +// WritableIPAddressRequest Adds support for custom fields and tags. +type WritableIPAddressRequest struct { + Address string `json:"address"` + AssignedObjectId *int64 `json:"assigned_object_id"` + AssignedObjectType *string `json:"assigned_object_type"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DnsName Hostname or FQDN (not case-sensitive) + DnsName *string `json:"dns_name,omitempty"` + + // NatInside The IP for which this address is the "outside" IP + NatInside *int `json:"nat_inside"` + + // Role The functional role of this IP + // + // * `loopback` - Loopback + // * `secondary` - Secondary + // * `anycast` - Anycast + // * `vip` - VIP + // * `vrrp` - VRRP + // * `hsrp` - HSRP + // * `glbp` - GLBP + // * `carp` - CARP + Role *WritableIPAddressRequestRole `json:"role,omitempty"` + + // Status The operational status of this IP + // + // * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + // * `dhcp` - DHCP + // * `slaac` - SLAAC + Status *WritableIPAddressRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + Vrf *int `json:"vrf"` +} + +// WritableIPAddressRequestRole The functional role of this IP +// +// * `loopback` - Loopback +// * `secondary` - Secondary +// * `anycast` - Anycast +// * `vip` - VIP +// * `vrrp` - VRRP +// * `hsrp` - HSRP +// * `glbp` - GLBP +// * `carp` - CARP +type WritableIPAddressRequestRole string + +// WritableIPAddressRequestStatus The operational status of this IP +// +// * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +// * `dhcp` - DHCP +// * `slaac` - SLAAC +type WritableIPAddressRequestStatus string + +// WritableIPRangeRequest Adds support for custom fields and tags. +type WritableIPRangeRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + EndAddress string `json:"end_address"` + + // MarkUtilized Treat as 100% utilized + MarkUtilized *bool `json:"mark_utilized,omitempty"` + + // Role The primary function of this range + Role *int `json:"role"` + StartAddress string `json:"start_address"` + + // Status Operational status of this range + // + // * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Status *WritableIPRangeRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + Vrf *int `json:"vrf"` +} + +// WritableIPRangeRequestStatus Operational status of this range +// +// * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +type WritableIPRangeRequestStatus string + +// WritableInterfaceRequest Adds support for custom fields and tags. +type WritableInterfaceRequest struct { + Bridge *int `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device int `json:"device"` + + // Duplex * `half` - Half + // * `full` - Full + // * `auto` - Auto + Duplex *WritableInterfaceRequestDuplex `json:"duplex"` + Enabled *bool `json:"enabled,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Lag *int `json:"lag"` + MacAddress *string `json:"mac_address"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // MgmtOnly This interface is used only for out-of-band management + MgmtOnly *bool `json:"mgmt_only,omitempty"` + + // Mode IEEE 802.1Q tagging strategy + // + // * `access` - Access + // * `tagged` - Tagged + // * `tagged-all` - Tagged (All) + Mode *WritableInterfaceRequestMode `json:"mode,omitempty"` + Module *int `json:"module"` + Mtu *int `json:"mtu"` + Name string `json:"name"` + Parent *int `json:"parent"` + + // PoeMode * `pd` - PD + // * `pse` - PSE + PoeMode *WritableInterfaceRequestPoeMode `json:"poe_mode,omitempty"` + + // PoeType * `type1-ieee802.3af` - 802.3af (Type 1) + // * `type2-ieee802.3at` - 802.3at (Type 2) + // * `type3-ieee802.3bt` - 802.3bt (Type 3) + // * `type4-ieee802.3bt` - 802.3bt (Type 4) + // * `passive-24v-2pair` - Passive 24V (2-pair) + // * `passive-24v-4pair` - Passive 24V (4-pair) + // * `passive-48v-2pair` - Passive 48V (2-pair) + // * `passive-48v-4pair` - Passive 48V (4-pair) + PoeType *WritableInterfaceRequestPoeType `json:"poe_type,omitempty"` + + // RfChannel * `2.4g-1-2412-22` - 1 (2412 MHz) + // * `2.4g-2-2417-22` - 2 (2417 MHz) + // * `2.4g-3-2422-22` - 3 (2422 MHz) + // * `2.4g-4-2427-22` - 4 (2427 MHz) + // * `2.4g-5-2432-22` - 5 (2432 MHz) + // * `2.4g-6-2437-22` - 6 (2437 MHz) + // * `2.4g-7-2442-22` - 7 (2442 MHz) + // * `2.4g-8-2447-22` - 8 (2447 MHz) + // * `2.4g-9-2452-22` - 9 (2452 MHz) + // * `2.4g-10-2457-22` - 10 (2457 MHz) + // * `2.4g-11-2462-22` - 11 (2462 MHz) + // * `2.4g-12-2467-22` - 12 (2467 MHz) + // * `2.4g-13-2472-22` - 13 (2472 MHz) + // * `5g-32-5160-20` - 32 (5160/20 MHz) + // * `5g-34-5170-40` - 34 (5170/40 MHz) + // * `5g-36-5180-20` - 36 (5180/20 MHz) + // * `5g-38-5190-40` - 38 (5190/40 MHz) + // * `5g-40-5200-20` - 40 (5200/20 MHz) + // * `5g-42-5210-80` - 42 (5210/80 MHz) + // * `5g-44-5220-20` - 44 (5220/20 MHz) + // * `5g-46-5230-40` - 46 (5230/40 MHz) + // * `5g-48-5240-20` - 48 (5240/20 MHz) + // * `5g-50-5250-160` - 50 (5250/160 MHz) + // * `5g-52-5260-20` - 52 (5260/20 MHz) + // * `5g-54-5270-40` - 54 (5270/40 MHz) + // * `5g-56-5280-20` - 56 (5280/20 MHz) + // * `5g-58-5290-80` - 58 (5290/80 MHz) + // * `5g-60-5300-20` - 60 (5300/20 MHz) + // * `5g-62-5310-40` - 62 (5310/40 MHz) + // * `5g-64-5320-20` - 64 (5320/20 MHz) + // * `5g-100-5500-20` - 100 (5500/20 MHz) + // * `5g-102-5510-40` - 102 (5510/40 MHz) + // * `5g-104-5520-20` - 104 (5520/20 MHz) + // * `5g-106-5530-80` - 106 (5530/80 MHz) + // * `5g-108-5540-20` - 108 (5540/20 MHz) + // * `5g-110-5550-40` - 110 (5550/40 MHz) + // * `5g-112-5560-20` - 112 (5560/20 MHz) + // * `5g-114-5570-160` - 114 (5570/160 MHz) + // * `5g-116-5580-20` - 116 (5580/20 MHz) + // * `5g-118-5590-40` - 118 (5590/40 MHz) + // * `5g-120-5600-20` - 120 (5600/20 MHz) + // * `5g-122-5610-80` - 122 (5610/80 MHz) + // * `5g-124-5620-20` - 124 (5620/20 MHz) + // * `5g-126-5630-40` - 126 (5630/40 MHz) + // * `5g-128-5640-20` - 128 (5640/20 MHz) + // * `5g-132-5660-20` - 132 (5660/20 MHz) + // * `5g-134-5670-40` - 134 (5670/40 MHz) + // * `5g-136-5680-20` - 136 (5680/20 MHz) + // * `5g-138-5690-80` - 138 (5690/80 MHz) + // * `5g-140-5700-20` - 140 (5700/20 MHz) + // * `5g-142-5710-40` - 142 (5710/40 MHz) + // * `5g-144-5720-20` - 144 (5720/20 MHz) + // * `5g-149-5745-20` - 149 (5745/20 MHz) + // * `5g-151-5755-40` - 151 (5755/40 MHz) + // * `5g-153-5765-20` - 153 (5765/20 MHz) + // * `5g-155-5775-80` - 155 (5775/80 MHz) + // * `5g-157-5785-20` - 157 (5785/20 MHz) + // * `5g-159-5795-40` - 159 (5795/40 MHz) + // * `5g-161-5805-20` - 161 (5805/20 MHz) + // * `5g-163-5815-160` - 163 (5815/160 MHz) + // * `5g-165-5825-20` - 165 (5825/20 MHz) + // * `5g-167-5835-40` - 167 (5835/40 MHz) + // * `5g-169-5845-20` - 169 (5845/20 MHz) + // * `5g-171-5855-80` - 171 (5855/80 MHz) + // * `5g-173-5865-20` - 173 (5865/20 MHz) + // * `5g-175-5875-40` - 175 (5875/40 MHz) + // * `5g-177-5885-20` - 177 (5885/20 MHz) + // * `6g-1-5955-20` - 1 (5955/20 MHz) + // * `6g-3-5965-40` - 3 (5965/40 MHz) + // * `6g-5-5975-20` - 5 (5975/20 MHz) + // * `6g-7-5985-80` - 7 (5985/80 MHz) + // * `6g-9-5995-20` - 9 (5995/20 MHz) + // * `6g-11-6005-40` - 11 (6005/40 MHz) + // * `6g-13-6015-20` - 13 (6015/20 MHz) + // * `6g-15-6025-160` - 15 (6025/160 MHz) + // * `6g-17-6035-20` - 17 (6035/20 MHz) + // * `6g-19-6045-40` - 19 (6045/40 MHz) + // * `6g-21-6055-20` - 21 (6055/20 MHz) + // * `6g-23-6065-80` - 23 (6065/80 MHz) + // * `6g-25-6075-20` - 25 (6075/20 MHz) + // * `6g-27-6085-40` - 27 (6085/40 MHz) + // * `6g-29-6095-20` - 29 (6095/20 MHz) + // * `6g-31-6105-320` - 31 (6105/320 MHz) + // * `6g-33-6115-20` - 33 (6115/20 MHz) + // * `6g-35-6125-40` - 35 (6125/40 MHz) + // * `6g-37-6135-20` - 37 (6135/20 MHz) + // * `6g-39-6145-80` - 39 (6145/80 MHz) + // * `6g-41-6155-20` - 41 (6155/20 MHz) + // * `6g-43-6165-40` - 43 (6165/40 MHz) + // * `6g-45-6175-20` - 45 (6175/20 MHz) + // * `6g-47-6185-160` - 47 (6185/160 MHz) + // * `6g-49-6195-20` - 49 (6195/20 MHz) + // * `6g-51-6205-40` - 51 (6205/40 MHz) + // * `6g-53-6215-20` - 53 (6215/20 MHz) + // * `6g-55-6225-80` - 55 (6225/80 MHz) + // * `6g-57-6235-20` - 57 (6235/20 MHz) + // * `6g-59-6245-40` - 59 (6245/40 MHz) + // * `6g-61-6255-20` - 61 (6255/20 MHz) + // * `6g-65-6275-20` - 65 (6275/20 MHz) + // * `6g-67-6285-40` - 67 (6285/40 MHz) + // * `6g-69-6295-20` - 69 (6295/20 MHz) + // * `6g-71-6305-80` - 71 (6305/80 MHz) + // * `6g-73-6315-20` - 73 (6315/20 MHz) + // * `6g-75-6325-40` - 75 (6325/40 MHz) + // * `6g-77-6335-20` - 77 (6335/20 MHz) + // * `6g-79-6345-160` - 79 (6345/160 MHz) + // * `6g-81-6355-20` - 81 (6355/20 MHz) + // * `6g-83-6365-40` - 83 (6365/40 MHz) + // * `6g-85-6375-20` - 85 (6375/20 MHz) + // * `6g-87-6385-80` - 87 (6385/80 MHz) + // * `6g-89-6395-20` - 89 (6395/20 MHz) + // * `6g-91-6405-40` - 91 (6405/40 MHz) + // * `6g-93-6415-20` - 93 (6415/20 MHz) + // * `6g-95-6425-320` - 95 (6425/320 MHz) + // * `6g-97-6435-20` - 97 (6435/20 MHz) + // * `6g-99-6445-40` - 99 (6445/40 MHz) + // * `6g-101-6455-20` - 101 (6455/20 MHz) + // * `6g-103-6465-80` - 103 (6465/80 MHz) + // * `6g-105-6475-20` - 105 (6475/20 MHz) + // * `6g-107-6485-40` - 107 (6485/40 MHz) + // * `6g-109-6495-20` - 109 (6495/20 MHz) + // * `6g-111-6505-160` - 111 (6505/160 MHz) + // * `6g-113-6515-20` - 113 (6515/20 MHz) + // * `6g-115-6525-40` - 115 (6525/40 MHz) + // * `6g-117-6535-20` - 117 (6535/20 MHz) + // * `6g-119-6545-80` - 119 (6545/80 MHz) + // * `6g-121-6555-20` - 121 (6555/20 MHz) + // * `6g-123-6565-40` - 123 (6565/40 MHz) + // * `6g-125-6575-20` - 125 (6575/20 MHz) + // * `6g-129-6595-20` - 129 (6595/20 MHz) + // * `6g-131-6605-40` - 131 (6605/40 MHz) + // * `6g-133-6615-20` - 133 (6615/20 MHz) + // * `6g-135-6625-80` - 135 (6625/80 MHz) + // * `6g-137-6635-20` - 137 (6635/20 MHz) + // * `6g-139-6645-40` - 139 (6645/40 MHz) + // * `6g-141-6655-20` - 141 (6655/20 MHz) + // * `6g-143-6665-160` - 143 (6665/160 MHz) + // * `6g-145-6675-20` - 145 (6675/20 MHz) + // * `6g-147-6685-40` - 147 (6685/40 MHz) + // * `6g-149-6695-20` - 149 (6695/20 MHz) + // * `6g-151-6705-80` - 151 (6705/80 MHz) + // * `6g-153-6715-20` - 153 (6715/20 MHz) + // * `6g-155-6725-40` - 155 (6725/40 MHz) + // * `6g-157-6735-20` - 157 (6735/20 MHz) + // * `6g-159-6745-320` - 159 (6745/320 MHz) + // * `6g-161-6755-20` - 161 (6755/20 MHz) + // * `6g-163-6765-40` - 163 (6765/40 MHz) + // * `6g-165-6775-20` - 165 (6775/20 MHz) + // * `6g-167-6785-80` - 167 (6785/80 MHz) + // * `6g-169-6795-20` - 169 (6795/20 MHz) + // * `6g-171-6805-40` - 171 (6805/40 MHz) + // * `6g-173-6815-20` - 173 (6815/20 MHz) + // * `6g-175-6825-160` - 175 (6825/160 MHz) + // * `6g-177-6835-20` - 177 (6835/20 MHz) + // * `6g-179-6845-40` - 179 (6845/40 MHz) + // * `6g-181-6855-20` - 181 (6855/20 MHz) + // * `6g-183-6865-80` - 183 (6865/80 MHz) + // * `6g-185-6875-20` - 185 (6875/20 MHz) + // * `6g-187-6885-40` - 187 (6885/40 MHz) + // * `6g-189-6895-20` - 189 (6895/20 MHz) + // * `6g-193-6915-20` - 193 (6915/20 MHz) + // * `6g-195-6925-40` - 195 (6925/40 MHz) + // * `6g-197-6935-20` - 197 (6935/20 MHz) + // * `6g-199-6945-80` - 199 (6945/80 MHz) + // * `6g-201-6955-20` - 201 (6955/20 MHz) + // * `6g-203-6965-40` - 203 (6965/40 MHz) + // * `6g-205-6975-20` - 205 (6975/20 MHz) + // * `6g-207-6985-160` - 207 (6985/160 MHz) + // * `6g-209-6995-20` - 209 (6995/20 MHz) + // * `6g-211-7005-40` - 211 (7005/40 MHz) + // * `6g-213-7015-20` - 213 (7015/20 MHz) + // * `6g-215-7025-80` - 215 (7025/80 MHz) + // * `6g-217-7035-20` - 217 (7035/20 MHz) + // * `6g-219-7045-40` - 219 (7045/40 MHz) + // * `6g-221-7055-20` - 221 (7055/20 MHz) + // * `6g-225-7075-20` - 225 (7075/20 MHz) + // * `6g-227-7085-40` - 227 (7085/40 MHz) + // * `6g-229-7095-20` - 229 (7095/20 MHz) + // * `6g-233-7115-20` - 233 (7115/20 MHz) + // * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) + // * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) + // * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) + // * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) + // * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) + // * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) + // * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) + // * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) + // * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) + // * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) + // * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) + // * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) + // * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) + // * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) + // * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) + // * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) + // * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) + // * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) + RfChannel *WritableInterfaceRequestRfChannel `json:"rf_channel,omitempty"` + + // RfChannelFrequency Populated by selected channel (if set) + RfChannelFrequency *float64 `json:"rf_channel_frequency"` + + // RfChannelWidth Populated by selected channel (if set) + RfChannelWidth *float64 `json:"rf_channel_width"` + + // RfRole * `ap` - Access point + // * `station` - Station + RfRole *WritableInterfaceRequestRfRole `json:"rf_role,omitempty"` + Speed *int `json:"speed"` + TaggedVlans *[]int `json:"tagged_vlans,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + TxPower *int `json:"tx_power"` + + // Type * `virtual` - Virtual + // * `bridge` - Bridge + // * `lag` - Link Aggregation Group (LAG) + // * `100base-fx` - 100BASE-FX (10/100ME FIBER) + // * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + // * `100base-tx` - 100BASE-TX (10/100ME) + // * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + // * `1000base-t` - 1000BASE-T (1GE) + // * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + // * `5gbase-t` - 5GBASE-T (5GE) + // * `10gbase-t` - 10GBASE-T (10GE) + // * `10gbase-cx4` - 10GBASE-CX4 (10GE) + // * `1000base-x-gbic` - GBIC (1GE) + // * `1000base-x-sfp` - SFP (1GE) + // * `10gbase-x-sfpp` - SFP+ (10GE) + // * `10gbase-x-xfp` - XFP (10GE) + // * `10gbase-x-xenpak` - XENPAK (10GE) + // * `10gbase-x-x2` - X2 (10GE) + // * `25gbase-x-sfp28` - SFP28 (25GE) + // * `50gbase-x-sfp56` - SFP56 (50GE) + // * `40gbase-x-qsfpp` - QSFP+ (40GE) + // * `50gbase-x-sfp28` - QSFP28 (50GE) + // * `100gbase-x-cfp` - CFP (100GE) + // * `100gbase-x-cfp2` - CFP2 (100GE) + // * `200gbase-x-cfp2` - CFP2 (200GE) + // * `400gbase-x-cfp2` - CFP2 (400GE) + // * `100gbase-x-cfp4` - CFP4 (100GE) + // * `100gbase-x-cxp` - CXP (100GE) + // * `100gbase-x-cpak` - Cisco CPAK (100GE) + // * `100gbase-x-dsfp` - DSFP (100GE) + // * `100gbase-x-sfpdd` - SFP-DD (100GE) + // * `100gbase-x-qsfp28` - QSFP28 (100GE) + // * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + // * `200gbase-x-qsfp56` - QSFP56 (200GE) + // * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + // * `400gbase-x-qsfp112` - QSFP112 (400GE) + // * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + // * `400gbase-x-osfp` - OSFP (400GE) + // * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + // * `400gbase-x-cdfp` - CDFP (400GE) + // * `400gbase-x-cfp8` - CPF8 (400GE) + // * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + // * `800gbase-x-osfp` - OSFP (800GE) + // * `1000base-kx` - 1000BASE-KX (1GE) + // * `10gbase-kr` - 10GBASE-KR (10GE) + // * `10gbase-kx4` - 10GBASE-KX4 (10GE) + // * `25gbase-kr` - 25GBASE-KR (25GE) + // * `40gbase-kr4` - 40GBASE-KR4 (40GE) + // * `50gbase-kr` - 50GBASE-KR (50GE) + // * `100gbase-kp4` - 100GBASE-KP4 (100GE) + // * `100gbase-kr2` - 100GBASE-KR2 (100GE) + // * `100gbase-kr4` - 100GBASE-KR4 (100GE) + // * `ieee802.11a` - IEEE 802.11a + // * `ieee802.11g` - IEEE 802.11b/g + // * `ieee802.11n` - IEEE 802.11n + // * `ieee802.11ac` - IEEE 802.11ac + // * `ieee802.11ad` - IEEE 802.11ad + // * `ieee802.11ax` - IEEE 802.11ax + // * `ieee802.11ay` - IEEE 802.11ay + // * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + // * `other-wireless` - Other (Wireless) + // * `gsm` - GSM + // * `cdma` - CDMA + // * `lte` - LTE + // * `sonet-oc3` - OC-3/STM-1 + // * `sonet-oc12` - OC-12/STM-4 + // * `sonet-oc48` - OC-48/STM-16 + // * `sonet-oc192` - OC-192/STM-64 + // * `sonet-oc768` - OC-768/STM-256 + // * `sonet-oc1920` - OC-1920/STM-640 + // * `sonet-oc3840` - OC-3840/STM-1234 + // * `1gfc-sfp` - SFP (1GFC) + // * `2gfc-sfp` - SFP (2GFC) + // * `4gfc-sfp` - SFP (4GFC) + // * `8gfc-sfpp` - SFP+ (8GFC) + // * `16gfc-sfpp` - SFP+ (16GFC) + // * `32gfc-sfp28` - SFP28 (32GFC) + // * `64gfc-qsfpp` - QSFP+ (64GFC) + // * `128gfc-qsfp28` - QSFP28 (128GFC) + // * `infiniband-sdr` - SDR (2 Gbps) + // * `infiniband-ddr` - DDR (4 Gbps) + // * `infiniband-qdr` - QDR (8 Gbps) + // * `infiniband-fdr10` - FDR10 (10 Gbps) + // * `infiniband-fdr` - FDR (13.5 Gbps) + // * `infiniband-edr` - EDR (25 Gbps) + // * `infiniband-hdr` - HDR (50 Gbps) + // * `infiniband-ndr` - NDR (100 Gbps) + // * `infiniband-xdr` - XDR (250 Gbps) + // * `t1` - T1 (1.544 Mbps) + // * `e1` - E1 (2.048 Mbps) + // * `t3` - T3 (45 Mbps) + // * `e3` - E3 (34 Mbps) + // * `xdsl` - xDSL + // * `docsis` - DOCSIS + // * `gpon` - GPON (2.5 Gbps / 1.25 Gps) + // * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + // * `xgs-pon` - XGS-PON (10 Gbps) + // * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + // * `epon` - EPON (1 Gbps) + // * `10g-epon` - 10G-EPON (10 Gbps) + // * `cisco-stackwise` - Cisco StackWise + // * `cisco-stackwise-plus` - Cisco StackWise Plus + // * `cisco-flexstack` - Cisco FlexStack + // * `cisco-flexstack-plus` - Cisco FlexStack Plus + // * `cisco-stackwise-80` - Cisco StackWise-80 + // * `cisco-stackwise-160` - Cisco StackWise-160 + // * `cisco-stackwise-320` - Cisco StackWise-320 + // * `cisco-stackwise-480` - Cisco StackWise-480 + // * `cisco-stackwise-1t` - Cisco StackWise-1T + // * `juniper-vcp` - Juniper VCP + // * `extreme-summitstack` - Extreme SummitStack + // * `extreme-summitstack-128` - Extreme SummitStack-128 + // * `extreme-summitstack-256` - Extreme SummitStack-256 + // * `extreme-summitstack-512` - Extreme SummitStack-512 + // * `other` - Other + Type WritableInterfaceRequestType `json:"type"` + UntaggedVlan *int `json:"untagged_vlan"` + Vdcs []int `json:"vdcs"` + Vrf *int `json:"vrf"` + WirelessLans *[]int `json:"wireless_lans,omitempty"` + Wwn *string `json:"wwn"` +} + +// WritableInterfaceRequestDuplex * `half` - Half +// * `full` - Full +// * `auto` - Auto +type WritableInterfaceRequestDuplex string + +// WritableInterfaceRequestMode IEEE 802.1Q tagging strategy +// +// * `access` - Access +// * `tagged` - Tagged +// * `tagged-all` - Tagged (All) +type WritableInterfaceRequestMode string + +// WritableInterfaceRequestPoeMode * `pd` - PD +// * `pse` - PSE +type WritableInterfaceRequestPoeMode string + +// WritableInterfaceRequestPoeType * `type1-ieee802.3af` - 802.3af (Type 1) +// * `type2-ieee802.3at` - 802.3at (Type 2) +// * `type3-ieee802.3bt` - 802.3bt (Type 3) +// * `type4-ieee802.3bt` - 802.3bt (Type 4) +// * `passive-24v-2pair` - Passive 24V (2-pair) +// * `passive-24v-4pair` - Passive 24V (4-pair) +// * `passive-48v-2pair` - Passive 48V (2-pair) +// * `passive-48v-4pair` - Passive 48V (4-pair) +type WritableInterfaceRequestPoeType string + +// WritableInterfaceRequestRfChannel * `2.4g-1-2412-22` - 1 (2412 MHz) +// * `2.4g-2-2417-22` - 2 (2417 MHz) +// * `2.4g-3-2422-22` - 3 (2422 MHz) +// * `2.4g-4-2427-22` - 4 (2427 MHz) +// * `2.4g-5-2432-22` - 5 (2432 MHz) +// * `2.4g-6-2437-22` - 6 (2437 MHz) +// * `2.4g-7-2442-22` - 7 (2442 MHz) +// * `2.4g-8-2447-22` - 8 (2447 MHz) +// * `2.4g-9-2452-22` - 9 (2452 MHz) +// * `2.4g-10-2457-22` - 10 (2457 MHz) +// * `2.4g-11-2462-22` - 11 (2462 MHz) +// * `2.4g-12-2467-22` - 12 (2467 MHz) +// * `2.4g-13-2472-22` - 13 (2472 MHz) +// * `5g-32-5160-20` - 32 (5160/20 MHz) +// * `5g-34-5170-40` - 34 (5170/40 MHz) +// * `5g-36-5180-20` - 36 (5180/20 MHz) +// * `5g-38-5190-40` - 38 (5190/40 MHz) +// * `5g-40-5200-20` - 40 (5200/20 MHz) +// * `5g-42-5210-80` - 42 (5210/80 MHz) +// * `5g-44-5220-20` - 44 (5220/20 MHz) +// * `5g-46-5230-40` - 46 (5230/40 MHz) +// * `5g-48-5240-20` - 48 (5240/20 MHz) +// * `5g-50-5250-160` - 50 (5250/160 MHz) +// * `5g-52-5260-20` - 52 (5260/20 MHz) +// * `5g-54-5270-40` - 54 (5270/40 MHz) +// * `5g-56-5280-20` - 56 (5280/20 MHz) +// * `5g-58-5290-80` - 58 (5290/80 MHz) +// * `5g-60-5300-20` - 60 (5300/20 MHz) +// * `5g-62-5310-40` - 62 (5310/40 MHz) +// * `5g-64-5320-20` - 64 (5320/20 MHz) +// * `5g-100-5500-20` - 100 (5500/20 MHz) +// * `5g-102-5510-40` - 102 (5510/40 MHz) +// * `5g-104-5520-20` - 104 (5520/20 MHz) +// * `5g-106-5530-80` - 106 (5530/80 MHz) +// * `5g-108-5540-20` - 108 (5540/20 MHz) +// * `5g-110-5550-40` - 110 (5550/40 MHz) +// * `5g-112-5560-20` - 112 (5560/20 MHz) +// * `5g-114-5570-160` - 114 (5570/160 MHz) +// * `5g-116-5580-20` - 116 (5580/20 MHz) +// * `5g-118-5590-40` - 118 (5590/40 MHz) +// * `5g-120-5600-20` - 120 (5600/20 MHz) +// * `5g-122-5610-80` - 122 (5610/80 MHz) +// * `5g-124-5620-20` - 124 (5620/20 MHz) +// * `5g-126-5630-40` - 126 (5630/40 MHz) +// * `5g-128-5640-20` - 128 (5640/20 MHz) +// * `5g-132-5660-20` - 132 (5660/20 MHz) +// * `5g-134-5670-40` - 134 (5670/40 MHz) +// * `5g-136-5680-20` - 136 (5680/20 MHz) +// * `5g-138-5690-80` - 138 (5690/80 MHz) +// * `5g-140-5700-20` - 140 (5700/20 MHz) +// * `5g-142-5710-40` - 142 (5710/40 MHz) +// * `5g-144-5720-20` - 144 (5720/20 MHz) +// * `5g-149-5745-20` - 149 (5745/20 MHz) +// * `5g-151-5755-40` - 151 (5755/40 MHz) +// * `5g-153-5765-20` - 153 (5765/20 MHz) +// * `5g-155-5775-80` - 155 (5775/80 MHz) +// * `5g-157-5785-20` - 157 (5785/20 MHz) +// * `5g-159-5795-40` - 159 (5795/40 MHz) +// * `5g-161-5805-20` - 161 (5805/20 MHz) +// * `5g-163-5815-160` - 163 (5815/160 MHz) +// * `5g-165-5825-20` - 165 (5825/20 MHz) +// * `5g-167-5835-40` - 167 (5835/40 MHz) +// * `5g-169-5845-20` - 169 (5845/20 MHz) +// * `5g-171-5855-80` - 171 (5855/80 MHz) +// * `5g-173-5865-20` - 173 (5865/20 MHz) +// * `5g-175-5875-40` - 175 (5875/40 MHz) +// * `5g-177-5885-20` - 177 (5885/20 MHz) +// * `6g-1-5955-20` - 1 (5955/20 MHz) +// * `6g-3-5965-40` - 3 (5965/40 MHz) +// * `6g-5-5975-20` - 5 (5975/20 MHz) +// * `6g-7-5985-80` - 7 (5985/80 MHz) +// * `6g-9-5995-20` - 9 (5995/20 MHz) +// * `6g-11-6005-40` - 11 (6005/40 MHz) +// * `6g-13-6015-20` - 13 (6015/20 MHz) +// * `6g-15-6025-160` - 15 (6025/160 MHz) +// * `6g-17-6035-20` - 17 (6035/20 MHz) +// * `6g-19-6045-40` - 19 (6045/40 MHz) +// * `6g-21-6055-20` - 21 (6055/20 MHz) +// * `6g-23-6065-80` - 23 (6065/80 MHz) +// * `6g-25-6075-20` - 25 (6075/20 MHz) +// * `6g-27-6085-40` - 27 (6085/40 MHz) +// * `6g-29-6095-20` - 29 (6095/20 MHz) +// * `6g-31-6105-320` - 31 (6105/320 MHz) +// * `6g-33-6115-20` - 33 (6115/20 MHz) +// * `6g-35-6125-40` - 35 (6125/40 MHz) +// * `6g-37-6135-20` - 37 (6135/20 MHz) +// * `6g-39-6145-80` - 39 (6145/80 MHz) +// * `6g-41-6155-20` - 41 (6155/20 MHz) +// * `6g-43-6165-40` - 43 (6165/40 MHz) +// * `6g-45-6175-20` - 45 (6175/20 MHz) +// * `6g-47-6185-160` - 47 (6185/160 MHz) +// * `6g-49-6195-20` - 49 (6195/20 MHz) +// * `6g-51-6205-40` - 51 (6205/40 MHz) +// * `6g-53-6215-20` - 53 (6215/20 MHz) +// * `6g-55-6225-80` - 55 (6225/80 MHz) +// * `6g-57-6235-20` - 57 (6235/20 MHz) +// * `6g-59-6245-40` - 59 (6245/40 MHz) +// * `6g-61-6255-20` - 61 (6255/20 MHz) +// * `6g-65-6275-20` - 65 (6275/20 MHz) +// * `6g-67-6285-40` - 67 (6285/40 MHz) +// * `6g-69-6295-20` - 69 (6295/20 MHz) +// * `6g-71-6305-80` - 71 (6305/80 MHz) +// * `6g-73-6315-20` - 73 (6315/20 MHz) +// * `6g-75-6325-40` - 75 (6325/40 MHz) +// * `6g-77-6335-20` - 77 (6335/20 MHz) +// * `6g-79-6345-160` - 79 (6345/160 MHz) +// * `6g-81-6355-20` - 81 (6355/20 MHz) +// * `6g-83-6365-40` - 83 (6365/40 MHz) +// * `6g-85-6375-20` - 85 (6375/20 MHz) +// * `6g-87-6385-80` - 87 (6385/80 MHz) +// * `6g-89-6395-20` - 89 (6395/20 MHz) +// * `6g-91-6405-40` - 91 (6405/40 MHz) +// * `6g-93-6415-20` - 93 (6415/20 MHz) +// * `6g-95-6425-320` - 95 (6425/320 MHz) +// * `6g-97-6435-20` - 97 (6435/20 MHz) +// * `6g-99-6445-40` - 99 (6445/40 MHz) +// * `6g-101-6455-20` - 101 (6455/20 MHz) +// * `6g-103-6465-80` - 103 (6465/80 MHz) +// * `6g-105-6475-20` - 105 (6475/20 MHz) +// * `6g-107-6485-40` - 107 (6485/40 MHz) +// * `6g-109-6495-20` - 109 (6495/20 MHz) +// * `6g-111-6505-160` - 111 (6505/160 MHz) +// * `6g-113-6515-20` - 113 (6515/20 MHz) +// * `6g-115-6525-40` - 115 (6525/40 MHz) +// * `6g-117-6535-20` - 117 (6535/20 MHz) +// * `6g-119-6545-80` - 119 (6545/80 MHz) +// * `6g-121-6555-20` - 121 (6555/20 MHz) +// * `6g-123-6565-40` - 123 (6565/40 MHz) +// * `6g-125-6575-20` - 125 (6575/20 MHz) +// * `6g-129-6595-20` - 129 (6595/20 MHz) +// * `6g-131-6605-40` - 131 (6605/40 MHz) +// * `6g-133-6615-20` - 133 (6615/20 MHz) +// * `6g-135-6625-80` - 135 (6625/80 MHz) +// * `6g-137-6635-20` - 137 (6635/20 MHz) +// * `6g-139-6645-40` - 139 (6645/40 MHz) +// * `6g-141-6655-20` - 141 (6655/20 MHz) +// * `6g-143-6665-160` - 143 (6665/160 MHz) +// * `6g-145-6675-20` - 145 (6675/20 MHz) +// * `6g-147-6685-40` - 147 (6685/40 MHz) +// * `6g-149-6695-20` - 149 (6695/20 MHz) +// * `6g-151-6705-80` - 151 (6705/80 MHz) +// * `6g-153-6715-20` - 153 (6715/20 MHz) +// * `6g-155-6725-40` - 155 (6725/40 MHz) +// * `6g-157-6735-20` - 157 (6735/20 MHz) +// * `6g-159-6745-320` - 159 (6745/320 MHz) +// * `6g-161-6755-20` - 161 (6755/20 MHz) +// * `6g-163-6765-40` - 163 (6765/40 MHz) +// * `6g-165-6775-20` - 165 (6775/20 MHz) +// * `6g-167-6785-80` - 167 (6785/80 MHz) +// * `6g-169-6795-20` - 169 (6795/20 MHz) +// * `6g-171-6805-40` - 171 (6805/40 MHz) +// * `6g-173-6815-20` - 173 (6815/20 MHz) +// * `6g-175-6825-160` - 175 (6825/160 MHz) +// * `6g-177-6835-20` - 177 (6835/20 MHz) +// * `6g-179-6845-40` - 179 (6845/40 MHz) +// * `6g-181-6855-20` - 181 (6855/20 MHz) +// * `6g-183-6865-80` - 183 (6865/80 MHz) +// * `6g-185-6875-20` - 185 (6875/20 MHz) +// * `6g-187-6885-40` - 187 (6885/40 MHz) +// * `6g-189-6895-20` - 189 (6895/20 MHz) +// * `6g-193-6915-20` - 193 (6915/20 MHz) +// * `6g-195-6925-40` - 195 (6925/40 MHz) +// * `6g-197-6935-20` - 197 (6935/20 MHz) +// * `6g-199-6945-80` - 199 (6945/80 MHz) +// * `6g-201-6955-20` - 201 (6955/20 MHz) +// * `6g-203-6965-40` - 203 (6965/40 MHz) +// * `6g-205-6975-20` - 205 (6975/20 MHz) +// * `6g-207-6985-160` - 207 (6985/160 MHz) +// * `6g-209-6995-20` - 209 (6995/20 MHz) +// * `6g-211-7005-40` - 211 (7005/40 MHz) +// * `6g-213-7015-20` - 213 (7015/20 MHz) +// * `6g-215-7025-80` - 215 (7025/80 MHz) +// * `6g-217-7035-20` - 217 (7035/20 MHz) +// * `6g-219-7045-40` - 219 (7045/40 MHz) +// * `6g-221-7055-20` - 221 (7055/20 MHz) +// * `6g-225-7075-20` - 225 (7075/20 MHz) +// * `6g-227-7085-40` - 227 (7085/40 MHz) +// * `6g-229-7095-20` - 229 (7095/20 MHz) +// * `6g-233-7115-20` - 233 (7115/20 MHz) +// * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) +// * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) +// * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) +// * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) +// * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) +// * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) +// * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) +// * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) +// * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) +// * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) +// * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) +// * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) +// * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) +// * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) +// * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) +// * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) +// * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) +// * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +type WritableInterfaceRequestRfChannel string + +// WritableInterfaceRequestRfRole * `ap` - Access point +// * `station` - Station +type WritableInterfaceRequestRfRole string + +// WritableInterfaceRequestType * `virtual` - Virtual +// * `bridge` - Bridge +// * `lag` - Link Aggregation Group (LAG) +// * `100base-fx` - 100BASE-FX (10/100ME FIBER) +// * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) +// * `100base-tx` - 100BASE-TX (10/100ME) +// * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) +// * `1000base-t` - 1000BASE-T (1GE) +// * `2.5gbase-t` - 2.5GBASE-T (2.5GE) +// * `5gbase-t` - 5GBASE-T (5GE) +// * `10gbase-t` - 10GBASE-T (10GE) +// * `10gbase-cx4` - 10GBASE-CX4 (10GE) +// * `1000base-x-gbic` - GBIC (1GE) +// * `1000base-x-sfp` - SFP (1GE) +// * `10gbase-x-sfpp` - SFP+ (10GE) +// * `10gbase-x-xfp` - XFP (10GE) +// * `10gbase-x-xenpak` - XENPAK (10GE) +// * `10gbase-x-x2` - X2 (10GE) +// * `25gbase-x-sfp28` - SFP28 (25GE) +// * `50gbase-x-sfp56` - SFP56 (50GE) +// * `40gbase-x-qsfpp` - QSFP+ (40GE) +// * `50gbase-x-sfp28` - QSFP28 (50GE) +// * `100gbase-x-cfp` - CFP (100GE) +// * `100gbase-x-cfp2` - CFP2 (100GE) +// * `200gbase-x-cfp2` - CFP2 (200GE) +// * `400gbase-x-cfp2` - CFP2 (400GE) +// * `100gbase-x-cfp4` - CFP4 (100GE) +// * `100gbase-x-cxp` - CXP (100GE) +// * `100gbase-x-cpak` - Cisco CPAK (100GE) +// * `100gbase-x-dsfp` - DSFP (100GE) +// * `100gbase-x-sfpdd` - SFP-DD (100GE) +// * `100gbase-x-qsfp28` - QSFP28 (100GE) +// * `100gbase-x-qsfpdd` - QSFP-DD (100GE) +// * `200gbase-x-qsfp56` - QSFP56 (200GE) +// * `200gbase-x-qsfpdd` - QSFP-DD (200GE) +// * `400gbase-x-qsfp112` - QSFP112 (400GE) +// * `400gbase-x-qsfpdd` - QSFP-DD (400GE) +// * `400gbase-x-osfp` - OSFP (400GE) +// * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) +// * `400gbase-x-cdfp` - CDFP (400GE) +// * `400gbase-x-cfp8` - CPF8 (400GE) +// * `800gbase-x-qsfpdd` - QSFP-DD (800GE) +// * `800gbase-x-osfp` - OSFP (800GE) +// * `1000base-kx` - 1000BASE-KX (1GE) +// * `10gbase-kr` - 10GBASE-KR (10GE) +// * `10gbase-kx4` - 10GBASE-KX4 (10GE) +// * `25gbase-kr` - 25GBASE-KR (25GE) +// * `40gbase-kr4` - 40GBASE-KR4 (40GE) +// * `50gbase-kr` - 50GBASE-KR (50GE) +// * `100gbase-kp4` - 100GBASE-KP4 (100GE) +// * `100gbase-kr2` - 100GBASE-KR2 (100GE) +// * `100gbase-kr4` - 100GBASE-KR4 (100GE) +// * `ieee802.11a` - IEEE 802.11a +// * `ieee802.11g` - IEEE 802.11b/g +// * `ieee802.11n` - IEEE 802.11n +// * `ieee802.11ac` - IEEE 802.11ac +// * `ieee802.11ad` - IEEE 802.11ad +// * `ieee802.11ax` - IEEE 802.11ax +// * `ieee802.11ay` - IEEE 802.11ay +// * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) +// * `other-wireless` - Other (Wireless) +// * `gsm` - GSM +// * `cdma` - CDMA +// * `lte` - LTE +// * `sonet-oc3` - OC-3/STM-1 +// * `sonet-oc12` - OC-12/STM-4 +// * `sonet-oc48` - OC-48/STM-16 +// * `sonet-oc192` - OC-192/STM-64 +// * `sonet-oc768` - OC-768/STM-256 +// * `sonet-oc1920` - OC-1920/STM-640 +// * `sonet-oc3840` - OC-3840/STM-1234 +// * `1gfc-sfp` - SFP (1GFC) +// * `2gfc-sfp` - SFP (2GFC) +// * `4gfc-sfp` - SFP (4GFC) +// * `8gfc-sfpp` - SFP+ (8GFC) +// * `16gfc-sfpp` - SFP+ (16GFC) +// * `32gfc-sfp28` - SFP28 (32GFC) +// * `64gfc-qsfpp` - QSFP+ (64GFC) +// * `128gfc-qsfp28` - QSFP28 (128GFC) +// * `infiniband-sdr` - SDR (2 Gbps) +// * `infiniband-ddr` - DDR (4 Gbps) +// * `infiniband-qdr` - QDR (8 Gbps) +// * `infiniband-fdr10` - FDR10 (10 Gbps) +// * `infiniband-fdr` - FDR (13.5 Gbps) +// * `infiniband-edr` - EDR (25 Gbps) +// * `infiniband-hdr` - HDR (50 Gbps) +// * `infiniband-ndr` - NDR (100 Gbps) +// * `infiniband-xdr` - XDR (250 Gbps) +// * `t1` - T1 (1.544 Mbps) +// * `e1` - E1 (2.048 Mbps) +// * `t3` - T3 (45 Mbps) +// * `e3` - E3 (34 Mbps) +// * `xdsl` - xDSL +// * `docsis` - DOCSIS +// * `gpon` - GPON (2.5 Gbps / 1.25 Gps) +// * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) +// * `xgs-pon` - XGS-PON (10 Gbps) +// * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) +// * `epon` - EPON (1 Gbps) +// * `10g-epon` - 10G-EPON (10 Gbps) +// * `cisco-stackwise` - Cisco StackWise +// * `cisco-stackwise-plus` - Cisco StackWise Plus +// * `cisco-flexstack` - Cisco FlexStack +// * `cisco-flexstack-plus` - Cisco FlexStack Plus +// * `cisco-stackwise-80` - Cisco StackWise-80 +// * `cisco-stackwise-160` - Cisco StackWise-160 +// * `cisco-stackwise-320` - Cisco StackWise-320 +// * `cisco-stackwise-480` - Cisco StackWise-480 +// * `cisco-stackwise-1t` - Cisco StackWise-1T +// * `juniper-vcp` - Juniper VCP +// * `extreme-summitstack` - Extreme SummitStack +// * `extreme-summitstack-128` - Extreme SummitStack-128 +// * `extreme-summitstack-256` - Extreme SummitStack-256 +// * `extreme-summitstack-512` - Extreme SummitStack-512 +// * `other` - Other +type WritableInterfaceRequestType string + +// WritableInterfaceTemplateRequest 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 WritableInterfaceTemplateRequest struct { + Bridge *int `json:"bridge"` + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type"` + Enabled *bool `json:"enabled,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + MgmtOnly *bool `json:"mgmt_only,omitempty"` + ModuleType *int `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + + // PoeMode * `pd` - PD + // * `pse` - PSE + PoeMode *WritableInterfaceTemplateRequestPoeMode `json:"poe_mode,omitempty"` + + // PoeType * `type1-ieee802.3af` - 802.3af (Type 1) + // * `type2-ieee802.3at` - 802.3at (Type 2) + // * `type3-ieee802.3bt` - 802.3bt (Type 3) + // * `type4-ieee802.3bt` - 802.3bt (Type 4) + // * `passive-24v-2pair` - Passive 24V (2-pair) + // * `passive-24v-4pair` - Passive 24V (4-pair) + // * `passive-48v-2pair` - Passive 48V (2-pair) + // * `passive-48v-4pair` - Passive 48V (4-pair) + PoeType *WritableInterfaceTemplateRequestPoeType `json:"poe_type,omitempty"` + + // RfRole * `ap` - Access point + // * `station` - Station + RfRole *WritableInterfaceTemplateRequestRfRole `json:"rf_role,omitempty"` + + // Type * `virtual` - Virtual + // * `bridge` - Bridge + // * `lag` - Link Aggregation Group (LAG) + // * `100base-fx` - 100BASE-FX (10/100ME FIBER) + // * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + // * `100base-tx` - 100BASE-TX (10/100ME) + // * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + // * `1000base-t` - 1000BASE-T (1GE) + // * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + // * `5gbase-t` - 5GBASE-T (5GE) + // * `10gbase-t` - 10GBASE-T (10GE) + // * `10gbase-cx4` - 10GBASE-CX4 (10GE) + // * `1000base-x-gbic` - GBIC (1GE) + // * `1000base-x-sfp` - SFP (1GE) + // * `10gbase-x-sfpp` - SFP+ (10GE) + // * `10gbase-x-xfp` - XFP (10GE) + // * `10gbase-x-xenpak` - XENPAK (10GE) + // * `10gbase-x-x2` - X2 (10GE) + // * `25gbase-x-sfp28` - SFP28 (25GE) + // * `50gbase-x-sfp56` - SFP56 (50GE) + // * `40gbase-x-qsfpp` - QSFP+ (40GE) + // * `50gbase-x-sfp28` - QSFP28 (50GE) + // * `100gbase-x-cfp` - CFP (100GE) + // * `100gbase-x-cfp2` - CFP2 (100GE) + // * `200gbase-x-cfp2` - CFP2 (200GE) + // * `400gbase-x-cfp2` - CFP2 (400GE) + // * `100gbase-x-cfp4` - CFP4 (100GE) + // * `100gbase-x-cxp` - CXP (100GE) + // * `100gbase-x-cpak` - Cisco CPAK (100GE) + // * `100gbase-x-dsfp` - DSFP (100GE) + // * `100gbase-x-sfpdd` - SFP-DD (100GE) + // * `100gbase-x-qsfp28` - QSFP28 (100GE) + // * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + // * `200gbase-x-qsfp56` - QSFP56 (200GE) + // * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + // * `400gbase-x-qsfp112` - QSFP112 (400GE) + // * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + // * `400gbase-x-osfp` - OSFP (400GE) + // * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + // * `400gbase-x-cdfp` - CDFP (400GE) + // * `400gbase-x-cfp8` - CPF8 (400GE) + // * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + // * `800gbase-x-osfp` - OSFP (800GE) + // * `1000base-kx` - 1000BASE-KX (1GE) + // * `10gbase-kr` - 10GBASE-KR (10GE) + // * `10gbase-kx4` - 10GBASE-KX4 (10GE) + // * `25gbase-kr` - 25GBASE-KR (25GE) + // * `40gbase-kr4` - 40GBASE-KR4 (40GE) + // * `50gbase-kr` - 50GBASE-KR (50GE) + // * `100gbase-kp4` - 100GBASE-KP4 (100GE) + // * `100gbase-kr2` - 100GBASE-KR2 (100GE) + // * `100gbase-kr4` - 100GBASE-KR4 (100GE) + // * `ieee802.11a` - IEEE 802.11a + // * `ieee802.11g` - IEEE 802.11b/g + // * `ieee802.11n` - IEEE 802.11n + // * `ieee802.11ac` - IEEE 802.11ac + // * `ieee802.11ad` - IEEE 802.11ad + // * `ieee802.11ax` - IEEE 802.11ax + // * `ieee802.11ay` - IEEE 802.11ay + // * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + // * `other-wireless` - Other (Wireless) + // * `gsm` - GSM + // * `cdma` - CDMA + // * `lte` - LTE + // * `sonet-oc3` - OC-3/STM-1 + // * `sonet-oc12` - OC-12/STM-4 + // * `sonet-oc48` - OC-48/STM-16 + // * `sonet-oc192` - OC-192/STM-64 + // * `sonet-oc768` - OC-768/STM-256 + // * `sonet-oc1920` - OC-1920/STM-640 + // * `sonet-oc3840` - OC-3840/STM-1234 + // * `1gfc-sfp` - SFP (1GFC) + // * `2gfc-sfp` - SFP (2GFC) + // * `4gfc-sfp` - SFP (4GFC) + // * `8gfc-sfpp` - SFP+ (8GFC) + // * `16gfc-sfpp` - SFP+ (16GFC) + // * `32gfc-sfp28` - SFP28 (32GFC) + // * `64gfc-qsfpp` - QSFP+ (64GFC) + // * `128gfc-qsfp28` - QSFP28 (128GFC) + // * `infiniband-sdr` - SDR (2 Gbps) + // * `infiniband-ddr` - DDR (4 Gbps) + // * `infiniband-qdr` - QDR (8 Gbps) + // * `infiniband-fdr10` - FDR10 (10 Gbps) + // * `infiniband-fdr` - FDR (13.5 Gbps) + // * `infiniband-edr` - EDR (25 Gbps) + // * `infiniband-hdr` - HDR (50 Gbps) + // * `infiniband-ndr` - NDR (100 Gbps) + // * `infiniband-xdr` - XDR (250 Gbps) + // * `t1` - T1 (1.544 Mbps) + // * `e1` - E1 (2.048 Mbps) + // * `t3` - T3 (45 Mbps) + // * `e3` - E3 (34 Mbps) + // * `xdsl` - xDSL + // * `docsis` - DOCSIS + // * `gpon` - GPON (2.5 Gbps / 1.25 Gps) + // * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + // * `xgs-pon` - XGS-PON (10 Gbps) + // * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + // * `epon` - EPON (1 Gbps) + // * `10g-epon` - 10G-EPON (10 Gbps) + // * `cisco-stackwise` - Cisco StackWise + // * `cisco-stackwise-plus` - Cisco StackWise Plus + // * `cisco-flexstack` - Cisco FlexStack + // * `cisco-flexstack-plus` - Cisco FlexStack Plus + // * `cisco-stackwise-80` - Cisco StackWise-80 + // * `cisco-stackwise-160` - Cisco StackWise-160 + // * `cisco-stackwise-320` - Cisco StackWise-320 + // * `cisco-stackwise-480` - Cisco StackWise-480 + // * `cisco-stackwise-1t` - Cisco StackWise-1T + // * `juniper-vcp` - Juniper VCP + // * `extreme-summitstack` - Extreme SummitStack + // * `extreme-summitstack-128` - Extreme SummitStack-128 + // * `extreme-summitstack-256` - Extreme SummitStack-256 + // * `extreme-summitstack-512` - Extreme SummitStack-512 + // * `other` - Other + Type WritableInterfaceTemplateRequestType `json:"type"` +} + +// WritableInterfaceTemplateRequestPoeMode * `pd` - PD +// * `pse` - PSE +type WritableInterfaceTemplateRequestPoeMode string + +// WritableInterfaceTemplateRequestPoeType * `type1-ieee802.3af` - 802.3af (Type 1) +// * `type2-ieee802.3at` - 802.3at (Type 2) +// * `type3-ieee802.3bt` - 802.3bt (Type 3) +// * `type4-ieee802.3bt` - 802.3bt (Type 4) +// * `passive-24v-2pair` - Passive 24V (2-pair) +// * `passive-24v-4pair` - Passive 24V (4-pair) +// * `passive-48v-2pair` - Passive 48V (2-pair) +// * `passive-48v-4pair` - Passive 48V (4-pair) +type WritableInterfaceTemplateRequestPoeType string + +// WritableInterfaceTemplateRequestRfRole * `ap` - Access point +// * `station` - Station +type WritableInterfaceTemplateRequestRfRole string + +// WritableInterfaceTemplateRequestType * `virtual` - Virtual +// * `bridge` - Bridge +// * `lag` - Link Aggregation Group (LAG) +// * `100base-fx` - 100BASE-FX (10/100ME FIBER) +// * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) +// * `100base-tx` - 100BASE-TX (10/100ME) +// * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) +// * `1000base-t` - 1000BASE-T (1GE) +// * `2.5gbase-t` - 2.5GBASE-T (2.5GE) +// * `5gbase-t` - 5GBASE-T (5GE) +// * `10gbase-t` - 10GBASE-T (10GE) +// * `10gbase-cx4` - 10GBASE-CX4 (10GE) +// * `1000base-x-gbic` - GBIC (1GE) +// * `1000base-x-sfp` - SFP (1GE) +// * `10gbase-x-sfpp` - SFP+ (10GE) +// * `10gbase-x-xfp` - XFP (10GE) +// * `10gbase-x-xenpak` - XENPAK (10GE) +// * `10gbase-x-x2` - X2 (10GE) +// * `25gbase-x-sfp28` - SFP28 (25GE) +// * `50gbase-x-sfp56` - SFP56 (50GE) +// * `40gbase-x-qsfpp` - QSFP+ (40GE) +// * `50gbase-x-sfp28` - QSFP28 (50GE) +// * `100gbase-x-cfp` - CFP (100GE) +// * `100gbase-x-cfp2` - CFP2 (100GE) +// * `200gbase-x-cfp2` - CFP2 (200GE) +// * `400gbase-x-cfp2` - CFP2 (400GE) +// * `100gbase-x-cfp4` - CFP4 (100GE) +// * `100gbase-x-cxp` - CXP (100GE) +// * `100gbase-x-cpak` - Cisco CPAK (100GE) +// * `100gbase-x-dsfp` - DSFP (100GE) +// * `100gbase-x-sfpdd` - SFP-DD (100GE) +// * `100gbase-x-qsfp28` - QSFP28 (100GE) +// * `100gbase-x-qsfpdd` - QSFP-DD (100GE) +// * `200gbase-x-qsfp56` - QSFP56 (200GE) +// * `200gbase-x-qsfpdd` - QSFP-DD (200GE) +// * `400gbase-x-qsfp112` - QSFP112 (400GE) +// * `400gbase-x-qsfpdd` - QSFP-DD (400GE) +// * `400gbase-x-osfp` - OSFP (400GE) +// * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) +// * `400gbase-x-cdfp` - CDFP (400GE) +// * `400gbase-x-cfp8` - CPF8 (400GE) +// * `800gbase-x-qsfpdd` - QSFP-DD (800GE) +// * `800gbase-x-osfp` - OSFP (800GE) +// * `1000base-kx` - 1000BASE-KX (1GE) +// * `10gbase-kr` - 10GBASE-KR (10GE) +// * `10gbase-kx4` - 10GBASE-KX4 (10GE) +// * `25gbase-kr` - 25GBASE-KR (25GE) +// * `40gbase-kr4` - 40GBASE-KR4 (40GE) +// * `50gbase-kr` - 50GBASE-KR (50GE) +// * `100gbase-kp4` - 100GBASE-KP4 (100GE) +// * `100gbase-kr2` - 100GBASE-KR2 (100GE) +// * `100gbase-kr4` - 100GBASE-KR4 (100GE) +// * `ieee802.11a` - IEEE 802.11a +// * `ieee802.11g` - IEEE 802.11b/g +// * `ieee802.11n` - IEEE 802.11n +// * `ieee802.11ac` - IEEE 802.11ac +// * `ieee802.11ad` - IEEE 802.11ad +// * `ieee802.11ax` - IEEE 802.11ax +// * `ieee802.11ay` - IEEE 802.11ay +// * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) +// * `other-wireless` - Other (Wireless) +// * `gsm` - GSM +// * `cdma` - CDMA +// * `lte` - LTE +// * `sonet-oc3` - OC-3/STM-1 +// * `sonet-oc12` - OC-12/STM-4 +// * `sonet-oc48` - OC-48/STM-16 +// * `sonet-oc192` - OC-192/STM-64 +// * `sonet-oc768` - OC-768/STM-256 +// * `sonet-oc1920` - OC-1920/STM-640 +// * `sonet-oc3840` - OC-3840/STM-1234 +// * `1gfc-sfp` - SFP (1GFC) +// * `2gfc-sfp` - SFP (2GFC) +// * `4gfc-sfp` - SFP (4GFC) +// * `8gfc-sfpp` - SFP+ (8GFC) +// * `16gfc-sfpp` - SFP+ (16GFC) +// * `32gfc-sfp28` - SFP28 (32GFC) +// * `64gfc-qsfpp` - QSFP+ (64GFC) +// * `128gfc-qsfp28` - QSFP28 (128GFC) +// * `infiniband-sdr` - SDR (2 Gbps) +// * `infiniband-ddr` - DDR (4 Gbps) +// * `infiniband-qdr` - QDR (8 Gbps) +// * `infiniband-fdr10` - FDR10 (10 Gbps) +// * `infiniband-fdr` - FDR (13.5 Gbps) +// * `infiniband-edr` - EDR (25 Gbps) +// * `infiniband-hdr` - HDR (50 Gbps) +// * `infiniband-ndr` - NDR (100 Gbps) +// * `infiniband-xdr` - XDR (250 Gbps) +// * `t1` - T1 (1.544 Mbps) +// * `e1` - E1 (2.048 Mbps) +// * `t3` - T3 (45 Mbps) +// * `e3` - E3 (34 Mbps) +// * `xdsl` - xDSL +// * `docsis` - DOCSIS +// * `gpon` - GPON (2.5 Gbps / 1.25 Gps) +// * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) +// * `xgs-pon` - XGS-PON (10 Gbps) +// * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) +// * `epon` - EPON (1 Gbps) +// * `10g-epon` - 10G-EPON (10 Gbps) +// * `cisco-stackwise` - Cisco StackWise +// * `cisco-stackwise-plus` - Cisco StackWise Plus +// * `cisco-flexstack` - Cisco FlexStack +// * `cisco-flexstack-plus` - Cisco FlexStack Plus +// * `cisco-stackwise-80` - Cisco StackWise-80 +// * `cisco-stackwise-160` - Cisco StackWise-160 +// * `cisco-stackwise-320` - Cisco StackWise-320 +// * `cisco-stackwise-480` - Cisco StackWise-480 +// * `cisco-stackwise-1t` - Cisco StackWise-1T +// * `juniper-vcp` - Juniper VCP +// * `extreme-summitstack` - Extreme SummitStack +// * `extreme-summitstack-128` - Extreme SummitStack-128 +// * `extreme-summitstack-256` - Extreme SummitStack-256 +// * `extreme-summitstack-512` - Extreme SummitStack-512 +// * `other` - Other +type WritableInterfaceTemplateRequestType string + +// WritableInventoryItemRequest Adds support for custom fields and tags. +type WritableInventoryItemRequest struct { + // AssetTag A unique tag used to identify this item + AssetTag *string `json:"asset_tag"` + ComponentId *int64 `json:"component_id"` + ComponentType *string `json:"component_type"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device int `json:"device"` + + // Discovered This item was automatically discovered + Discovered *bool `json:"discovered,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Manufacturer *int `json:"manufacturer"` + Name string `json:"name"` + Parent *int `json:"parent"` + + // PartId Manufacturer-assigned part identifier + PartId *string `json:"part_id,omitempty"` + Role *int `json:"role"` + Serial *string `json:"serial,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableInventoryItemTemplateRequest 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 WritableInventoryItemTemplateRequest struct { + ComponentId *int64 `json:"component_id"` + ComponentType *string `json:"component_type"` + Description *string `json:"description,omitempty"` + DeviceType int `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Manufacturer *int `json:"manufacturer"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Parent *int `json:"parent"` + + // PartId Manufacturer-assigned part identifier + PartId *string `json:"part_id,omitempty"` + Role *int `json:"role"` +} + +// WritableJournalEntryRequest Adds support for custom fields and tags. +type WritableJournalEntryRequest struct { + AssignedObjectId int64 `json:"assigned_object_id"` + AssignedObjectType string `json:"assigned_object_type"` + Comments string `json:"comments"` + CreatedBy *int `json:"created_by"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Kind * `info` - Info + // * `success` - Success + // * `warning` - Warning + // * `danger` - Danger + Kind *WritableJournalEntryRequestKind `json:"kind,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableJournalEntryRequestKind * `info` - Info +// * `success` - Success +// * `warning` - Warning +// * `danger` - Danger +type WritableJournalEntryRequestKind string + +// WritableL2VPNRequest Adds support for custom fields and tags. +type WritableL2VPNRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + ExportTargets *[]int `json:"export_targets,omitempty"` + Identifier *int64 `json:"identifier"` + ImportTargets *[]int `json:"import_targets,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + + // Type * `vpws` - VPWS + // * `vpls` - VPLS + // * `vxlan` - VXLAN + // * `vxlan-evpn` - VXLAN-EVPN + // * `mpls-evpn` - MPLS EVPN + // * `pbb-evpn` - PBB EVPN + // * `epl` - EPL + // * `evpl` - EVPL + // * `ep-lan` - Ethernet Private LAN + // * `evp-lan` - Ethernet Virtual Private LAN + // * `ep-tree` - Ethernet Private Tree + // * `evp-tree` - Ethernet Virtual Private Tree + Type WritableL2VPNRequestType `json:"type"` +} + +// WritableL2VPNRequestType * `vpws` - VPWS +// * `vpls` - VPLS +// * `vxlan` - VXLAN +// * `vxlan-evpn` - VXLAN-EVPN +// * `mpls-evpn` - MPLS EVPN +// * `pbb-evpn` - PBB EVPN +// * `epl` - EPL +// * `evpl` - EVPL +// * `ep-lan` - Ethernet Private LAN +// * `evp-lan` - Ethernet Virtual Private LAN +// * `ep-tree` - Ethernet Private Tree +// * `evp-tree` - Ethernet Virtual Private Tree +type WritableL2VPNRequestType string + +// WritableL2VPNTerminationRequest Adds support for custom fields and tags. +type WritableL2VPNTerminationRequest struct { + AssignedObjectId int64 `json:"assigned_object_id"` + AssignedObjectType string `json:"assigned_object_type"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + L2vpn int `json:"l2vpn"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableLocationRequest Extends PrimaryModelSerializer to include MPTT support. +type WritableLocationRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parent *int `json:"parent"` + Site int `json:"site"` + Slug string `json:"slug"` + + // Status * `planned` - Planned + // * `staging` - Staging + // * `active` - Active + // * `decommissioning` - Decommissioning + // * `retired` - Retired + Status *WritableLocationRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// WritableLocationRequestStatus * `planned` - Planned +// * `staging` - Staging +// * `active` - Active +// * `decommissioning` - Decommissioning +// * `retired` - Retired +type WritableLocationRequestStatus string + +// WritableModuleBayRequest Adds support for custom fields and tags. +type WritableModuleBayRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device int `json:"device"` + InstalledModule int `json:"installed_module"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + + // Position Identifier to reference when renaming installed components + Position *string `json:"position,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableModuleBayTemplateRequest 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 WritableModuleBayTemplateRequest struct { + Description *string `json:"description,omitempty"` + DeviceType int `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + + // Position Identifier to reference when renaming installed components + Position *string `json:"position,omitempty"` +} + +// WritableModuleRequest Adds support for custom fields and tags. +type WritableModuleRequest struct { + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device int `json:"device"` + ModuleBay int `json:"module_bay"` + ModuleType int `json:"module_type"` + Serial *string `json:"serial,omitempty"` + + // Status * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `staged` - Staged + // * `failed` - Failed + // * `decommissioning` - Decommissioning + Status *WritableModuleRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableModuleRequestStatus * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `staged` - Staged +// * `failed` - Failed +// * `decommissioning` - Decommissioning +type WritableModuleRequestStatus string + +// WritableModuleTypeRequest Adds support for custom fields and tags. +type WritableModuleTypeRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Manufacturer int `json:"manufacturer"` + Model string `json:"model"` + + // PartNumber Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Weight *float64 `json:"weight"` + + // WeightUnit * `kg` - Kilograms + // * `g` - Grams + // * `lb` - Pounds + // * `oz` - Ounces + WeightUnit *WritableModuleTypeRequestWeightUnit `json:"weight_unit,omitempty"` +} + +// WritableModuleTypeRequestWeightUnit * `kg` - Kilograms +// * `g` - Grams +// * `lb` - Pounds +// * `oz` - Ounces +type WritableModuleTypeRequestWeightUnit string + +// WritableObjectPermissionRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type WritableObjectPermissionRequest struct { + // Actions The list of actions granted by this permission + Actions []string `json:"actions"` + + // Constraints Queryset filter matching the applicable objects of the selected type(s) + Constraints *map[string]interface{} `json:"constraints"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Groups *[]int `json:"groups,omitempty"` + Name string `json:"name"` + ObjectTypes []string `json:"object_types"` + Users *[]int `json:"users,omitempty"` +} + +// WritablePlatformRequest Adds support for custom fields and tags. +type WritablePlatformRequest struct { + ConfigTemplate *int `json:"config_template"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Manufacturer Optionally limit this platform to devices of a certain manufacturer + Manufacturer *int `json:"manufacturer"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritablePowerFeedRequest Adds support for custom fields and tags. +type WritablePowerFeedRequest struct { + Amperage *int `json:"amperage,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // MaxUtilization Maximum permissible draw (percentage) + MaxUtilization *int `json:"max_utilization,omitempty"` + Name string `json:"name"` + + // Phase * `single-phase` - Single phase + // * `three-phase` - Three-phase + Phase *WritablePowerFeedRequestPhase `json:"phase,omitempty"` + PowerPanel int `json:"power_panel"` + Rack *int `json:"rack"` + + // Status * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `failed` - Failed + Status *WritablePowerFeedRequestStatus `json:"status,omitempty"` + + // Supply * `ac` - AC + // * `dc` - DC + Supply *WritablePowerFeedRequestSupply `json:"supply,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + + // Type * `primary` - Primary + // * `redundant` - Redundant + Type *WritablePowerFeedRequestType `json:"type,omitempty"` + Voltage *int `json:"voltage,omitempty"` +} + +// WritablePowerFeedRequestPhase * `single-phase` - Single phase +// * `three-phase` - Three-phase +type WritablePowerFeedRequestPhase string + +// WritablePowerFeedRequestStatus * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `failed` - Failed +type WritablePowerFeedRequestStatus string + +// WritablePowerFeedRequestSupply * `ac` - AC +// * `dc` - DC +type WritablePowerFeedRequestSupply string + +// WritablePowerFeedRequestType * `primary` - Primary +// * `redundant` - Redundant +type WritablePowerFeedRequestType string + +// WritablePowerOutletRequest Adds support for custom fields and tags. +type WritablePowerOutletRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device int `json:"device"` + + // FeedLeg Phase (for three-phase feeds) + // + // * `A` - A + // * `B` - B + // * `C` - C + FeedLeg *WritablePowerOutletRequestFeedLeg `json:"feed_leg,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *int `json:"module"` + Name string `json:"name"` + PowerPort *int `json:"power_port"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type Physical port type + // + // * `iec-60320-c5` - C5 + // * `iec-60320-c7` - C7 + // * `iec-60320-c13` - C13 + // * `iec-60320-c15` - C15 + // * `iec-60320-c19` - C19 + // * `iec-60320-c21` - C21 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15r` - NEMA 1-15R + // * `nema-5-15r` - NEMA 5-15R + // * `nema-5-20r` - NEMA 5-20R + // * `nema-5-30r` - NEMA 5-30R + // * `nema-5-50r` - NEMA 5-50R + // * `nema-6-15r` - NEMA 6-15R + // * `nema-6-20r` - NEMA 6-20R + // * `nema-6-30r` - NEMA 6-30R + // * `nema-6-50r` - NEMA 6-50R + // * `nema-10-30r` - NEMA 10-30R + // * `nema-10-50r` - NEMA 10-50R + // * `nema-14-20r` - NEMA 14-20R + // * `nema-14-30r` - NEMA 14-30R + // * `nema-14-50r` - NEMA 14-50R + // * `nema-14-60r` - NEMA 14-60R + // * `nema-15-15r` - NEMA 15-15R + // * `nema-15-20r` - NEMA 15-20R + // * `nema-15-30r` - NEMA 15-30R + // * `nema-15-50r` - NEMA 15-50R + // * `nema-15-60r` - NEMA 15-60R + // * `nema-l1-15r` - NEMA L1-15R + // * `nema-l5-15r` - NEMA L5-15R + // * `nema-l5-20r` - NEMA L5-20R + // * `nema-l5-30r` - NEMA L5-30R + // * `nema-l5-50r` - NEMA L5-50R + // * `nema-l6-15r` - NEMA L6-15R + // * `nema-l6-20r` - NEMA L6-20R + // * `nema-l6-30r` - NEMA L6-30R + // * `nema-l6-50r` - NEMA L6-50R + // * `nema-l10-30r` - NEMA L10-30R + // * `nema-l14-20r` - NEMA L14-20R + // * `nema-l14-30r` - NEMA L14-30R + // * `nema-l14-50r` - NEMA L14-50R + // * `nema-l14-60r` - NEMA L14-60R + // * `nema-l15-20r` - NEMA L15-20R + // * `nema-l15-30r` - NEMA L15-30R + // * `nema-l15-50r` - NEMA L15-50R + // * `nema-l15-60r` - NEMA L15-60R + // * `nema-l21-20r` - NEMA L21-20R + // * `nema-l21-30r` - NEMA L21-30R + // * `nema-l22-30r` - NEMA L22-30R + // * `CS6360C` - CS6360C + // * `CS6364C` - CS6364C + // * `CS8164C` - CS8164C + // * `CS8264C` - CS8264C + // * `CS8364C` - CS8364C + // * `CS8464C` - CS8464C + // * `ita-e` - ITA Type E (CEE 7/5) + // * `ita-f` - ITA Type F (CEE 7/3) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `ita-multistandard` - ITA Multistandard + // * `usb-a` - USB Type A + // * `usb-micro-b` - USB Micro B + // * `usb-c` - USB Type C + // * `dc-terminal` - DC Terminal + // * `hdot-cx` - HDOT Cx + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20a` - Neutrik powerCON (20A) + // * `neutrik-powercon-32a` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Type *WritablePowerOutletRequestType `json:"type,omitempty"` +} + +// WritablePowerOutletRequestFeedLeg Phase (for three-phase feeds) +// +// * `A` - A +// * `B` - B +// * `C` - C +type WritablePowerOutletRequestFeedLeg string + +// WritablePowerOutletRequestType Physical port type +// +// * `iec-60320-c5` - C5 +// * `iec-60320-c7` - C7 +// * `iec-60320-c13` - C13 +// * `iec-60320-c15` - C15 +// * `iec-60320-c19` - C19 +// * `iec-60320-c21` - C21 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15r` - NEMA 1-15R +// * `nema-5-15r` - NEMA 5-15R +// * `nema-5-20r` - NEMA 5-20R +// * `nema-5-30r` - NEMA 5-30R +// * `nema-5-50r` - NEMA 5-50R +// * `nema-6-15r` - NEMA 6-15R +// * `nema-6-20r` - NEMA 6-20R +// * `nema-6-30r` - NEMA 6-30R +// * `nema-6-50r` - NEMA 6-50R +// * `nema-10-30r` - NEMA 10-30R +// * `nema-10-50r` - NEMA 10-50R +// * `nema-14-20r` - NEMA 14-20R +// * `nema-14-30r` - NEMA 14-30R +// * `nema-14-50r` - NEMA 14-50R +// * `nema-14-60r` - NEMA 14-60R +// * `nema-15-15r` - NEMA 15-15R +// * `nema-15-20r` - NEMA 15-20R +// * `nema-15-30r` - NEMA 15-30R +// * `nema-15-50r` - NEMA 15-50R +// * `nema-15-60r` - NEMA 15-60R +// * `nema-l1-15r` - NEMA L1-15R +// * `nema-l5-15r` - NEMA L5-15R +// * `nema-l5-20r` - NEMA L5-20R +// * `nema-l5-30r` - NEMA L5-30R +// * `nema-l5-50r` - NEMA L5-50R +// * `nema-l6-15r` - NEMA L6-15R +// * `nema-l6-20r` - NEMA L6-20R +// * `nema-l6-30r` - NEMA L6-30R +// * `nema-l6-50r` - NEMA L6-50R +// * `nema-l10-30r` - NEMA L10-30R +// * `nema-l14-20r` - NEMA L14-20R +// * `nema-l14-30r` - NEMA L14-30R +// * `nema-l14-50r` - NEMA L14-50R +// * `nema-l14-60r` - NEMA L14-60R +// * `nema-l15-20r` - NEMA L15-20R +// * `nema-l15-30r` - NEMA L15-30R +// * `nema-l15-50r` - NEMA L15-50R +// * `nema-l15-60r` - NEMA L15-60R +// * `nema-l21-20r` - NEMA L21-20R +// * `nema-l21-30r` - NEMA L21-30R +// * `nema-l22-30r` - NEMA L22-30R +// * `CS6360C` - CS6360C +// * `CS6364C` - CS6364C +// * `CS8164C` - CS8164C +// * `CS8264C` - CS8264C +// * `CS8364C` - CS8364C +// * `CS8464C` - CS8464C +// * `ita-e` - ITA Type E (CEE 7/5) +// * `ita-f` - ITA Type F (CEE 7/3) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `ita-multistandard` - ITA Multistandard +// * `usb-a` - USB Type A +// * `usb-micro-b` - USB Micro B +// * `usb-c` - USB Type C +// * `dc-terminal` - DC Terminal +// * `hdot-cx` - HDOT Cx +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20a` - Neutrik powerCON (20A) +// * `neutrik-powercon-32a` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type WritablePowerOutletRequestType string + +// WritablePowerOutletTemplateRequest 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 WritablePowerOutletTemplateRequest struct { + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type"` + + // FeedLeg Phase (for three-phase feeds) + // + // * `A` - A + // * `B` - B + // * `C` - C + FeedLeg *WritablePowerOutletTemplateRequestFeedLeg `json:"feed_leg,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *int `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + PowerPort *int `json:"power_port"` + + // Type * `iec-60320-c5` - C5 + // * `iec-60320-c7` - C7 + // * `iec-60320-c13` - C13 + // * `iec-60320-c15` - C15 + // * `iec-60320-c19` - C19 + // * `iec-60320-c21` - C21 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15r` - NEMA 1-15R + // * `nema-5-15r` - NEMA 5-15R + // * `nema-5-20r` - NEMA 5-20R + // * `nema-5-30r` - NEMA 5-30R + // * `nema-5-50r` - NEMA 5-50R + // * `nema-6-15r` - NEMA 6-15R + // * `nema-6-20r` - NEMA 6-20R + // * `nema-6-30r` - NEMA 6-30R + // * `nema-6-50r` - NEMA 6-50R + // * `nema-10-30r` - NEMA 10-30R + // * `nema-10-50r` - NEMA 10-50R + // * `nema-14-20r` - NEMA 14-20R + // * `nema-14-30r` - NEMA 14-30R + // * `nema-14-50r` - NEMA 14-50R + // * `nema-14-60r` - NEMA 14-60R + // * `nema-15-15r` - NEMA 15-15R + // * `nema-15-20r` - NEMA 15-20R + // * `nema-15-30r` - NEMA 15-30R + // * `nema-15-50r` - NEMA 15-50R + // * `nema-15-60r` - NEMA 15-60R + // * `nema-l1-15r` - NEMA L1-15R + // * `nema-l5-15r` - NEMA L5-15R + // * `nema-l5-20r` - NEMA L5-20R + // * `nema-l5-30r` - NEMA L5-30R + // * `nema-l5-50r` - NEMA L5-50R + // * `nema-l6-15r` - NEMA L6-15R + // * `nema-l6-20r` - NEMA L6-20R + // * `nema-l6-30r` - NEMA L6-30R + // * `nema-l6-50r` - NEMA L6-50R + // * `nema-l10-30r` - NEMA L10-30R + // * `nema-l14-20r` - NEMA L14-20R + // * `nema-l14-30r` - NEMA L14-30R + // * `nema-l14-50r` - NEMA L14-50R + // * `nema-l14-60r` - NEMA L14-60R + // * `nema-l15-20r` - NEMA L15-20R + // * `nema-l15-30r` - NEMA L15-30R + // * `nema-l15-50r` - NEMA L15-50R + // * `nema-l15-60r` - NEMA L15-60R + // * `nema-l21-20r` - NEMA L21-20R + // * `nema-l21-30r` - NEMA L21-30R + // * `nema-l22-30r` - NEMA L22-30R + // * `CS6360C` - CS6360C + // * `CS6364C` - CS6364C + // * `CS8164C` - CS8164C + // * `CS8264C` - CS8264C + // * `CS8364C` - CS8364C + // * `CS8464C` - CS8464C + // * `ita-e` - ITA Type E (CEE 7/5) + // * `ita-f` - ITA Type F (CEE 7/3) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `ita-multistandard` - ITA Multistandard + // * `usb-a` - USB Type A + // * `usb-micro-b` - USB Micro B + // * `usb-c` - USB Type C + // * `dc-terminal` - DC Terminal + // * `hdot-cx` - HDOT Cx + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20a` - Neutrik powerCON (20A) + // * `neutrik-powercon-32a` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Type *WritablePowerOutletTemplateRequestType `json:"type,omitempty"` +} + +// WritablePowerOutletTemplateRequestFeedLeg Phase (for three-phase feeds) +// +// * `A` - A +// * `B` - B +// * `C` - C +type WritablePowerOutletTemplateRequestFeedLeg string + +// WritablePowerOutletTemplateRequestType * `iec-60320-c5` - C5 +// * `iec-60320-c7` - C7 +// * `iec-60320-c13` - C13 +// * `iec-60320-c15` - C15 +// * `iec-60320-c19` - C19 +// * `iec-60320-c21` - C21 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15r` - NEMA 1-15R +// * `nema-5-15r` - NEMA 5-15R +// * `nema-5-20r` - NEMA 5-20R +// * `nema-5-30r` - NEMA 5-30R +// * `nema-5-50r` - NEMA 5-50R +// * `nema-6-15r` - NEMA 6-15R +// * `nema-6-20r` - NEMA 6-20R +// * `nema-6-30r` - NEMA 6-30R +// * `nema-6-50r` - NEMA 6-50R +// * `nema-10-30r` - NEMA 10-30R +// * `nema-10-50r` - NEMA 10-50R +// * `nema-14-20r` - NEMA 14-20R +// * `nema-14-30r` - NEMA 14-30R +// * `nema-14-50r` - NEMA 14-50R +// * `nema-14-60r` - NEMA 14-60R +// * `nema-15-15r` - NEMA 15-15R +// * `nema-15-20r` - NEMA 15-20R +// * `nema-15-30r` - NEMA 15-30R +// * `nema-15-50r` - NEMA 15-50R +// * `nema-15-60r` - NEMA 15-60R +// * `nema-l1-15r` - NEMA L1-15R +// * `nema-l5-15r` - NEMA L5-15R +// * `nema-l5-20r` - NEMA L5-20R +// * `nema-l5-30r` - NEMA L5-30R +// * `nema-l5-50r` - NEMA L5-50R +// * `nema-l6-15r` - NEMA L6-15R +// * `nema-l6-20r` - NEMA L6-20R +// * `nema-l6-30r` - NEMA L6-30R +// * `nema-l6-50r` - NEMA L6-50R +// * `nema-l10-30r` - NEMA L10-30R +// * `nema-l14-20r` - NEMA L14-20R +// * `nema-l14-30r` - NEMA L14-30R +// * `nema-l14-50r` - NEMA L14-50R +// * `nema-l14-60r` - NEMA L14-60R +// * `nema-l15-20r` - NEMA L15-20R +// * `nema-l15-30r` - NEMA L15-30R +// * `nema-l15-50r` - NEMA L15-50R +// * `nema-l15-60r` - NEMA L15-60R +// * `nema-l21-20r` - NEMA L21-20R +// * `nema-l21-30r` - NEMA L21-30R +// * `nema-l22-30r` - NEMA L22-30R +// * `CS6360C` - CS6360C +// * `CS6364C` - CS6364C +// * `CS8164C` - CS8164C +// * `CS8264C` - CS8264C +// * `CS8364C` - CS8364C +// * `CS8464C` - CS8464C +// * `ita-e` - ITA Type E (CEE 7/5) +// * `ita-f` - ITA Type F (CEE 7/3) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `ita-multistandard` - ITA Multistandard +// * `usb-a` - USB Type A +// * `usb-micro-b` - USB Micro B +// * `usb-c` - USB Type C +// * `dc-terminal` - DC Terminal +// * `hdot-cx` - HDOT Cx +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20a` - Neutrik powerCON (20A) +// * `neutrik-powercon-32a` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type WritablePowerOutletTemplateRequestType string + +// WritablePowerPanelRequest Adds support for custom fields and tags. +type WritablePowerPanelRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Location *int `json:"location"` + Name string `json:"name"` + Site int `json:"site"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritablePowerPortRequest Adds support for custom fields and tags. +type WritablePowerPortRequest struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device int `json:"device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + Module *int `json:"module"` + Name string `json:"name"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type Physical port type + // + // * `iec-60320-c6` - C6 + // * `iec-60320-c8` - C8 + // * `iec-60320-c14` - C14 + // * `iec-60320-c16` - C16 + // * `iec-60320-c20` - C20 + // * `iec-60320-c22` - C22 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15p` - NEMA 1-15P + // * `nema-5-15p` - NEMA 5-15P + // * `nema-5-20p` - NEMA 5-20P + // * `nema-5-30p` - NEMA 5-30P + // * `nema-5-50p` - NEMA 5-50P + // * `nema-6-15p` - NEMA 6-15P + // * `nema-6-20p` - NEMA 6-20P + // * `nema-6-30p` - NEMA 6-30P + // * `nema-6-50p` - NEMA 6-50P + // * `nema-10-30p` - NEMA 10-30P + // * `nema-10-50p` - NEMA 10-50P + // * `nema-14-20p` - NEMA 14-20P + // * `nema-14-30p` - NEMA 14-30P + // * `nema-14-50p` - NEMA 14-50P + // * `nema-14-60p` - NEMA 14-60P + // * `nema-15-15p` - NEMA 15-15P + // * `nema-15-20p` - NEMA 15-20P + // * `nema-15-30p` - NEMA 15-30P + // * `nema-15-50p` - NEMA 15-50P + // * `nema-15-60p` - NEMA 15-60P + // * `nema-l1-15p` - NEMA L1-15P + // * `nema-l5-15p` - NEMA L5-15P + // * `nema-l5-20p` - NEMA L5-20P + // * `nema-l5-30p` - NEMA L5-30P + // * `nema-l5-50p` - NEMA L5-50P + // * `nema-l6-15p` - NEMA L6-15P + // * `nema-l6-20p` - NEMA L6-20P + // * `nema-l6-30p` - NEMA L6-30P + // * `nema-l6-50p` - NEMA L6-50P + // * `nema-l10-30p` - NEMA L10-30P + // * `nema-l14-20p` - NEMA L14-20P + // * `nema-l14-30p` - NEMA L14-30P + // * `nema-l14-50p` - NEMA L14-50P + // * `nema-l14-60p` - NEMA L14-60P + // * `nema-l15-20p` - NEMA L15-20P + // * `nema-l15-30p` - NEMA L15-30P + // * `nema-l15-50p` - NEMA L15-50P + // * `nema-l15-60p` - NEMA L15-60P + // * `nema-l21-20p` - NEMA L21-20P + // * `nema-l21-30p` - NEMA L21-30P + // * `nema-l22-30p` - NEMA L22-30P + // * `cs6361c` - CS6361C + // * `cs6365c` - CS6365C + // * `cs8165c` - CS8165C + // * `cs8265c` - CS8265C + // * `cs8365c` - CS8365C + // * `cs8465c` - CS8465C + // * `ita-c` - ITA Type C (CEE 7/16) + // * `ita-e` - ITA Type E (CEE 7/6) + // * `ita-f` - ITA Type F (CEE 7/4) + // * `ita-ef` - ITA Type E/F (CEE 7/7) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `usb-3-b` - USB 3.0 Type B + // * `usb-3-micro-b` - USB 3.0 Micro B + // * `dc-terminal` - DC Terminal + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20` - Neutrik powerCON (20A) + // * `neutrik-powercon-32` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Type *WritablePowerPortRequestType `json:"type,omitempty"` +} + +// WritablePowerPortRequestType Physical port type +// +// * `iec-60320-c6` - C6 +// * `iec-60320-c8` - C8 +// * `iec-60320-c14` - C14 +// * `iec-60320-c16` - C16 +// * `iec-60320-c20` - C20 +// * `iec-60320-c22` - C22 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15p` - NEMA 1-15P +// * `nema-5-15p` - NEMA 5-15P +// * `nema-5-20p` - NEMA 5-20P +// * `nema-5-30p` - NEMA 5-30P +// * `nema-5-50p` - NEMA 5-50P +// * `nema-6-15p` - NEMA 6-15P +// * `nema-6-20p` - NEMA 6-20P +// * `nema-6-30p` - NEMA 6-30P +// * `nema-6-50p` - NEMA 6-50P +// * `nema-10-30p` - NEMA 10-30P +// * `nema-10-50p` - NEMA 10-50P +// * `nema-14-20p` - NEMA 14-20P +// * `nema-14-30p` - NEMA 14-30P +// * `nema-14-50p` - NEMA 14-50P +// * `nema-14-60p` - NEMA 14-60P +// * `nema-15-15p` - NEMA 15-15P +// * `nema-15-20p` - NEMA 15-20P +// * `nema-15-30p` - NEMA 15-30P +// * `nema-15-50p` - NEMA 15-50P +// * `nema-15-60p` - NEMA 15-60P +// * `nema-l1-15p` - NEMA L1-15P +// * `nema-l5-15p` - NEMA L5-15P +// * `nema-l5-20p` - NEMA L5-20P +// * `nema-l5-30p` - NEMA L5-30P +// * `nema-l5-50p` - NEMA L5-50P +// * `nema-l6-15p` - NEMA L6-15P +// * `nema-l6-20p` - NEMA L6-20P +// * `nema-l6-30p` - NEMA L6-30P +// * `nema-l6-50p` - NEMA L6-50P +// * `nema-l10-30p` - NEMA L10-30P +// * `nema-l14-20p` - NEMA L14-20P +// * `nema-l14-30p` - NEMA L14-30P +// * `nema-l14-50p` - NEMA L14-50P +// * `nema-l14-60p` - NEMA L14-60P +// * `nema-l15-20p` - NEMA L15-20P +// * `nema-l15-30p` - NEMA L15-30P +// * `nema-l15-50p` - NEMA L15-50P +// * `nema-l15-60p` - NEMA L15-60P +// * `nema-l21-20p` - NEMA L21-20P +// * `nema-l21-30p` - NEMA L21-30P +// * `nema-l22-30p` - NEMA L22-30P +// * `cs6361c` - CS6361C +// * `cs6365c` - CS6365C +// * `cs8165c` - CS8165C +// * `cs8265c` - CS8265C +// * `cs8365c` - CS8365C +// * `cs8465c` - CS8465C +// * `ita-c` - ITA Type C (CEE 7/16) +// * `ita-e` - ITA Type E (CEE 7/6) +// * `ita-f` - ITA Type F (CEE 7/4) +// * `ita-ef` - ITA Type E/F (CEE 7/7) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `usb-3-b` - USB 3.0 Type B +// * `usb-3-micro-b` - USB 3.0 Micro B +// * `dc-terminal` - DC Terminal +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20` - Neutrik powerCON (20A) +// * `neutrik-powercon-32` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type WritablePowerPortRequestType string + +// WritablePowerPortTemplateRequest 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 WritablePowerPortTemplateRequest struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + ModuleType *int `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + + // Type * `iec-60320-c6` - C6 + // * `iec-60320-c8` - C8 + // * `iec-60320-c14` - C14 + // * `iec-60320-c16` - C16 + // * `iec-60320-c20` - C20 + // * `iec-60320-c22` - C22 + // * `iec-60309-p-n-e-4h` - P+N+E 4H + // * `iec-60309-p-n-e-6h` - P+N+E 6H + // * `iec-60309-p-n-e-9h` - P+N+E 9H + // * `iec-60309-2p-e-4h` - 2P+E 4H + // * `iec-60309-2p-e-6h` - 2P+E 6H + // * `iec-60309-2p-e-9h` - 2P+E 9H + // * `iec-60309-3p-e-4h` - 3P+E 4H + // * `iec-60309-3p-e-6h` - 3P+E 6H + // * `iec-60309-3p-e-9h` - 3P+E 9H + // * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + // * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + // * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + // * `iec-60906-1` - IEC 60906-1 + // * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + // * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + // * `nema-1-15p` - NEMA 1-15P + // * `nema-5-15p` - NEMA 5-15P + // * `nema-5-20p` - NEMA 5-20P + // * `nema-5-30p` - NEMA 5-30P + // * `nema-5-50p` - NEMA 5-50P + // * `nema-6-15p` - NEMA 6-15P + // * `nema-6-20p` - NEMA 6-20P + // * `nema-6-30p` - NEMA 6-30P + // * `nema-6-50p` - NEMA 6-50P + // * `nema-10-30p` - NEMA 10-30P + // * `nema-10-50p` - NEMA 10-50P + // * `nema-14-20p` - NEMA 14-20P + // * `nema-14-30p` - NEMA 14-30P + // * `nema-14-50p` - NEMA 14-50P + // * `nema-14-60p` - NEMA 14-60P + // * `nema-15-15p` - NEMA 15-15P + // * `nema-15-20p` - NEMA 15-20P + // * `nema-15-30p` - NEMA 15-30P + // * `nema-15-50p` - NEMA 15-50P + // * `nema-15-60p` - NEMA 15-60P + // * `nema-l1-15p` - NEMA L1-15P + // * `nema-l5-15p` - NEMA L5-15P + // * `nema-l5-20p` - NEMA L5-20P + // * `nema-l5-30p` - NEMA L5-30P + // * `nema-l5-50p` - NEMA L5-50P + // * `nema-l6-15p` - NEMA L6-15P + // * `nema-l6-20p` - NEMA L6-20P + // * `nema-l6-30p` - NEMA L6-30P + // * `nema-l6-50p` - NEMA L6-50P + // * `nema-l10-30p` - NEMA L10-30P + // * `nema-l14-20p` - NEMA L14-20P + // * `nema-l14-30p` - NEMA L14-30P + // * `nema-l14-50p` - NEMA L14-50P + // * `nema-l14-60p` - NEMA L14-60P + // * `nema-l15-20p` - NEMA L15-20P + // * `nema-l15-30p` - NEMA L15-30P + // * `nema-l15-50p` - NEMA L15-50P + // * `nema-l15-60p` - NEMA L15-60P + // * `nema-l21-20p` - NEMA L21-20P + // * `nema-l21-30p` - NEMA L21-30P + // * `nema-l22-30p` - NEMA L22-30P + // * `cs6361c` - CS6361C + // * `cs6365c` - CS6365C + // * `cs8165c` - CS8165C + // * `cs8265c` - CS8265C + // * `cs8365c` - CS8365C + // * `cs8465c` - CS8465C + // * `ita-c` - ITA Type C (CEE 7/16) + // * `ita-e` - ITA Type E (CEE 7/6) + // * `ita-f` - ITA Type F (CEE 7/4) + // * `ita-ef` - ITA Type E/F (CEE 7/7) + // * `ita-g` - ITA Type G (BS 1363) + // * `ita-h` - ITA Type H + // * `ita-i` - ITA Type I + // * `ita-j` - ITA Type J + // * `ita-k` - ITA Type K + // * `ita-l` - ITA Type L (CEI 23-50) + // * `ita-m` - ITA Type M (BS 546) + // * `ita-n` - ITA Type N + // * `ita-o` - ITA Type O + // * `usb-a` - USB Type A + // * `usb-b` - USB Type B + // * `usb-c` - USB Type C + // * `usb-mini-a` - USB Mini A + // * `usb-mini-b` - USB Mini B + // * `usb-micro-a` - USB Micro A + // * `usb-micro-b` - USB Micro B + // * `usb-micro-ab` - USB Micro AB + // * `usb-3-b` - USB 3.0 Type B + // * `usb-3-micro-b` - USB 3.0 Micro B + // * `dc-terminal` - DC Terminal + // * `saf-d-grid` - Saf-D-Grid + // * `neutrik-powercon-20` - Neutrik powerCON (20A) + // * `neutrik-powercon-32` - Neutrik powerCON (32A) + // * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + // * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + // * `ubiquiti-smartpower` - Ubiquiti SmartPower + // * `hardwired` - Hardwired + // * `other` - Other + Type *WritablePowerPortTemplateRequestType `json:"type,omitempty"` +} + +// WritablePowerPortTemplateRequestType * `iec-60320-c6` - C6 +// * `iec-60320-c8` - C8 +// * `iec-60320-c14` - C14 +// * `iec-60320-c16` - C16 +// * `iec-60320-c20` - C20 +// * `iec-60320-c22` - C22 +// * `iec-60309-p-n-e-4h` - P+N+E 4H +// * `iec-60309-p-n-e-6h` - P+N+E 6H +// * `iec-60309-p-n-e-9h` - P+N+E 9H +// * `iec-60309-2p-e-4h` - 2P+E 4H +// * `iec-60309-2p-e-6h` - 2P+E 6H +// * `iec-60309-2p-e-9h` - 2P+E 9H +// * `iec-60309-3p-e-4h` - 3P+E 4H +// * `iec-60309-3p-e-6h` - 3P+E 6H +// * `iec-60309-3p-e-9h` - 3P+E 9H +// * `iec-60309-3p-n-e-4h` - 3P+N+E 4H +// * `iec-60309-3p-n-e-6h` - 3P+N+E 6H +// * `iec-60309-3p-n-e-9h` - 3P+N+E 9H +// * `iec-60906-1` - IEC 60906-1 +// * `nbr-14136-10a` - 2P+T 10A (NBR 14136) +// * `nbr-14136-20a` - 2P+T 20A (NBR 14136) +// * `nema-1-15p` - NEMA 1-15P +// * `nema-5-15p` - NEMA 5-15P +// * `nema-5-20p` - NEMA 5-20P +// * `nema-5-30p` - NEMA 5-30P +// * `nema-5-50p` - NEMA 5-50P +// * `nema-6-15p` - NEMA 6-15P +// * `nema-6-20p` - NEMA 6-20P +// * `nema-6-30p` - NEMA 6-30P +// * `nema-6-50p` - NEMA 6-50P +// * `nema-10-30p` - NEMA 10-30P +// * `nema-10-50p` - NEMA 10-50P +// * `nema-14-20p` - NEMA 14-20P +// * `nema-14-30p` - NEMA 14-30P +// * `nema-14-50p` - NEMA 14-50P +// * `nema-14-60p` - NEMA 14-60P +// * `nema-15-15p` - NEMA 15-15P +// * `nema-15-20p` - NEMA 15-20P +// * `nema-15-30p` - NEMA 15-30P +// * `nema-15-50p` - NEMA 15-50P +// * `nema-15-60p` - NEMA 15-60P +// * `nema-l1-15p` - NEMA L1-15P +// * `nema-l5-15p` - NEMA L5-15P +// * `nema-l5-20p` - NEMA L5-20P +// * `nema-l5-30p` - NEMA L5-30P +// * `nema-l5-50p` - NEMA L5-50P +// * `nema-l6-15p` - NEMA L6-15P +// * `nema-l6-20p` - NEMA L6-20P +// * `nema-l6-30p` - NEMA L6-30P +// * `nema-l6-50p` - NEMA L6-50P +// * `nema-l10-30p` - NEMA L10-30P +// * `nema-l14-20p` - NEMA L14-20P +// * `nema-l14-30p` - NEMA L14-30P +// * `nema-l14-50p` - NEMA L14-50P +// * `nema-l14-60p` - NEMA L14-60P +// * `nema-l15-20p` - NEMA L15-20P +// * `nema-l15-30p` - NEMA L15-30P +// * `nema-l15-50p` - NEMA L15-50P +// * `nema-l15-60p` - NEMA L15-60P +// * `nema-l21-20p` - NEMA L21-20P +// * `nema-l21-30p` - NEMA L21-30P +// * `nema-l22-30p` - NEMA L22-30P +// * `cs6361c` - CS6361C +// * `cs6365c` - CS6365C +// * `cs8165c` - CS8165C +// * `cs8265c` - CS8265C +// * `cs8365c` - CS8365C +// * `cs8465c` - CS8465C +// * `ita-c` - ITA Type C (CEE 7/16) +// * `ita-e` - ITA Type E (CEE 7/6) +// * `ita-f` - ITA Type F (CEE 7/4) +// * `ita-ef` - ITA Type E/F (CEE 7/7) +// * `ita-g` - ITA Type G (BS 1363) +// * `ita-h` - ITA Type H +// * `ita-i` - ITA Type I +// * `ita-j` - ITA Type J +// * `ita-k` - ITA Type K +// * `ita-l` - ITA Type L (CEI 23-50) +// * `ita-m` - ITA Type M (BS 546) +// * `ita-n` - ITA Type N +// * `ita-o` - ITA Type O +// * `usb-a` - USB Type A +// * `usb-b` - USB Type B +// * `usb-c` - USB Type C +// * `usb-mini-a` - USB Mini A +// * `usb-mini-b` - USB Mini B +// * `usb-micro-a` - USB Micro A +// * `usb-micro-b` - USB Micro B +// * `usb-micro-ab` - USB Micro AB +// * `usb-3-b` - USB 3.0 Type B +// * `usb-3-micro-b` - USB 3.0 Micro B +// * `dc-terminal` - DC Terminal +// * `saf-d-grid` - Saf-D-Grid +// * `neutrik-powercon-20` - Neutrik powerCON (20A) +// * `neutrik-powercon-32` - Neutrik powerCON (32A) +// * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 +// * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP +// * `ubiquiti-smartpower` - Ubiquiti SmartPower +// * `hardwired` - Hardwired +// * `other` - Other +type WritablePowerPortTemplateRequestType string + +// WritablePrefixRequest Adds support for custom fields and tags. +type WritablePrefixRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IsPool All IP addresses within this prefix are considered usable + IsPool *bool `json:"is_pool,omitempty"` + + // MarkUtilized Treat as 100% utilized + MarkUtilized *bool `json:"mark_utilized,omitempty"` + Prefix string `json:"prefix"` + + // Role The primary function of this prefix + Role *int `json:"role"` + Site *int `json:"site"` + + // Status Operational status of this prefix + // + // * `container` - Container + // * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Status *WritablePrefixRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + Vlan *int `json:"vlan"` + Vrf *int `json:"vrf"` +} + +// WritablePrefixRequestStatus Operational status of this prefix +// +// * `container` - Container +// * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +type WritablePrefixRequestStatus string + +// WritableProviderAccountRequest Adds support for custom fields and tags. +type WritableProviderAccountRequest struct { + Account string `json:"account"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Provider int `json:"provider"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableProviderNetworkRequest Adds support for custom fields and tags. +type WritableProviderNetworkRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Provider int `json:"provider"` + ServiceId *string `json:"service_id,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableProviderRequest Adds support for custom fields and tags. +type WritableProviderRequest struct { + Accounts []int `json:"accounts"` + Asns *[]int `json:"asns,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Full name of the provider + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableRackRequest Adds support for custom fields and tags. +type WritableRackRequest struct { + // AssetTag A unique tag used to identify this rack + AssetTag *string `json:"asset_tag"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DescUnits Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + Description *string `json:"description,omitempty"` + FacilityId *string `json:"facility_id"` + Location *int `json:"location"` + + // MaxWeight Maximum load capacity for the rack + MaxWeight *int `json:"max_weight"` + + // MountingDepth Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. + MountingDepth *int `json:"mounting_depth"` + Name string `json:"name"` + + // OuterDepth Outer dimension of rack (depth) + OuterDepth *int `json:"outer_depth"` + + // OuterUnit * `mm` - Millimeters + // * `in` - Inches + OuterUnit *WritableRackRequestOuterUnit `json:"outer_unit,omitempty"` + + // OuterWidth Outer dimension of rack (width) + OuterWidth *int `json:"outer_width"` + + // Role Functional role + Role *int `json:"role"` + Serial *string `json:"serial,omitempty"` + Site int `json:"site"` + + // StartingUnit Starting unit for rack + StartingUnit *int `json:"starting_unit,omitempty"` + + // Status * `reserved` - Reserved + // * `available` - Available + // * `planned` - Planned + // * `active` - Active + // * `deprecated` - Deprecated + Status *WritableRackRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + + // Type * `2-post-frame` - 2-post frame + // * `4-post-frame` - 4-post frame + // * `4-post-cabinet` - 4-post cabinet + // * `wall-frame` - Wall-mounted frame + // * `wall-frame-vertical` - Wall-mounted frame (vertical) + // * `wall-cabinet` - Wall-mounted cabinet + // * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) + Type *WritableRackRequestType `json:"type,omitempty"` + + // UHeight Height in rack units + UHeight *int `json:"u_height,omitempty"` + Weight *float64 `json:"weight"` + + // WeightUnit * `kg` - Kilograms + // * `g` - Grams + // * `lb` - Pounds + // * `oz` - Ounces + WeightUnit *WritableRackRequestWeightUnit `json:"weight_unit,omitempty"` + + // Width Rail-to-rail width + // + // * `10` - 10 inches + // * `19` - 19 inches + // * `21` - 21 inches + // * `23` - 23 inches + Width *WritableRackRequestWidth `json:"width,omitempty"` +} + +// WritableRackRequestOuterUnit * `mm` - Millimeters +// * `in` - Inches +type WritableRackRequestOuterUnit string + +// WritableRackRequestStatus * `reserved` - Reserved +// * `available` - Available +// * `planned` - Planned +// * `active` - Active +// * `deprecated` - Deprecated +type WritableRackRequestStatus string + +// WritableRackRequestType * `2-post-frame` - 2-post frame +// * `4-post-frame` - 4-post frame +// * `4-post-cabinet` - 4-post cabinet +// * `wall-frame` - Wall-mounted frame +// * `wall-frame-vertical` - Wall-mounted frame (vertical) +// * `wall-cabinet` - Wall-mounted cabinet +// * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +type WritableRackRequestType string + +// WritableRackRequestWeightUnit * `kg` - Kilograms +// * `g` - Grams +// * `lb` - Pounds +// * `oz` - Ounces +type WritableRackRequestWeightUnit string + +// WritableRackRequestWidth Rail-to-rail width +// +// * `10` - 10 inches +// * `19` - 19 inches +// * `21` - 21 inches +// * `23` - 23 inches +type WritableRackRequestWidth int + +// WritableRackReservationRequest Adds support for custom fields and tags. +type WritableRackReservationRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description string `json:"description"` + Rack int `json:"rack"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + Units []int `json:"units"` + User int `json:"user"` +} + +// WritableRearPortRequest Adds support for custom fields and tags. +type WritableRearPortRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device int `json:"device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MarkConnected Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Module *int `json:"module"` + Name string `json:"name"` + + // Positions Number of front ports which may be mapped + Positions *int `json:"positions,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + + // Type * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Type WritableRearPortRequestType `json:"type"` +} + +// WritableRearPortRequestType * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type WritableRearPortRequestType string + +// WritableRearPortTemplateRequest 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 WritableRearPortTemplateRequest struct { + Color *string `json:"color,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *int `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + ModuleType *int `json:"module_type"` + + // Name {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Positions *int `json:"positions,omitempty"` + + // Type * `8p8c` - 8P8C + // * `8p6c` - 8P6C + // * `8p4c` - 8P4C + // * `8p2c` - 8P2C + // * `6p6c` - 6P6C + // * `6p4c` - 6P4C + // * `6p2c` - 6P2C + // * `4p4c` - 4P4C + // * `4p2c` - 4P2C + // * `gg45` - GG45 + // * `tera-4p` - TERA 4P + // * `tera-2p` - TERA 2P + // * `tera-1p` - TERA 1P + // * `110-punch` - 110 Punch + // * `bnc` - BNC + // * `f` - F Connector + // * `n` - N Connector + // * `mrj21` - MRJ21 + // * `fc` - FC + // * `lc` - LC + // * `lc-pc` - LC/PC + // * `lc-upc` - LC/UPC + // * `lc-apc` - LC/APC + // * `lsh` - LSH + // * `lsh-pc` - LSH/PC + // * `lsh-upc` - LSH/UPC + // * `lsh-apc` - LSH/APC + // * `lx5` - LX.5 + // * `lx5-pc` - LX.5/PC + // * `lx5-upc` - LX.5/UPC + // * `lx5-apc` - LX.5/APC + // * `mpo` - MPO + // * `mtrj` - MTRJ + // * `sc` - SC + // * `sc-pc` - SC/PC + // * `sc-upc` - SC/UPC + // * `sc-apc` - SC/APC + // * `st` - ST + // * `cs` - CS + // * `sn` - SN + // * `sma-905` - SMA 905 + // * `sma-906` - SMA 906 + // * `urm-p2` - URM-P2 + // * `urm-p4` - URM-P4 + // * `urm-p8` - URM-P8 + // * `splice` - Splice + // * `other` - Other + Type WritableRearPortTemplateRequestType `json:"type"` +} + +// WritableRearPortTemplateRequestType * `8p8c` - 8P8C +// * `8p6c` - 8P6C +// * `8p4c` - 8P4C +// * `8p2c` - 8P2C +// * `6p6c` - 6P6C +// * `6p4c` - 6P4C +// * `6p2c` - 6P2C +// * `4p4c` - 4P4C +// * `4p2c` - 4P2C +// * `gg45` - GG45 +// * `tera-4p` - TERA 4P +// * `tera-2p` - TERA 2P +// * `tera-1p` - TERA 1P +// * `110-punch` - 110 Punch +// * `bnc` - BNC +// * `f` - F Connector +// * `n` - N Connector +// * `mrj21` - MRJ21 +// * `fc` - FC +// * `lc` - LC +// * `lc-pc` - LC/PC +// * `lc-upc` - LC/UPC +// * `lc-apc` - LC/APC +// * `lsh` - LSH +// * `lsh-pc` - LSH/PC +// * `lsh-upc` - LSH/UPC +// * `lsh-apc` - LSH/APC +// * `lx5` - LX.5 +// * `lx5-pc` - LX.5/PC +// * `lx5-upc` - LX.5/UPC +// * `lx5-apc` - LX.5/APC +// * `mpo` - MPO +// * `mtrj` - MTRJ +// * `sc` - SC +// * `sc-pc` - SC/PC +// * `sc-upc` - SC/UPC +// * `sc-apc` - SC/APC +// * `st` - ST +// * `cs` - CS +// * `sn` - SN +// * `sma-905` - SMA 905 +// * `sma-906` - SMA 906 +// * `urm-p2` - URM-P2 +// * `urm-p4` - URM-P4 +// * `urm-p8` - URM-P8 +// * `splice` - Splice +// * `other` - Other +type WritableRearPortTemplateRequestType string + +// WritableRegionRequest Extends PrimaryModelSerializer to include MPTT support. +type WritableRegionRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parent *int `json:"parent"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableRouteTargetRequest Adds support for custom fields and tags. +type WritableRouteTargetRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Route target value (formatted in accordance with RFC 4360) + Name string `json:"name"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// WritableServiceRequest Adds support for custom fields and tags. +type WritableServiceRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device"` + + // Ipaddresses The specific IP addresses (if any) to which this service is bound + Ipaddresses *[]int `json:"ipaddresses,omitempty"` + Name string `json:"name"` + Ports []int `json:"ports"` + + // Protocol * `tcp` - TCP + // * `udp` - UDP + // * `sctp` - SCTP + Protocol WritableServiceRequestProtocol `json:"protocol"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + VirtualMachine *int `json:"virtual_machine"` +} + +// WritableServiceRequestProtocol * `tcp` - TCP +// * `udp` - UDP +// * `sctp` - SCTP +type WritableServiceRequestProtocol string + +// WritableServiceTemplateRequest Adds support for custom fields and tags. +type WritableServiceTemplateRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Ports []int `json:"ports"` + + // Protocol * `tcp` - TCP + // * `udp` - UDP + // * `sctp` - SCTP + Protocol WritableServiceTemplateRequestProtocol `json:"protocol"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableServiceTemplateRequestProtocol * `tcp` - TCP +// * `udp` - UDP +// * `sctp` - SCTP +type WritableServiceTemplateRequestProtocol string + +// WritableSiteGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type WritableSiteGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parent *int `json:"parent"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableSiteRequest Adds support for custom fields and tags. +type WritableSiteRequest struct { + Asns *[]int `json:"asns,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Facility Local facility ID or description + Facility *string `json:"facility,omitempty"` + Group *int `json:"group"` + + // Latitude GPS coordinate in decimal format (xx.yyyyyy) + Latitude *float64 `json:"latitude"` + + // Longitude GPS coordinate in decimal format (xx.yyyyyy) + Longitude *float64 `json:"longitude"` + + // Name Full name of the site + Name string `json:"name"` + + // PhysicalAddress Physical location of the building + PhysicalAddress *string `json:"physical_address,omitempty"` + Region *int `json:"region"` + + // ShippingAddress If different from the physical address + ShippingAddress *string `json:"shipping_address,omitempty"` + Slug string `json:"slug"` + + // Status * `planned` - Planned + // * `staging` - Staging + // * `active` - Active + // * `decommissioning` - Decommissioning + // * `retired` - Retired + Status *WritableSiteRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + TimeZone *string `json:"time_zone"` +} + +// WritableSiteRequestStatus * `planned` - Planned +// * `staging` - Staging +// * `active` - Active +// * `decommissioning` - Decommissioning +// * `retired` - Retired +type WritableSiteRequestStatus string + +// WritableTenantGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type WritableTenantGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parent *int `json:"parent"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableTenantRequest Adds support for custom fields and tags. +type WritableTenantRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *int `json:"group"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableTokenRequest 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 WritableTokenRequest struct { + Description *string `json:"description,omitempty"` + Expires *time.Time `json:"expires"` + Key *string `json:"key,omitempty"` + LastUsed *time.Time `json:"last_used"` + User int `json:"user"` + + // WriteEnabled Permit create/update/delete operations using this key + WriteEnabled *bool `json:"write_enabled,omitempty"` +} + +// WritableUserRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type WritableUserRequest struct { + DateJoined *time.Time `json:"date_joined,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + FirstName *string `json:"first_name,omitempty"` + + // Groups The groups this user belongs to. A user will get all permissions granted to each of their groups. + Groups *[]int `json:"groups,omitempty"` + + // IsActive Designates whether this user should be treated as active. Unselect this instead of deleting accounts. + IsActive *bool `json:"is_active,omitempty"` + + // IsStaff Designates whether the user can log into this admin site. + IsStaff *bool `json:"is_staff,omitempty"` + LastName *string `json:"last_name,omitempty"` + Password *string `json:"password,omitempty"` + + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + Username string `json:"username"` +} + +// WritableVLANRequest Adds support for custom fields and tags. +type WritableVLANRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Group VLAN group (optional) + Group *int `json:"group"` + Name string `json:"name"` + + // Role The primary function of this VLAN + Role *int `json:"role"` + + // Site The specific site to which this VLAN is assigned (if any) + Site *int `json:"site"` + + // Status Operational status of this VLAN + // + // * `active` - Active + // * `reserved` - Reserved + // * `deprecated` - Deprecated + Status *WritableVLANRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + + // Vid Numeric VLAN ID (1-4094) + Vid int `json:"vid"` +} + +// WritableVLANRequestStatus Operational status of this VLAN +// +// * `active` - Active +// * `reserved` - Reserved +// * `deprecated` - Deprecated +type WritableVLANRequestStatus string + +// WritableVMInterfaceRequest Adds support for custom fields and tags. +type WritableVMInterfaceRequest struct { + Bridge *int `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + MacAddress *string `json:"mac_address"` + + // Mode IEEE 802.1Q tagging strategy + // + // * `access` - Access + // * `tagged` - Tagged + // * `tagged-all` - Tagged (All) + Mode *WritableVMInterfaceRequestMode `json:"mode,omitempty"` + Mtu *int `json:"mtu"` + Name string `json:"name"` + Parent *int `json:"parent"` + TaggedVlans *[]int `json:"tagged_vlans,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + UntaggedVlan *int `json:"untagged_vlan"` + VirtualMachine int `json:"virtual_machine"` + Vrf *int `json:"vrf"` +} + +// WritableVMInterfaceRequestMode IEEE 802.1Q tagging strategy +// +// * `access` - Access +// * `tagged` - Tagged +// * `tagged-all` - Tagged (All) +type WritableVMInterfaceRequestMode string + +// WritableVRFRequest Adds support for custom fields and tags. +type WritableVRFRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // EnforceUnique Prevent duplicate prefixes/IP addresses within this VRF + EnforceUnique *bool `json:"enforce_unique,omitempty"` + ExportTargets *[]int `json:"export_targets,omitempty"` + ImportTargets *[]int `json:"import_targets,omitempty"` + Name string `json:"name"` + + // Rd Unique route distinguisher (as defined in RFC 4364) + Rd *string `json:"rd"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// WritableVirtualChassisRequest Adds support for custom fields and tags. +type WritableVirtualChassisRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Domain *string `json:"domain,omitempty"` + Master *int `json:"master"` + Name string `json:"name"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableVirtualDeviceContextRequest Adds support for custom fields and tags. +type WritableVirtualDeviceContextRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device"` + + // Identifier Numeric identifier unique to the parent device + Identifier *int `json:"identifier"` + Name string `json:"name"` + PrimaryIp4 *int `json:"primary_ip4"` + PrimaryIp6 *int `json:"primary_ip6"` + + // Status * `active` - Active + // * `planned` - Planned + // * `offline` - Offline + Status WritableVirtualDeviceContextRequestStatus `json:"status"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// WritableVirtualDeviceContextRequestStatus * `active` - Active +// * `planned` - Planned +// * `offline` - Offline +type WritableVirtualDeviceContextRequestStatus string + +// WritableVirtualMachineWithConfigContextRequest Adds support for custom fields and tags. +type WritableVirtualMachineWithConfigContextRequest struct { + Cluster *int `json:"cluster"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *int `json:"device"` + Disk *int `json:"disk"` + + // LocalContextData Local config context data takes precedence over source contexts in the final rendered config context + LocalContextData *map[string]interface{} `json:"local_context_data"` + Memory *int `json:"memory"` + Name string `json:"name"` + Platform *int `json:"platform"` + PrimaryIp4 *int `json:"primary_ip4"` + PrimaryIp6 *int `json:"primary_ip6"` + Role *int `json:"role"` + Site *int `json:"site"` + + // Status * `offline` - Offline + // * `active` - Active + // * `planned` - Planned + // * `staged` - Staged + // * `failed` - Failed + // * `decommissioning` - Decommissioning + Status *WritableVirtualMachineWithConfigContextRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + Vcpus *float64 `json:"vcpus"` +} + +// WritableVirtualMachineWithConfigContextRequestStatus * `offline` - Offline +// * `active` - Active +// * `planned` - Planned +// * `staged` - Staged +// * `failed` - Failed +// * `decommissioning` - Decommissioning +type WritableVirtualMachineWithConfigContextRequestStatus string + +// WritableWirelessLANGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type WritableWirelessLANGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parent *int `json:"parent"` + Slug string `json:"slug"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` +} + +// WritableWirelessLANRequest Adds support for custom fields and tags. +type WritableWirelessLANRequest struct { + // AuthCipher * `auto` - Auto + // * `tkip` - TKIP + // * `aes` - AES + AuthCipher *WritableWirelessLANRequestAuthCipher `json:"auth_cipher,omitempty"` + AuthPsk *string `json:"auth_psk,omitempty"` + + // AuthType * `open` - Open + // * `wep` - WEP + // * `wpa-personal` - WPA Personal (PSK) + // * `wpa-enterprise` - WPA Enterprise + AuthType *WritableWirelessLANRequestAuthType `json:"auth_type,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *int `json:"group"` + Ssid string `json:"ssid"` + + // Status * `active` - Active + // * `reserved` - Reserved + // * `disabled` - Disabled + // * `deprecated` - Deprecated + Status *WritableWirelessLANRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` + Vlan *int `json:"vlan"` +} + +// WritableWirelessLANRequestAuthCipher * `auto` - Auto +// * `tkip` - TKIP +// * `aes` - AES +type WritableWirelessLANRequestAuthCipher string + +// WritableWirelessLANRequestAuthType * `open` - Open +// * `wep` - WEP +// * `wpa-personal` - WPA Personal (PSK) +// * `wpa-enterprise` - WPA Enterprise +type WritableWirelessLANRequestAuthType string + +// WritableWirelessLANRequestStatus * `active` - Active +// * `reserved` - Reserved +// * `disabled` - Disabled +// * `deprecated` - Deprecated +type WritableWirelessLANRequestStatus string + +// WritableWirelessLinkRequest Adds support for custom fields and tags. +type WritableWirelessLinkRequest struct { + // AuthCipher * `auto` - Auto + // * `tkip` - TKIP + // * `aes` - AES + AuthCipher *WritableWirelessLinkRequestAuthCipher `json:"auth_cipher,omitempty"` + AuthPsk *string `json:"auth_psk,omitempty"` + + // AuthType * `open` - Open + // * `wep` - WEP + // * `wpa-personal` - WPA Personal (PSK) + // * `wpa-enterprise` - WPA Enterprise + AuthType *WritableWirelessLinkRequestAuthType `json:"auth_type,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + InterfaceA int `json:"interface_a"` + InterfaceB int `json:"interface_b"` + Ssid *string `json:"ssid,omitempty"` + + // Status * `connected` - Connected + // * `planned` - Planned + // * `decommissioning` - Decommissioning + Status *WritableWirelessLinkRequestStatus `json:"status,omitempty"` + Tags *[]NestedTagRequest `json:"tags,omitempty"` + Tenant *int `json:"tenant"` +} + +// WritableWirelessLinkRequestAuthCipher * `auto` - Auto +// * `tkip` - TKIP +// * `aes` - AES +type WritableWirelessLinkRequestAuthCipher string + +// WritableWirelessLinkRequestAuthType * `open` - Open +// * `wep` - WEP +// * `wpa-personal` - WPA Personal (PSK) +// * `wpa-enterprise` - WPA Enterprise +type WritableWirelessLinkRequestAuthType string + +// WritableWirelessLinkRequestStatus * `connected` - Connected +// * `planned` - Planned +// * `decommissioning` - Decommissioning +type WritableWirelessLinkRequestStatus string + +// CircuitsCircuitTerminationsBulkDestroyJSONBody defines parameters for CircuitsCircuitTerminationsBulkDestroy. +type CircuitsCircuitTerminationsBulkDestroyJSONBody = []CircuitTerminationRequest + +// CircuitsCircuitTerminationsBulkDestroyMultipartBody defines parameters for CircuitsCircuitTerminationsBulkDestroy. +type CircuitsCircuitTerminationsBulkDestroyMultipartBody = []CircuitTerminationRequest + +// CircuitsCircuitTerminationsListParams defines parameters for CircuitsCircuitTerminationsList. +type CircuitsCircuitTerminationsListParams struct { + CableEnd *string `form:"cable_end,omitempty" json:"cable_end,omitempty"` + CableEndN *string `form:"cable_end__n,omitempty" json:"cable_end__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` + + // CircuitId Circuit + CircuitId *[]int `form:"circuit_id,omitempty" json:"circuit_id,omitempty"` + + // CircuitIdN Circuit + CircuitIdN *[]int `form:"circuit_id__n,omitempty" json:"circuit_id__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Occupied *bool `form:"occupied,omitempty" json:"occupied,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + PortSpeed *[]int32 `form:"port_speed,omitempty" json:"port_speed,omitempty"` + PortSpeedEmpty *bool `form:"port_speed__empty,omitempty" json:"port_speed__empty,omitempty"` + PortSpeedGt *[]int32 `form:"port_speed__gt,omitempty" json:"port_speed__gt,omitempty"` + PortSpeedGte *[]int32 `form:"port_speed__gte,omitempty" json:"port_speed__gte,omitempty"` + PortSpeedLt *[]int32 `form:"port_speed__lt,omitempty" json:"port_speed__lt,omitempty"` + PortSpeedLte *[]int32 `form:"port_speed__lte,omitempty" json:"port_speed__lte,omitempty"` + PortSpeedN *[]int32 `form:"port_speed__n,omitempty" json:"port_speed__n,omitempty"` + + // ProviderNetworkId ProviderNetwork (ID) + ProviderNetworkId *[]int `form:"provider_network_id,omitempty" json:"provider_network_id,omitempty"` + + // ProviderNetworkIdN ProviderNetwork (ID) + ProviderNetworkIdN *[]int `form:"provider_network_id__n,omitempty" json:"provider_network_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + TermSide *string `form:"term_side,omitempty" json:"term_side,omitempty"` + TermSideN *string `form:"term_side__n,omitempty" json:"term_side__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + UpstreamSpeed *[]int32 `form:"upstream_speed,omitempty" json:"upstream_speed,omitempty"` + UpstreamSpeedEmpty *bool `form:"upstream_speed__empty,omitempty" json:"upstream_speed__empty,omitempty"` + UpstreamSpeedGt *[]int32 `form:"upstream_speed__gt,omitempty" json:"upstream_speed__gt,omitempty"` + UpstreamSpeedGte *[]int32 `form:"upstream_speed__gte,omitempty" json:"upstream_speed__gte,omitempty"` + UpstreamSpeedLt *[]int32 `form:"upstream_speed__lt,omitempty" json:"upstream_speed__lt,omitempty"` + UpstreamSpeedLte *[]int32 `form:"upstream_speed__lte,omitempty" json:"upstream_speed__lte,omitempty"` + UpstreamSpeedN *[]int32 `form:"upstream_speed__n,omitempty" json:"upstream_speed__n,omitempty"` + XconnectId *[]string `form:"xconnect_id,omitempty" json:"xconnect_id,omitempty"` + XconnectIdEmpty *bool `form:"xconnect_id__empty,omitempty" json:"xconnect_id__empty,omitempty"` + XconnectIdIc *[]string `form:"xconnect_id__ic,omitempty" json:"xconnect_id__ic,omitempty"` + XconnectIdIe *[]string `form:"xconnect_id__ie,omitempty" json:"xconnect_id__ie,omitempty"` + XconnectIdIew *[]string `form:"xconnect_id__iew,omitempty" json:"xconnect_id__iew,omitempty"` + XconnectIdIsw *[]string `form:"xconnect_id__isw,omitempty" json:"xconnect_id__isw,omitempty"` + XconnectIdN *[]string `form:"xconnect_id__n,omitempty" json:"xconnect_id__n,omitempty"` + XconnectIdNic *[]string `form:"xconnect_id__nic,omitempty" json:"xconnect_id__nic,omitempty"` + XconnectIdNie *[]string `form:"xconnect_id__nie,omitempty" json:"xconnect_id__nie,omitempty"` + XconnectIdNiew *[]string `form:"xconnect_id__niew,omitempty" json:"xconnect_id__niew,omitempty"` + XconnectIdNisw *[]string `form:"xconnect_id__nisw,omitempty" json:"xconnect_id__nisw,omitempty"` +} + +// CircuitsCircuitTerminationsBulkPartialUpdateJSONBody defines parameters for CircuitsCircuitTerminationsBulkPartialUpdate. +type CircuitsCircuitTerminationsBulkPartialUpdateJSONBody = []CircuitTerminationRequest + +// CircuitsCircuitTerminationsBulkPartialUpdateMultipartBody defines parameters for CircuitsCircuitTerminationsBulkPartialUpdate. +type CircuitsCircuitTerminationsBulkPartialUpdateMultipartBody = []CircuitTerminationRequest + +// CircuitsCircuitTerminationsBulkUpdateJSONBody defines parameters for CircuitsCircuitTerminationsBulkUpdate. +type CircuitsCircuitTerminationsBulkUpdateJSONBody = []CircuitTerminationRequest + +// CircuitsCircuitTerminationsBulkUpdateMultipartBody defines parameters for CircuitsCircuitTerminationsBulkUpdate. +type CircuitsCircuitTerminationsBulkUpdateMultipartBody = []CircuitTerminationRequest + +// CircuitsCircuitTypesBulkDestroyJSONBody defines parameters for CircuitsCircuitTypesBulkDestroy. +type CircuitsCircuitTypesBulkDestroyJSONBody = []CircuitTypeRequest + +// CircuitsCircuitTypesBulkDestroyMultipartBody defines parameters for CircuitsCircuitTypesBulkDestroy. +type CircuitsCircuitTypesBulkDestroyMultipartBody = []CircuitTypeRequest + +// CircuitsCircuitTypesListParams defines parameters for CircuitsCircuitTypesList. +type CircuitsCircuitTypesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// CircuitsCircuitTypesBulkPartialUpdateJSONBody defines parameters for CircuitsCircuitTypesBulkPartialUpdate. +type CircuitsCircuitTypesBulkPartialUpdateJSONBody = []CircuitTypeRequest + +// CircuitsCircuitTypesBulkPartialUpdateMultipartBody defines parameters for CircuitsCircuitTypesBulkPartialUpdate. +type CircuitsCircuitTypesBulkPartialUpdateMultipartBody = []CircuitTypeRequest + +// CircuitsCircuitTypesBulkUpdateJSONBody defines parameters for CircuitsCircuitTypesBulkUpdate. +type CircuitsCircuitTypesBulkUpdateJSONBody = []CircuitTypeRequest + +// CircuitsCircuitTypesBulkUpdateMultipartBody defines parameters for CircuitsCircuitTypesBulkUpdate. +type CircuitsCircuitTypesBulkUpdateMultipartBody = []CircuitTypeRequest + +// CircuitsCircuitsBulkDestroyJSONBody defines parameters for CircuitsCircuitsBulkDestroy. +type CircuitsCircuitsBulkDestroyJSONBody = []CircuitRequest + +// CircuitsCircuitsBulkDestroyMultipartBody defines parameters for CircuitsCircuitsBulkDestroy. +type CircuitsCircuitsBulkDestroyMultipartBody = []CircuitRequest + +// CircuitsCircuitsListParams defines parameters for CircuitsCircuitsList. +type CircuitsCircuitsListParams struct { + Cid *[]string `form:"cid,omitempty" json:"cid,omitempty"` + CidEmpty *bool `form:"cid__empty,omitempty" json:"cid__empty,omitempty"` + CidIc *[]string `form:"cid__ic,omitempty" json:"cid__ic,omitempty"` + CidIe *[]string `form:"cid__ie,omitempty" json:"cid__ie,omitempty"` + CidIew *[]string `form:"cid__iew,omitempty" json:"cid__iew,omitempty"` + CidIsw *[]string `form:"cid__isw,omitempty" json:"cid__isw,omitempty"` + CidN *[]string `form:"cid__n,omitempty" json:"cid__n,omitempty"` + CidNic *[]string `form:"cid__nic,omitempty" json:"cid__nic,omitempty"` + CidNie *[]string `form:"cid__nie,omitempty" json:"cid__nie,omitempty"` + CidNiew *[]string `form:"cid__niew,omitempty" json:"cid__niew,omitempty"` + CidNisw *[]string `form:"cid__nisw,omitempty" json:"cid__nisw,omitempty"` + CommitRate *[]int32 `form:"commit_rate,omitempty" json:"commit_rate,omitempty"` + CommitRateEmpty *bool `form:"commit_rate__empty,omitempty" json:"commit_rate__empty,omitempty"` + CommitRateGt *[]int32 `form:"commit_rate__gt,omitempty" json:"commit_rate__gt,omitempty"` + CommitRateGte *[]int32 `form:"commit_rate__gte,omitempty" json:"commit_rate__gte,omitempty"` + CommitRateLt *[]int32 `form:"commit_rate__lt,omitempty" json:"commit_rate__lt,omitempty"` + CommitRateLte *[]int32 `form:"commit_rate__lte,omitempty" json:"commit_rate__lte,omitempty"` + CommitRateN *[]int32 `form:"commit_rate__n,omitempty" json:"commit_rate__n,omitempty"` + + // Contact Contact + Contact *[]int `form:"contact,omitempty" json:"contact,omitempty"` + + // ContactN Contact + ContactN *[]int `form:"contact__n,omitempty" json:"contact__n,omitempty"` + + // ContactGroup Contact group + ContactGroup *[]int `form:"contact_group,omitempty" json:"contact_group,omitempty"` + + // ContactGroupN Contact group + ContactGroupN *[]int `form:"contact_group__n,omitempty" json:"contact_group__n,omitempty"` + + // ContactRole Contact Role + ContactRole *[]int `form:"contact_role,omitempty" json:"contact_role,omitempty"` + + // ContactRoleN Contact Role + ContactRoleN *[]int `form:"contact_role__n,omitempty" json:"contact_role__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + InstallDate *[]openapi_types.Date `form:"install_date,omitempty" json:"install_date,omitempty"` + InstallDateEmpty *bool `form:"install_date__empty,omitempty" json:"install_date__empty,omitempty"` + InstallDateGt *[]openapi_types.Date `form:"install_date__gt,omitempty" json:"install_date__gt,omitempty"` + InstallDateGte *[]openapi_types.Date `form:"install_date__gte,omitempty" json:"install_date__gte,omitempty"` + InstallDateLt *[]openapi_types.Date `form:"install_date__lt,omitempty" json:"install_date__lt,omitempty"` + InstallDateLte *[]openapi_types.Date `form:"install_date__lte,omitempty" json:"install_date__lte,omitempty"` + InstallDateN *[]openapi_types.Date `form:"install_date__n,omitempty" json:"install_date__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Provider Provider (slug) + Provider *[]string `form:"provider,omitempty" json:"provider,omitempty"` + + // ProviderN Provider (slug) + ProviderN *[]string `form:"provider__n,omitempty" json:"provider__n,omitempty"` + + // ProviderAccountId ProviderAccount (ID) + ProviderAccountId *[]int `form:"provider_account_id,omitempty" json:"provider_account_id,omitempty"` + + // ProviderAccountIdN ProviderAccount (ID) + ProviderAccountIdN *[]int `form:"provider_account_id__n,omitempty" json:"provider_account_id__n,omitempty"` + + // ProviderId Provider (ID) + ProviderId *[]int `form:"provider_id,omitempty" json:"provider_id,omitempty"` + + // ProviderIdN Provider (ID) + ProviderIdN *[]int `form:"provider_id__n,omitempty" json:"provider_id__n,omitempty"` + + // ProviderNetworkId ProviderNetwork (ID) + ProviderNetworkId *[]int `form:"provider_network_id,omitempty" json:"provider_network_id,omitempty"` + + // ProviderNetworkIdN ProviderNetwork (ID) + ProviderNetworkIdN *[]int `form:"provider_network_id__n,omitempty" json:"provider_network_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + TerminationDate *[]openapi_types.Date `form:"termination_date,omitempty" json:"termination_date,omitempty"` + TerminationDateEmpty *bool `form:"termination_date__empty,omitempty" json:"termination_date__empty,omitempty"` + TerminationDateGt *[]openapi_types.Date `form:"termination_date__gt,omitempty" json:"termination_date__gt,omitempty"` + TerminationDateGte *[]openapi_types.Date `form:"termination_date__gte,omitempty" json:"termination_date__gte,omitempty"` + TerminationDateLt *[]openapi_types.Date `form:"termination_date__lt,omitempty" json:"termination_date__lt,omitempty"` + TerminationDateLte *[]openapi_types.Date `form:"termination_date__lte,omitempty" json:"termination_date__lte,omitempty"` + TerminationDateN *[]openapi_types.Date `form:"termination_date__n,omitempty" json:"termination_date__n,omitempty"` + + // Type Circuit type (slug) + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + + // TypeN Circuit type (slug) + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + + // TypeId Circuit type (ID) + TypeId *[]int `form:"type_id,omitempty" json:"type_id,omitempty"` + + // TypeIdN Circuit type (ID) + TypeIdN *[]int `form:"type_id__n,omitempty" json:"type_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// CircuitsCircuitsBulkPartialUpdateJSONBody defines parameters for CircuitsCircuitsBulkPartialUpdate. +type CircuitsCircuitsBulkPartialUpdateJSONBody = []CircuitRequest + +// CircuitsCircuitsBulkPartialUpdateMultipartBody defines parameters for CircuitsCircuitsBulkPartialUpdate. +type CircuitsCircuitsBulkPartialUpdateMultipartBody = []CircuitRequest + +// CircuitsCircuitsBulkUpdateJSONBody defines parameters for CircuitsCircuitsBulkUpdate. +type CircuitsCircuitsBulkUpdateJSONBody = []CircuitRequest + +// CircuitsCircuitsBulkUpdateMultipartBody defines parameters for CircuitsCircuitsBulkUpdate. +type CircuitsCircuitsBulkUpdateMultipartBody = []CircuitRequest + +// CircuitsProviderAccountsBulkDestroyJSONBody defines parameters for CircuitsProviderAccountsBulkDestroy. +type CircuitsProviderAccountsBulkDestroyJSONBody = []ProviderAccountRequest + +// CircuitsProviderAccountsBulkDestroyMultipartBody defines parameters for CircuitsProviderAccountsBulkDestroy. +type CircuitsProviderAccountsBulkDestroyMultipartBody = []ProviderAccountRequest + +// CircuitsProviderAccountsListParams defines parameters for CircuitsProviderAccountsList. +type CircuitsProviderAccountsListParams struct { + Account *[]string `form:"account,omitempty" json:"account,omitempty"` + AccountEmpty *bool `form:"account__empty,omitempty" json:"account__empty,omitempty"` + AccountIc *[]string `form:"account__ic,omitempty" json:"account__ic,omitempty"` + AccountIe *[]string `form:"account__ie,omitempty" json:"account__ie,omitempty"` + AccountIew *[]string `form:"account__iew,omitempty" json:"account__iew,omitempty"` + AccountIsw *[]string `form:"account__isw,omitempty" json:"account__isw,omitempty"` + AccountN *[]string `form:"account__n,omitempty" json:"account__n,omitempty"` + AccountNic *[]string `form:"account__nic,omitempty" json:"account__nic,omitempty"` + AccountNie *[]string `form:"account__nie,omitempty" json:"account__nie,omitempty"` + AccountNiew *[]string `form:"account__niew,omitempty" json:"account__niew,omitempty"` + AccountNisw *[]string `form:"account__nisw,omitempty" json:"account__nisw,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Provider Provider (slug) + Provider *[]string `form:"provider,omitempty" json:"provider,omitempty"` + + // ProviderN Provider (slug) + ProviderN *[]string `form:"provider__n,omitempty" json:"provider__n,omitempty"` + + // ProviderId Provider (ID) + ProviderId *[]int `form:"provider_id,omitempty" json:"provider_id,omitempty"` + + // ProviderIdN Provider (ID) + ProviderIdN *[]int `form:"provider_id__n,omitempty" json:"provider_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// CircuitsProviderAccountsBulkPartialUpdateJSONBody defines parameters for CircuitsProviderAccountsBulkPartialUpdate. +type CircuitsProviderAccountsBulkPartialUpdateJSONBody = []ProviderAccountRequest + +// CircuitsProviderAccountsBulkPartialUpdateMultipartBody defines parameters for CircuitsProviderAccountsBulkPartialUpdate. +type CircuitsProviderAccountsBulkPartialUpdateMultipartBody = []ProviderAccountRequest + +// CircuitsProviderAccountsBulkUpdateJSONBody defines parameters for CircuitsProviderAccountsBulkUpdate. +type CircuitsProviderAccountsBulkUpdateJSONBody = []ProviderAccountRequest + +// CircuitsProviderAccountsBulkUpdateMultipartBody defines parameters for CircuitsProviderAccountsBulkUpdate. +type CircuitsProviderAccountsBulkUpdateMultipartBody = []ProviderAccountRequest + +// CircuitsProviderNetworksBulkDestroyJSONBody defines parameters for CircuitsProviderNetworksBulkDestroy. +type CircuitsProviderNetworksBulkDestroyJSONBody = []ProviderNetworkRequest + +// CircuitsProviderNetworksBulkDestroyMultipartBody defines parameters for CircuitsProviderNetworksBulkDestroy. +type CircuitsProviderNetworksBulkDestroyMultipartBody = []ProviderNetworkRequest + +// CircuitsProviderNetworksListParams defines parameters for CircuitsProviderNetworksList. +type CircuitsProviderNetworksListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Provider Provider (slug) + Provider *[]string `form:"provider,omitempty" json:"provider,omitempty"` + + // ProviderN Provider (slug) + ProviderN *[]string `form:"provider__n,omitempty" json:"provider__n,omitempty"` + + // ProviderId Provider (ID) + ProviderId *[]int `form:"provider_id,omitempty" json:"provider_id,omitempty"` + + // ProviderIdN Provider (ID) + ProviderIdN *[]int `form:"provider_id__n,omitempty" json:"provider_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + ServiceId *[]string `form:"service_id,omitempty" json:"service_id,omitempty"` + ServiceIdEmpty *bool `form:"service_id__empty,omitempty" json:"service_id__empty,omitempty"` + ServiceIdIc *[]string `form:"service_id__ic,omitempty" json:"service_id__ic,omitempty"` + ServiceIdIe *[]string `form:"service_id__ie,omitempty" json:"service_id__ie,omitempty"` + ServiceIdIew *[]string `form:"service_id__iew,omitempty" json:"service_id__iew,omitempty"` + ServiceIdIsw *[]string `form:"service_id__isw,omitempty" json:"service_id__isw,omitempty"` + ServiceIdN *[]string `form:"service_id__n,omitempty" json:"service_id__n,omitempty"` + ServiceIdNic *[]string `form:"service_id__nic,omitempty" json:"service_id__nic,omitempty"` + ServiceIdNie *[]string `form:"service_id__nie,omitempty" json:"service_id__nie,omitempty"` + ServiceIdNiew *[]string `form:"service_id__niew,omitempty" json:"service_id__niew,omitempty"` + ServiceIdNisw *[]string `form:"service_id__nisw,omitempty" json:"service_id__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// CircuitsProviderNetworksBulkPartialUpdateJSONBody defines parameters for CircuitsProviderNetworksBulkPartialUpdate. +type CircuitsProviderNetworksBulkPartialUpdateJSONBody = []ProviderNetworkRequest + +// CircuitsProviderNetworksBulkPartialUpdateMultipartBody defines parameters for CircuitsProviderNetworksBulkPartialUpdate. +type CircuitsProviderNetworksBulkPartialUpdateMultipartBody = []ProviderNetworkRequest + +// CircuitsProviderNetworksBulkUpdateJSONBody defines parameters for CircuitsProviderNetworksBulkUpdate. +type CircuitsProviderNetworksBulkUpdateJSONBody = []ProviderNetworkRequest + +// CircuitsProviderNetworksBulkUpdateMultipartBody defines parameters for CircuitsProviderNetworksBulkUpdate. +type CircuitsProviderNetworksBulkUpdateMultipartBody = []ProviderNetworkRequest + +// CircuitsProvidersBulkDestroyJSONBody defines parameters for CircuitsProvidersBulkDestroy. +type CircuitsProvidersBulkDestroyJSONBody = []ProviderRequest + +// CircuitsProvidersBulkDestroyMultipartBody defines parameters for CircuitsProvidersBulkDestroy. +type CircuitsProvidersBulkDestroyMultipartBody = []ProviderRequest + +// CircuitsProvidersListParams defines parameters for CircuitsProvidersList. +type CircuitsProvidersListParams struct { + // AsnId ASN (ID) + AsnId *[]int `form:"asn_id,omitempty" json:"asn_id,omitempty"` + + // AsnIdN ASN (ID) + AsnIdN *[]int `form:"asn_id__n,omitempty" json:"asn_id__n,omitempty"` + + // Contact Contact + Contact *[]int `form:"contact,omitempty" json:"contact,omitempty"` + + // ContactN Contact + ContactN *[]int `form:"contact__n,omitempty" json:"contact__n,omitempty"` + + // ContactGroup Contact group + ContactGroup *[]int `form:"contact_group,omitempty" json:"contact_group,omitempty"` + + // ContactGroupN Contact group + ContactGroupN *[]int `form:"contact_group__n,omitempty" json:"contact_group__n,omitempty"` + + // ContactRole Contact Role + ContactRole *[]int `form:"contact_role,omitempty" json:"contact_role,omitempty"` + + // ContactRoleN Contact Role + ContactRoleN *[]int `form:"contact_role__n,omitempty" json:"contact_role__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// CircuitsProvidersBulkPartialUpdateJSONBody defines parameters for CircuitsProvidersBulkPartialUpdate. +type CircuitsProvidersBulkPartialUpdateJSONBody = []ProviderRequest + +// CircuitsProvidersBulkPartialUpdateMultipartBody defines parameters for CircuitsProvidersBulkPartialUpdate. +type CircuitsProvidersBulkPartialUpdateMultipartBody = []ProviderRequest + +// CircuitsProvidersBulkUpdateJSONBody defines parameters for CircuitsProvidersBulkUpdate. +type CircuitsProvidersBulkUpdateJSONBody = []ProviderRequest + +// CircuitsProvidersBulkUpdateMultipartBody defines parameters for CircuitsProvidersBulkUpdate. +type CircuitsProvidersBulkUpdateMultipartBody = []ProviderRequest + +// CoreDataFilesListParams defines parameters for CoreDataFilesList. +type CoreDataFilesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Hash *[]string `form:"hash,omitempty" json:"hash,omitempty"` + HashEmpty *bool `form:"hash__empty,omitempty" json:"hash__empty,omitempty"` + HashIc *[]string `form:"hash__ic,omitempty" json:"hash__ic,omitempty"` + HashIe *[]string `form:"hash__ie,omitempty" json:"hash__ie,omitempty"` + HashIew *[]string `form:"hash__iew,omitempty" json:"hash__iew,omitempty"` + HashIsw *[]string `form:"hash__isw,omitempty" json:"hash__isw,omitempty"` + HashN *[]string `form:"hash__n,omitempty" json:"hash__n,omitempty"` + HashNic *[]string `form:"hash__nic,omitempty" json:"hash__nic,omitempty"` + HashNie *[]string `form:"hash__nie,omitempty" json:"hash__nie,omitempty"` + HashNiew *[]string `form:"hash__niew,omitempty" json:"hash__niew,omitempty"` + HashNisw *[]string `form:"hash__nisw,omitempty" json:"hash__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + Path *[]string `form:"path,omitempty" json:"path,omitempty"` + PathEmpty *bool `form:"path__empty,omitempty" json:"path__empty,omitempty"` + PathIc *[]string `form:"path__ic,omitempty" json:"path__ic,omitempty"` + PathIe *[]string `form:"path__ie,omitempty" json:"path__ie,omitempty"` + PathIew *[]string `form:"path__iew,omitempty" json:"path__iew,omitempty"` + PathIsw *[]string `form:"path__isw,omitempty" json:"path__isw,omitempty"` + PathN *[]string `form:"path__n,omitempty" json:"path__n,omitempty"` + PathNic *[]string `form:"path__nic,omitempty" json:"path__nic,omitempty"` + PathNie *[]string `form:"path__nie,omitempty" json:"path__nie,omitempty"` + PathNiew *[]string `form:"path__niew,omitempty" json:"path__niew,omitempty"` + PathNisw *[]string `form:"path__nisw,omitempty" json:"path__nisw,omitempty"` + Q *string `form:"q,omitempty" json:"q,omitempty"` + Size *[]int32 `form:"size,omitempty" json:"size,omitempty"` + SizeEmpty *bool `form:"size__empty,omitempty" json:"size__empty,omitempty"` + SizeGt *[]int32 `form:"size__gt,omitempty" json:"size__gt,omitempty"` + SizeGte *[]int32 `form:"size__gte,omitempty" json:"size__gte,omitempty"` + SizeLt *[]int32 `form:"size__lt,omitempty" json:"size__lt,omitempty"` + SizeLte *[]int32 `form:"size__lte,omitempty" json:"size__lte,omitempty"` + SizeN *[]int32 `form:"size__n,omitempty" json:"size__n,omitempty"` + + // Source Data source (name) + Source *[]string `form:"source,omitempty" json:"source,omitempty"` + + // SourceN Data source (name) + SourceN *[]string `form:"source__n,omitempty" json:"source__n,omitempty"` + + // SourceId Data source (ID) + SourceId *[]int `form:"source_id,omitempty" json:"source_id,omitempty"` + + // SourceIdN Data source (ID) + SourceIdN *[]int `form:"source_id__n,omitempty" json:"source_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// CoreDataSourcesBulkDestroyJSONBody defines parameters for CoreDataSourcesBulkDestroy. +type CoreDataSourcesBulkDestroyJSONBody = []DataSourceRequest + +// CoreDataSourcesBulkDestroyMultipartBody defines parameters for CoreDataSourcesBulkDestroy. +type CoreDataSourcesBulkDestroyMultipartBody = []DataSourceRequest + +// CoreDataSourcesListParams defines parameters for CoreDataSourcesList. +type CoreDataSourcesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// CoreDataSourcesBulkPartialUpdateJSONBody defines parameters for CoreDataSourcesBulkPartialUpdate. +type CoreDataSourcesBulkPartialUpdateJSONBody = []DataSourceRequest + +// CoreDataSourcesBulkPartialUpdateMultipartBody defines parameters for CoreDataSourcesBulkPartialUpdate. +type CoreDataSourcesBulkPartialUpdateMultipartBody = []DataSourceRequest + +// CoreDataSourcesBulkUpdateJSONBody defines parameters for CoreDataSourcesBulkUpdate. +type CoreDataSourcesBulkUpdateJSONBody = []DataSourceRequest + +// CoreDataSourcesBulkUpdateMultipartBody defines parameters for CoreDataSourcesBulkUpdate. +type CoreDataSourcesBulkUpdateMultipartBody = []DataSourceRequest + +// CoreJobsListParams defines parameters for CoreJobsList. +type CoreJobsListParams struct { + Completed *time.Time `form:"completed,omitempty" json:"completed,omitempty"` + CompletedAfter *time.Time `form:"completed__after,omitempty" json:"completed__after,omitempty"` + CompletedBefore *time.Time `form:"completed__before,omitempty" json:"completed__before,omitempty"` + Created *time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedAfter *time.Time `form:"created__after,omitempty" json:"created__after,omitempty"` + CreatedBefore *time.Time `form:"created__before,omitempty" json:"created__before,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Interval *[]int32 `form:"interval,omitempty" json:"interval,omitempty"` + IntervalEmpty *bool `form:"interval__empty,omitempty" json:"interval__empty,omitempty"` + IntervalGt *[]int32 `form:"interval__gt,omitempty" json:"interval__gt,omitempty"` + IntervalGte *[]int32 `form:"interval__gte,omitempty" json:"interval__gte,omitempty"` + IntervalLt *[]int32 `form:"interval__lt,omitempty" json:"interval__lt,omitempty"` + IntervalLte *[]int32 `form:"interval__lte,omitempty" json:"interval__lte,omitempty"` + IntervalN *[]int32 `form:"interval__n,omitempty" json:"interval__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + ObjectId *[]int32 `form:"object_id,omitempty" json:"object_id,omitempty"` + ObjectIdEmpty *bool `form:"object_id__empty,omitempty" json:"object_id__empty,omitempty"` + ObjectIdGt *[]int32 `form:"object_id__gt,omitempty" json:"object_id__gt,omitempty"` + ObjectIdGte *[]int32 `form:"object_id__gte,omitempty" json:"object_id__gte,omitempty"` + ObjectIdLt *[]int32 `form:"object_id__lt,omitempty" json:"object_id__lt,omitempty"` + ObjectIdLte *[]int32 `form:"object_id__lte,omitempty" json:"object_id__lte,omitempty"` + ObjectIdN *[]int32 `form:"object_id__n,omitempty" json:"object_id__n,omitempty"` + ObjectType *int `form:"object_type,omitempty" json:"object_type,omitempty"` + ObjectTypeN *int `form:"object_type__n,omitempty" json:"object_type__n,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Scheduled *time.Time `form:"scheduled,omitempty" json:"scheduled,omitempty"` + ScheduledAfter *time.Time `form:"scheduled__after,omitempty" json:"scheduled__after,omitempty"` + ScheduledBefore *time.Time `form:"scheduled__before,omitempty" json:"scheduled__before,omitempty"` + Started *time.Time `form:"started,omitempty" json:"started,omitempty"` + StartedAfter *time.Time `form:"started__after,omitempty" json:"started__after,omitempty"` + StartedBefore *time.Time `form:"started__before,omitempty" json:"started__before,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + User *int `form:"user,omitempty" json:"user,omitempty"` + UserN *int `form:"user__n,omitempty" json:"user__n,omitempty"` +} + +// DcimCableTerminationsBulkDestroyJSONBody defines parameters for DcimCableTerminationsBulkDestroy. +type DcimCableTerminationsBulkDestroyJSONBody = []CableTerminationRequest + +// DcimCableTerminationsBulkDestroyMultipartBody defines parameters for DcimCableTerminationsBulkDestroy. +type DcimCableTerminationsBulkDestroyMultipartBody = []CableTerminationRequest + +// DcimCableTerminationsListParams defines parameters for DcimCableTerminationsList. +type DcimCableTerminationsListParams struct { + Cable *int `form:"cable,omitempty" json:"cable,omitempty"` + CableN *int `form:"cable__n,omitempty" json:"cable__n,omitempty"` + CableEnd *string `form:"cable_end,omitempty" json:"cable_end,omitempty"` + CableEndN *string `form:"cable_end__n,omitempty" json:"cable_end__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + TerminationId *[]int32 `form:"termination_id,omitempty" json:"termination_id,omitempty"` + TerminationIdEmpty *bool `form:"termination_id__empty,omitempty" json:"termination_id__empty,omitempty"` + TerminationIdGt *[]int32 `form:"termination_id__gt,omitempty" json:"termination_id__gt,omitempty"` + TerminationIdGte *[]int32 `form:"termination_id__gte,omitempty" json:"termination_id__gte,omitempty"` + TerminationIdLt *[]int32 `form:"termination_id__lt,omitempty" json:"termination_id__lt,omitempty"` + TerminationIdLte *[]int32 `form:"termination_id__lte,omitempty" json:"termination_id__lte,omitempty"` + TerminationIdN *[]int32 `form:"termination_id__n,omitempty" json:"termination_id__n,omitempty"` + TerminationType *string `form:"termination_type,omitempty" json:"termination_type,omitempty"` + TerminationTypeN *string `form:"termination_type__n,omitempty" json:"termination_type__n,omitempty"` +} + +// DcimCableTerminationsBulkPartialUpdateJSONBody defines parameters for DcimCableTerminationsBulkPartialUpdate. +type DcimCableTerminationsBulkPartialUpdateJSONBody = []CableTerminationRequest + +// DcimCableTerminationsBulkPartialUpdateMultipartBody defines parameters for DcimCableTerminationsBulkPartialUpdate. +type DcimCableTerminationsBulkPartialUpdateMultipartBody = []CableTerminationRequest + +// DcimCableTerminationsBulkUpdateJSONBody defines parameters for DcimCableTerminationsBulkUpdate. +type DcimCableTerminationsBulkUpdateJSONBody = []CableTerminationRequest + +// DcimCableTerminationsBulkUpdateMultipartBody defines parameters for DcimCableTerminationsBulkUpdate. +type DcimCableTerminationsBulkUpdateMultipartBody = []CableTerminationRequest + +// DcimCablesBulkDestroyJSONBody defines parameters for DcimCablesBulkDestroy. +type DcimCablesBulkDestroyJSONBody = []CableRequest + +// DcimCablesBulkDestroyMultipartBody defines parameters for DcimCablesBulkDestroy. +type DcimCablesBulkDestroyMultipartBody = []CableRequest + +// DcimCablesListParams defines parameters for DcimCablesList. +type DcimCablesListParams struct { + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + DeviceId *[]int32 `form:"device_id,omitempty" json:"device_id,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelEmpty *bool `form:"label__empty,omitempty" json:"label__empty,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + Length *[]float64 `form:"length,omitempty" json:"length,omitempty"` + LengthEmpty *bool `form:"length__empty,omitempty" json:"length__empty,omitempty"` + LengthGt *[]float64 `form:"length__gt,omitempty" json:"length__gt,omitempty"` + LengthGte *[]float64 `form:"length__gte,omitempty" json:"length__gte,omitempty"` + LengthLt *[]float64 `form:"length__lt,omitempty" json:"length__lt,omitempty"` + LengthLte *[]float64 `form:"length__lte,omitempty" json:"length__lte,omitempty"` + LengthN *[]float64 `form:"length__n,omitempty" json:"length__n,omitempty"` + LengthUnit *string `form:"length_unit,omitempty" json:"length_unit,omitempty"` + LengthUnitN *string `form:"length_unit__n,omitempty" json:"length_unit__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Location *[]string `form:"location,omitempty" json:"location,omitempty"` + LocationId *[]int32 `form:"location_id,omitempty" json:"location_id,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Rack *[]string `form:"rack,omitempty" json:"rack,omitempty"` + RackId *[]int32 `form:"rack_id,omitempty" json:"rack_id,omitempty"` + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + SiteId *[]int32 `form:"site_id,omitempty" json:"site_id,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + TerminationAId *[]int32 `form:"termination_a_id,omitempty" json:"termination_a_id,omitempty"` + TerminationAType *string `form:"termination_a_type,omitempty" json:"termination_a_type,omitempty"` + TerminationATypeN *string `form:"termination_a_type__n,omitempty" json:"termination_a_type__n,omitempty"` + TerminationBId *[]int32 `form:"termination_b_id,omitempty" json:"termination_b_id,omitempty"` + TerminationBType *string `form:"termination_b_type,omitempty" json:"termination_b_type,omitempty"` + TerminationBTypeN *string `form:"termination_b_type__n,omitempty" json:"termination_b_type__n,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimCablesBulkPartialUpdateJSONBody defines parameters for DcimCablesBulkPartialUpdate. +type DcimCablesBulkPartialUpdateJSONBody = []CableRequest + +// DcimCablesBulkPartialUpdateMultipartBody defines parameters for DcimCablesBulkPartialUpdate. +type DcimCablesBulkPartialUpdateMultipartBody = []CableRequest + +// DcimCablesBulkUpdateJSONBody defines parameters for DcimCablesBulkUpdate. +type DcimCablesBulkUpdateJSONBody = []CableRequest + +// DcimCablesBulkUpdateMultipartBody defines parameters for DcimCablesBulkUpdate. +type DcimCablesBulkUpdateMultipartBody = []CableRequest + +// DcimConnectedDeviceListParams defines parameters for DcimConnectedDeviceList. +type DcimConnectedDeviceListParams struct { + // PeerDevice The name of the peer device + PeerDevice string `form:"peer_device" json:"peer_device"` + + // PeerInterface The name of the peer interface + PeerInterface string `form:"peer_interface" json:"peer_interface"` +} + +// DcimConsolePortTemplatesBulkDestroyJSONBody defines parameters for DcimConsolePortTemplatesBulkDestroy. +type DcimConsolePortTemplatesBulkDestroyJSONBody = []ConsolePortTemplateRequest + +// DcimConsolePortTemplatesBulkDestroyMultipartBody defines parameters for DcimConsolePortTemplatesBulkDestroy. +type DcimConsolePortTemplatesBulkDestroyMultipartBody = []ConsolePortTemplateRequest + +// DcimConsolePortTemplatesListParams defines parameters for DcimConsolePortTemplatesList. +type DcimConsolePortTemplatesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]int `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]int `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuletypeId Module type (ID) + ModuletypeId *[]int `form:"moduletype_id,omitempty" json:"moduletype_id,omitempty"` + + // ModuletypeIdN Module type (ID) + ModuletypeIdN *[]int `form:"moduletype_id__n,omitempty" json:"moduletype_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimConsolePortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimConsolePortTemplatesBulkPartialUpdate. +type DcimConsolePortTemplatesBulkPartialUpdateJSONBody = []ConsolePortTemplateRequest + +// DcimConsolePortTemplatesBulkPartialUpdateMultipartBody defines parameters for DcimConsolePortTemplatesBulkPartialUpdate. +type DcimConsolePortTemplatesBulkPartialUpdateMultipartBody = []ConsolePortTemplateRequest + +// DcimConsolePortTemplatesBulkUpdateJSONBody defines parameters for DcimConsolePortTemplatesBulkUpdate. +type DcimConsolePortTemplatesBulkUpdateJSONBody = []ConsolePortTemplateRequest + +// DcimConsolePortTemplatesBulkUpdateMultipartBody defines parameters for DcimConsolePortTemplatesBulkUpdate. +type DcimConsolePortTemplatesBulkUpdateMultipartBody = []ConsolePortTemplateRequest + +// DcimConsolePortsBulkDestroyJSONBody defines parameters for DcimConsolePortsBulkDestroy. +type DcimConsolePortsBulkDestroyJSONBody = []ConsolePortRequest + +// DcimConsolePortsBulkDestroyMultipartBody defines parameters for DcimConsolePortsBulkDestroy. +type DcimConsolePortsBulkDestroyMultipartBody = []ConsolePortRequest + +// DcimConsolePortsListParams defines parameters for DcimConsolePortsList. +type DcimConsolePortsListParams struct { + CableEnd *string `form:"cable_end,omitempty" json:"cable_end,omitempty"` + CableEndN *string `form:"cable_end__n,omitempty" json:"cable_end__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` + Connected *bool `form:"connected,omitempty" json:"connected,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + + // DeviceRole Device role (slug) + DeviceRole *[]string `form:"device_role,omitempty" json:"device_role,omitempty"` + + // DeviceRoleN Device role (slug) + DeviceRoleN *[]string `form:"device_role__n,omitempty" json:"device_role__n,omitempty"` + + // DeviceRoleId Device role (ID) + DeviceRoleId *[]int `form:"device_role_id,omitempty" json:"device_role_id,omitempty"` + + // DeviceRoleIdN Device role (ID) + DeviceRoleIdN *[]int `form:"device_role_id__n,omitempty" json:"device_role_id__n,omitempty"` + + // DeviceType Device type (model) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (model) + DeviceTypeN *[]string `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DeviceTypeId Device type (ID) + DeviceTypeId *[]int `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` + + // DeviceTypeIdN Device type (ID) + DeviceTypeIdN *[]int `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelEmpty *bool `form:"label__empty,omitempty" json:"label__empty,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Location Location (slug) + Location *[]string `form:"location,omitempty" json:"location,omitempty"` + + // LocationN Location (slug) + LocationN *[]string `form:"location__n,omitempty" json:"location__n,omitempty"` + + // LocationId Location (ID) + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location (ID) + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuleId Module (ID) + ModuleId *[]int `form:"module_id,omitempty" json:"module_id,omitempty"` + + // ModuleIdN Module (ID) + ModuleIdN *[]int `form:"module_id__n,omitempty" json:"module_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + Occupied *bool `form:"occupied,omitempty" json:"occupied,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Rack Rack (name) + Rack *[]string `form:"rack,omitempty" json:"rack,omitempty"` + + // RackN Rack (name) + RackN *[]string `form:"rack__n,omitempty" json:"rack__n,omitempty"` + + // RackId Rack (ID) + RackId *[]int `form:"rack_id,omitempty" json:"rack_id,omitempty"` + + // RackIdN Rack (ID) + RackIdN *[]int `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Device role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Device role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Device role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Device role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Type Physical port type + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + + // TypeN Physical port type + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // VirtualChassis Virtual Chassis + VirtualChassis *[]string `form:"virtual_chassis,omitempty" json:"virtual_chassis,omitempty"` + + // VirtualChassisN Virtual Chassis + VirtualChassisN *[]string `form:"virtual_chassis__n,omitempty" json:"virtual_chassis__n,omitempty"` + + // VirtualChassisId Virtual Chassis (ID) + VirtualChassisId *[]int `form:"virtual_chassis_id,omitempty" json:"virtual_chassis_id,omitempty"` + + // VirtualChassisIdN Virtual Chassis (ID) + VirtualChassisIdN *[]int `form:"virtual_chassis_id__n,omitempty" json:"virtual_chassis_id__n,omitempty"` +} + +// DcimConsolePortsBulkPartialUpdateJSONBody defines parameters for DcimConsolePortsBulkPartialUpdate. +type DcimConsolePortsBulkPartialUpdateJSONBody = []ConsolePortRequest + +// DcimConsolePortsBulkPartialUpdateMultipartBody defines parameters for DcimConsolePortsBulkPartialUpdate. +type DcimConsolePortsBulkPartialUpdateMultipartBody = []ConsolePortRequest + +// DcimConsolePortsBulkUpdateJSONBody defines parameters for DcimConsolePortsBulkUpdate. +type DcimConsolePortsBulkUpdateJSONBody = []ConsolePortRequest + +// DcimConsolePortsBulkUpdateMultipartBody defines parameters for DcimConsolePortsBulkUpdate. +type DcimConsolePortsBulkUpdateMultipartBody = []ConsolePortRequest + +// DcimConsoleServerPortTemplatesBulkDestroyJSONBody defines parameters for DcimConsoleServerPortTemplatesBulkDestroy. +type DcimConsoleServerPortTemplatesBulkDestroyJSONBody = []ConsoleServerPortTemplateRequest + +// DcimConsoleServerPortTemplatesBulkDestroyMultipartBody defines parameters for DcimConsoleServerPortTemplatesBulkDestroy. +type DcimConsoleServerPortTemplatesBulkDestroyMultipartBody = []ConsoleServerPortTemplateRequest + +// DcimConsoleServerPortTemplatesListParams defines parameters for DcimConsoleServerPortTemplatesList. +type DcimConsoleServerPortTemplatesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]int `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]int `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuletypeId Module type (ID) + ModuletypeId *[]int `form:"moduletype_id,omitempty" json:"moduletype_id,omitempty"` + + // ModuletypeIdN Module type (ID) + ModuletypeIdN *[]int `form:"moduletype_id__n,omitempty" json:"moduletype_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimConsoleServerPortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimConsoleServerPortTemplatesBulkPartialUpdate. +type DcimConsoleServerPortTemplatesBulkPartialUpdateJSONBody = []ConsoleServerPortTemplateRequest + +// DcimConsoleServerPortTemplatesBulkPartialUpdateMultipartBody defines parameters for DcimConsoleServerPortTemplatesBulkPartialUpdate. +type DcimConsoleServerPortTemplatesBulkPartialUpdateMultipartBody = []ConsoleServerPortTemplateRequest + +// DcimConsoleServerPortTemplatesBulkUpdateJSONBody defines parameters for DcimConsoleServerPortTemplatesBulkUpdate. +type DcimConsoleServerPortTemplatesBulkUpdateJSONBody = []ConsoleServerPortTemplateRequest + +// DcimConsoleServerPortTemplatesBulkUpdateMultipartBody defines parameters for DcimConsoleServerPortTemplatesBulkUpdate. +type DcimConsoleServerPortTemplatesBulkUpdateMultipartBody = []ConsoleServerPortTemplateRequest + +// DcimConsoleServerPortsBulkDestroyJSONBody defines parameters for DcimConsoleServerPortsBulkDestroy. +type DcimConsoleServerPortsBulkDestroyJSONBody = []ConsoleServerPortRequest + +// DcimConsoleServerPortsBulkDestroyMultipartBody defines parameters for DcimConsoleServerPortsBulkDestroy. +type DcimConsoleServerPortsBulkDestroyMultipartBody = []ConsoleServerPortRequest + +// DcimConsoleServerPortsListParams defines parameters for DcimConsoleServerPortsList. +type DcimConsoleServerPortsListParams struct { + CableEnd *string `form:"cable_end,omitempty" json:"cable_end,omitempty"` + CableEndN *string `form:"cable_end__n,omitempty" json:"cable_end__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` + Connected *bool `form:"connected,omitempty" json:"connected,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + + // DeviceRole Device role (slug) + DeviceRole *[]string `form:"device_role,omitempty" json:"device_role,omitempty"` + + // DeviceRoleN Device role (slug) + DeviceRoleN *[]string `form:"device_role__n,omitempty" json:"device_role__n,omitempty"` + + // DeviceRoleId Device role (ID) + DeviceRoleId *[]int `form:"device_role_id,omitempty" json:"device_role_id,omitempty"` + + // DeviceRoleIdN Device role (ID) + DeviceRoleIdN *[]int `form:"device_role_id__n,omitempty" json:"device_role_id__n,omitempty"` + + // DeviceType Device type (model) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (model) + DeviceTypeN *[]string `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DeviceTypeId Device type (ID) + DeviceTypeId *[]int `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` + + // DeviceTypeIdN Device type (ID) + DeviceTypeIdN *[]int `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelEmpty *bool `form:"label__empty,omitempty" json:"label__empty,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Location Location (slug) + Location *[]string `form:"location,omitempty" json:"location,omitempty"` + + // LocationN Location (slug) + LocationN *[]string `form:"location__n,omitempty" json:"location__n,omitempty"` + + // LocationId Location (ID) + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location (ID) + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuleId Module (ID) + ModuleId *[]int `form:"module_id,omitempty" json:"module_id,omitempty"` + + // ModuleIdN Module (ID) + ModuleIdN *[]int `form:"module_id__n,omitempty" json:"module_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + Occupied *bool `form:"occupied,omitempty" json:"occupied,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Rack Rack (name) + Rack *[]string `form:"rack,omitempty" json:"rack,omitempty"` + + // RackN Rack (name) + RackN *[]string `form:"rack__n,omitempty" json:"rack__n,omitempty"` + + // RackId Rack (ID) + RackId *[]int `form:"rack_id,omitempty" json:"rack_id,omitempty"` + + // RackIdN Rack (ID) + RackIdN *[]int `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Device role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Device role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Device role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Device role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Type Physical port type + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + + // TypeN Physical port type + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // VirtualChassis Virtual Chassis + VirtualChassis *[]string `form:"virtual_chassis,omitempty" json:"virtual_chassis,omitempty"` + + // VirtualChassisN Virtual Chassis + VirtualChassisN *[]string `form:"virtual_chassis__n,omitempty" json:"virtual_chassis__n,omitempty"` + + // VirtualChassisId Virtual Chassis (ID) + VirtualChassisId *[]int `form:"virtual_chassis_id,omitempty" json:"virtual_chassis_id,omitempty"` + + // VirtualChassisIdN Virtual Chassis (ID) + VirtualChassisIdN *[]int `form:"virtual_chassis_id__n,omitempty" json:"virtual_chassis_id__n,omitempty"` +} + +// DcimConsoleServerPortsBulkPartialUpdateJSONBody defines parameters for DcimConsoleServerPortsBulkPartialUpdate. +type DcimConsoleServerPortsBulkPartialUpdateJSONBody = []ConsoleServerPortRequest + +// DcimConsoleServerPortsBulkPartialUpdateMultipartBody defines parameters for DcimConsoleServerPortsBulkPartialUpdate. +type DcimConsoleServerPortsBulkPartialUpdateMultipartBody = []ConsoleServerPortRequest + +// DcimConsoleServerPortsBulkUpdateJSONBody defines parameters for DcimConsoleServerPortsBulkUpdate. +type DcimConsoleServerPortsBulkUpdateJSONBody = []ConsoleServerPortRequest + +// DcimConsoleServerPortsBulkUpdateMultipartBody defines parameters for DcimConsoleServerPortsBulkUpdate. +type DcimConsoleServerPortsBulkUpdateMultipartBody = []ConsoleServerPortRequest + +// DcimDeviceBayTemplatesBulkDestroyJSONBody defines parameters for DcimDeviceBayTemplatesBulkDestroy. +type DcimDeviceBayTemplatesBulkDestroyJSONBody = []DeviceBayTemplateRequest + +// DcimDeviceBayTemplatesBulkDestroyMultipartBody defines parameters for DcimDeviceBayTemplatesBulkDestroy. +type DcimDeviceBayTemplatesBulkDestroyMultipartBody = []DeviceBayTemplateRequest + +// DcimDeviceBayTemplatesListParams defines parameters for DcimDeviceBayTemplatesList. +type DcimDeviceBayTemplatesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]int `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]int `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimDeviceBayTemplatesBulkPartialUpdateJSONBody defines parameters for DcimDeviceBayTemplatesBulkPartialUpdate. +type DcimDeviceBayTemplatesBulkPartialUpdateJSONBody = []DeviceBayTemplateRequest + +// DcimDeviceBayTemplatesBulkPartialUpdateMultipartBody defines parameters for DcimDeviceBayTemplatesBulkPartialUpdate. +type DcimDeviceBayTemplatesBulkPartialUpdateMultipartBody = []DeviceBayTemplateRequest + +// DcimDeviceBayTemplatesBulkUpdateJSONBody defines parameters for DcimDeviceBayTemplatesBulkUpdate. +type DcimDeviceBayTemplatesBulkUpdateJSONBody = []DeviceBayTemplateRequest + +// DcimDeviceBayTemplatesBulkUpdateMultipartBody defines parameters for DcimDeviceBayTemplatesBulkUpdate. +type DcimDeviceBayTemplatesBulkUpdateMultipartBody = []DeviceBayTemplateRequest + +// DcimDeviceBaysBulkDestroyJSONBody defines parameters for DcimDeviceBaysBulkDestroy. +type DcimDeviceBaysBulkDestroyJSONBody = []DeviceBayRequest + +// DcimDeviceBaysBulkDestroyMultipartBody defines parameters for DcimDeviceBaysBulkDestroy. +type DcimDeviceBaysBulkDestroyMultipartBody = []DeviceBayRequest + +// DcimDeviceBaysListParams defines parameters for DcimDeviceBaysList. +type DcimDeviceBaysListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + + // DeviceRole Device role (slug) + DeviceRole *[]string `form:"device_role,omitempty" json:"device_role,omitempty"` + + // DeviceRoleN Device role (slug) + DeviceRoleN *[]string `form:"device_role__n,omitempty" json:"device_role__n,omitempty"` + + // DeviceRoleId Device role (ID) + DeviceRoleId *[]int `form:"device_role_id,omitempty" json:"device_role_id,omitempty"` + + // DeviceRoleIdN Device role (ID) + DeviceRoleIdN *[]int `form:"device_role_id__n,omitempty" json:"device_role_id__n,omitempty"` + + // DeviceType Device type (model) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (model) + DeviceTypeN *[]string `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DeviceTypeId Device type (ID) + DeviceTypeId *[]int `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` + + // DeviceTypeIdN Device type (ID) + DeviceTypeIdN *[]int `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelEmpty *bool `form:"label__empty,omitempty" json:"label__empty,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Location Location (slug) + Location *[]string `form:"location,omitempty" json:"location,omitempty"` + + // LocationN Location (slug) + LocationN *[]string `form:"location__n,omitempty" json:"location__n,omitempty"` + + // LocationId Location (ID) + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location (ID) + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Rack Rack (name) + Rack *[]string `form:"rack,omitempty" json:"rack,omitempty"` + + // RackN Rack (name) + RackN *[]string `form:"rack__n,omitempty" json:"rack__n,omitempty"` + + // RackId Rack (ID) + RackId *[]int `form:"rack_id,omitempty" json:"rack_id,omitempty"` + + // RackIdN Rack (ID) + RackIdN *[]int `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Device role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Device role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Device role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Device role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // VirtualChassis Virtual Chassis + VirtualChassis *[]string `form:"virtual_chassis,omitempty" json:"virtual_chassis,omitempty"` + + // VirtualChassisN Virtual Chassis + VirtualChassisN *[]string `form:"virtual_chassis__n,omitempty" json:"virtual_chassis__n,omitempty"` + + // VirtualChassisId Virtual Chassis (ID) + VirtualChassisId *[]int `form:"virtual_chassis_id,omitempty" json:"virtual_chassis_id,omitempty"` + + // VirtualChassisIdN Virtual Chassis (ID) + VirtualChassisIdN *[]int `form:"virtual_chassis_id__n,omitempty" json:"virtual_chassis_id__n,omitempty"` +} + +// DcimDeviceBaysBulkPartialUpdateJSONBody defines parameters for DcimDeviceBaysBulkPartialUpdate. +type DcimDeviceBaysBulkPartialUpdateJSONBody = []DeviceBayRequest + +// DcimDeviceBaysBulkPartialUpdateMultipartBody defines parameters for DcimDeviceBaysBulkPartialUpdate. +type DcimDeviceBaysBulkPartialUpdateMultipartBody = []DeviceBayRequest + +// DcimDeviceBaysBulkUpdateJSONBody defines parameters for DcimDeviceBaysBulkUpdate. +type DcimDeviceBaysBulkUpdateJSONBody = []DeviceBayRequest + +// DcimDeviceBaysBulkUpdateMultipartBody defines parameters for DcimDeviceBaysBulkUpdate. +type DcimDeviceBaysBulkUpdateMultipartBody = []DeviceBayRequest + +// DcimDeviceRolesBulkDestroyJSONBody defines parameters for DcimDeviceRolesBulkDestroy. +type DcimDeviceRolesBulkDestroyJSONBody = []DeviceRoleRequest + +// DcimDeviceRolesBulkDestroyMultipartBody defines parameters for DcimDeviceRolesBulkDestroy. +type DcimDeviceRolesBulkDestroyMultipartBody = []DeviceRoleRequest + +// DcimDeviceRolesListParams defines parameters for DcimDeviceRolesList. +type DcimDeviceRolesListParams struct { + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorEmpty *bool `form:"color__empty,omitempty" json:"color__empty,omitempty"` + ColorIc *[]string `form:"color__ic,omitempty" json:"color__ic,omitempty"` + ColorIe *[]string `form:"color__ie,omitempty" json:"color__ie,omitempty"` + ColorIew *[]string `form:"color__iew,omitempty" json:"color__iew,omitempty"` + ColorIsw *[]string `form:"color__isw,omitempty" json:"color__isw,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + ColorNic *[]string `form:"color__nic,omitempty" json:"color__nic,omitempty"` + ColorNie *[]string `form:"color__nie,omitempty" json:"color__nie,omitempty"` + ColorNiew *[]string `form:"color__niew,omitempty" json:"color__niew,omitempty"` + ColorNisw *[]string `form:"color__nisw,omitempty" json:"color__nisw,omitempty"` + + // ConfigTemplateId Config template (ID) + ConfigTemplateId *[]int `form:"config_template_id,omitempty" json:"config_template_id,omitempty"` + + // ConfigTemplateIdN Config template (ID) + ConfigTemplateIdN *[]int `form:"config_template_id__n,omitempty" json:"config_template_id__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + VmRole *bool `form:"vm_role,omitempty" json:"vm_role,omitempty"` +} + +// DcimDeviceRolesBulkPartialUpdateJSONBody defines parameters for DcimDeviceRolesBulkPartialUpdate. +type DcimDeviceRolesBulkPartialUpdateJSONBody = []DeviceRoleRequest + +// DcimDeviceRolesBulkPartialUpdateMultipartBody defines parameters for DcimDeviceRolesBulkPartialUpdate. +type DcimDeviceRolesBulkPartialUpdateMultipartBody = []DeviceRoleRequest + +// DcimDeviceRolesBulkUpdateJSONBody defines parameters for DcimDeviceRolesBulkUpdate. +type DcimDeviceRolesBulkUpdateJSONBody = []DeviceRoleRequest + +// DcimDeviceRolesBulkUpdateMultipartBody defines parameters for DcimDeviceRolesBulkUpdate. +type DcimDeviceRolesBulkUpdateMultipartBody = []DeviceRoleRequest + +// DcimDeviceTypesBulkDestroyJSONBody defines parameters for DcimDeviceTypesBulkDestroy. +type DcimDeviceTypesBulkDestroyJSONBody = []DeviceTypeRequest + +// DcimDeviceTypesBulkDestroyMultipartBody defines parameters for DcimDeviceTypesBulkDestroy. +type DcimDeviceTypesBulkDestroyMultipartBody = []DeviceTypeRequest + +// DcimDeviceTypesListParams defines parameters for DcimDeviceTypesList. +type DcimDeviceTypesListParams struct { + Airflow *string `form:"airflow,omitempty" json:"airflow,omitempty"` + AirflowN *string `form:"airflow__n,omitempty" json:"airflow__n,omitempty"` + + // ConsolePorts Has console ports + ConsolePorts *bool `form:"console_ports,omitempty" json:"console_ports,omitempty"` + + // ConsoleServerPorts Has console server ports + ConsoleServerPorts *bool `form:"console_server_ports,omitempty" json:"console_server_ports,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // DefaultPlatform Default platform (slug) + DefaultPlatform *[]string `form:"default_platform,omitempty" json:"default_platform,omitempty"` + + // DefaultPlatformN Default platform (slug) + DefaultPlatformN *[]string `form:"default_platform__n,omitempty" json:"default_platform__n,omitempty"` + + // DefaultPlatformId Default platform (ID) + DefaultPlatformId *[]int `form:"default_platform_id,omitempty" json:"default_platform_id,omitempty"` + + // DefaultPlatformIdN Default platform (ID) + DefaultPlatformIdN *[]int `form:"default_platform_id__n,omitempty" json:"default_platform_id__n,omitempty"` + + // DeviceBays Has device bays + DeviceBays *bool `form:"device_bays,omitempty" json:"device_bays,omitempty"` + + // HasFrontImage Has a front image + HasFrontImage *bool `form:"has_front_image,omitempty" json:"has_front_image,omitempty"` + + // HasRearImage Has a rear image + HasRearImage *bool `form:"has_rear_image,omitempty" json:"has_rear_image,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Interfaces Has interfaces + Interfaces *bool `form:"interfaces,omitempty" json:"interfaces,omitempty"` + + // InventoryItems Has inventory items + InventoryItems *bool `form:"inventory_items,omitempty" json:"inventory_items,omitempty"` + IsFullDepth *bool `form:"is_full_depth,omitempty" json:"is_full_depth,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Manufacturer Manufacturer (slug) + Manufacturer *[]string `form:"manufacturer,omitempty" json:"manufacturer,omitempty"` + + // ManufacturerN Manufacturer (slug) + ManufacturerN *[]string `form:"manufacturer__n,omitempty" json:"manufacturer__n,omitempty"` + + // ManufacturerId Manufacturer (ID) + ManufacturerId *[]int `form:"manufacturer_id,omitempty" json:"manufacturer_id,omitempty"` + + // ManufacturerIdN Manufacturer (ID) + ManufacturerIdN *[]int `form:"manufacturer_id__n,omitempty" json:"manufacturer_id__n,omitempty"` + Model *[]string `form:"model,omitempty" json:"model,omitempty"` + ModelEmpty *bool `form:"model__empty,omitempty" json:"model__empty,omitempty"` + ModelIc *[]string `form:"model__ic,omitempty" json:"model__ic,omitempty"` + ModelIe *[]string `form:"model__ie,omitempty" json:"model__ie,omitempty"` + ModelIew *[]string `form:"model__iew,omitempty" json:"model__iew,omitempty"` + ModelIsw *[]string `form:"model__isw,omitempty" json:"model__isw,omitempty"` + ModelN *[]string `form:"model__n,omitempty" json:"model__n,omitempty"` + ModelNic *[]string `form:"model__nic,omitempty" json:"model__nic,omitempty"` + ModelNie *[]string `form:"model__nie,omitempty" json:"model__nie,omitempty"` + ModelNiew *[]string `form:"model__niew,omitempty" json:"model__niew,omitempty"` + ModelNisw *[]string `form:"model__nisw,omitempty" json:"model__nisw,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuleBays Has module bays + ModuleBays *bool `form:"module_bays,omitempty" json:"module_bays,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + PartNumber *[]string `form:"part_number,omitempty" json:"part_number,omitempty"` + PartNumberEmpty *bool `form:"part_number__empty,omitempty" json:"part_number__empty,omitempty"` + PartNumberIc *[]string `form:"part_number__ic,omitempty" json:"part_number__ic,omitempty"` + PartNumberIe *[]string `form:"part_number__ie,omitempty" json:"part_number__ie,omitempty"` + PartNumberIew *[]string `form:"part_number__iew,omitempty" json:"part_number__iew,omitempty"` + PartNumberIsw *[]string `form:"part_number__isw,omitempty" json:"part_number__isw,omitempty"` + PartNumberN *[]string `form:"part_number__n,omitempty" json:"part_number__n,omitempty"` + PartNumberNic *[]string `form:"part_number__nic,omitempty" json:"part_number__nic,omitempty"` + PartNumberNie *[]string `form:"part_number__nie,omitempty" json:"part_number__nie,omitempty"` + PartNumberNiew *[]string `form:"part_number__niew,omitempty" json:"part_number__niew,omitempty"` + PartNumberNisw *[]string `form:"part_number__nisw,omitempty" json:"part_number__nisw,omitempty"` + + // PassThroughPorts Has pass-through ports + PassThroughPorts *bool `form:"pass_through_ports,omitempty" json:"pass_through_ports,omitempty"` + + // PowerOutlets Has power outlets + PowerOutlets *bool `form:"power_outlets,omitempty" json:"power_outlets,omitempty"` + + // PowerPorts Has power ports + PowerPorts *bool `form:"power_ports,omitempty" json:"power_ports,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + + // SubdeviceRole Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. + SubdeviceRole *string `form:"subdevice_role,omitempty" json:"subdevice_role,omitempty"` + + // SubdeviceRoleN Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. + SubdeviceRoleN *string `form:"subdevice_role__n,omitempty" json:"subdevice_role__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UHeight *[]float64 `form:"u_height,omitempty" json:"u_height,omitempty"` + UHeightEmpty *bool `form:"u_height__empty,omitempty" json:"u_height__empty,omitempty"` + UHeightGt *[]float64 `form:"u_height__gt,omitempty" json:"u_height__gt,omitempty"` + UHeightGte *[]float64 `form:"u_height__gte,omitempty" json:"u_height__gte,omitempty"` + UHeightLt *[]float64 `form:"u_height__lt,omitempty" json:"u_height__lt,omitempty"` + UHeightLte *[]float64 `form:"u_height__lte,omitempty" json:"u_height__lte,omitempty"` + UHeightN *[]float64 `form:"u_height__n,omitempty" json:"u_height__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + Weight *[]float64 `form:"weight,omitempty" json:"weight,omitempty"` + WeightEmpty *bool `form:"weight__empty,omitempty" json:"weight__empty,omitempty"` + WeightGt *[]float64 `form:"weight__gt,omitempty" json:"weight__gt,omitempty"` + WeightGte *[]float64 `form:"weight__gte,omitempty" json:"weight__gte,omitempty"` + WeightLt *[]float64 `form:"weight__lt,omitempty" json:"weight__lt,omitempty"` + WeightLte *[]float64 `form:"weight__lte,omitempty" json:"weight__lte,omitempty"` + WeightN *[]float64 `form:"weight__n,omitempty" json:"weight__n,omitempty"` + WeightUnit *string `form:"weight_unit,omitempty" json:"weight_unit,omitempty"` + WeightUnitN *string `form:"weight_unit__n,omitempty" json:"weight_unit__n,omitempty"` +} + +// DcimDeviceTypesBulkPartialUpdateJSONBody defines parameters for DcimDeviceTypesBulkPartialUpdate. +type DcimDeviceTypesBulkPartialUpdateJSONBody = []DeviceTypeRequest + +// DcimDeviceTypesBulkPartialUpdateMultipartBody defines parameters for DcimDeviceTypesBulkPartialUpdate. +type DcimDeviceTypesBulkPartialUpdateMultipartBody = []DeviceTypeRequest + +// DcimDeviceTypesBulkUpdateJSONBody defines parameters for DcimDeviceTypesBulkUpdate. +type DcimDeviceTypesBulkUpdateJSONBody = []DeviceTypeRequest + +// DcimDeviceTypesBulkUpdateMultipartBody defines parameters for DcimDeviceTypesBulkUpdate. +type DcimDeviceTypesBulkUpdateMultipartBody = []DeviceTypeRequest + +// DcimDevicesBulkDestroyJSONBody defines parameters for DcimDevicesBulkDestroy. +type DcimDevicesBulkDestroyJSONBody = []DeviceWithConfigContextRequest + +// DcimDevicesBulkDestroyMultipartBody defines parameters for DcimDevicesBulkDestroy. +type DcimDevicesBulkDestroyMultipartBody = []DeviceWithConfigContextRequest + +// DcimDevicesListParams defines parameters for DcimDevicesList. +type DcimDevicesListParams struct { + Airflow *string `form:"airflow,omitempty" json:"airflow,omitempty"` + AirflowN *string `form:"airflow__n,omitempty" json:"airflow__n,omitempty"` + AssetTag *[]string `form:"asset_tag,omitempty" json:"asset_tag,omitempty"` + AssetTagEmpty *bool `form:"asset_tag__empty,omitempty" json:"asset_tag__empty,omitempty"` + AssetTagIc *[]string `form:"asset_tag__ic,omitempty" json:"asset_tag__ic,omitempty"` + AssetTagIe *[]string `form:"asset_tag__ie,omitempty" json:"asset_tag__ie,omitempty"` + AssetTagIew *[]string `form:"asset_tag__iew,omitempty" json:"asset_tag__iew,omitempty"` + AssetTagIsw *[]string `form:"asset_tag__isw,omitempty" json:"asset_tag__isw,omitempty"` + AssetTagN *[]string `form:"asset_tag__n,omitempty" json:"asset_tag__n,omitempty"` + AssetTagNic *[]string `form:"asset_tag__nic,omitempty" json:"asset_tag__nic,omitempty"` + AssetTagNie *[]string `form:"asset_tag__nie,omitempty" json:"asset_tag__nie,omitempty"` + AssetTagNiew *[]string `form:"asset_tag__niew,omitempty" json:"asset_tag__niew,omitempty"` + AssetTagNisw *[]string `form:"asset_tag__nisw,omitempty" json:"asset_tag__nisw,omitempty"` + + // ClusterId VM cluster (ID) + ClusterId *[]int `form:"cluster_id,omitempty" json:"cluster_id,omitempty"` + + // ClusterIdN VM cluster (ID) + ClusterIdN *[]int `form:"cluster_id__n,omitempty" json:"cluster_id__n,omitempty"` + + // ConfigTemplateId Config template (ID) + ConfigTemplateId *[]int `form:"config_template_id,omitempty" json:"config_template_id,omitempty"` + + // ConfigTemplateIdN Config template (ID) + ConfigTemplateIdN *[]int `form:"config_template_id__n,omitempty" json:"config_template_id__n,omitempty"` + + // ConsolePorts Has console ports + ConsolePorts *bool `form:"console_ports,omitempty" json:"console_ports,omitempty"` + + // ConsoleServerPorts Has console server ports + ConsoleServerPorts *bool `form:"console_server_ports,omitempty" json:"console_server_ports,omitempty"` + + // Contact Contact + Contact *[]int `form:"contact,omitempty" json:"contact,omitempty"` + + // ContactN Contact + ContactN *[]int `form:"contact__n,omitempty" json:"contact__n,omitempty"` + + // ContactGroup Contact group + ContactGroup *[]int `form:"contact_group,omitempty" json:"contact_group,omitempty"` + + // ContactGroupN Contact group + ContactGroupN *[]int `form:"contact_group__n,omitempty" json:"contact_group__n,omitempty"` + + // ContactRole Contact Role + ContactRole *[]int `form:"contact_role,omitempty" json:"contact_role,omitempty"` + + // ContactRoleN Contact Role + ContactRoleN *[]int `form:"contact_role__n,omitempty" json:"contact_role__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // DeviceBays Has device bays + DeviceBays *bool `form:"device_bays,omitempty" json:"device_bays,omitempty"` + + // DeviceType Device type (slug) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (slug) + DeviceTypeN *[]string `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DeviceTypeId Device type (ID) + DeviceTypeId *[]int `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` + + // DeviceTypeIdN Device type (ID) + DeviceTypeIdN *[]int `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` + Face *string `form:"face,omitempty" json:"face,omitempty"` + FaceN *string `form:"face__n,omitempty" json:"face__n,omitempty"` + + // HasOobIp Has an out-of-band IP + HasOobIp *bool `form:"has_oob_ip,omitempty" json:"has_oob_ip,omitempty"` + + // HasPrimaryIp Has a primary IP + HasPrimaryIp *bool `form:"has_primary_ip,omitempty" json:"has_primary_ip,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Interfaces Has interfaces + Interfaces *bool `form:"interfaces,omitempty" json:"interfaces,omitempty"` + + // IsFullDepth Is full depth + IsFullDepth *bool `form:"is_full_depth,omitempty" json:"is_full_depth,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + Latitude *[]float64 `form:"latitude,omitempty" json:"latitude,omitempty"` + LatitudeEmpty *bool `form:"latitude__empty,omitempty" json:"latitude__empty,omitempty"` + LatitudeGt *[]float64 `form:"latitude__gt,omitempty" json:"latitude__gt,omitempty"` + LatitudeGte *[]float64 `form:"latitude__gte,omitempty" json:"latitude__gte,omitempty"` + LatitudeLt *[]float64 `form:"latitude__lt,omitempty" json:"latitude__lt,omitempty"` + LatitudeLte *[]float64 `form:"latitude__lte,omitempty" json:"latitude__lte,omitempty"` + LatitudeN *[]float64 `form:"latitude__n,omitempty" json:"latitude__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // LocalContextData Has local config context data + LocalContextData *bool `form:"local_context_data,omitempty" json:"local_context_data,omitempty"` + + // LocationId Location (ID) + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location (ID) + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + Longitude *[]float64 `form:"longitude,omitempty" json:"longitude,omitempty"` + LongitudeEmpty *bool `form:"longitude__empty,omitempty" json:"longitude__empty,omitempty"` + LongitudeGt *[]float64 `form:"longitude__gt,omitempty" json:"longitude__gt,omitempty"` + LongitudeGte *[]float64 `form:"longitude__gte,omitempty" json:"longitude__gte,omitempty"` + LongitudeLt *[]float64 `form:"longitude__lt,omitempty" json:"longitude__lt,omitempty"` + LongitudeLte *[]float64 `form:"longitude__lte,omitempty" json:"longitude__lte,omitempty"` + LongitudeN *[]float64 `form:"longitude__n,omitempty" json:"longitude__n,omitempty"` + MacAddress *[]string `form:"mac_address,omitempty" json:"mac_address,omitempty"` + MacAddressIc *[]string `form:"mac_address__ic,omitempty" json:"mac_address__ic,omitempty"` + MacAddressIe *[]string `form:"mac_address__ie,omitempty" json:"mac_address__ie,omitempty"` + MacAddressIew *[]string `form:"mac_address__iew,omitempty" json:"mac_address__iew,omitempty"` + MacAddressIsw *[]string `form:"mac_address__isw,omitempty" json:"mac_address__isw,omitempty"` + MacAddressN *[]string `form:"mac_address__n,omitempty" json:"mac_address__n,omitempty"` + MacAddressNic *[]string `form:"mac_address__nic,omitempty" json:"mac_address__nic,omitempty"` + MacAddressNie *[]string `form:"mac_address__nie,omitempty" json:"mac_address__nie,omitempty"` + MacAddressNiew *[]string `form:"mac_address__niew,omitempty" json:"mac_address__niew,omitempty"` + MacAddressNisw *[]string `form:"mac_address__nisw,omitempty" json:"mac_address__nisw,omitempty"` + + // Manufacturer Manufacturer (slug) + Manufacturer *[]string `form:"manufacturer,omitempty" json:"manufacturer,omitempty"` + + // ManufacturerN Manufacturer (slug) + ManufacturerN *[]string `form:"manufacturer__n,omitempty" json:"manufacturer__n,omitempty"` + + // ManufacturerId Manufacturer (ID) + ManufacturerId *[]int `form:"manufacturer_id,omitempty" json:"manufacturer_id,omitempty"` + + // ManufacturerIdN Manufacturer (ID) + ManufacturerIdN *[]int `form:"manufacturer_id__n,omitempty" json:"manufacturer_id__n,omitempty"` + + // Model Device model (slug) + Model *[]string `form:"model,omitempty" json:"model,omitempty"` + + // ModelN Device model (slug) + ModelN *[]string `form:"model__n,omitempty" json:"model__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuleBays Has module bays + ModuleBays *bool `form:"module_bays,omitempty" json:"module_bays,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // OobIpId OOB IP (ID) + OobIpId *[]int `form:"oob_ip_id,omitempty" json:"oob_ip_id,omitempty"` + + // OobIpIdN OOB IP (ID) + OobIpIdN *[]int `form:"oob_ip_id__n,omitempty" json:"oob_ip_id__n,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // ParentDeviceId Parent Device (ID) + ParentDeviceId *[]int `form:"parent_device_id,omitempty" json:"parent_device_id,omitempty"` + + // ParentDeviceIdN Parent Device (ID) + ParentDeviceIdN *[]int `form:"parent_device_id__n,omitempty" json:"parent_device_id__n,omitempty"` + + // PassThroughPorts Has pass-through ports + PassThroughPorts *bool `form:"pass_through_ports,omitempty" json:"pass_through_ports,omitempty"` + + // Platform Platform (slug) + Platform *[]string `form:"platform,omitempty" json:"platform,omitempty"` + + // PlatformN Platform (slug) + PlatformN *[]string `form:"platform__n,omitempty" json:"platform__n,omitempty"` + + // PlatformId Platform (ID) + PlatformId *[]int `form:"platform_id,omitempty" json:"platform_id,omitempty"` + + // PlatformIdN Platform (ID) + PlatformIdN *[]int `form:"platform_id__n,omitempty" json:"platform_id__n,omitempty"` + Position *[]float64 `form:"position,omitempty" json:"position,omitempty"` + PositionEmpty *bool `form:"position__empty,omitempty" json:"position__empty,omitempty"` + PositionGt *[]float64 `form:"position__gt,omitempty" json:"position__gt,omitempty"` + PositionGte *[]float64 `form:"position__gte,omitempty" json:"position__gte,omitempty"` + PositionLt *[]float64 `form:"position__lt,omitempty" json:"position__lt,omitempty"` + PositionLte *[]float64 `form:"position__lte,omitempty" json:"position__lte,omitempty"` + PositionN *[]float64 `form:"position__n,omitempty" json:"position__n,omitempty"` + + // PowerOutlets Has power outlets + PowerOutlets *bool `form:"power_outlets,omitempty" json:"power_outlets,omitempty"` + + // PowerPorts Has power ports + PowerPorts *bool `form:"power_ports,omitempty" json:"power_ports,omitempty"` + + // PrimaryIp4Id Primary IPv4 (ID) + PrimaryIp4Id *[]int `form:"primary_ip4_id,omitempty" json:"primary_ip4_id,omitempty"` + + // PrimaryIp4IdN Primary IPv4 (ID) + PrimaryIp4IdN *[]int `form:"primary_ip4_id__n,omitempty" json:"primary_ip4_id__n,omitempty"` + + // PrimaryIp6Id Primary IPv6 (ID) + PrimaryIp6Id *[]int `form:"primary_ip6_id,omitempty" json:"primary_ip6_id,omitempty"` + + // PrimaryIp6IdN Primary IPv6 (ID) + PrimaryIp6IdN *[]int `form:"primary_ip6_id__n,omitempty" json:"primary_ip6_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // RackId Rack (ID) + RackId *[]int `form:"rack_id,omitempty" json:"rack_id,omitempty"` + + // RackIdN Rack (ID) + RackIdN *[]int `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + Serial *[]string `form:"serial,omitempty" json:"serial,omitempty"` + SerialEmpty *bool `form:"serial__empty,omitempty" json:"serial__empty,omitempty"` + SerialIc *[]string `form:"serial__ic,omitempty" json:"serial__ic,omitempty"` + SerialIe *[]string `form:"serial__ie,omitempty" json:"serial__ie,omitempty"` + SerialIew *[]string `form:"serial__iew,omitempty" json:"serial__iew,omitempty"` + SerialIsw *[]string `form:"serial__isw,omitempty" json:"serial__isw,omitempty"` + SerialN *[]string `form:"serial__n,omitempty" json:"serial__n,omitempty"` + SerialNic *[]string `form:"serial__nic,omitempty" json:"serial__nic,omitempty"` + SerialNie *[]string `form:"serial__nie,omitempty" json:"serial__nie,omitempty"` + SerialNiew *[]string `form:"serial__niew,omitempty" json:"serial__niew,omitempty"` + SerialNisw *[]string `form:"serial__nisw,omitempty" json:"serial__nisw,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + VcPosition *[]int32 `form:"vc_position,omitempty" json:"vc_position,omitempty"` + VcPositionEmpty *bool `form:"vc_position__empty,omitempty" json:"vc_position__empty,omitempty"` + VcPositionGt *[]int32 `form:"vc_position__gt,omitempty" json:"vc_position__gt,omitempty"` + VcPositionGte *[]int32 `form:"vc_position__gte,omitempty" json:"vc_position__gte,omitempty"` + VcPositionLt *[]int32 `form:"vc_position__lt,omitempty" json:"vc_position__lt,omitempty"` + VcPositionLte *[]int32 `form:"vc_position__lte,omitempty" json:"vc_position__lte,omitempty"` + VcPositionN *[]int32 `form:"vc_position__n,omitempty" json:"vc_position__n,omitempty"` + VcPriority *[]int32 `form:"vc_priority,omitempty" json:"vc_priority,omitempty"` + VcPriorityEmpty *bool `form:"vc_priority__empty,omitempty" json:"vc_priority__empty,omitempty"` + VcPriorityGt *[]int32 `form:"vc_priority__gt,omitempty" json:"vc_priority__gt,omitempty"` + VcPriorityGte *[]int32 `form:"vc_priority__gte,omitempty" json:"vc_priority__gte,omitempty"` + VcPriorityLt *[]int32 `form:"vc_priority__lt,omitempty" json:"vc_priority__lt,omitempty"` + VcPriorityLte *[]int32 `form:"vc_priority__lte,omitempty" json:"vc_priority__lte,omitempty"` + VcPriorityN *[]int32 `form:"vc_priority__n,omitempty" json:"vc_priority__n,omitempty"` + + // VirtualChassisId Virtual chassis (ID) + VirtualChassisId *[]int `form:"virtual_chassis_id,omitempty" json:"virtual_chassis_id,omitempty"` + + // VirtualChassisIdN Virtual chassis (ID) + VirtualChassisIdN *[]int `form:"virtual_chassis_id__n,omitempty" json:"virtual_chassis_id__n,omitempty"` + + // VirtualChassisMember Is a virtual chassis member + VirtualChassisMember *bool `form:"virtual_chassis_member,omitempty" json:"virtual_chassis_member,omitempty"` +} + +// DcimDevicesBulkPartialUpdateJSONBody defines parameters for DcimDevicesBulkPartialUpdate. +type DcimDevicesBulkPartialUpdateJSONBody = []DeviceWithConfigContextRequest + +// DcimDevicesBulkPartialUpdateMultipartBody defines parameters for DcimDevicesBulkPartialUpdate. +type DcimDevicesBulkPartialUpdateMultipartBody = []DeviceWithConfigContextRequest + +// DcimDevicesBulkUpdateJSONBody defines parameters for DcimDevicesBulkUpdate. +type DcimDevicesBulkUpdateJSONBody = []DeviceWithConfigContextRequest + +// DcimDevicesBulkUpdateMultipartBody defines parameters for DcimDevicesBulkUpdate. +type DcimDevicesBulkUpdateMultipartBody = []DeviceWithConfigContextRequest + +// DcimDevicesRenderConfigCreateParams defines parameters for DcimDevicesRenderConfigCreate. +type DcimDevicesRenderConfigCreateParams struct { + Format *DcimDevicesRenderConfigCreateParamsFormat `form:"format,omitempty" json:"format,omitempty"` +} + +// DcimDevicesRenderConfigCreateParamsFormat defines parameters for DcimDevicesRenderConfigCreate. +type DcimDevicesRenderConfigCreateParamsFormat string + +// DcimFrontPortTemplatesBulkDestroyJSONBody defines parameters for DcimFrontPortTemplatesBulkDestroy. +type DcimFrontPortTemplatesBulkDestroyJSONBody = []FrontPortTemplateRequest + +// DcimFrontPortTemplatesBulkDestroyMultipartBody defines parameters for DcimFrontPortTemplatesBulkDestroy. +type DcimFrontPortTemplatesBulkDestroyMultipartBody = []FrontPortTemplateRequest + +// DcimFrontPortTemplatesListParams defines parameters for DcimFrontPortTemplatesList. +type DcimFrontPortTemplatesListParams struct { + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorEmpty *bool `form:"color__empty,omitempty" json:"color__empty,omitempty"` + ColorIc *[]string `form:"color__ic,omitempty" json:"color__ic,omitempty"` + ColorIe *[]string `form:"color__ie,omitempty" json:"color__ie,omitempty"` + ColorIew *[]string `form:"color__iew,omitempty" json:"color__iew,omitempty"` + ColorIsw *[]string `form:"color__isw,omitempty" json:"color__isw,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + ColorNic *[]string `form:"color__nic,omitempty" json:"color__nic,omitempty"` + ColorNie *[]string `form:"color__nie,omitempty" json:"color__nie,omitempty"` + ColorNiew *[]string `form:"color__niew,omitempty" json:"color__niew,omitempty"` + ColorNisw *[]string `form:"color__nisw,omitempty" json:"color__nisw,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]int `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]int `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuletypeId Module type (ID) + ModuletypeId *[]int `form:"moduletype_id,omitempty" json:"moduletype_id,omitempty"` + + // ModuletypeIdN Module type (ID) + ModuletypeIdN *[]int `form:"moduletype_id__n,omitempty" json:"moduletype_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimFrontPortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimFrontPortTemplatesBulkPartialUpdate. +type DcimFrontPortTemplatesBulkPartialUpdateJSONBody = []FrontPortTemplateRequest + +// DcimFrontPortTemplatesBulkPartialUpdateMultipartBody defines parameters for DcimFrontPortTemplatesBulkPartialUpdate. +type DcimFrontPortTemplatesBulkPartialUpdateMultipartBody = []FrontPortTemplateRequest + +// DcimFrontPortTemplatesBulkUpdateJSONBody defines parameters for DcimFrontPortTemplatesBulkUpdate. +type DcimFrontPortTemplatesBulkUpdateJSONBody = []FrontPortTemplateRequest + +// DcimFrontPortTemplatesBulkUpdateMultipartBody defines parameters for DcimFrontPortTemplatesBulkUpdate. +type DcimFrontPortTemplatesBulkUpdateMultipartBody = []FrontPortTemplateRequest + +// DcimFrontPortsBulkDestroyJSONBody defines parameters for DcimFrontPortsBulkDestroy. +type DcimFrontPortsBulkDestroyJSONBody = []FrontPortRequest + +// DcimFrontPortsBulkDestroyMultipartBody defines parameters for DcimFrontPortsBulkDestroy. +type DcimFrontPortsBulkDestroyMultipartBody = []FrontPortRequest + +// DcimFrontPortsListParams defines parameters for DcimFrontPortsList. +type DcimFrontPortsListParams struct { + CableEnd *string `form:"cable_end,omitempty" json:"cable_end,omitempty"` + CableEndN *string `form:"cable_end__n,omitempty" json:"cable_end__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorEmpty *bool `form:"color__empty,omitempty" json:"color__empty,omitempty"` + ColorIc *[]string `form:"color__ic,omitempty" json:"color__ic,omitempty"` + ColorIe *[]string `form:"color__ie,omitempty" json:"color__ie,omitempty"` + ColorIew *[]string `form:"color__iew,omitempty" json:"color__iew,omitempty"` + ColorIsw *[]string `form:"color__isw,omitempty" json:"color__isw,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + ColorNic *[]string `form:"color__nic,omitempty" json:"color__nic,omitempty"` + ColorNie *[]string `form:"color__nie,omitempty" json:"color__nie,omitempty"` + ColorNiew *[]string `form:"color__niew,omitempty" json:"color__niew,omitempty"` + ColorNisw *[]string `form:"color__nisw,omitempty" json:"color__nisw,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + + // DeviceRole Device role (slug) + DeviceRole *[]string `form:"device_role,omitempty" json:"device_role,omitempty"` + + // DeviceRoleN Device role (slug) + DeviceRoleN *[]string `form:"device_role__n,omitempty" json:"device_role__n,omitempty"` + + // DeviceRoleId Device role (ID) + DeviceRoleId *[]int `form:"device_role_id,omitempty" json:"device_role_id,omitempty"` + + // DeviceRoleIdN Device role (ID) + DeviceRoleIdN *[]int `form:"device_role_id__n,omitempty" json:"device_role_id__n,omitempty"` + + // DeviceType Device type (model) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (model) + DeviceTypeN *[]string `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DeviceTypeId Device type (ID) + DeviceTypeId *[]int `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` + + // DeviceTypeIdN Device type (ID) + DeviceTypeIdN *[]int `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelEmpty *bool `form:"label__empty,omitempty" json:"label__empty,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Location Location (slug) + Location *[]string `form:"location,omitempty" json:"location,omitempty"` + + // LocationN Location (slug) + LocationN *[]string `form:"location__n,omitempty" json:"location__n,omitempty"` + + // LocationId Location (ID) + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location (ID) + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuleId Module (ID) + ModuleId *[]int `form:"module_id,omitempty" json:"module_id,omitempty"` + + // ModuleIdN Module (ID) + ModuleIdN *[]int `form:"module_id__n,omitempty" json:"module_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + Occupied *bool `form:"occupied,omitempty" json:"occupied,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Rack Rack (name) + Rack *[]string `form:"rack,omitempty" json:"rack,omitempty"` + + // RackN Rack (name) + RackN *[]string `form:"rack__n,omitempty" json:"rack__n,omitempty"` + + // RackId Rack (ID) + RackId *[]int `form:"rack_id,omitempty" json:"rack_id,omitempty"` + + // RackIdN Rack (ID) + RackIdN *[]int `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Device role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Device role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Device role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Device role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // VirtualChassis Virtual Chassis + VirtualChassis *[]string `form:"virtual_chassis,omitempty" json:"virtual_chassis,omitempty"` + + // VirtualChassisN Virtual Chassis + VirtualChassisN *[]string `form:"virtual_chassis__n,omitempty" json:"virtual_chassis__n,omitempty"` + + // VirtualChassisId Virtual Chassis (ID) + VirtualChassisId *[]int `form:"virtual_chassis_id,omitempty" json:"virtual_chassis_id,omitempty"` + + // VirtualChassisIdN Virtual Chassis (ID) + VirtualChassisIdN *[]int `form:"virtual_chassis_id__n,omitempty" json:"virtual_chassis_id__n,omitempty"` +} + +// DcimFrontPortsBulkPartialUpdateJSONBody defines parameters for DcimFrontPortsBulkPartialUpdate. +type DcimFrontPortsBulkPartialUpdateJSONBody = []FrontPortRequest + +// DcimFrontPortsBulkPartialUpdateMultipartBody defines parameters for DcimFrontPortsBulkPartialUpdate. +type DcimFrontPortsBulkPartialUpdateMultipartBody = []FrontPortRequest + +// DcimFrontPortsBulkUpdateJSONBody defines parameters for DcimFrontPortsBulkUpdate. +type DcimFrontPortsBulkUpdateJSONBody = []FrontPortRequest + +// DcimFrontPortsBulkUpdateMultipartBody defines parameters for DcimFrontPortsBulkUpdate. +type DcimFrontPortsBulkUpdateMultipartBody = []FrontPortRequest + +// DcimInterfaceTemplatesBulkDestroyJSONBody defines parameters for DcimInterfaceTemplatesBulkDestroy. +type DcimInterfaceTemplatesBulkDestroyJSONBody = []InterfaceTemplateRequest + +// DcimInterfaceTemplatesBulkDestroyMultipartBody defines parameters for DcimInterfaceTemplatesBulkDestroy. +type DcimInterfaceTemplatesBulkDestroyMultipartBody = []InterfaceTemplateRequest + +// DcimInterfaceTemplatesListParams defines parameters for DcimInterfaceTemplatesList. +type DcimInterfaceTemplatesListParams struct { + BridgeId *[]int `form:"bridge_id,omitempty" json:"bridge_id,omitempty"` + BridgeIdN *[]int `form:"bridge_id__n,omitempty" json:"bridge_id__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]int `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]int `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + MgmtOnly *bool `form:"mgmt_only,omitempty" json:"mgmt_only,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuletypeId Module type (ID) + ModuletypeId *[]int `form:"moduletype_id,omitempty" json:"moduletype_id,omitempty"` + + // ModuletypeIdN Module type (ID) + ModuletypeIdN *[]int `form:"moduletype_id__n,omitempty" json:"moduletype_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + PoeMode *[]string `form:"poe_mode,omitempty" json:"poe_mode,omitempty"` + PoeModeN *[]string `form:"poe_mode__n,omitempty" json:"poe_mode__n,omitempty"` + PoeType *[]string `form:"poe_type,omitempty" json:"poe_type,omitempty"` + PoeTypeN *[]string `form:"poe_type__n,omitempty" json:"poe_type__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + RfRole *[]string `form:"rf_role,omitempty" json:"rf_role,omitempty"` + RfRoleN *[]string `form:"rf_role__n,omitempty" json:"rf_role__n,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimInterfaceTemplatesBulkPartialUpdateJSONBody defines parameters for DcimInterfaceTemplatesBulkPartialUpdate. +type DcimInterfaceTemplatesBulkPartialUpdateJSONBody = []InterfaceTemplateRequest + +// DcimInterfaceTemplatesBulkPartialUpdateMultipartBody defines parameters for DcimInterfaceTemplatesBulkPartialUpdate. +type DcimInterfaceTemplatesBulkPartialUpdateMultipartBody = []InterfaceTemplateRequest + +// DcimInterfaceTemplatesBulkUpdateJSONBody defines parameters for DcimInterfaceTemplatesBulkUpdate. +type DcimInterfaceTemplatesBulkUpdateJSONBody = []InterfaceTemplateRequest + +// DcimInterfaceTemplatesBulkUpdateMultipartBody defines parameters for DcimInterfaceTemplatesBulkUpdate. +type DcimInterfaceTemplatesBulkUpdateMultipartBody = []InterfaceTemplateRequest + +// DcimInterfacesBulkDestroyJSONBody defines parameters for DcimInterfacesBulkDestroy. +type DcimInterfacesBulkDestroyJSONBody = []InterfaceRequest + +// DcimInterfacesBulkDestroyMultipartBody defines parameters for DcimInterfacesBulkDestroy. +type DcimInterfacesBulkDestroyMultipartBody = []InterfaceRequest + +// DcimInterfacesListParams defines parameters for DcimInterfacesList. +type DcimInterfacesListParams struct { + // BridgeId Bridged interface (ID) + BridgeId *[]int `form:"bridge_id,omitempty" json:"bridge_id,omitempty"` + + // BridgeIdN Bridged interface (ID) + BridgeIdN *[]int `form:"bridge_id__n,omitempty" json:"bridge_id__n,omitempty"` + CableEnd *string `form:"cable_end,omitempty" json:"cable_end,omitempty"` + CableEndN *string `form:"cable_end__n,omitempty" json:"cable_end__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` + Connected *bool `form:"connected,omitempty" json:"connected,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + + // DeviceRole Device role (slug) + DeviceRole *[]string `form:"device_role,omitempty" json:"device_role,omitempty"` + + // DeviceRoleN Device role (slug) + DeviceRoleN *[]string `form:"device_role__n,omitempty" json:"device_role__n,omitempty"` + + // DeviceRoleId Device role (ID) + DeviceRoleId *[]int `form:"device_role_id,omitempty" json:"device_role_id,omitempty"` + + // DeviceRoleIdN Device role (ID) + DeviceRoleIdN *[]int `form:"device_role_id__n,omitempty" json:"device_role_id__n,omitempty"` + + // DeviceType Device type (model) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (model) + DeviceTypeN *[]string `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DeviceTypeId Device type (ID) + DeviceTypeId *[]int `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` + + // DeviceTypeIdN Device type (ID) + DeviceTypeIdN *[]int `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` + Duplex *[]string `form:"duplex,omitempty" json:"duplex,omitempty"` + DuplexN *[]string `form:"duplex__n,omitempty" json:"duplex__n,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Kind Kind of interface + Kind *string `form:"kind,omitempty" json:"kind,omitempty"` + + // L2vpn L2VPN + L2vpn *[]int64 `form:"l2vpn,omitempty" json:"l2vpn,omitempty"` + + // L2vpnN L2VPN + L2vpnN *[]int64 `form:"l2vpn__n,omitempty" json:"l2vpn__n,omitempty"` + + // L2vpnId L2VPN (ID) + L2vpnId *[]int `form:"l2vpn_id,omitempty" json:"l2vpn_id,omitempty"` + + // L2vpnIdN L2VPN (ID) + L2vpnIdN *[]int `form:"l2vpn_id__n,omitempty" json:"l2vpn_id__n,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelEmpty *bool `form:"label__empty,omitempty" json:"label__empty,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + + // LagId LAG interface (ID) + LagId *[]int `form:"lag_id,omitempty" json:"lag_id,omitempty"` + + // LagIdN LAG interface (ID) + LagIdN *[]int `form:"lag_id__n,omitempty" json:"lag_id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Location Location (slug) + Location *[]string `form:"location,omitempty" json:"location,omitempty"` + + // LocationN Location (slug) + LocationN *[]string `form:"location__n,omitempty" json:"location__n,omitempty"` + + // LocationId Location (ID) + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location (ID) + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + MacAddress *[]string `form:"mac_address,omitempty" json:"mac_address,omitempty"` + MacAddressIc *[]string `form:"mac_address__ic,omitempty" json:"mac_address__ic,omitempty"` + MacAddressIe *[]string `form:"mac_address__ie,omitempty" json:"mac_address__ie,omitempty"` + MacAddressIew *[]string `form:"mac_address__iew,omitempty" json:"mac_address__iew,omitempty"` + MacAddressIsw *[]string `form:"mac_address__isw,omitempty" json:"mac_address__isw,omitempty"` + MacAddressN *[]string `form:"mac_address__n,omitempty" json:"mac_address__n,omitempty"` + MacAddressNic *[]string `form:"mac_address__nic,omitempty" json:"mac_address__nic,omitempty"` + MacAddressNie *[]string `form:"mac_address__nie,omitempty" json:"mac_address__nie,omitempty"` + MacAddressNiew *[]string `form:"mac_address__niew,omitempty" json:"mac_address__niew,omitempty"` + MacAddressNisw *[]string `form:"mac_address__nisw,omitempty" json:"mac_address__nisw,omitempty"` + MgmtOnly *bool `form:"mgmt_only,omitempty" json:"mgmt_only,omitempty"` + + // Mode IEEE 802.1Q tagging strategy + Mode *string `form:"mode,omitempty" json:"mode,omitempty"` + + // ModeN IEEE 802.1Q tagging strategy + ModeN *string `form:"mode__n,omitempty" json:"mode__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuleId Module (ID) + ModuleId *[]int `form:"module_id,omitempty" json:"module_id,omitempty"` + + // ModuleIdN Module (ID) + ModuleIdN *[]int `form:"module_id__n,omitempty" json:"module_id__n,omitempty"` + Mtu *[]int32 `form:"mtu,omitempty" json:"mtu,omitempty"` + MtuEmpty *bool `form:"mtu__empty,omitempty" json:"mtu__empty,omitempty"` + MtuGt *[]int32 `form:"mtu__gt,omitempty" json:"mtu__gt,omitempty"` + MtuGte *[]int32 `form:"mtu__gte,omitempty" json:"mtu__gte,omitempty"` + MtuLt *[]int32 `form:"mtu__lt,omitempty" json:"mtu__lt,omitempty"` + MtuLte *[]int32 `form:"mtu__lte,omitempty" json:"mtu__lte,omitempty"` + MtuN *[]int32 `form:"mtu__n,omitempty" json:"mtu__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + Occupied *bool `form:"occupied,omitempty" json:"occupied,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // ParentId Parent interface (ID) + ParentId *[]int `form:"parent_id,omitempty" json:"parent_id,omitempty"` + + // ParentIdN Parent interface (ID) + ParentIdN *[]int `form:"parent_id__n,omitempty" json:"parent_id__n,omitempty"` + PoeMode *[]string `form:"poe_mode,omitempty" json:"poe_mode,omitempty"` + PoeModeN *[]string `form:"poe_mode__n,omitempty" json:"poe_mode__n,omitempty"` + PoeType *[]string `form:"poe_type,omitempty" json:"poe_type,omitempty"` + PoeTypeN *[]string `form:"poe_type__n,omitempty" json:"poe_type__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Rack Rack (name) + Rack *[]string `form:"rack,omitempty" json:"rack,omitempty"` + + // RackN Rack (name) + RackN *[]string `form:"rack__n,omitempty" json:"rack__n,omitempty"` + + // RackId Rack (ID) + RackId *[]int `form:"rack_id,omitempty" json:"rack_id,omitempty"` + + // RackIdN Rack (ID) + RackIdN *[]int `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + RfChannel *[]string `form:"rf_channel,omitempty" json:"rf_channel,omitempty"` + RfChannelN *[]string `form:"rf_channel__n,omitempty" json:"rf_channel__n,omitempty"` + RfChannelFrequency *[]float64 `form:"rf_channel_frequency,omitempty" json:"rf_channel_frequency,omitempty"` + RfChannelFrequencyEmpty *bool `form:"rf_channel_frequency__empty,omitempty" json:"rf_channel_frequency__empty,omitempty"` + RfChannelFrequencyGt *[]float64 `form:"rf_channel_frequency__gt,omitempty" json:"rf_channel_frequency__gt,omitempty"` + RfChannelFrequencyGte *[]float64 `form:"rf_channel_frequency__gte,omitempty" json:"rf_channel_frequency__gte,omitempty"` + RfChannelFrequencyLt *[]float64 `form:"rf_channel_frequency__lt,omitempty" json:"rf_channel_frequency__lt,omitempty"` + RfChannelFrequencyLte *[]float64 `form:"rf_channel_frequency__lte,omitempty" json:"rf_channel_frequency__lte,omitempty"` + RfChannelFrequencyN *[]float64 `form:"rf_channel_frequency__n,omitempty" json:"rf_channel_frequency__n,omitempty"` + RfChannelWidth *[]float64 `form:"rf_channel_width,omitempty" json:"rf_channel_width,omitempty"` + RfChannelWidthEmpty *bool `form:"rf_channel_width__empty,omitempty" json:"rf_channel_width__empty,omitempty"` + RfChannelWidthGt *[]float64 `form:"rf_channel_width__gt,omitempty" json:"rf_channel_width__gt,omitempty"` + RfChannelWidthGte *[]float64 `form:"rf_channel_width__gte,omitempty" json:"rf_channel_width__gte,omitempty"` + RfChannelWidthLt *[]float64 `form:"rf_channel_width__lt,omitempty" json:"rf_channel_width__lt,omitempty"` + RfChannelWidthLte *[]float64 `form:"rf_channel_width__lte,omitempty" json:"rf_channel_width__lte,omitempty"` + RfChannelWidthN *[]float64 `form:"rf_channel_width__n,omitempty" json:"rf_channel_width__n,omitempty"` + RfRole *[]string `form:"rf_role,omitempty" json:"rf_role,omitempty"` + RfRoleN *[]string `form:"rf_role__n,omitempty" json:"rf_role__n,omitempty"` + + // Role Device role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Device role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Device role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Device role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Speed *[]int32 `form:"speed,omitempty" json:"speed,omitempty"` + SpeedEmpty *[]int32 `form:"speed__empty,omitempty" json:"speed__empty,omitempty"` + SpeedGt *[]int32 `form:"speed__gt,omitempty" json:"speed__gt,omitempty"` + SpeedGte *[]int32 `form:"speed__gte,omitempty" json:"speed__gte,omitempty"` + SpeedLt *[]int32 `form:"speed__lt,omitempty" json:"speed__lt,omitempty"` + SpeedLte *[]int32 `form:"speed__lte,omitempty" json:"speed__lte,omitempty"` + SpeedN *[]int32 `form:"speed__n,omitempty" json:"speed__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + TxPower *[]int32 `form:"tx_power,omitempty" json:"tx_power,omitempty"` + TxPowerEmpty *bool `form:"tx_power__empty,omitempty" json:"tx_power__empty,omitempty"` + TxPowerGt *[]int32 `form:"tx_power__gt,omitempty" json:"tx_power__gt,omitempty"` + TxPowerGte *[]int32 `form:"tx_power__gte,omitempty" json:"tx_power__gte,omitempty"` + TxPowerLt *[]int32 `form:"tx_power__lt,omitempty" json:"tx_power__lt,omitempty"` + TxPowerLte *[]int32 `form:"tx_power__lte,omitempty" json:"tx_power__lte,omitempty"` + TxPowerN *[]int32 `form:"tx_power__n,omitempty" json:"tx_power__n,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // Vdc Virtual Device Context + Vdc *[]string `form:"vdc,omitempty" json:"vdc,omitempty"` + + // VdcN Virtual Device Context + VdcN *[]string `form:"vdc__n,omitempty" json:"vdc__n,omitempty"` + + // VdcId Virtual Device Context + VdcId *[]int `form:"vdc_id,omitempty" json:"vdc_id,omitempty"` + + // VdcIdN Virtual Device Context + VdcIdN *[]int `form:"vdc_id__n,omitempty" json:"vdc_id__n,omitempty"` + + // VdcIdentifier Virtual Device Context (Identifier) + VdcIdentifier *[]int `form:"vdc_identifier,omitempty" json:"vdc_identifier,omitempty"` + + // VdcIdentifierN Virtual Device Context (Identifier) + VdcIdentifierN *[]int `form:"vdc_identifier__n,omitempty" json:"vdc_identifier__n,omitempty"` + + // VirtualChassis Virtual Chassis + VirtualChassis *[]string `form:"virtual_chassis,omitempty" json:"virtual_chassis,omitempty"` + + // VirtualChassisN Virtual Chassis + VirtualChassisN *[]string `form:"virtual_chassis__n,omitempty" json:"virtual_chassis__n,omitempty"` + + // VirtualChassisId Virtual Chassis (ID) + VirtualChassisId *[]int `form:"virtual_chassis_id,omitempty" json:"virtual_chassis_id,omitempty"` + + // VirtualChassisIdN Virtual Chassis (ID) + VirtualChassisIdN *[]int `form:"virtual_chassis_id__n,omitempty" json:"virtual_chassis_id__n,omitempty"` + VirtualChassisMember *[]string `form:"virtual_chassis_member,omitempty" json:"virtual_chassis_member,omitempty"` + VirtualChassisMemberId *[]int32 `form:"virtual_chassis_member_id,omitempty" json:"virtual_chassis_member_id,omitempty"` + + // Vlan Assigned VID + Vlan *string `form:"vlan,omitempty" json:"vlan,omitempty"` + + // VlanId Assigned VLAN + VlanId *string `form:"vlan_id,omitempty" json:"vlan_id,omitempty"` + + // Vrf VRF (RD) + Vrf *[]string `form:"vrf,omitempty" json:"vrf,omitempty"` + + // VrfN VRF (RD) + VrfN *[]string `form:"vrf__n,omitempty" json:"vrf__n,omitempty"` + + // VrfId VRF + VrfId *[]int `form:"vrf_id,omitempty" json:"vrf_id,omitempty"` + + // VrfIdN VRF + VrfIdN *[]int `form:"vrf_id__n,omitempty" json:"vrf_id__n,omitempty"` + Wwn *[]string `form:"wwn,omitempty" json:"wwn,omitempty"` + WwnIc *[]string `form:"wwn__ic,omitempty" json:"wwn__ic,omitempty"` + WwnIe *[]string `form:"wwn__ie,omitempty" json:"wwn__ie,omitempty"` + WwnIew *[]string `form:"wwn__iew,omitempty" json:"wwn__iew,omitempty"` + WwnIsw *[]string `form:"wwn__isw,omitempty" json:"wwn__isw,omitempty"` + WwnN *[]string `form:"wwn__n,omitempty" json:"wwn__n,omitempty"` + WwnNic *[]string `form:"wwn__nic,omitempty" json:"wwn__nic,omitempty"` + WwnNie *[]string `form:"wwn__nie,omitempty" json:"wwn__nie,omitempty"` + WwnNiew *[]string `form:"wwn__niew,omitempty" json:"wwn__niew,omitempty"` + WwnNisw *[]string `form:"wwn__nisw,omitempty" json:"wwn__nisw,omitempty"` +} + +// DcimInterfacesBulkPartialUpdateJSONBody defines parameters for DcimInterfacesBulkPartialUpdate. +type DcimInterfacesBulkPartialUpdateJSONBody = []InterfaceRequest + +// DcimInterfacesBulkPartialUpdateMultipartBody defines parameters for DcimInterfacesBulkPartialUpdate. +type DcimInterfacesBulkPartialUpdateMultipartBody = []InterfaceRequest + +// DcimInterfacesBulkUpdateJSONBody defines parameters for DcimInterfacesBulkUpdate. +type DcimInterfacesBulkUpdateJSONBody = []InterfaceRequest + +// DcimInterfacesBulkUpdateMultipartBody defines parameters for DcimInterfacesBulkUpdate. +type DcimInterfacesBulkUpdateMultipartBody = []InterfaceRequest + +// DcimInventoryItemRolesBulkDestroyJSONBody defines parameters for DcimInventoryItemRolesBulkDestroy. +type DcimInventoryItemRolesBulkDestroyJSONBody = []InventoryItemRoleRequest + +// DcimInventoryItemRolesBulkDestroyMultipartBody defines parameters for DcimInventoryItemRolesBulkDestroy. +type DcimInventoryItemRolesBulkDestroyMultipartBody = []InventoryItemRoleRequest + +// DcimInventoryItemRolesListParams defines parameters for DcimInventoryItemRolesList. +type DcimInventoryItemRolesListParams struct { + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorEmpty *bool `form:"color__empty,omitempty" json:"color__empty,omitempty"` + ColorIc *[]string `form:"color__ic,omitempty" json:"color__ic,omitempty"` + ColorIe *[]string `form:"color__ie,omitempty" json:"color__ie,omitempty"` + ColorIew *[]string `form:"color__iew,omitempty" json:"color__iew,omitempty"` + ColorIsw *[]string `form:"color__isw,omitempty" json:"color__isw,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + ColorNic *[]string `form:"color__nic,omitempty" json:"color__nic,omitempty"` + ColorNie *[]string `form:"color__nie,omitempty" json:"color__nie,omitempty"` + ColorNiew *[]string `form:"color__niew,omitempty" json:"color__niew,omitempty"` + ColorNisw *[]string `form:"color__nisw,omitempty" json:"color__nisw,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimInventoryItemRolesBulkPartialUpdateJSONBody defines parameters for DcimInventoryItemRolesBulkPartialUpdate. +type DcimInventoryItemRolesBulkPartialUpdateJSONBody = []InventoryItemRoleRequest + +// DcimInventoryItemRolesBulkPartialUpdateMultipartBody defines parameters for DcimInventoryItemRolesBulkPartialUpdate. +type DcimInventoryItemRolesBulkPartialUpdateMultipartBody = []InventoryItemRoleRequest + +// DcimInventoryItemRolesBulkUpdateJSONBody defines parameters for DcimInventoryItemRolesBulkUpdate. +type DcimInventoryItemRolesBulkUpdateJSONBody = []InventoryItemRoleRequest + +// DcimInventoryItemRolesBulkUpdateMultipartBody defines parameters for DcimInventoryItemRolesBulkUpdate. +type DcimInventoryItemRolesBulkUpdateMultipartBody = []InventoryItemRoleRequest + +// DcimInventoryItemTemplatesBulkDestroyJSONBody defines parameters for DcimInventoryItemTemplatesBulkDestroy. +type DcimInventoryItemTemplatesBulkDestroyJSONBody = []InventoryItemTemplateRequest + +// DcimInventoryItemTemplatesBulkDestroyMultipartBody defines parameters for DcimInventoryItemTemplatesBulkDestroy. +type DcimInventoryItemTemplatesBulkDestroyMultipartBody = []InventoryItemTemplateRequest + +// DcimInventoryItemTemplatesListParams defines parameters for DcimInventoryItemTemplatesList. +type DcimInventoryItemTemplatesListParams struct { + ComponentId *[]int32 `form:"component_id,omitempty" json:"component_id,omitempty"` + ComponentIdEmpty *[]int32 `form:"component_id__empty,omitempty" json:"component_id__empty,omitempty"` + ComponentIdGt *[]int32 `form:"component_id__gt,omitempty" json:"component_id__gt,omitempty"` + ComponentIdGte *[]int32 `form:"component_id__gte,omitempty" json:"component_id__gte,omitempty"` + ComponentIdLt *[]int32 `form:"component_id__lt,omitempty" json:"component_id__lt,omitempty"` + ComponentIdLte *[]int32 `form:"component_id__lte,omitempty" json:"component_id__lte,omitempty"` + ComponentIdN *[]int32 `form:"component_id__n,omitempty" json:"component_id__n,omitempty"` + ComponentType *string `form:"component_type,omitempty" json:"component_type,omitempty"` + ComponentTypeN *string `form:"component_type__n,omitempty" json:"component_type__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]int `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]int `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelEmpty *bool `form:"label__empty,omitempty" json:"label__empty,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Manufacturer Manufacturer (slug) + Manufacturer *[]string `form:"manufacturer,omitempty" json:"manufacturer,omitempty"` + + // ManufacturerN Manufacturer (slug) + ManufacturerN *[]string `form:"manufacturer__n,omitempty" json:"manufacturer__n,omitempty"` + + // ManufacturerId Manufacturer (ID) + ManufacturerId *[]int `form:"manufacturer_id,omitempty" json:"manufacturer_id,omitempty"` + + // ManufacturerIdN Manufacturer (ID) + ManufacturerIdN *[]int `form:"manufacturer_id__n,omitempty" json:"manufacturer_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // ParentId Parent inventory item (ID) + ParentId *[]int `form:"parent_id,omitempty" json:"parent_id,omitempty"` + + // ParentIdN Parent inventory item (ID) + ParentIdN *[]int `form:"parent_id__n,omitempty" json:"parent_id__n,omitempty"` + PartId *[]string `form:"part_id,omitempty" json:"part_id,omitempty"` + PartIdEmpty *bool `form:"part_id__empty,omitempty" json:"part_id__empty,omitempty"` + PartIdIc *[]string `form:"part_id__ic,omitempty" json:"part_id__ic,omitempty"` + PartIdIe *[]string `form:"part_id__ie,omitempty" json:"part_id__ie,omitempty"` + PartIdIew *[]string `form:"part_id__iew,omitempty" json:"part_id__iew,omitempty"` + PartIdIsw *[]string `form:"part_id__isw,omitempty" json:"part_id__isw,omitempty"` + PartIdN *[]string `form:"part_id__n,omitempty" json:"part_id__n,omitempty"` + PartIdNic *[]string `form:"part_id__nic,omitempty" json:"part_id__nic,omitempty"` + PartIdNie *[]string `form:"part_id__nie,omitempty" json:"part_id__nie,omitempty"` + PartIdNiew *[]string `form:"part_id__niew,omitempty" json:"part_id__niew,omitempty"` + PartIdNisw *[]string `form:"part_id__nisw,omitempty" json:"part_id__nisw,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimInventoryItemTemplatesBulkPartialUpdateJSONBody defines parameters for DcimInventoryItemTemplatesBulkPartialUpdate. +type DcimInventoryItemTemplatesBulkPartialUpdateJSONBody = []InventoryItemTemplateRequest + +// DcimInventoryItemTemplatesBulkPartialUpdateMultipartBody defines parameters for DcimInventoryItemTemplatesBulkPartialUpdate. +type DcimInventoryItemTemplatesBulkPartialUpdateMultipartBody = []InventoryItemTemplateRequest + +// DcimInventoryItemTemplatesBulkUpdateJSONBody defines parameters for DcimInventoryItemTemplatesBulkUpdate. +type DcimInventoryItemTemplatesBulkUpdateJSONBody = []InventoryItemTemplateRequest + +// DcimInventoryItemTemplatesBulkUpdateMultipartBody defines parameters for DcimInventoryItemTemplatesBulkUpdate. +type DcimInventoryItemTemplatesBulkUpdateMultipartBody = []InventoryItemTemplateRequest + +// DcimInventoryItemsBulkDestroyJSONBody defines parameters for DcimInventoryItemsBulkDestroy. +type DcimInventoryItemsBulkDestroyJSONBody = []InventoryItemRequest + +// DcimInventoryItemsBulkDestroyMultipartBody defines parameters for DcimInventoryItemsBulkDestroy. +type DcimInventoryItemsBulkDestroyMultipartBody = []InventoryItemRequest + +// DcimInventoryItemsListParams defines parameters for DcimInventoryItemsList. +type DcimInventoryItemsListParams struct { + AssetTag *[]string `form:"asset_tag,omitempty" json:"asset_tag,omitempty"` + AssetTagEmpty *bool `form:"asset_tag__empty,omitempty" json:"asset_tag__empty,omitempty"` + AssetTagIc *[]string `form:"asset_tag__ic,omitempty" json:"asset_tag__ic,omitempty"` + AssetTagIe *[]string `form:"asset_tag__ie,omitempty" json:"asset_tag__ie,omitempty"` + AssetTagIew *[]string `form:"asset_tag__iew,omitempty" json:"asset_tag__iew,omitempty"` + AssetTagIsw *[]string `form:"asset_tag__isw,omitempty" json:"asset_tag__isw,omitempty"` + AssetTagN *[]string `form:"asset_tag__n,omitempty" json:"asset_tag__n,omitempty"` + AssetTagNic *[]string `form:"asset_tag__nic,omitempty" json:"asset_tag__nic,omitempty"` + AssetTagNie *[]string `form:"asset_tag__nie,omitempty" json:"asset_tag__nie,omitempty"` + AssetTagNiew *[]string `form:"asset_tag__niew,omitempty" json:"asset_tag__niew,omitempty"` + AssetTagNisw *[]string `form:"asset_tag__nisw,omitempty" json:"asset_tag__nisw,omitempty"` + ComponentId *[]int32 `form:"component_id,omitempty" json:"component_id,omitempty"` + ComponentIdEmpty *[]int32 `form:"component_id__empty,omitempty" json:"component_id__empty,omitempty"` + ComponentIdGt *[]int32 `form:"component_id__gt,omitempty" json:"component_id__gt,omitempty"` + ComponentIdGte *[]int32 `form:"component_id__gte,omitempty" json:"component_id__gte,omitempty"` + ComponentIdLt *[]int32 `form:"component_id__lt,omitempty" json:"component_id__lt,omitempty"` + ComponentIdLte *[]int32 `form:"component_id__lte,omitempty" json:"component_id__lte,omitempty"` + ComponentIdN *[]int32 `form:"component_id__n,omitempty" json:"component_id__n,omitempty"` + ComponentType *string `form:"component_type,omitempty" json:"component_type,omitempty"` + ComponentTypeN *string `form:"component_type__n,omitempty" json:"component_type__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + + // DeviceRole Device role (slug) + DeviceRole *[]string `form:"device_role,omitempty" json:"device_role,omitempty"` + + // DeviceRoleN Device role (slug) + DeviceRoleN *[]string `form:"device_role__n,omitempty" json:"device_role__n,omitempty"` + + // DeviceRoleId Device role (ID) + DeviceRoleId *[]int `form:"device_role_id,omitempty" json:"device_role_id,omitempty"` + + // DeviceRoleIdN Device role (ID) + DeviceRoleIdN *[]int `form:"device_role_id__n,omitempty" json:"device_role_id__n,omitempty"` + + // DeviceType Device type (model) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (model) + DeviceTypeN *[]string `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DeviceTypeId Device type (ID) + DeviceTypeId *[]int `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` + + // DeviceTypeIdN Device type (ID) + DeviceTypeIdN *[]int `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` + Discovered *bool `form:"discovered,omitempty" json:"discovered,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelEmpty *bool `form:"label__empty,omitempty" json:"label__empty,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Location Location (slug) + Location *[]string `form:"location,omitempty" json:"location,omitempty"` + + // LocationN Location (slug) + LocationN *[]string `form:"location__n,omitempty" json:"location__n,omitempty"` + + // LocationId Location (ID) + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location (ID) + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + + // Manufacturer Manufacturer (slug) + Manufacturer *[]string `form:"manufacturer,omitempty" json:"manufacturer,omitempty"` + + // ManufacturerN Manufacturer (slug) + ManufacturerN *[]string `form:"manufacturer__n,omitempty" json:"manufacturer__n,omitempty"` + + // ManufacturerId Manufacturer (ID) + ManufacturerId *[]int `form:"manufacturer_id,omitempty" json:"manufacturer_id,omitempty"` + + // ManufacturerIdN Manufacturer (ID) + ManufacturerIdN *[]int `form:"manufacturer_id__n,omitempty" json:"manufacturer_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // ParentId Parent inventory item (ID) + ParentId *[]int `form:"parent_id,omitempty" json:"parent_id,omitempty"` + + // ParentIdN Parent inventory item (ID) + ParentIdN *[]int `form:"parent_id__n,omitempty" json:"parent_id__n,omitempty"` + PartId *[]string `form:"part_id,omitempty" json:"part_id,omitempty"` + PartIdEmpty *bool `form:"part_id__empty,omitempty" json:"part_id__empty,omitempty"` + PartIdIc *[]string `form:"part_id__ic,omitempty" json:"part_id__ic,omitempty"` + PartIdIe *[]string `form:"part_id__ie,omitempty" json:"part_id__ie,omitempty"` + PartIdIew *[]string `form:"part_id__iew,omitempty" json:"part_id__iew,omitempty"` + PartIdIsw *[]string `form:"part_id__isw,omitempty" json:"part_id__isw,omitempty"` + PartIdN *[]string `form:"part_id__n,omitempty" json:"part_id__n,omitempty"` + PartIdNic *[]string `form:"part_id__nic,omitempty" json:"part_id__nic,omitempty"` + PartIdNie *[]string `form:"part_id__nie,omitempty" json:"part_id__nie,omitempty"` + PartIdNiew *[]string `form:"part_id__niew,omitempty" json:"part_id__niew,omitempty"` + PartIdNisw *[]string `form:"part_id__nisw,omitempty" json:"part_id__nisw,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Rack Rack (name) + Rack *[]string `form:"rack,omitempty" json:"rack,omitempty"` + + // RackN Rack (name) + RackN *[]string `form:"rack__n,omitempty" json:"rack__n,omitempty"` + + // RackId Rack (ID) + RackId *[]int `form:"rack_id,omitempty" json:"rack_id,omitempty"` + + // RackIdN Rack (ID) + RackIdN *[]int `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + Serial *[]string `form:"serial,omitempty" json:"serial,omitempty"` + SerialEmpty *bool `form:"serial__empty,omitempty" json:"serial__empty,omitempty"` + SerialIc *[]string `form:"serial__ic,omitempty" json:"serial__ic,omitempty"` + SerialIe *[]string `form:"serial__ie,omitempty" json:"serial__ie,omitempty"` + SerialIew *[]string `form:"serial__iew,omitempty" json:"serial__iew,omitempty"` + SerialIsw *[]string `form:"serial__isw,omitempty" json:"serial__isw,omitempty"` + SerialN *[]string `form:"serial__n,omitempty" json:"serial__n,omitempty"` + SerialNic *[]string `form:"serial__nic,omitempty" json:"serial__nic,omitempty"` + SerialNie *[]string `form:"serial__nie,omitempty" json:"serial__nie,omitempty"` + SerialNiew *[]string `form:"serial__niew,omitempty" json:"serial__niew,omitempty"` + SerialNisw *[]string `form:"serial__nisw,omitempty" json:"serial__nisw,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // VirtualChassis Virtual Chassis + VirtualChassis *[]string `form:"virtual_chassis,omitempty" json:"virtual_chassis,omitempty"` + + // VirtualChassisN Virtual Chassis + VirtualChassisN *[]string `form:"virtual_chassis__n,omitempty" json:"virtual_chassis__n,omitempty"` + + // VirtualChassisId Virtual Chassis (ID) + VirtualChassisId *[]int `form:"virtual_chassis_id,omitempty" json:"virtual_chassis_id,omitempty"` + + // VirtualChassisIdN Virtual Chassis (ID) + VirtualChassisIdN *[]int `form:"virtual_chassis_id__n,omitempty" json:"virtual_chassis_id__n,omitempty"` +} + +// DcimInventoryItemsBulkPartialUpdateJSONBody defines parameters for DcimInventoryItemsBulkPartialUpdate. +type DcimInventoryItemsBulkPartialUpdateJSONBody = []InventoryItemRequest + +// DcimInventoryItemsBulkPartialUpdateMultipartBody defines parameters for DcimInventoryItemsBulkPartialUpdate. +type DcimInventoryItemsBulkPartialUpdateMultipartBody = []InventoryItemRequest + +// DcimInventoryItemsBulkUpdateJSONBody defines parameters for DcimInventoryItemsBulkUpdate. +type DcimInventoryItemsBulkUpdateJSONBody = []InventoryItemRequest + +// DcimInventoryItemsBulkUpdateMultipartBody defines parameters for DcimInventoryItemsBulkUpdate. +type DcimInventoryItemsBulkUpdateMultipartBody = []InventoryItemRequest + +// DcimLocationsBulkDestroyJSONBody defines parameters for DcimLocationsBulkDestroy. +type DcimLocationsBulkDestroyJSONBody = []LocationRequest + +// DcimLocationsBulkDestroyMultipartBody defines parameters for DcimLocationsBulkDestroy. +type DcimLocationsBulkDestroyMultipartBody = []LocationRequest + +// DcimLocationsListParams defines parameters for DcimLocationsList. +type DcimLocationsListParams struct { + // Contact Contact + Contact *[]int `form:"contact,omitempty" json:"contact,omitempty"` + + // ContactN Contact + ContactN *[]int `form:"contact__n,omitempty" json:"contact__n,omitempty"` + + // ContactGroup Contact group + ContactGroup *[]int `form:"contact_group,omitempty" json:"contact_group,omitempty"` + + // ContactGroupN Contact group + ContactGroupN *[]int `form:"contact_group__n,omitempty" json:"contact_group__n,omitempty"` + + // ContactRole Contact Role + ContactRole *[]int `form:"contact_role,omitempty" json:"contact_role,omitempty"` + + // ContactRoleN Contact Role + ContactRoleN *[]int `form:"contact_role__n,omitempty" json:"contact_role__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Parent Location (slug) + Parent *[]int `form:"parent,omitempty" json:"parent,omitempty"` + + // ParentN Location (slug) + ParentN *[]int `form:"parent__n,omitempty" json:"parent__n,omitempty"` + + // ParentId Location (ID) + ParentId *[]int `form:"parent_id,omitempty" json:"parent_id,omitempty"` + + // ParentIdN Location (ID) + ParentIdN *[]int `form:"parent_id__n,omitempty" json:"parent_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimLocationsBulkPartialUpdateJSONBody defines parameters for DcimLocationsBulkPartialUpdate. +type DcimLocationsBulkPartialUpdateJSONBody = []LocationRequest + +// DcimLocationsBulkPartialUpdateMultipartBody defines parameters for DcimLocationsBulkPartialUpdate. +type DcimLocationsBulkPartialUpdateMultipartBody = []LocationRequest + +// DcimLocationsBulkUpdateJSONBody defines parameters for DcimLocationsBulkUpdate. +type DcimLocationsBulkUpdateJSONBody = []LocationRequest + +// DcimLocationsBulkUpdateMultipartBody defines parameters for DcimLocationsBulkUpdate. +type DcimLocationsBulkUpdateMultipartBody = []LocationRequest + +// DcimManufacturersBulkDestroyJSONBody defines parameters for DcimManufacturersBulkDestroy. +type DcimManufacturersBulkDestroyJSONBody = []ManufacturerRequest + +// DcimManufacturersBulkDestroyMultipartBody defines parameters for DcimManufacturersBulkDestroy. +type DcimManufacturersBulkDestroyMultipartBody = []ManufacturerRequest + +// DcimManufacturersListParams defines parameters for DcimManufacturersList. +type DcimManufacturersListParams struct { + // Contact Contact + Contact *[]int `form:"contact,omitempty" json:"contact,omitempty"` + + // ContactN Contact + ContactN *[]int `form:"contact__n,omitempty" json:"contact__n,omitempty"` + + // ContactGroup Contact group + ContactGroup *[]int `form:"contact_group,omitempty" json:"contact_group,omitempty"` + + // ContactGroupN Contact group + ContactGroupN *[]int `form:"contact_group__n,omitempty" json:"contact_group__n,omitempty"` + + // ContactRole Contact Role + ContactRole *[]int `form:"contact_role,omitempty" json:"contact_role,omitempty"` + + // ContactRoleN Contact Role + ContactRoleN *[]int `form:"contact_role__n,omitempty" json:"contact_role__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimManufacturersBulkPartialUpdateJSONBody defines parameters for DcimManufacturersBulkPartialUpdate. +type DcimManufacturersBulkPartialUpdateJSONBody = []ManufacturerRequest + +// DcimManufacturersBulkPartialUpdateMultipartBody defines parameters for DcimManufacturersBulkPartialUpdate. +type DcimManufacturersBulkPartialUpdateMultipartBody = []ManufacturerRequest + +// DcimManufacturersBulkUpdateJSONBody defines parameters for DcimManufacturersBulkUpdate. +type DcimManufacturersBulkUpdateJSONBody = []ManufacturerRequest + +// DcimManufacturersBulkUpdateMultipartBody defines parameters for DcimManufacturersBulkUpdate. +type DcimManufacturersBulkUpdateMultipartBody = []ManufacturerRequest + +// DcimModuleBayTemplatesBulkDestroyJSONBody defines parameters for DcimModuleBayTemplatesBulkDestroy. +type DcimModuleBayTemplatesBulkDestroyJSONBody = []ModuleBayTemplateRequest + +// DcimModuleBayTemplatesBulkDestroyMultipartBody defines parameters for DcimModuleBayTemplatesBulkDestroy. +type DcimModuleBayTemplatesBulkDestroyMultipartBody = []ModuleBayTemplateRequest + +// DcimModuleBayTemplatesListParams defines parameters for DcimModuleBayTemplatesList. +type DcimModuleBayTemplatesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]int `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]int `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimModuleBayTemplatesBulkPartialUpdateJSONBody defines parameters for DcimModuleBayTemplatesBulkPartialUpdate. +type DcimModuleBayTemplatesBulkPartialUpdateJSONBody = []ModuleBayTemplateRequest + +// DcimModuleBayTemplatesBulkPartialUpdateMultipartBody defines parameters for DcimModuleBayTemplatesBulkPartialUpdate. +type DcimModuleBayTemplatesBulkPartialUpdateMultipartBody = []ModuleBayTemplateRequest + +// DcimModuleBayTemplatesBulkUpdateJSONBody defines parameters for DcimModuleBayTemplatesBulkUpdate. +type DcimModuleBayTemplatesBulkUpdateJSONBody = []ModuleBayTemplateRequest + +// DcimModuleBayTemplatesBulkUpdateMultipartBody defines parameters for DcimModuleBayTemplatesBulkUpdate. +type DcimModuleBayTemplatesBulkUpdateMultipartBody = []ModuleBayTemplateRequest + +// DcimModuleBaysBulkDestroyJSONBody defines parameters for DcimModuleBaysBulkDestroy. +type DcimModuleBaysBulkDestroyJSONBody = []ModuleBayRequest + +// DcimModuleBaysBulkDestroyMultipartBody defines parameters for DcimModuleBaysBulkDestroy. +type DcimModuleBaysBulkDestroyMultipartBody = []ModuleBayRequest + +// DcimModuleBaysListParams defines parameters for DcimModuleBaysList. +type DcimModuleBaysListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + + // DeviceRole Device role (slug) + DeviceRole *[]string `form:"device_role,omitempty" json:"device_role,omitempty"` + + // DeviceRoleN Device role (slug) + DeviceRoleN *[]string `form:"device_role__n,omitempty" json:"device_role__n,omitempty"` + + // DeviceRoleId Device role (ID) + DeviceRoleId *[]int `form:"device_role_id,omitempty" json:"device_role_id,omitempty"` + + // DeviceRoleIdN Device role (ID) + DeviceRoleIdN *[]int `form:"device_role_id__n,omitempty" json:"device_role_id__n,omitempty"` + + // DeviceType Device type (model) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (model) + DeviceTypeN *[]string `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DeviceTypeId Device type (ID) + DeviceTypeId *[]int `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` + + // DeviceTypeIdN Device type (ID) + DeviceTypeIdN *[]int `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelEmpty *bool `form:"label__empty,omitempty" json:"label__empty,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Location Location (slug) + Location *[]string `form:"location,omitempty" json:"location,omitempty"` + + // LocationN Location (slug) + LocationN *[]string `form:"location__n,omitempty" json:"location__n,omitempty"` + + // LocationId Location (ID) + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location (ID) + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Rack Rack (name) + Rack *[]string `form:"rack,omitempty" json:"rack,omitempty"` + + // RackN Rack (name) + RackN *[]string `form:"rack__n,omitempty" json:"rack__n,omitempty"` + + // RackId Rack (ID) + RackId *[]int `form:"rack_id,omitempty" json:"rack_id,omitempty"` + + // RackIdN Rack (ID) + RackIdN *[]int `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Device role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Device role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Device role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Device role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // VirtualChassis Virtual Chassis + VirtualChassis *[]string `form:"virtual_chassis,omitempty" json:"virtual_chassis,omitempty"` + + // VirtualChassisN Virtual Chassis + VirtualChassisN *[]string `form:"virtual_chassis__n,omitempty" json:"virtual_chassis__n,omitempty"` + + // VirtualChassisId Virtual Chassis (ID) + VirtualChassisId *[]int `form:"virtual_chassis_id,omitempty" json:"virtual_chassis_id,omitempty"` + + // VirtualChassisIdN Virtual Chassis (ID) + VirtualChassisIdN *[]int `form:"virtual_chassis_id__n,omitempty" json:"virtual_chassis_id__n,omitempty"` +} + +// DcimModuleBaysBulkPartialUpdateJSONBody defines parameters for DcimModuleBaysBulkPartialUpdate. +type DcimModuleBaysBulkPartialUpdateJSONBody = []ModuleBayRequest + +// DcimModuleBaysBulkPartialUpdateMultipartBody defines parameters for DcimModuleBaysBulkPartialUpdate. +type DcimModuleBaysBulkPartialUpdateMultipartBody = []ModuleBayRequest + +// DcimModuleBaysBulkUpdateJSONBody defines parameters for DcimModuleBaysBulkUpdate. +type DcimModuleBaysBulkUpdateJSONBody = []ModuleBayRequest + +// DcimModuleBaysBulkUpdateMultipartBody defines parameters for DcimModuleBaysBulkUpdate. +type DcimModuleBaysBulkUpdateMultipartBody = []ModuleBayRequest + +// DcimModuleTypesBulkDestroyJSONBody defines parameters for DcimModuleTypesBulkDestroy. +type DcimModuleTypesBulkDestroyJSONBody = []ModuleTypeRequest + +// DcimModuleTypesBulkDestroyMultipartBody defines parameters for DcimModuleTypesBulkDestroy. +type DcimModuleTypesBulkDestroyMultipartBody = []ModuleTypeRequest + +// DcimModuleTypesListParams defines parameters for DcimModuleTypesList. +type DcimModuleTypesListParams struct { + // ConsolePorts Has console ports + ConsolePorts *bool `form:"console_ports,omitempty" json:"console_ports,omitempty"` + + // ConsoleServerPorts Has console server ports + ConsoleServerPorts *bool `form:"console_server_ports,omitempty" json:"console_server_ports,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Interfaces Has interfaces + Interfaces *bool `form:"interfaces,omitempty" json:"interfaces,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Manufacturer Manufacturer (slug) + Manufacturer *[]string `form:"manufacturer,omitempty" json:"manufacturer,omitempty"` + + // ManufacturerN Manufacturer (slug) + ManufacturerN *[]string `form:"manufacturer__n,omitempty" json:"manufacturer__n,omitempty"` + + // ManufacturerId Manufacturer (ID) + ManufacturerId *[]int `form:"manufacturer_id,omitempty" json:"manufacturer_id,omitempty"` + + // ManufacturerIdN Manufacturer (ID) + ManufacturerIdN *[]int `form:"manufacturer_id__n,omitempty" json:"manufacturer_id__n,omitempty"` + Model *[]string `form:"model,omitempty" json:"model,omitempty"` + ModelEmpty *bool `form:"model__empty,omitempty" json:"model__empty,omitempty"` + ModelIc *[]string `form:"model__ic,omitempty" json:"model__ic,omitempty"` + ModelIe *[]string `form:"model__ie,omitempty" json:"model__ie,omitempty"` + ModelIew *[]string `form:"model__iew,omitempty" json:"model__iew,omitempty"` + ModelIsw *[]string `form:"model__isw,omitempty" json:"model__isw,omitempty"` + ModelN *[]string `form:"model__n,omitempty" json:"model__n,omitempty"` + ModelNic *[]string `form:"model__nic,omitempty" json:"model__nic,omitempty"` + ModelNie *[]string `form:"model__nie,omitempty" json:"model__nie,omitempty"` + ModelNiew *[]string `form:"model__niew,omitempty" json:"model__niew,omitempty"` + ModelNisw *[]string `form:"model__nisw,omitempty" json:"model__nisw,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + PartNumber *[]string `form:"part_number,omitempty" json:"part_number,omitempty"` + PartNumberEmpty *bool `form:"part_number__empty,omitempty" json:"part_number__empty,omitempty"` + PartNumberIc *[]string `form:"part_number__ic,omitempty" json:"part_number__ic,omitempty"` + PartNumberIe *[]string `form:"part_number__ie,omitempty" json:"part_number__ie,omitempty"` + PartNumberIew *[]string `form:"part_number__iew,omitempty" json:"part_number__iew,omitempty"` + PartNumberIsw *[]string `form:"part_number__isw,omitempty" json:"part_number__isw,omitempty"` + PartNumberN *[]string `form:"part_number__n,omitempty" json:"part_number__n,omitempty"` + PartNumberNic *[]string `form:"part_number__nic,omitempty" json:"part_number__nic,omitempty"` + PartNumberNie *[]string `form:"part_number__nie,omitempty" json:"part_number__nie,omitempty"` + PartNumberNiew *[]string `form:"part_number__niew,omitempty" json:"part_number__niew,omitempty"` + PartNumberNisw *[]string `form:"part_number__nisw,omitempty" json:"part_number__nisw,omitempty"` + + // PassThroughPorts Has pass-through ports + PassThroughPorts *bool `form:"pass_through_ports,omitempty" json:"pass_through_ports,omitempty"` + + // PowerOutlets Has power outlets + PowerOutlets *bool `form:"power_outlets,omitempty" json:"power_outlets,omitempty"` + + // PowerPorts Has power ports + PowerPorts *bool `form:"power_ports,omitempty" json:"power_ports,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + Weight *[]float64 `form:"weight,omitempty" json:"weight,omitempty"` + WeightEmpty *bool `form:"weight__empty,omitempty" json:"weight__empty,omitempty"` + WeightGt *[]float64 `form:"weight__gt,omitempty" json:"weight__gt,omitempty"` + WeightGte *[]float64 `form:"weight__gte,omitempty" json:"weight__gte,omitempty"` + WeightLt *[]float64 `form:"weight__lt,omitempty" json:"weight__lt,omitempty"` + WeightLte *[]float64 `form:"weight__lte,omitempty" json:"weight__lte,omitempty"` + WeightN *[]float64 `form:"weight__n,omitempty" json:"weight__n,omitempty"` + WeightUnit *string `form:"weight_unit,omitempty" json:"weight_unit,omitempty"` + WeightUnitN *string `form:"weight_unit__n,omitempty" json:"weight_unit__n,omitempty"` +} + +// DcimModuleTypesBulkPartialUpdateJSONBody defines parameters for DcimModuleTypesBulkPartialUpdate. +type DcimModuleTypesBulkPartialUpdateJSONBody = []ModuleTypeRequest + +// DcimModuleTypesBulkPartialUpdateMultipartBody defines parameters for DcimModuleTypesBulkPartialUpdate. +type DcimModuleTypesBulkPartialUpdateMultipartBody = []ModuleTypeRequest + +// DcimModuleTypesBulkUpdateJSONBody defines parameters for DcimModuleTypesBulkUpdate. +type DcimModuleTypesBulkUpdateJSONBody = []ModuleTypeRequest + +// DcimModuleTypesBulkUpdateMultipartBody defines parameters for DcimModuleTypesBulkUpdate. +type DcimModuleTypesBulkUpdateMultipartBody = []ModuleTypeRequest + +// DcimModulesBulkDestroyJSONBody defines parameters for DcimModulesBulkDestroy. +type DcimModulesBulkDestroyJSONBody = []ModuleRequest + +// DcimModulesBulkDestroyMultipartBody defines parameters for DcimModulesBulkDestroy. +type DcimModulesBulkDestroyMultipartBody = []ModuleRequest + +// DcimModulesListParams defines parameters for DcimModulesList. +type DcimModulesListParams struct { + AssetTag *[]string `form:"asset_tag,omitempty" json:"asset_tag,omitempty"` + AssetTagEmpty *bool `form:"asset_tag__empty,omitempty" json:"asset_tag__empty,omitempty"` + AssetTagIc *[]string `form:"asset_tag__ic,omitempty" json:"asset_tag__ic,omitempty"` + AssetTagIe *[]string `form:"asset_tag__ie,omitempty" json:"asset_tag__ie,omitempty"` + AssetTagIew *[]string `form:"asset_tag__iew,omitempty" json:"asset_tag__iew,omitempty"` + AssetTagIsw *[]string `form:"asset_tag__isw,omitempty" json:"asset_tag__isw,omitempty"` + AssetTagN *[]string `form:"asset_tag__n,omitempty" json:"asset_tag__n,omitempty"` + AssetTagNic *[]string `form:"asset_tag__nic,omitempty" json:"asset_tag__nic,omitempty"` + AssetTagNie *[]string `form:"asset_tag__nie,omitempty" json:"asset_tag__nie,omitempty"` + AssetTagNiew *[]string `form:"asset_tag__niew,omitempty" json:"asset_tag__niew,omitempty"` + AssetTagNisw *[]string `form:"asset_tag__nisw,omitempty" json:"asset_tag__nisw,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Manufacturer Manufacturer (slug) + Manufacturer *[]string `form:"manufacturer,omitempty" json:"manufacturer,omitempty"` + + // ManufacturerN Manufacturer (slug) + ManufacturerN *[]string `form:"manufacturer__n,omitempty" json:"manufacturer__n,omitempty"` + + // ManufacturerId Manufacturer (ID) + ManufacturerId *[]int `form:"manufacturer_id,omitempty" json:"manufacturer_id,omitempty"` + + // ManufacturerIdN Manufacturer (ID) + ManufacturerIdN *[]int `form:"manufacturer_id__n,omitempty" json:"manufacturer_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuleBayId Module Bay (ID) + ModuleBayId *[]int `form:"module_bay_id,omitempty" json:"module_bay_id,omitempty"` + + // ModuleBayIdN Module Bay (ID) + ModuleBayIdN *[]int `form:"module_bay_id__n,omitempty" json:"module_bay_id__n,omitempty"` + + // ModuleType Module type (model) + ModuleType *[]string `form:"module_type,omitempty" json:"module_type,omitempty"` + + // ModuleTypeN Module type (model) + ModuleTypeN *[]string `form:"module_type__n,omitempty" json:"module_type__n,omitempty"` + + // ModuleTypeId Module type (ID) + ModuleTypeId *[]int `form:"module_type_id,omitempty" json:"module_type_id,omitempty"` + + // ModuleTypeIdN Module type (ID) + ModuleTypeIdN *[]int `form:"module_type_id__n,omitempty" json:"module_type_id__n,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Serial *[]string `form:"serial,omitempty" json:"serial,omitempty"` + SerialEmpty *bool `form:"serial__empty,omitempty" json:"serial__empty,omitempty"` + SerialIc *[]string `form:"serial__ic,omitempty" json:"serial__ic,omitempty"` + SerialIe *[]string `form:"serial__ie,omitempty" json:"serial__ie,omitempty"` + SerialIew *[]string `form:"serial__iew,omitempty" json:"serial__iew,omitempty"` + SerialIsw *[]string `form:"serial__isw,omitempty" json:"serial__isw,omitempty"` + SerialN *[]string `form:"serial__n,omitempty" json:"serial__n,omitempty"` + SerialNic *[]string `form:"serial__nic,omitempty" json:"serial__nic,omitempty"` + SerialNie *[]string `form:"serial__nie,omitempty" json:"serial__nie,omitempty"` + SerialNiew *[]string `form:"serial__niew,omitempty" json:"serial__niew,omitempty"` + SerialNisw *[]string `form:"serial__nisw,omitempty" json:"serial__nisw,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimModulesBulkPartialUpdateJSONBody defines parameters for DcimModulesBulkPartialUpdate. +type DcimModulesBulkPartialUpdateJSONBody = []ModuleRequest + +// DcimModulesBulkPartialUpdateMultipartBody defines parameters for DcimModulesBulkPartialUpdate. +type DcimModulesBulkPartialUpdateMultipartBody = []ModuleRequest + +// DcimModulesBulkUpdateJSONBody defines parameters for DcimModulesBulkUpdate. +type DcimModulesBulkUpdateJSONBody = []ModuleRequest + +// DcimModulesBulkUpdateMultipartBody defines parameters for DcimModulesBulkUpdate. +type DcimModulesBulkUpdateMultipartBody = []ModuleRequest + +// DcimPlatformsBulkDestroyJSONBody defines parameters for DcimPlatformsBulkDestroy. +type DcimPlatformsBulkDestroyJSONBody = []PlatformRequest + +// DcimPlatformsBulkDestroyMultipartBody defines parameters for DcimPlatformsBulkDestroy. +type DcimPlatformsBulkDestroyMultipartBody = []PlatformRequest + +// DcimPlatformsListParams defines parameters for DcimPlatformsList. +type DcimPlatformsListParams struct { + // ConfigTemplateId Config template (ID) + ConfigTemplateId *[]int `form:"config_template_id,omitempty" json:"config_template_id,omitempty"` + + // ConfigTemplateIdN Config template (ID) + ConfigTemplateIdN *[]int `form:"config_template_id__n,omitempty" json:"config_template_id__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Manufacturer Manufacturer (slug) + Manufacturer *[]string `form:"manufacturer,omitempty" json:"manufacturer,omitempty"` + + // ManufacturerN Manufacturer (slug) + ManufacturerN *[]string `form:"manufacturer__n,omitempty" json:"manufacturer__n,omitempty"` + + // ManufacturerId Manufacturer (ID) + ManufacturerId *[]int `form:"manufacturer_id,omitempty" json:"manufacturer_id,omitempty"` + + // ManufacturerIdN Manufacturer (ID) + ManufacturerIdN *[]int `form:"manufacturer_id__n,omitempty" json:"manufacturer_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimPlatformsBulkPartialUpdateJSONBody defines parameters for DcimPlatformsBulkPartialUpdate. +type DcimPlatformsBulkPartialUpdateJSONBody = []PlatformRequest + +// DcimPlatformsBulkPartialUpdateMultipartBody defines parameters for DcimPlatformsBulkPartialUpdate. +type DcimPlatformsBulkPartialUpdateMultipartBody = []PlatformRequest + +// DcimPlatformsBulkUpdateJSONBody defines parameters for DcimPlatformsBulkUpdate. +type DcimPlatformsBulkUpdateJSONBody = []PlatformRequest + +// DcimPlatformsBulkUpdateMultipartBody defines parameters for DcimPlatformsBulkUpdate. +type DcimPlatformsBulkUpdateMultipartBody = []PlatformRequest + +// DcimPowerFeedsBulkDestroyJSONBody defines parameters for DcimPowerFeedsBulkDestroy. +type DcimPowerFeedsBulkDestroyJSONBody = []PowerFeedRequest + +// DcimPowerFeedsBulkDestroyMultipartBody defines parameters for DcimPowerFeedsBulkDestroy. +type DcimPowerFeedsBulkDestroyMultipartBody = []PowerFeedRequest + +// DcimPowerFeedsListParams defines parameters for DcimPowerFeedsList. +type DcimPowerFeedsListParams struct { + Amperage *[]int32 `form:"amperage,omitempty" json:"amperage,omitempty"` + AmperageEmpty *bool `form:"amperage__empty,omitempty" json:"amperage__empty,omitempty"` + AmperageGt *[]int32 `form:"amperage__gt,omitempty" json:"amperage__gt,omitempty"` + AmperageGte *[]int32 `form:"amperage__gte,omitempty" json:"amperage__gte,omitempty"` + AmperageLt *[]int32 `form:"amperage__lt,omitempty" json:"amperage__lt,omitempty"` + AmperageLte *[]int32 `form:"amperage__lte,omitempty" json:"amperage__lte,omitempty"` + AmperageN *[]int32 `form:"amperage__n,omitempty" json:"amperage__n,omitempty"` + CableEnd *string `form:"cable_end,omitempty" json:"cable_end,omitempty"` + CableEndN *string `form:"cable_end__n,omitempty" json:"cable_end__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` + Connected *bool `form:"connected,omitempty" json:"connected,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + MaxUtilization *[]int32 `form:"max_utilization,omitempty" json:"max_utilization,omitempty"` + MaxUtilizationEmpty *bool `form:"max_utilization__empty,omitempty" json:"max_utilization__empty,omitempty"` + MaxUtilizationGt *[]int32 `form:"max_utilization__gt,omitempty" json:"max_utilization__gt,omitempty"` + MaxUtilizationGte *[]int32 `form:"max_utilization__gte,omitempty" json:"max_utilization__gte,omitempty"` + MaxUtilizationLt *[]int32 `form:"max_utilization__lt,omitempty" json:"max_utilization__lt,omitempty"` + MaxUtilizationLte *[]int32 `form:"max_utilization__lte,omitempty" json:"max_utilization__lte,omitempty"` + MaxUtilizationN *[]int32 `form:"max_utilization__n,omitempty" json:"max_utilization__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + Occupied *bool `form:"occupied,omitempty" json:"occupied,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + Phase *string `form:"phase,omitempty" json:"phase,omitempty"` + PhaseN *string `form:"phase__n,omitempty" json:"phase__n,omitempty"` + + // PowerPanelId Power panel (ID) + PowerPanelId *[]int `form:"power_panel_id,omitempty" json:"power_panel_id,omitempty"` + + // PowerPanelIdN Power panel (ID) + PowerPanelIdN *[]int `form:"power_panel_id__n,omitempty" json:"power_panel_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // RackId Rack (ID) + RackId *[]int `form:"rack_id,omitempty" json:"rack_id,omitempty"` + + // RackIdN Rack (ID) + RackIdN *[]int `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Supply *string `form:"supply,omitempty" json:"supply,omitempty"` + SupplyN *string `form:"supply__n,omitempty" json:"supply__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + Voltage *[]int32 `form:"voltage,omitempty" json:"voltage,omitempty"` + VoltageEmpty *bool `form:"voltage__empty,omitempty" json:"voltage__empty,omitempty"` + VoltageGt *[]int32 `form:"voltage__gt,omitempty" json:"voltage__gt,omitempty"` + VoltageGte *[]int32 `form:"voltage__gte,omitempty" json:"voltage__gte,omitempty"` + VoltageLt *[]int32 `form:"voltage__lt,omitempty" json:"voltage__lt,omitempty"` + VoltageLte *[]int32 `form:"voltage__lte,omitempty" json:"voltage__lte,omitempty"` + VoltageN *[]int32 `form:"voltage__n,omitempty" json:"voltage__n,omitempty"` +} + +// DcimPowerFeedsBulkPartialUpdateJSONBody defines parameters for DcimPowerFeedsBulkPartialUpdate. +type DcimPowerFeedsBulkPartialUpdateJSONBody = []PowerFeedRequest + +// DcimPowerFeedsBulkPartialUpdateMultipartBody defines parameters for DcimPowerFeedsBulkPartialUpdate. +type DcimPowerFeedsBulkPartialUpdateMultipartBody = []PowerFeedRequest + +// DcimPowerFeedsBulkUpdateJSONBody defines parameters for DcimPowerFeedsBulkUpdate. +type DcimPowerFeedsBulkUpdateJSONBody = []PowerFeedRequest + +// DcimPowerFeedsBulkUpdateMultipartBody defines parameters for DcimPowerFeedsBulkUpdate. +type DcimPowerFeedsBulkUpdateMultipartBody = []PowerFeedRequest + +// DcimPowerOutletTemplatesBulkDestroyJSONBody defines parameters for DcimPowerOutletTemplatesBulkDestroy. +type DcimPowerOutletTemplatesBulkDestroyJSONBody = []PowerOutletTemplateRequest + +// DcimPowerOutletTemplatesBulkDestroyMultipartBody defines parameters for DcimPowerOutletTemplatesBulkDestroy. +type DcimPowerOutletTemplatesBulkDestroyMultipartBody = []PowerOutletTemplateRequest + +// DcimPowerOutletTemplatesListParams defines parameters for DcimPowerOutletTemplatesList. +type DcimPowerOutletTemplatesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]int `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]int `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + + // FeedLeg Phase (for three-phase feeds) + FeedLeg *[]string `form:"feed_leg,omitempty" json:"feed_leg,omitempty"` + + // FeedLegN Phase (for three-phase feeds) + FeedLegN *[]string `form:"feed_leg__n,omitempty" json:"feed_leg__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuletypeId Module type (ID) + ModuletypeId *[]int `form:"moduletype_id,omitempty" json:"moduletype_id,omitempty"` + + // ModuletypeIdN Module type (ID) + ModuletypeIdN *[]int `form:"moduletype_id__n,omitempty" json:"moduletype_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimPowerOutletTemplatesBulkPartialUpdateJSONBody defines parameters for DcimPowerOutletTemplatesBulkPartialUpdate. +type DcimPowerOutletTemplatesBulkPartialUpdateJSONBody = []PowerOutletTemplateRequest + +// DcimPowerOutletTemplatesBulkPartialUpdateMultipartBody defines parameters for DcimPowerOutletTemplatesBulkPartialUpdate. +type DcimPowerOutletTemplatesBulkPartialUpdateMultipartBody = []PowerOutletTemplateRequest + +// DcimPowerOutletTemplatesBulkUpdateJSONBody defines parameters for DcimPowerOutletTemplatesBulkUpdate. +type DcimPowerOutletTemplatesBulkUpdateJSONBody = []PowerOutletTemplateRequest + +// DcimPowerOutletTemplatesBulkUpdateMultipartBody defines parameters for DcimPowerOutletTemplatesBulkUpdate. +type DcimPowerOutletTemplatesBulkUpdateMultipartBody = []PowerOutletTemplateRequest + +// DcimPowerOutletsBulkDestroyJSONBody defines parameters for DcimPowerOutletsBulkDestroy. +type DcimPowerOutletsBulkDestroyJSONBody = []PowerOutletRequest + +// DcimPowerOutletsBulkDestroyMultipartBody defines parameters for DcimPowerOutletsBulkDestroy. +type DcimPowerOutletsBulkDestroyMultipartBody = []PowerOutletRequest + +// DcimPowerOutletsListParams defines parameters for DcimPowerOutletsList. +type DcimPowerOutletsListParams struct { + CableEnd *string `form:"cable_end,omitempty" json:"cable_end,omitempty"` + CableEndN *string `form:"cable_end__n,omitempty" json:"cable_end__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` + Connected *bool `form:"connected,omitempty" json:"connected,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + + // DeviceRole Device role (slug) + DeviceRole *[]string `form:"device_role,omitempty" json:"device_role,omitempty"` + + // DeviceRoleN Device role (slug) + DeviceRoleN *[]string `form:"device_role__n,omitempty" json:"device_role__n,omitempty"` + + // DeviceRoleId Device role (ID) + DeviceRoleId *[]int `form:"device_role_id,omitempty" json:"device_role_id,omitempty"` + + // DeviceRoleIdN Device role (ID) + DeviceRoleIdN *[]int `form:"device_role_id__n,omitempty" json:"device_role_id__n,omitempty"` + + // DeviceType Device type (model) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (model) + DeviceTypeN *[]string `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DeviceTypeId Device type (ID) + DeviceTypeId *[]int `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` + + // DeviceTypeIdN Device type (ID) + DeviceTypeIdN *[]int `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` + + // FeedLeg Phase (for three-phase feeds) + FeedLeg *[]string `form:"feed_leg,omitempty" json:"feed_leg,omitempty"` + + // FeedLegN Phase (for three-phase feeds) + FeedLegN *[]string `form:"feed_leg__n,omitempty" json:"feed_leg__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelEmpty *bool `form:"label__empty,omitempty" json:"label__empty,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Location Location (slug) + Location *[]string `form:"location,omitempty" json:"location,omitempty"` + + // LocationN Location (slug) + LocationN *[]string `form:"location__n,omitempty" json:"location__n,omitempty"` + + // LocationId Location (ID) + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location (ID) + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuleId Module (ID) + ModuleId *[]int `form:"module_id,omitempty" json:"module_id,omitempty"` + + // ModuleIdN Module (ID) + ModuleIdN *[]int `form:"module_id__n,omitempty" json:"module_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + Occupied *bool `form:"occupied,omitempty" json:"occupied,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Rack Rack (name) + Rack *[]string `form:"rack,omitempty" json:"rack,omitempty"` + + // RackN Rack (name) + RackN *[]string `form:"rack__n,omitempty" json:"rack__n,omitempty"` + + // RackId Rack (ID) + RackId *[]int `form:"rack_id,omitempty" json:"rack_id,omitempty"` + + // RackIdN Rack (ID) + RackIdN *[]int `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Device role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Device role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Device role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Device role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Type Physical port type + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + + // TypeN Physical port type + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // VirtualChassis Virtual Chassis + VirtualChassis *[]string `form:"virtual_chassis,omitempty" json:"virtual_chassis,omitempty"` + + // VirtualChassisN Virtual Chassis + VirtualChassisN *[]string `form:"virtual_chassis__n,omitempty" json:"virtual_chassis__n,omitempty"` + + // VirtualChassisId Virtual Chassis (ID) + VirtualChassisId *[]int `form:"virtual_chassis_id,omitempty" json:"virtual_chassis_id,omitempty"` + + // VirtualChassisIdN Virtual Chassis (ID) + VirtualChassisIdN *[]int `form:"virtual_chassis_id__n,omitempty" json:"virtual_chassis_id__n,omitempty"` +} + +// DcimPowerOutletsBulkPartialUpdateJSONBody defines parameters for DcimPowerOutletsBulkPartialUpdate. +type DcimPowerOutletsBulkPartialUpdateJSONBody = []PowerOutletRequest + +// DcimPowerOutletsBulkPartialUpdateMultipartBody defines parameters for DcimPowerOutletsBulkPartialUpdate. +type DcimPowerOutletsBulkPartialUpdateMultipartBody = []PowerOutletRequest + +// DcimPowerOutletsBulkUpdateJSONBody defines parameters for DcimPowerOutletsBulkUpdate. +type DcimPowerOutletsBulkUpdateJSONBody = []PowerOutletRequest + +// DcimPowerOutletsBulkUpdateMultipartBody defines parameters for DcimPowerOutletsBulkUpdate. +type DcimPowerOutletsBulkUpdateMultipartBody = []PowerOutletRequest + +// DcimPowerPanelsBulkDestroyJSONBody defines parameters for DcimPowerPanelsBulkDestroy. +type DcimPowerPanelsBulkDestroyJSONBody = []PowerPanelRequest + +// DcimPowerPanelsBulkDestroyMultipartBody defines parameters for DcimPowerPanelsBulkDestroy. +type DcimPowerPanelsBulkDestroyMultipartBody = []PowerPanelRequest + +// DcimPowerPanelsListParams defines parameters for DcimPowerPanelsList. +type DcimPowerPanelsListParams struct { + // Contact Contact + Contact *[]int `form:"contact,omitempty" json:"contact,omitempty"` + + // ContactN Contact + ContactN *[]int `form:"contact__n,omitempty" json:"contact__n,omitempty"` + + // ContactGroup Contact group + ContactGroup *[]int `form:"contact_group,omitempty" json:"contact_group,omitempty"` + + // ContactGroupN Contact group + ContactGroupN *[]int `form:"contact_group__n,omitempty" json:"contact_group__n,omitempty"` + + // ContactRole Contact Role + ContactRole *[]int `form:"contact_role,omitempty" json:"contact_role,omitempty"` + + // ContactRoleN Contact Role + ContactRoleN *[]int `form:"contact_role__n,omitempty" json:"contact_role__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // LocationId Location (ID) + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location (ID) + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimPowerPanelsBulkPartialUpdateJSONBody defines parameters for DcimPowerPanelsBulkPartialUpdate. +type DcimPowerPanelsBulkPartialUpdateJSONBody = []PowerPanelRequest + +// DcimPowerPanelsBulkPartialUpdateMultipartBody defines parameters for DcimPowerPanelsBulkPartialUpdate. +type DcimPowerPanelsBulkPartialUpdateMultipartBody = []PowerPanelRequest + +// DcimPowerPanelsBulkUpdateJSONBody defines parameters for DcimPowerPanelsBulkUpdate. +type DcimPowerPanelsBulkUpdateJSONBody = []PowerPanelRequest + +// DcimPowerPanelsBulkUpdateMultipartBody defines parameters for DcimPowerPanelsBulkUpdate. +type DcimPowerPanelsBulkUpdateMultipartBody = []PowerPanelRequest + +// DcimPowerPortTemplatesBulkDestroyJSONBody defines parameters for DcimPowerPortTemplatesBulkDestroy. +type DcimPowerPortTemplatesBulkDestroyJSONBody = []PowerPortTemplateRequest + +// DcimPowerPortTemplatesBulkDestroyMultipartBody defines parameters for DcimPowerPortTemplatesBulkDestroy. +type DcimPowerPortTemplatesBulkDestroyMultipartBody = []PowerPortTemplateRequest + +// DcimPowerPortTemplatesListParams defines parameters for DcimPowerPortTemplatesList. +type DcimPowerPortTemplatesListParams struct { + AllocatedDraw *[]int32 `form:"allocated_draw,omitempty" json:"allocated_draw,omitempty"` + AllocatedDrawEmpty *bool `form:"allocated_draw__empty,omitempty" json:"allocated_draw__empty,omitempty"` + AllocatedDrawGt *[]int32 `form:"allocated_draw__gt,omitempty" json:"allocated_draw__gt,omitempty"` + AllocatedDrawGte *[]int32 `form:"allocated_draw__gte,omitempty" json:"allocated_draw__gte,omitempty"` + AllocatedDrawLt *[]int32 `form:"allocated_draw__lt,omitempty" json:"allocated_draw__lt,omitempty"` + AllocatedDrawLte *[]int32 `form:"allocated_draw__lte,omitempty" json:"allocated_draw__lte,omitempty"` + AllocatedDrawN *[]int32 `form:"allocated_draw__n,omitempty" json:"allocated_draw__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]int `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]int `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + MaximumDraw *[]int32 `form:"maximum_draw,omitempty" json:"maximum_draw,omitempty"` + MaximumDrawEmpty *bool `form:"maximum_draw__empty,omitempty" json:"maximum_draw__empty,omitempty"` + MaximumDrawGt *[]int32 `form:"maximum_draw__gt,omitempty" json:"maximum_draw__gt,omitempty"` + MaximumDrawGte *[]int32 `form:"maximum_draw__gte,omitempty" json:"maximum_draw__gte,omitempty"` + MaximumDrawLt *[]int32 `form:"maximum_draw__lt,omitempty" json:"maximum_draw__lt,omitempty"` + MaximumDrawLte *[]int32 `form:"maximum_draw__lte,omitempty" json:"maximum_draw__lte,omitempty"` + MaximumDrawN *[]int32 `form:"maximum_draw__n,omitempty" json:"maximum_draw__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuletypeId Module type (ID) + ModuletypeId *[]int `form:"moduletype_id,omitempty" json:"moduletype_id,omitempty"` + + // ModuletypeIdN Module type (ID) + ModuletypeIdN *[]int `form:"moduletype_id__n,omitempty" json:"moduletype_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimPowerPortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimPowerPortTemplatesBulkPartialUpdate. +type DcimPowerPortTemplatesBulkPartialUpdateJSONBody = []PowerPortTemplateRequest + +// DcimPowerPortTemplatesBulkPartialUpdateMultipartBody defines parameters for DcimPowerPortTemplatesBulkPartialUpdate. +type DcimPowerPortTemplatesBulkPartialUpdateMultipartBody = []PowerPortTemplateRequest + +// DcimPowerPortTemplatesBulkUpdateJSONBody defines parameters for DcimPowerPortTemplatesBulkUpdate. +type DcimPowerPortTemplatesBulkUpdateJSONBody = []PowerPortTemplateRequest + +// DcimPowerPortTemplatesBulkUpdateMultipartBody defines parameters for DcimPowerPortTemplatesBulkUpdate. +type DcimPowerPortTemplatesBulkUpdateMultipartBody = []PowerPortTemplateRequest + +// DcimPowerPortsBulkDestroyJSONBody defines parameters for DcimPowerPortsBulkDestroy. +type DcimPowerPortsBulkDestroyJSONBody = []PowerPortRequest + +// DcimPowerPortsBulkDestroyMultipartBody defines parameters for DcimPowerPortsBulkDestroy. +type DcimPowerPortsBulkDestroyMultipartBody = []PowerPortRequest + +// DcimPowerPortsListParams defines parameters for DcimPowerPortsList. +type DcimPowerPortsListParams struct { + AllocatedDraw *[]int32 `form:"allocated_draw,omitempty" json:"allocated_draw,omitempty"` + AllocatedDrawEmpty *bool `form:"allocated_draw__empty,omitempty" json:"allocated_draw__empty,omitempty"` + AllocatedDrawGt *[]int32 `form:"allocated_draw__gt,omitempty" json:"allocated_draw__gt,omitempty"` + AllocatedDrawGte *[]int32 `form:"allocated_draw__gte,omitempty" json:"allocated_draw__gte,omitempty"` + AllocatedDrawLt *[]int32 `form:"allocated_draw__lt,omitempty" json:"allocated_draw__lt,omitempty"` + AllocatedDrawLte *[]int32 `form:"allocated_draw__lte,omitempty" json:"allocated_draw__lte,omitempty"` + AllocatedDrawN *[]int32 `form:"allocated_draw__n,omitempty" json:"allocated_draw__n,omitempty"` + CableEnd *string `form:"cable_end,omitempty" json:"cable_end,omitempty"` + CableEndN *string `form:"cable_end__n,omitempty" json:"cable_end__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` + Connected *bool `form:"connected,omitempty" json:"connected,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + + // DeviceRole Device role (slug) + DeviceRole *[]string `form:"device_role,omitempty" json:"device_role,omitempty"` + + // DeviceRoleN Device role (slug) + DeviceRoleN *[]string `form:"device_role__n,omitempty" json:"device_role__n,omitempty"` + + // DeviceRoleId Device role (ID) + DeviceRoleId *[]int `form:"device_role_id,omitempty" json:"device_role_id,omitempty"` + + // DeviceRoleIdN Device role (ID) + DeviceRoleIdN *[]int `form:"device_role_id__n,omitempty" json:"device_role_id__n,omitempty"` + + // DeviceType Device type (model) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (model) + DeviceTypeN *[]string `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DeviceTypeId Device type (ID) + DeviceTypeId *[]int `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` + + // DeviceTypeIdN Device type (ID) + DeviceTypeIdN *[]int `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelEmpty *bool `form:"label__empty,omitempty" json:"label__empty,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Location Location (slug) + Location *[]string `form:"location,omitempty" json:"location,omitempty"` + + // LocationN Location (slug) + LocationN *[]string `form:"location__n,omitempty" json:"location__n,omitempty"` + + // LocationId Location (ID) + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location (ID) + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + MaximumDraw *[]int32 `form:"maximum_draw,omitempty" json:"maximum_draw,omitempty"` + MaximumDrawEmpty *bool `form:"maximum_draw__empty,omitempty" json:"maximum_draw__empty,omitempty"` + MaximumDrawGt *[]int32 `form:"maximum_draw__gt,omitempty" json:"maximum_draw__gt,omitempty"` + MaximumDrawGte *[]int32 `form:"maximum_draw__gte,omitempty" json:"maximum_draw__gte,omitempty"` + MaximumDrawLt *[]int32 `form:"maximum_draw__lt,omitempty" json:"maximum_draw__lt,omitempty"` + MaximumDrawLte *[]int32 `form:"maximum_draw__lte,omitempty" json:"maximum_draw__lte,omitempty"` + MaximumDrawN *[]int32 `form:"maximum_draw__n,omitempty" json:"maximum_draw__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuleId Module (ID) + ModuleId *[]int `form:"module_id,omitempty" json:"module_id,omitempty"` + + // ModuleIdN Module (ID) + ModuleIdN *[]int `form:"module_id__n,omitempty" json:"module_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + Occupied *bool `form:"occupied,omitempty" json:"occupied,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Rack Rack (name) + Rack *[]string `form:"rack,omitempty" json:"rack,omitempty"` + + // RackN Rack (name) + RackN *[]string `form:"rack__n,omitempty" json:"rack__n,omitempty"` + + // RackId Rack (ID) + RackId *[]int `form:"rack_id,omitempty" json:"rack_id,omitempty"` + + // RackIdN Rack (ID) + RackIdN *[]int `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Device role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Device role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Device role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Device role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Type Physical port type + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + + // TypeN Physical port type + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // VirtualChassis Virtual Chassis + VirtualChassis *[]string `form:"virtual_chassis,omitempty" json:"virtual_chassis,omitempty"` + + // VirtualChassisN Virtual Chassis + VirtualChassisN *[]string `form:"virtual_chassis__n,omitempty" json:"virtual_chassis__n,omitempty"` + + // VirtualChassisId Virtual Chassis (ID) + VirtualChassisId *[]int `form:"virtual_chassis_id,omitempty" json:"virtual_chassis_id,omitempty"` + + // VirtualChassisIdN Virtual Chassis (ID) + VirtualChassisIdN *[]int `form:"virtual_chassis_id__n,omitempty" json:"virtual_chassis_id__n,omitempty"` +} + +// DcimPowerPortsBulkPartialUpdateJSONBody defines parameters for DcimPowerPortsBulkPartialUpdate. +type DcimPowerPortsBulkPartialUpdateJSONBody = []PowerPortRequest + +// DcimPowerPortsBulkPartialUpdateMultipartBody defines parameters for DcimPowerPortsBulkPartialUpdate. +type DcimPowerPortsBulkPartialUpdateMultipartBody = []PowerPortRequest + +// DcimPowerPortsBulkUpdateJSONBody defines parameters for DcimPowerPortsBulkUpdate. +type DcimPowerPortsBulkUpdateJSONBody = []PowerPortRequest + +// DcimPowerPortsBulkUpdateMultipartBody defines parameters for DcimPowerPortsBulkUpdate. +type DcimPowerPortsBulkUpdateMultipartBody = []PowerPortRequest + +// DcimRackReservationsBulkDestroyJSONBody defines parameters for DcimRackReservationsBulkDestroy. +type DcimRackReservationsBulkDestroyJSONBody = []RackReservationRequest + +// DcimRackReservationsBulkDestroyMultipartBody defines parameters for DcimRackReservationsBulkDestroy. +type DcimRackReservationsBulkDestroyMultipartBody = []RackReservationRequest + +// DcimRackReservationsListParams defines parameters for DcimRackReservationsList. +type DcimRackReservationsListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Location Location (slug) + Location *[]int `form:"location,omitempty" json:"location,omitempty"` + + // LocationN Location (slug) + LocationN *[]int `form:"location__n,omitempty" json:"location__n,omitempty"` + + // LocationId Location (ID) + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location (ID) + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // RackId Rack (ID) + RackId *[]int `form:"rack_id,omitempty" json:"rack_id,omitempty"` + + // RackIdN Rack (ID) + RackIdN *[]int `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // User User (name) + User *[]string `form:"user,omitempty" json:"user,omitempty"` + + // UserN User (name) + UserN *[]string `form:"user__n,omitempty" json:"user__n,omitempty"` + + // UserId User (ID) + UserId *[]int `form:"user_id,omitempty" json:"user_id,omitempty"` + + // UserIdN User (ID) + UserIdN *[]int `form:"user_id__n,omitempty" json:"user_id__n,omitempty"` +} + +// DcimRackReservationsBulkPartialUpdateJSONBody defines parameters for DcimRackReservationsBulkPartialUpdate. +type DcimRackReservationsBulkPartialUpdateJSONBody = []RackReservationRequest + +// DcimRackReservationsBulkPartialUpdateMultipartBody defines parameters for DcimRackReservationsBulkPartialUpdate. +type DcimRackReservationsBulkPartialUpdateMultipartBody = []RackReservationRequest + +// DcimRackReservationsBulkUpdateJSONBody defines parameters for DcimRackReservationsBulkUpdate. +type DcimRackReservationsBulkUpdateJSONBody = []RackReservationRequest + +// DcimRackReservationsBulkUpdateMultipartBody defines parameters for DcimRackReservationsBulkUpdate. +type DcimRackReservationsBulkUpdateMultipartBody = []RackReservationRequest + +// DcimRackRolesBulkDestroyJSONBody defines parameters for DcimRackRolesBulkDestroy. +type DcimRackRolesBulkDestroyJSONBody = []RackRoleRequest + +// DcimRackRolesBulkDestroyMultipartBody defines parameters for DcimRackRolesBulkDestroy. +type DcimRackRolesBulkDestroyMultipartBody = []RackRoleRequest + +// DcimRackRolesListParams defines parameters for DcimRackRolesList. +type DcimRackRolesListParams struct { + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorEmpty *bool `form:"color__empty,omitempty" json:"color__empty,omitempty"` + ColorIc *[]string `form:"color__ic,omitempty" json:"color__ic,omitempty"` + ColorIe *[]string `form:"color__ie,omitempty" json:"color__ie,omitempty"` + ColorIew *[]string `form:"color__iew,omitempty" json:"color__iew,omitempty"` + ColorIsw *[]string `form:"color__isw,omitempty" json:"color__isw,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + ColorNic *[]string `form:"color__nic,omitempty" json:"color__nic,omitempty"` + ColorNie *[]string `form:"color__nie,omitempty" json:"color__nie,omitempty"` + ColorNiew *[]string `form:"color__niew,omitempty" json:"color__niew,omitempty"` + ColorNisw *[]string `form:"color__nisw,omitempty" json:"color__nisw,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimRackRolesBulkPartialUpdateJSONBody defines parameters for DcimRackRolesBulkPartialUpdate. +type DcimRackRolesBulkPartialUpdateJSONBody = []RackRoleRequest + +// DcimRackRolesBulkPartialUpdateMultipartBody defines parameters for DcimRackRolesBulkPartialUpdate. +type DcimRackRolesBulkPartialUpdateMultipartBody = []RackRoleRequest + +// DcimRackRolesBulkUpdateJSONBody defines parameters for DcimRackRolesBulkUpdate. +type DcimRackRolesBulkUpdateJSONBody = []RackRoleRequest + +// DcimRackRolesBulkUpdateMultipartBody defines parameters for DcimRackRolesBulkUpdate. +type DcimRackRolesBulkUpdateMultipartBody = []RackRoleRequest + +// DcimRacksBulkDestroyJSONBody defines parameters for DcimRacksBulkDestroy. +type DcimRacksBulkDestroyJSONBody = []RackRequest + +// DcimRacksBulkDestroyMultipartBody defines parameters for DcimRacksBulkDestroy. +type DcimRacksBulkDestroyMultipartBody = []RackRequest + +// DcimRacksListParams defines parameters for DcimRacksList. +type DcimRacksListParams struct { + AssetTag *[]string `form:"asset_tag,omitempty" json:"asset_tag,omitempty"` + AssetTagEmpty *bool `form:"asset_tag__empty,omitempty" json:"asset_tag__empty,omitempty"` + AssetTagIc *[]string `form:"asset_tag__ic,omitempty" json:"asset_tag__ic,omitempty"` + AssetTagIe *[]string `form:"asset_tag__ie,omitempty" json:"asset_tag__ie,omitempty"` + AssetTagIew *[]string `form:"asset_tag__iew,omitempty" json:"asset_tag__iew,omitempty"` + AssetTagIsw *[]string `form:"asset_tag__isw,omitempty" json:"asset_tag__isw,omitempty"` + AssetTagN *[]string `form:"asset_tag__n,omitempty" json:"asset_tag__n,omitempty"` + AssetTagNic *[]string `form:"asset_tag__nic,omitempty" json:"asset_tag__nic,omitempty"` + AssetTagNie *[]string `form:"asset_tag__nie,omitempty" json:"asset_tag__nie,omitempty"` + AssetTagNiew *[]string `form:"asset_tag__niew,omitempty" json:"asset_tag__niew,omitempty"` + AssetTagNisw *[]string `form:"asset_tag__nisw,omitempty" json:"asset_tag__nisw,omitempty"` + + // Contact Contact + Contact *[]int `form:"contact,omitempty" json:"contact,omitempty"` + + // ContactN Contact + ContactN *[]int `form:"contact__n,omitempty" json:"contact__n,omitempty"` + + // ContactGroup Contact group + ContactGroup *[]int `form:"contact_group,omitempty" json:"contact_group,omitempty"` + + // ContactGroupN Contact group + ContactGroupN *[]int `form:"contact_group__n,omitempty" json:"contact_group__n,omitempty"` + + // ContactRole Contact Role + ContactRole *[]int `form:"contact_role,omitempty" json:"contact_role,omitempty"` + + // ContactRoleN Contact Role + ContactRoleN *[]int `form:"contact_role__n,omitempty" json:"contact_role__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + DescUnits *bool `form:"desc_units,omitempty" json:"desc_units,omitempty"` + FacilityId *[]string `form:"facility_id,omitempty" json:"facility_id,omitempty"` + FacilityIdEmpty *bool `form:"facility_id__empty,omitempty" json:"facility_id__empty,omitempty"` + FacilityIdIc *[]string `form:"facility_id__ic,omitempty" json:"facility_id__ic,omitempty"` + FacilityIdIe *[]string `form:"facility_id__ie,omitempty" json:"facility_id__ie,omitempty"` + FacilityIdIew *[]string `form:"facility_id__iew,omitempty" json:"facility_id__iew,omitempty"` + FacilityIdIsw *[]string `form:"facility_id__isw,omitempty" json:"facility_id__isw,omitempty"` + FacilityIdN *[]string `form:"facility_id__n,omitempty" json:"facility_id__n,omitempty"` + FacilityIdNic *[]string `form:"facility_id__nic,omitempty" json:"facility_id__nic,omitempty"` + FacilityIdNie *[]string `form:"facility_id__nie,omitempty" json:"facility_id__nie,omitempty"` + FacilityIdNiew *[]string `form:"facility_id__niew,omitempty" json:"facility_id__niew,omitempty"` + FacilityIdNisw *[]string `form:"facility_id__nisw,omitempty" json:"facility_id__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Location Location (slug) + Location *[]int `form:"location,omitempty" json:"location,omitempty"` + + // LocationN Location (slug) + LocationN *[]int `form:"location__n,omitempty" json:"location__n,omitempty"` + + // LocationId Location (ID) + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location (ID) + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + MaxWeight *[]int32 `form:"max_weight,omitempty" json:"max_weight,omitempty"` + MaxWeightEmpty *bool `form:"max_weight__empty,omitempty" json:"max_weight__empty,omitempty"` + MaxWeightGt *[]int32 `form:"max_weight__gt,omitempty" json:"max_weight__gt,omitempty"` + MaxWeightGte *[]int32 `form:"max_weight__gte,omitempty" json:"max_weight__gte,omitempty"` + MaxWeightLt *[]int32 `form:"max_weight__lt,omitempty" json:"max_weight__lt,omitempty"` + MaxWeightLte *[]int32 `form:"max_weight__lte,omitempty" json:"max_weight__lte,omitempty"` + MaxWeightN *[]int32 `form:"max_weight__n,omitempty" json:"max_weight__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + MountingDepth *[]int32 `form:"mounting_depth,omitempty" json:"mounting_depth,omitempty"` + MountingDepthEmpty *bool `form:"mounting_depth__empty,omitempty" json:"mounting_depth__empty,omitempty"` + MountingDepthGt *[]int32 `form:"mounting_depth__gt,omitempty" json:"mounting_depth__gt,omitempty"` + MountingDepthGte *[]int32 `form:"mounting_depth__gte,omitempty" json:"mounting_depth__gte,omitempty"` + MountingDepthLt *[]int32 `form:"mounting_depth__lt,omitempty" json:"mounting_depth__lt,omitempty"` + MountingDepthLte *[]int32 `form:"mounting_depth__lte,omitempty" json:"mounting_depth__lte,omitempty"` + MountingDepthN *[]int32 `form:"mounting_depth__n,omitempty" json:"mounting_depth__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + OuterDepth *[]int32 `form:"outer_depth,omitempty" json:"outer_depth,omitempty"` + OuterDepthEmpty *bool `form:"outer_depth__empty,omitempty" json:"outer_depth__empty,omitempty"` + OuterDepthGt *[]int32 `form:"outer_depth__gt,omitempty" json:"outer_depth__gt,omitempty"` + OuterDepthGte *[]int32 `form:"outer_depth__gte,omitempty" json:"outer_depth__gte,omitempty"` + OuterDepthLt *[]int32 `form:"outer_depth__lt,omitempty" json:"outer_depth__lt,omitempty"` + OuterDepthLte *[]int32 `form:"outer_depth__lte,omitempty" json:"outer_depth__lte,omitempty"` + OuterDepthN *[]int32 `form:"outer_depth__n,omitempty" json:"outer_depth__n,omitempty"` + OuterUnit *string `form:"outer_unit,omitempty" json:"outer_unit,omitempty"` + OuterUnitN *string `form:"outer_unit__n,omitempty" json:"outer_unit__n,omitempty"` + OuterWidth *[]int32 `form:"outer_width,omitempty" json:"outer_width,omitempty"` + OuterWidthEmpty *bool `form:"outer_width__empty,omitempty" json:"outer_width__empty,omitempty"` + OuterWidthGt *[]int32 `form:"outer_width__gt,omitempty" json:"outer_width__gt,omitempty"` + OuterWidthGte *[]int32 `form:"outer_width__gte,omitempty" json:"outer_width__gte,omitempty"` + OuterWidthLt *[]int32 `form:"outer_width__lt,omitempty" json:"outer_width__lt,omitempty"` + OuterWidthLte *[]int32 `form:"outer_width__lte,omitempty" json:"outer_width__lte,omitempty"` + OuterWidthN *[]int32 `form:"outer_width__n,omitempty" json:"outer_width__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + Serial *[]string `form:"serial,omitempty" json:"serial,omitempty"` + SerialEmpty *bool `form:"serial__empty,omitempty" json:"serial__empty,omitempty"` + SerialIc *[]string `form:"serial__ic,omitempty" json:"serial__ic,omitempty"` + SerialIe *[]string `form:"serial__ie,omitempty" json:"serial__ie,omitempty"` + SerialIew *[]string `form:"serial__iew,omitempty" json:"serial__iew,omitempty"` + SerialIsw *[]string `form:"serial__isw,omitempty" json:"serial__isw,omitempty"` + SerialN *[]string `form:"serial__n,omitempty" json:"serial__n,omitempty"` + SerialNic *[]string `form:"serial__nic,omitempty" json:"serial__nic,omitempty"` + SerialNie *[]string `form:"serial__nie,omitempty" json:"serial__nie,omitempty"` + SerialNiew *[]string `form:"serial__niew,omitempty" json:"serial__niew,omitempty"` + SerialNisw *[]string `form:"serial__nisw,omitempty" json:"serial__nisw,omitempty"` + + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + StartingUnit *[]int32 `form:"starting_unit,omitempty" json:"starting_unit,omitempty"` + StartingUnitEmpty *bool `form:"starting_unit__empty,omitempty" json:"starting_unit__empty,omitempty"` + StartingUnitGt *[]int32 `form:"starting_unit__gt,omitempty" json:"starting_unit__gt,omitempty"` + StartingUnitGte *[]int32 `form:"starting_unit__gte,omitempty" json:"starting_unit__gte,omitempty"` + StartingUnitLt *[]int32 `form:"starting_unit__lt,omitempty" json:"starting_unit__lt,omitempty"` + StartingUnitLte *[]int32 `form:"starting_unit__lte,omitempty" json:"starting_unit__lte,omitempty"` + StartingUnitN *[]int32 `form:"starting_unit__n,omitempty" json:"starting_unit__n,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UHeight *[]int32 `form:"u_height,omitempty" json:"u_height,omitempty"` + UHeightEmpty *bool `form:"u_height__empty,omitempty" json:"u_height__empty,omitempty"` + UHeightGt *[]int32 `form:"u_height__gt,omitempty" json:"u_height__gt,omitempty"` + UHeightGte *[]int32 `form:"u_height__gte,omitempty" json:"u_height__gte,omitempty"` + UHeightLt *[]int32 `form:"u_height__lt,omitempty" json:"u_height__lt,omitempty"` + UHeightLte *[]int32 `form:"u_height__lte,omitempty" json:"u_height__lte,omitempty"` + UHeightN *[]int32 `form:"u_height__n,omitempty" json:"u_height__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + Weight *[]float64 `form:"weight,omitempty" json:"weight,omitempty"` + WeightEmpty *bool `form:"weight__empty,omitempty" json:"weight__empty,omitempty"` + WeightGt *[]float64 `form:"weight__gt,omitempty" json:"weight__gt,omitempty"` + WeightGte *[]float64 `form:"weight__gte,omitempty" json:"weight__gte,omitempty"` + WeightLt *[]float64 `form:"weight__lt,omitempty" json:"weight__lt,omitempty"` + WeightLte *[]float64 `form:"weight__lte,omitempty" json:"weight__lte,omitempty"` + WeightN *[]float64 `form:"weight__n,omitempty" json:"weight__n,omitempty"` + WeightUnit *string `form:"weight_unit,omitempty" json:"weight_unit,omitempty"` + WeightUnitN *string `form:"weight_unit__n,omitempty" json:"weight_unit__n,omitempty"` + + // Width Rail-to-rail width + Width *[]int `form:"width,omitempty" json:"width,omitempty"` + + // WidthN Rail-to-rail width + WidthN *[]int `form:"width__n,omitempty" json:"width__n,omitempty"` +} + +// DcimRacksBulkPartialUpdateJSONBody defines parameters for DcimRacksBulkPartialUpdate. +type DcimRacksBulkPartialUpdateJSONBody = []RackRequest + +// DcimRacksBulkPartialUpdateMultipartBody defines parameters for DcimRacksBulkPartialUpdate. +type DcimRacksBulkPartialUpdateMultipartBody = []RackRequest + +// DcimRacksBulkUpdateJSONBody defines parameters for DcimRacksBulkUpdate. +type DcimRacksBulkUpdateJSONBody = []RackRequest + +// DcimRacksBulkUpdateMultipartBody defines parameters for DcimRacksBulkUpdate. +type DcimRacksBulkUpdateMultipartBody = []RackRequest + +// DcimRearPortTemplatesBulkDestroyJSONBody defines parameters for DcimRearPortTemplatesBulkDestroy. +type DcimRearPortTemplatesBulkDestroyJSONBody = []RearPortTemplateRequest + +// DcimRearPortTemplatesBulkDestroyMultipartBody defines parameters for DcimRearPortTemplatesBulkDestroy. +type DcimRearPortTemplatesBulkDestroyMultipartBody = []RearPortTemplateRequest + +// DcimRearPortTemplatesListParams defines parameters for DcimRearPortTemplatesList. +type DcimRearPortTemplatesListParams struct { + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorEmpty *bool `form:"color__empty,omitempty" json:"color__empty,omitempty"` + ColorIc *[]string `form:"color__ic,omitempty" json:"color__ic,omitempty"` + ColorIe *[]string `form:"color__ie,omitempty" json:"color__ie,omitempty"` + ColorIew *[]string `form:"color__iew,omitempty" json:"color__iew,omitempty"` + ColorIsw *[]string `form:"color__isw,omitempty" json:"color__isw,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + ColorNic *[]string `form:"color__nic,omitempty" json:"color__nic,omitempty"` + ColorNie *[]string `form:"color__nie,omitempty" json:"color__nie,omitempty"` + ColorNiew *[]string `form:"color__niew,omitempty" json:"color__niew,omitempty"` + ColorNisw *[]string `form:"color__nisw,omitempty" json:"color__nisw,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]int `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]int `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuletypeId Module type (ID) + ModuletypeId *[]int `form:"moduletype_id,omitempty" json:"moduletype_id,omitempty"` + + // ModuletypeIdN Module type (ID) + ModuletypeIdN *[]int `form:"moduletype_id__n,omitempty" json:"moduletype_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + Positions *[]int32 `form:"positions,omitempty" json:"positions,omitempty"` + PositionsEmpty *bool `form:"positions__empty,omitempty" json:"positions__empty,omitempty"` + PositionsGt *[]int32 `form:"positions__gt,omitempty" json:"positions__gt,omitempty"` + PositionsGte *[]int32 `form:"positions__gte,omitempty" json:"positions__gte,omitempty"` + PositionsLt *[]int32 `form:"positions__lt,omitempty" json:"positions__lt,omitempty"` + PositionsLte *[]int32 `form:"positions__lte,omitempty" json:"positions__lte,omitempty"` + PositionsN *[]int32 `form:"positions__n,omitempty" json:"positions__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimRearPortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimRearPortTemplatesBulkPartialUpdate. +type DcimRearPortTemplatesBulkPartialUpdateJSONBody = []RearPortTemplateRequest + +// DcimRearPortTemplatesBulkPartialUpdateMultipartBody defines parameters for DcimRearPortTemplatesBulkPartialUpdate. +type DcimRearPortTemplatesBulkPartialUpdateMultipartBody = []RearPortTemplateRequest + +// DcimRearPortTemplatesBulkUpdateJSONBody defines parameters for DcimRearPortTemplatesBulkUpdate. +type DcimRearPortTemplatesBulkUpdateJSONBody = []RearPortTemplateRequest + +// DcimRearPortTemplatesBulkUpdateMultipartBody defines parameters for DcimRearPortTemplatesBulkUpdate. +type DcimRearPortTemplatesBulkUpdateMultipartBody = []RearPortTemplateRequest + +// DcimRearPortsBulkDestroyJSONBody defines parameters for DcimRearPortsBulkDestroy. +type DcimRearPortsBulkDestroyJSONBody = []RearPortRequest + +// DcimRearPortsBulkDestroyMultipartBody defines parameters for DcimRearPortsBulkDestroy. +type DcimRearPortsBulkDestroyMultipartBody = []RearPortRequest + +// DcimRearPortsListParams defines parameters for DcimRearPortsList. +type DcimRearPortsListParams struct { + CableEnd *string `form:"cable_end,omitempty" json:"cable_end,omitempty"` + CableEndN *string `form:"cable_end__n,omitempty" json:"cable_end__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorEmpty *bool `form:"color__empty,omitempty" json:"color__empty,omitempty"` + ColorIc *[]string `form:"color__ic,omitempty" json:"color__ic,omitempty"` + ColorIe *[]string `form:"color__ie,omitempty" json:"color__ie,omitempty"` + ColorIew *[]string `form:"color__iew,omitempty" json:"color__iew,omitempty"` + ColorIsw *[]string `form:"color__isw,omitempty" json:"color__isw,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + ColorNic *[]string `form:"color__nic,omitempty" json:"color__nic,omitempty"` + ColorNie *[]string `form:"color__nie,omitempty" json:"color__nie,omitempty"` + ColorNiew *[]string `form:"color__niew,omitempty" json:"color__niew,omitempty"` + ColorNisw *[]string `form:"color__nisw,omitempty" json:"color__nisw,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + + // DeviceRole Device role (slug) + DeviceRole *[]string `form:"device_role,omitempty" json:"device_role,omitempty"` + + // DeviceRoleN Device role (slug) + DeviceRoleN *[]string `form:"device_role__n,omitempty" json:"device_role__n,omitempty"` + + // DeviceRoleId Device role (ID) + DeviceRoleId *[]int `form:"device_role_id,omitempty" json:"device_role_id,omitempty"` + + // DeviceRoleIdN Device role (ID) + DeviceRoleIdN *[]int `form:"device_role_id__n,omitempty" json:"device_role_id__n,omitempty"` + + // DeviceType Device type (model) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (model) + DeviceTypeN *[]string `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DeviceTypeId Device type (ID) + DeviceTypeId *[]int `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` + + // DeviceTypeIdN Device type (ID) + DeviceTypeIdN *[]int `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelEmpty *bool `form:"label__empty,omitempty" json:"label__empty,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Location Location (slug) + Location *[]string `form:"location,omitempty" json:"location,omitempty"` + + // LocationN Location (slug) + LocationN *[]string `form:"location__n,omitempty" json:"location__n,omitempty"` + + // LocationId Location (ID) + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location (ID) + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // ModuleId Module (ID) + ModuleId *[]int `form:"module_id,omitempty" json:"module_id,omitempty"` + + // ModuleIdN Module (ID) + ModuleIdN *[]int `form:"module_id__n,omitempty" json:"module_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + Occupied *bool `form:"occupied,omitempty" json:"occupied,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + Positions *[]int32 `form:"positions,omitempty" json:"positions,omitempty"` + PositionsEmpty *bool `form:"positions__empty,omitempty" json:"positions__empty,omitempty"` + PositionsGt *[]int32 `form:"positions__gt,omitempty" json:"positions__gt,omitempty"` + PositionsGte *[]int32 `form:"positions__gte,omitempty" json:"positions__gte,omitempty"` + PositionsLt *[]int32 `form:"positions__lt,omitempty" json:"positions__lt,omitempty"` + PositionsLte *[]int32 `form:"positions__lte,omitempty" json:"positions__lte,omitempty"` + PositionsN *[]int32 `form:"positions__n,omitempty" json:"positions__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Rack Rack (name) + Rack *[]string `form:"rack,omitempty" json:"rack,omitempty"` + + // RackN Rack (name) + RackN *[]string `form:"rack__n,omitempty" json:"rack__n,omitempty"` + + // RackId Rack (ID) + RackId *[]int `form:"rack_id,omitempty" json:"rack_id,omitempty"` + + // RackIdN Rack (ID) + RackIdN *[]int `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Device role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Device role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Device role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Device role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // VirtualChassis Virtual Chassis + VirtualChassis *[]string `form:"virtual_chassis,omitempty" json:"virtual_chassis,omitempty"` + + // VirtualChassisN Virtual Chassis + VirtualChassisN *[]string `form:"virtual_chassis__n,omitempty" json:"virtual_chassis__n,omitempty"` + + // VirtualChassisId Virtual Chassis (ID) + VirtualChassisId *[]int `form:"virtual_chassis_id,omitempty" json:"virtual_chassis_id,omitempty"` + + // VirtualChassisIdN Virtual Chassis (ID) + VirtualChassisIdN *[]int `form:"virtual_chassis_id__n,omitempty" json:"virtual_chassis_id__n,omitempty"` +} + +// DcimRearPortsBulkPartialUpdateJSONBody defines parameters for DcimRearPortsBulkPartialUpdate. +type DcimRearPortsBulkPartialUpdateJSONBody = []RearPortRequest + +// DcimRearPortsBulkPartialUpdateMultipartBody defines parameters for DcimRearPortsBulkPartialUpdate. +type DcimRearPortsBulkPartialUpdateMultipartBody = []RearPortRequest + +// DcimRearPortsBulkUpdateJSONBody defines parameters for DcimRearPortsBulkUpdate. +type DcimRearPortsBulkUpdateJSONBody = []RearPortRequest + +// DcimRearPortsBulkUpdateMultipartBody defines parameters for DcimRearPortsBulkUpdate. +type DcimRearPortsBulkUpdateMultipartBody = []RearPortRequest + +// DcimRegionsBulkDestroyJSONBody defines parameters for DcimRegionsBulkDestroy. +type DcimRegionsBulkDestroyJSONBody = []RegionRequest + +// DcimRegionsBulkDestroyMultipartBody defines parameters for DcimRegionsBulkDestroy. +type DcimRegionsBulkDestroyMultipartBody = []RegionRequest + +// DcimRegionsListParams defines parameters for DcimRegionsList. +type DcimRegionsListParams struct { + // Contact Contact + Contact *[]int `form:"contact,omitempty" json:"contact,omitempty"` + + // ContactN Contact + ContactN *[]int `form:"contact__n,omitempty" json:"contact__n,omitempty"` + + // ContactGroup Contact group + ContactGroup *[]int `form:"contact_group,omitempty" json:"contact_group,omitempty"` + + // ContactGroupN Contact group + ContactGroupN *[]int `form:"contact_group__n,omitempty" json:"contact_group__n,omitempty"` + + // ContactRole Contact Role + ContactRole *[]int `form:"contact_role,omitempty" json:"contact_role,omitempty"` + + // ContactRoleN Contact Role + ContactRoleN *[]int `form:"contact_role__n,omitempty" json:"contact_role__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Parent Parent region (slug) + Parent *[]string `form:"parent,omitempty" json:"parent,omitempty"` + + // ParentN Parent region (slug) + ParentN *[]string `form:"parent__n,omitempty" json:"parent__n,omitempty"` + + // ParentId Parent region (ID) + ParentId *[]int `form:"parent_id,omitempty" json:"parent_id,omitempty"` + + // ParentIdN Parent region (ID) + ParentIdN *[]int `form:"parent_id__n,omitempty" json:"parent_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimRegionsBulkPartialUpdateJSONBody defines parameters for DcimRegionsBulkPartialUpdate. +type DcimRegionsBulkPartialUpdateJSONBody = []RegionRequest + +// DcimRegionsBulkPartialUpdateMultipartBody defines parameters for DcimRegionsBulkPartialUpdate. +type DcimRegionsBulkPartialUpdateMultipartBody = []RegionRequest + +// DcimRegionsBulkUpdateJSONBody defines parameters for DcimRegionsBulkUpdate. +type DcimRegionsBulkUpdateJSONBody = []RegionRequest + +// DcimRegionsBulkUpdateMultipartBody defines parameters for DcimRegionsBulkUpdate. +type DcimRegionsBulkUpdateMultipartBody = []RegionRequest + +// DcimSiteGroupsBulkDestroyJSONBody defines parameters for DcimSiteGroupsBulkDestroy. +type DcimSiteGroupsBulkDestroyJSONBody = []SiteGroupRequest + +// DcimSiteGroupsBulkDestroyMultipartBody defines parameters for DcimSiteGroupsBulkDestroy. +type DcimSiteGroupsBulkDestroyMultipartBody = []SiteGroupRequest + +// DcimSiteGroupsListParams defines parameters for DcimSiteGroupsList. +type DcimSiteGroupsListParams struct { + // Contact Contact + Contact *[]int `form:"contact,omitempty" json:"contact,omitempty"` + + // ContactN Contact + ContactN *[]int `form:"contact__n,omitempty" json:"contact__n,omitempty"` + + // ContactGroup Contact group + ContactGroup *[]int `form:"contact_group,omitempty" json:"contact_group,omitempty"` + + // ContactGroupN Contact group + ContactGroupN *[]int `form:"contact_group__n,omitempty" json:"contact_group__n,omitempty"` + + // ContactRole Contact Role + ContactRole *[]int `form:"contact_role,omitempty" json:"contact_role,omitempty"` + + // ContactRoleN Contact Role + ContactRoleN *[]int `form:"contact_role__n,omitempty" json:"contact_role__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Parent Parent site group (slug) + Parent *[]string `form:"parent,omitempty" json:"parent,omitempty"` + + // ParentN Parent site group (slug) + ParentN *[]string `form:"parent__n,omitempty" json:"parent__n,omitempty"` + + // ParentId Parent site group (ID) + ParentId *[]int `form:"parent_id,omitempty" json:"parent_id,omitempty"` + + // ParentIdN Parent site group (ID) + ParentIdN *[]int `form:"parent_id__n,omitempty" json:"parent_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimSiteGroupsBulkPartialUpdateJSONBody defines parameters for DcimSiteGroupsBulkPartialUpdate. +type DcimSiteGroupsBulkPartialUpdateJSONBody = []SiteGroupRequest + +// DcimSiteGroupsBulkPartialUpdateMultipartBody defines parameters for DcimSiteGroupsBulkPartialUpdate. +type DcimSiteGroupsBulkPartialUpdateMultipartBody = []SiteGroupRequest + +// DcimSiteGroupsBulkUpdateJSONBody defines parameters for DcimSiteGroupsBulkUpdate. +type DcimSiteGroupsBulkUpdateJSONBody = []SiteGroupRequest + +// DcimSiteGroupsBulkUpdateMultipartBody defines parameters for DcimSiteGroupsBulkUpdate. +type DcimSiteGroupsBulkUpdateMultipartBody = []SiteGroupRequest + +// DcimSitesBulkDestroyJSONBody defines parameters for DcimSitesBulkDestroy. +type DcimSitesBulkDestroyJSONBody = []SiteRequest + +// DcimSitesBulkDestroyMultipartBody defines parameters for DcimSitesBulkDestroy. +type DcimSitesBulkDestroyMultipartBody = []SiteRequest + +// DcimSitesListParams defines parameters for DcimSitesList. +type DcimSitesListParams struct { + // Asn AS (ID) + Asn *[]int64 `form:"asn,omitempty" json:"asn,omitempty"` + + // AsnN AS (ID) + AsnN *[]int64 `form:"asn__n,omitempty" json:"asn__n,omitempty"` + + // AsnId AS (ID) + AsnId *[]int `form:"asn_id,omitempty" json:"asn_id,omitempty"` + + // AsnIdN AS (ID) + AsnIdN *[]int `form:"asn_id__n,omitempty" json:"asn_id__n,omitempty"` + + // Contact Contact + Contact *[]int `form:"contact,omitempty" json:"contact,omitempty"` + + // ContactN Contact + ContactN *[]int `form:"contact__n,omitempty" json:"contact__n,omitempty"` + + // ContactGroup Contact group + ContactGroup *[]int `form:"contact_group,omitempty" json:"contact_group,omitempty"` + + // ContactGroupN Contact group + ContactGroupN *[]int `form:"contact_group__n,omitempty" json:"contact_group__n,omitempty"` + + // ContactRole Contact Role + ContactRole *[]int `form:"contact_role,omitempty" json:"contact_role,omitempty"` + + // ContactRoleN Contact Role + ContactRoleN *[]int `form:"contact_role__n,omitempty" json:"contact_role__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Facility *[]string `form:"facility,omitempty" json:"facility,omitempty"` + FacilityEmpty *bool `form:"facility__empty,omitempty" json:"facility__empty,omitempty"` + FacilityIc *[]string `form:"facility__ic,omitempty" json:"facility__ic,omitempty"` + FacilityIe *[]string `form:"facility__ie,omitempty" json:"facility__ie,omitempty"` + FacilityIew *[]string `form:"facility__iew,omitempty" json:"facility__iew,omitempty"` + FacilityIsw *[]string `form:"facility__isw,omitempty" json:"facility__isw,omitempty"` + FacilityN *[]string `form:"facility__n,omitempty" json:"facility__n,omitempty"` + FacilityNic *[]string `form:"facility__nic,omitempty" json:"facility__nic,omitempty"` + FacilityNie *[]string `form:"facility__nie,omitempty" json:"facility__nie,omitempty"` + FacilityNiew *[]string `form:"facility__niew,omitempty" json:"facility__niew,omitempty"` + FacilityNisw *[]string `form:"facility__nisw,omitempty" json:"facility__nisw,omitempty"` + + // Group Group (slug) + Group *[]int `form:"group,omitempty" json:"group,omitempty"` + + // GroupN Group (slug) + GroupN *[]int `form:"group__n,omitempty" json:"group__n,omitempty"` + + // GroupId Group (ID) + GroupId *[]int `form:"group_id,omitempty" json:"group_id,omitempty"` + + // GroupIdN Group (ID) + GroupIdN *[]int `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + Latitude *[]float64 `form:"latitude,omitempty" json:"latitude,omitempty"` + LatitudeEmpty *bool `form:"latitude__empty,omitempty" json:"latitude__empty,omitempty"` + LatitudeGt *[]float64 `form:"latitude__gt,omitempty" json:"latitude__gt,omitempty"` + LatitudeGte *[]float64 `form:"latitude__gte,omitempty" json:"latitude__gte,omitempty"` + LatitudeLt *[]float64 `form:"latitude__lt,omitempty" json:"latitude__lt,omitempty"` + LatitudeLte *[]float64 `form:"latitude__lte,omitempty" json:"latitude__lte,omitempty"` + LatitudeN *[]float64 `form:"latitude__n,omitempty" json:"latitude__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Longitude *[]float64 `form:"longitude,omitempty" json:"longitude,omitempty"` + LongitudeEmpty *bool `form:"longitude__empty,omitempty" json:"longitude__empty,omitempty"` + LongitudeGt *[]float64 `form:"longitude__gt,omitempty" json:"longitude__gt,omitempty"` + LongitudeGte *[]float64 `form:"longitude__gte,omitempty" json:"longitude__gte,omitempty"` + LongitudeLt *[]float64 `form:"longitude__lt,omitempty" json:"longitude__lt,omitempty"` + LongitudeLte *[]float64 `form:"longitude__lte,omitempty" json:"longitude__lte,omitempty"` + LongitudeN *[]float64 `form:"longitude__n,omitempty" json:"longitude__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimSitesBulkPartialUpdateJSONBody defines parameters for DcimSitesBulkPartialUpdate. +type DcimSitesBulkPartialUpdateJSONBody = []SiteRequest + +// DcimSitesBulkPartialUpdateMultipartBody defines parameters for DcimSitesBulkPartialUpdate. +type DcimSitesBulkPartialUpdateMultipartBody = []SiteRequest + +// DcimSitesBulkUpdateJSONBody defines parameters for DcimSitesBulkUpdate. +type DcimSitesBulkUpdateJSONBody = []SiteRequest + +// DcimSitesBulkUpdateMultipartBody defines parameters for DcimSitesBulkUpdate. +type DcimSitesBulkUpdateMultipartBody = []SiteRequest + +// DcimVirtualChassisBulkDestroyJSONBody defines parameters for DcimVirtualChassisBulkDestroy. +type DcimVirtualChassisBulkDestroyJSONBody = []VirtualChassisRequest + +// DcimVirtualChassisBulkDestroyMultipartBody defines parameters for DcimVirtualChassisBulkDestroy. +type DcimVirtualChassisBulkDestroyMultipartBody = []VirtualChassisRequest + +// DcimVirtualChassisListParams defines parameters for DcimVirtualChassisList. +type DcimVirtualChassisListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Domain *[]string `form:"domain,omitempty" json:"domain,omitempty"` + DomainEmpty *bool `form:"domain__empty,omitempty" json:"domain__empty,omitempty"` + DomainIc *[]string `form:"domain__ic,omitempty" json:"domain__ic,omitempty"` + DomainIe *[]string `form:"domain__ie,omitempty" json:"domain__ie,omitempty"` + DomainIew *[]string `form:"domain__iew,omitempty" json:"domain__iew,omitempty"` + DomainIsw *[]string `form:"domain__isw,omitempty" json:"domain__isw,omitempty"` + DomainN *[]string `form:"domain__n,omitempty" json:"domain__n,omitempty"` + DomainNic *[]string `form:"domain__nic,omitempty" json:"domain__nic,omitempty"` + DomainNie *[]string `form:"domain__nie,omitempty" json:"domain__nie,omitempty"` + DomainNiew *[]string `form:"domain__niew,omitempty" json:"domain__niew,omitempty"` + DomainNisw *[]string `form:"domain__nisw,omitempty" json:"domain__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Master Master (name) + Master *[]string `form:"master,omitempty" json:"master,omitempty"` + + // MasterN Master (name) + MasterN *[]string `form:"master__n,omitempty" json:"master__n,omitempty"` + + // MasterId Master (ID) + MasterId *[]int `form:"master_id,omitempty" json:"master_id,omitempty"` + + // MasterIdN Master (ID) + MasterIdN *[]int `form:"master_id__n,omitempty" json:"master_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimVirtualChassisBulkPartialUpdateJSONBody defines parameters for DcimVirtualChassisBulkPartialUpdate. +type DcimVirtualChassisBulkPartialUpdateJSONBody = []VirtualChassisRequest + +// DcimVirtualChassisBulkPartialUpdateMultipartBody defines parameters for DcimVirtualChassisBulkPartialUpdate. +type DcimVirtualChassisBulkPartialUpdateMultipartBody = []VirtualChassisRequest + +// DcimVirtualChassisBulkUpdateJSONBody defines parameters for DcimVirtualChassisBulkUpdate. +type DcimVirtualChassisBulkUpdateJSONBody = []VirtualChassisRequest + +// DcimVirtualChassisBulkUpdateMultipartBody defines parameters for DcimVirtualChassisBulkUpdate. +type DcimVirtualChassisBulkUpdateMultipartBody = []VirtualChassisRequest + +// DcimVirtualDeviceContextsBulkDestroyJSONBody defines parameters for DcimVirtualDeviceContextsBulkDestroy. +type DcimVirtualDeviceContextsBulkDestroyJSONBody = []VirtualDeviceContextRequest + +// DcimVirtualDeviceContextsBulkDestroyMultipartBody defines parameters for DcimVirtualDeviceContextsBulkDestroy. +type DcimVirtualDeviceContextsBulkDestroyMultipartBody = []VirtualDeviceContextRequest + +// DcimVirtualDeviceContextsListParams defines parameters for DcimVirtualDeviceContextsList. +type DcimVirtualDeviceContextsListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // Device Device model + Device *[]int `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device model + DeviceN *[]int `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId VDC (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN VDC (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + + // HasPrimaryIp Has a primary IP + HasPrimaryIp *bool `form:"has_primary_ip,omitempty" json:"has_primary_ip,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// DcimVirtualDeviceContextsBulkPartialUpdateJSONBody defines parameters for DcimVirtualDeviceContextsBulkPartialUpdate. +type DcimVirtualDeviceContextsBulkPartialUpdateJSONBody = []VirtualDeviceContextRequest + +// DcimVirtualDeviceContextsBulkPartialUpdateMultipartBody defines parameters for DcimVirtualDeviceContextsBulkPartialUpdate. +type DcimVirtualDeviceContextsBulkPartialUpdateMultipartBody = []VirtualDeviceContextRequest + +// DcimVirtualDeviceContextsBulkUpdateJSONBody defines parameters for DcimVirtualDeviceContextsBulkUpdate. +type DcimVirtualDeviceContextsBulkUpdateJSONBody = []VirtualDeviceContextRequest + +// DcimVirtualDeviceContextsBulkUpdateMultipartBody defines parameters for DcimVirtualDeviceContextsBulkUpdate. +type DcimVirtualDeviceContextsBulkUpdateMultipartBody = []VirtualDeviceContextRequest + +// ExtrasBookmarksBulkDestroyJSONBody defines parameters for ExtrasBookmarksBulkDestroy. +type ExtrasBookmarksBulkDestroyJSONBody = []BookmarkRequest + +// ExtrasBookmarksBulkDestroyMultipartBody defines parameters for ExtrasBookmarksBulkDestroy. +type ExtrasBookmarksBulkDestroyMultipartBody = []BookmarkRequest + +// ExtrasBookmarksListParams defines parameters for ExtrasBookmarksList. +type ExtrasBookmarksListParams struct { + Created *time.Time `form:"created,omitempty" json:"created,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ObjectId *[]int32 `form:"object_id,omitempty" json:"object_id,omitempty"` + ObjectIdEmpty *bool `form:"object_id__empty,omitempty" json:"object_id__empty,omitempty"` + ObjectIdGt *[]int32 `form:"object_id__gt,omitempty" json:"object_id__gt,omitempty"` + ObjectIdGte *[]int32 `form:"object_id__gte,omitempty" json:"object_id__gte,omitempty"` + ObjectIdLt *[]int32 `form:"object_id__lt,omitempty" json:"object_id__lt,omitempty"` + ObjectIdLte *[]int32 `form:"object_id__lte,omitempty" json:"object_id__lte,omitempty"` + ObjectIdN *[]int32 `form:"object_id__n,omitempty" json:"object_id__n,omitempty"` + ObjectType *string `form:"object_type,omitempty" json:"object_type,omitempty"` + ObjectTypeN *string `form:"object_type__n,omitempty" json:"object_type__n,omitempty"` + ObjectTypeId *[]int32 `form:"object_type_id,omitempty" json:"object_type_id,omitempty"` + ObjectTypeIdEmpty *[]int32 `form:"object_type_id__empty,omitempty" json:"object_type_id__empty,omitempty"` + ObjectTypeIdGt *[]int32 `form:"object_type_id__gt,omitempty" json:"object_type_id__gt,omitempty"` + ObjectTypeIdGte *[]int32 `form:"object_type_id__gte,omitempty" json:"object_type_id__gte,omitempty"` + ObjectTypeIdLt *[]int32 `form:"object_type_id__lt,omitempty" json:"object_type_id__lt,omitempty"` + ObjectTypeIdLte *[]int32 `form:"object_type_id__lte,omitempty" json:"object_type_id__lte,omitempty"` + ObjectTypeIdN *[]int32 `form:"object_type_id__n,omitempty" json:"object_type_id__n,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // User User (name) + User *[]string `form:"user,omitempty" json:"user,omitempty"` + + // UserN User (name) + UserN *[]string `form:"user__n,omitempty" json:"user__n,omitempty"` + + // UserId User (ID) + UserId *[]int `form:"user_id,omitempty" json:"user_id,omitempty"` + + // UserIdN User (ID) + UserIdN *[]int `form:"user_id__n,omitempty" json:"user_id__n,omitempty"` +} + +// ExtrasBookmarksBulkPartialUpdateJSONBody defines parameters for ExtrasBookmarksBulkPartialUpdate. +type ExtrasBookmarksBulkPartialUpdateJSONBody = []BookmarkRequest + +// ExtrasBookmarksBulkPartialUpdateMultipartBody defines parameters for ExtrasBookmarksBulkPartialUpdate. +type ExtrasBookmarksBulkPartialUpdateMultipartBody = []BookmarkRequest + +// ExtrasBookmarksBulkUpdateJSONBody defines parameters for ExtrasBookmarksBulkUpdate. +type ExtrasBookmarksBulkUpdateJSONBody = []BookmarkRequest + +// ExtrasBookmarksBulkUpdateMultipartBody defines parameters for ExtrasBookmarksBulkUpdate. +type ExtrasBookmarksBulkUpdateMultipartBody = []BookmarkRequest + +// ExtrasConfigContextsBulkDestroyJSONBody defines parameters for ExtrasConfigContextsBulkDestroy. +type ExtrasConfigContextsBulkDestroyJSONBody = []ConfigContextRequest + +// ExtrasConfigContextsBulkDestroyMultipartBody defines parameters for ExtrasConfigContextsBulkDestroy. +type ExtrasConfigContextsBulkDestroyMultipartBody = []ConfigContextRequest + +// ExtrasConfigContextsListParams defines parameters for ExtrasConfigContextsList. +type ExtrasConfigContextsListParams struct { + // ClusterGroup Cluster group (slug) + ClusterGroup *[]string `form:"cluster_group,omitempty" json:"cluster_group,omitempty"` + + // ClusterGroupN Cluster group (slug) + ClusterGroupN *[]string `form:"cluster_group__n,omitempty" json:"cluster_group__n,omitempty"` + + // ClusterGroupId Cluster group + ClusterGroupId *[]int `form:"cluster_group_id,omitempty" json:"cluster_group_id,omitempty"` + + // ClusterGroupIdN Cluster group + ClusterGroupIdN *[]int `form:"cluster_group_id__n,omitempty" json:"cluster_group_id__n,omitempty"` + + // ClusterId Cluster + ClusterId *[]int `form:"cluster_id,omitempty" json:"cluster_id,omitempty"` + + // ClusterIdN Cluster + ClusterIdN *[]int `form:"cluster_id__n,omitempty" json:"cluster_id__n,omitempty"` + + // ClusterType Cluster type (slug) + ClusterType *[]string `form:"cluster_type,omitempty" json:"cluster_type,omitempty"` + + // ClusterTypeN Cluster type (slug) + ClusterTypeN *[]string `form:"cluster_type__n,omitempty" json:"cluster_type__n,omitempty"` + + // ClusterTypeId Cluster type + ClusterTypeId *[]int `form:"cluster_type_id,omitempty" json:"cluster_type_id,omitempty"` + + // ClusterTypeIdN Cluster type + ClusterTypeIdN *[]int `form:"cluster_type_id__n,omitempty" json:"cluster_type_id__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // DataFileId Data file (ID) + DataFileId *[]int `form:"data_file_id,omitempty" json:"data_file_id,omitempty"` + + // DataFileIdN Data file (ID) + DataFileIdN *[]int `form:"data_file_id__n,omitempty" json:"data_file_id__n,omitempty"` + + // DataSourceId Data source (ID) + DataSourceId *[]int `form:"data_source_id,omitempty" json:"data_source_id,omitempty"` + + // DataSourceIdN Data source (ID) + DataSourceIdN *[]int `form:"data_source_id__n,omitempty" json:"data_source_id__n,omitempty"` + DataSynced *[]time.Time `form:"data_synced,omitempty" json:"data_synced,omitempty"` + DataSyncedEmpty *bool `form:"data_synced__empty,omitempty" json:"data_synced__empty,omitempty"` + DataSyncedGt *[]time.Time `form:"data_synced__gt,omitempty" json:"data_synced__gt,omitempty"` + DataSyncedGte *[]time.Time `form:"data_synced__gte,omitempty" json:"data_synced__gte,omitempty"` + DataSyncedLt *[]time.Time `form:"data_synced__lt,omitempty" json:"data_synced__lt,omitempty"` + DataSyncedLte *[]time.Time `form:"data_synced__lte,omitempty" json:"data_synced__lte,omitempty"` + DataSyncedN *[]time.Time `form:"data_synced__n,omitempty" json:"data_synced__n,omitempty"` + + // DeviceTypeId Device type + DeviceTypeId *[]int `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` + + // DeviceTypeIdN Device type + DeviceTypeIdN *[]int `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + IsActive *bool `form:"is_active,omitempty" json:"is_active,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Location Location (slug) + Location *[]string `form:"location,omitempty" json:"location,omitempty"` + + // LocationN Location (slug) + LocationN *[]string `form:"location__n,omitempty" json:"location__n,omitempty"` + + // LocationId Location + LocationId *[]int `form:"location_id,omitempty" json:"location_id,omitempty"` + + // LocationIdN Location + LocationIdN *[]int `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Platform Platform (slug) + Platform *[]string `form:"platform,omitempty" json:"platform,omitempty"` + + // PlatformN Platform (slug) + PlatformN *[]string `form:"platform__n,omitempty" json:"platform__n,omitempty"` + + // PlatformId Platform + PlatformId *[]int `form:"platform_id,omitempty" json:"platform_id,omitempty"` + + // PlatformIdN Platform + PlatformIdN *[]int `form:"platform_id__n,omitempty" json:"platform_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Region Region (slug) + Region *[]string `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]string `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Role + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Role + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]string `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]string `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + + // Tag Tag (slug) + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + + // TagN Tag (slug) + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // TagId Tag + TagId *[]int `form:"tag_id,omitempty" json:"tag_id,omitempty"` + + // TagIdN Tag + TagIdN *[]int `form:"tag_id__n,omitempty" json:"tag_id__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant group (slug) + TenantGroup *[]string `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant group (slug) + TenantGroupN *[]string `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant group + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant group + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// ExtrasConfigContextsBulkPartialUpdateJSONBody defines parameters for ExtrasConfigContextsBulkPartialUpdate. +type ExtrasConfigContextsBulkPartialUpdateJSONBody = []ConfigContextRequest + +// ExtrasConfigContextsBulkPartialUpdateMultipartBody defines parameters for ExtrasConfigContextsBulkPartialUpdate. +type ExtrasConfigContextsBulkPartialUpdateMultipartBody = []ConfigContextRequest + +// ExtrasConfigContextsBulkUpdateJSONBody defines parameters for ExtrasConfigContextsBulkUpdate. +type ExtrasConfigContextsBulkUpdateJSONBody = []ConfigContextRequest + +// ExtrasConfigContextsBulkUpdateMultipartBody defines parameters for ExtrasConfigContextsBulkUpdate. +type ExtrasConfigContextsBulkUpdateMultipartBody = []ConfigContextRequest + +// ExtrasConfigTemplatesBulkDestroyJSONBody defines parameters for ExtrasConfigTemplatesBulkDestroy. +type ExtrasConfigTemplatesBulkDestroyJSONBody = []ConfigTemplateRequest + +// ExtrasConfigTemplatesBulkDestroyMultipartBody defines parameters for ExtrasConfigTemplatesBulkDestroy. +type ExtrasConfigTemplatesBulkDestroyMultipartBody = []ConfigTemplateRequest + +// ExtrasConfigTemplatesListParams defines parameters for ExtrasConfigTemplatesList. +type ExtrasConfigTemplatesListParams struct { + // DataFileId Data file (ID) + DataFileId *[]int `form:"data_file_id,omitempty" json:"data_file_id,omitempty"` + + // DataFileIdN Data file (ID) + DataFileIdN *[]int `form:"data_file_id__n,omitempty" json:"data_file_id__n,omitempty"` + + // DataSourceId Data source (ID) + DataSourceId *[]int `form:"data_source_id,omitempty" json:"data_source_id,omitempty"` + + // DataSourceIdN Data source (ID) + DataSourceIdN *[]int `form:"data_source_id__n,omitempty" json:"data_source_id__n,omitempty"` + DataSynced *[]time.Time `form:"data_synced,omitempty" json:"data_synced,omitempty"` + DataSyncedEmpty *bool `form:"data_synced__empty,omitempty" json:"data_synced__empty,omitempty"` + DataSyncedGt *[]time.Time `form:"data_synced__gt,omitempty" json:"data_synced__gt,omitempty"` + DataSyncedGte *[]time.Time `form:"data_synced__gte,omitempty" json:"data_synced__gte,omitempty"` + DataSyncedLt *[]time.Time `form:"data_synced__lt,omitempty" json:"data_synced__lt,omitempty"` + DataSyncedLte *[]time.Time `form:"data_synced__lte,omitempty" json:"data_synced__lte,omitempty"` + DataSyncedN *[]time.Time `form:"data_synced__n,omitempty" json:"data_synced__n,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` +} + +// ExtrasConfigTemplatesBulkPartialUpdateJSONBody defines parameters for ExtrasConfigTemplatesBulkPartialUpdate. +type ExtrasConfigTemplatesBulkPartialUpdateJSONBody = []ConfigTemplateRequest + +// ExtrasConfigTemplatesBulkPartialUpdateMultipartBody defines parameters for ExtrasConfigTemplatesBulkPartialUpdate. +type ExtrasConfigTemplatesBulkPartialUpdateMultipartBody = []ConfigTemplateRequest + +// ExtrasConfigTemplatesBulkUpdateJSONBody defines parameters for ExtrasConfigTemplatesBulkUpdate. +type ExtrasConfigTemplatesBulkUpdateJSONBody = []ConfigTemplateRequest + +// ExtrasConfigTemplatesBulkUpdateMultipartBody defines parameters for ExtrasConfigTemplatesBulkUpdate. +type ExtrasConfigTemplatesBulkUpdateMultipartBody = []ConfigTemplateRequest + +// ExtrasConfigTemplatesRenderCreateParams defines parameters for ExtrasConfigTemplatesRenderCreate. +type ExtrasConfigTemplatesRenderCreateParams struct { + Format *ExtrasConfigTemplatesRenderCreateParamsFormat `form:"format,omitempty" json:"format,omitempty"` +} + +// ExtrasConfigTemplatesRenderCreateParamsFormat defines parameters for ExtrasConfigTemplatesRenderCreate. +type ExtrasConfigTemplatesRenderCreateParamsFormat string + +// ExtrasContentTypesListParams defines parameters for ExtrasContentTypesList. +type ExtrasContentTypesListParams struct { + AppLabel *string `form:"app_label,omitempty" json:"app_label,omitempty"` + Id *int `form:"id,omitempty" json:"id,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Model *string `form:"model,omitempty" json:"model,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` +} + +// ExtrasCustomFieldChoiceSetsBulkDestroyJSONBody defines parameters for ExtrasCustomFieldChoiceSetsBulkDestroy. +type ExtrasCustomFieldChoiceSetsBulkDestroyJSONBody = []CustomFieldChoiceSetRequest + +// ExtrasCustomFieldChoiceSetsBulkDestroyMultipartBody defines parameters for ExtrasCustomFieldChoiceSetsBulkDestroy. +type ExtrasCustomFieldChoiceSetsBulkDestroyMultipartBody = []CustomFieldChoiceSetRequest + +// ExtrasCustomFieldChoiceSetsListParams defines parameters for ExtrasCustomFieldChoiceSetsList. +type ExtrasCustomFieldChoiceSetsListParams struct { + // BaseChoices Base set of predefined choices (optional) + BaseChoices *string `form:"base_choices,omitempty" json:"base_choices,omitempty"` + + // BaseChoicesN Base set of predefined choices (optional) + BaseChoicesN *string `form:"base_choices__n,omitempty" json:"base_choices__n,omitempty"` + Choice *[]string `form:"choice,omitempty" json:"choice,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + OrderAlphabetically *bool `form:"order_alphabetically,omitempty" json:"order_alphabetically,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` +} + +// ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONBody defines parameters for ExtrasCustomFieldChoiceSetsBulkPartialUpdate. +type ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONBody = []CustomFieldChoiceSetRequest + +// ExtrasCustomFieldChoiceSetsBulkPartialUpdateMultipartBody defines parameters for ExtrasCustomFieldChoiceSetsBulkPartialUpdate. +type ExtrasCustomFieldChoiceSetsBulkPartialUpdateMultipartBody = []CustomFieldChoiceSetRequest + +// ExtrasCustomFieldChoiceSetsBulkUpdateJSONBody defines parameters for ExtrasCustomFieldChoiceSetsBulkUpdate. +type ExtrasCustomFieldChoiceSetsBulkUpdateJSONBody = []CustomFieldChoiceSetRequest + +// ExtrasCustomFieldChoiceSetsBulkUpdateMultipartBody defines parameters for ExtrasCustomFieldChoiceSetsBulkUpdate. +type ExtrasCustomFieldChoiceSetsBulkUpdateMultipartBody = []CustomFieldChoiceSetRequest + +// ExtrasCustomFieldsBulkDestroyJSONBody defines parameters for ExtrasCustomFieldsBulkDestroy. +type ExtrasCustomFieldsBulkDestroyJSONBody = []CustomFieldRequest + +// ExtrasCustomFieldsBulkDestroyMultipartBody defines parameters for ExtrasCustomFieldsBulkDestroy. +type ExtrasCustomFieldsBulkDestroyMultipartBody = []CustomFieldRequest + +// ExtrasCustomFieldsListParams defines parameters for ExtrasCustomFieldsList. +type ExtrasCustomFieldsListParams struct { + ChoiceSet *[]string `form:"choice_set,omitempty" json:"choice_set,omitempty"` + ChoiceSetN *[]string `form:"choice_set__n,omitempty" json:"choice_set__n,omitempty"` + ChoiceSetId *[]int `form:"choice_set_id,omitempty" json:"choice_set_id,omitempty"` + ChoiceSetIdN *[]int `form:"choice_set_id__n,omitempty" json:"choice_set_id__n,omitempty"` + ContentTypeId *[]int32 `form:"content_type_id,omitempty" json:"content_type_id,omitempty"` + ContentTypeIdEmpty *[]int32 `form:"content_type_id__empty,omitempty" json:"content_type_id__empty,omitempty"` + ContentTypeIdGt *[]int32 `form:"content_type_id__gt,omitempty" json:"content_type_id__gt,omitempty"` + ContentTypeIdGte *[]int32 `form:"content_type_id__gte,omitempty" json:"content_type_id__gte,omitempty"` + ContentTypeIdLt *[]int32 `form:"content_type_id__lt,omitempty" json:"content_type_id__lt,omitempty"` + ContentTypeIdLte *[]int32 `form:"content_type_id__lte,omitempty" json:"content_type_id__lte,omitempty"` + ContentTypeIdN *[]int32 `form:"content_type_id__n,omitempty" json:"content_type_id__n,omitempty"` + ContentTypes *string `form:"content_types,omitempty" json:"content_types,omitempty"` + ContentTypesIc *string `form:"content_types__ic,omitempty" json:"content_types__ic,omitempty"` + ContentTypesIe *string `form:"content_types__ie,omitempty" json:"content_types__ie,omitempty"` + ContentTypesIew *string `form:"content_types__iew,omitempty" json:"content_types__iew,omitempty"` + ContentTypesIsw *string `form:"content_types__isw,omitempty" json:"content_types__isw,omitempty"` + ContentTypesN *string `form:"content_types__n,omitempty" json:"content_types__n,omitempty"` + ContentTypesNic *string `form:"content_types__nic,omitempty" json:"content_types__nic,omitempty"` + ContentTypesNie *string `form:"content_types__nie,omitempty" json:"content_types__nie,omitempty"` + ContentTypesNiew *string `form:"content_types__niew,omitempty" json:"content_types__niew,omitempty"` + ContentTypesNisw *string `form:"content_types__nisw,omitempty" json:"content_types__nisw,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // FilterLogic Loose matches any instance of a given string; exact matches the entire field. + FilterLogic *string `form:"filter_logic,omitempty" json:"filter_logic,omitempty"` + + // FilterLogicN Loose matches any instance of a given string; exact matches the entire field. + FilterLogicN *string `form:"filter_logic__n,omitempty" json:"filter_logic__n,omitempty"` + GroupName *[]string `form:"group_name,omitempty" json:"group_name,omitempty"` + GroupNameEmpty *bool `form:"group_name__empty,omitempty" json:"group_name__empty,omitempty"` + GroupNameIc *[]string `form:"group_name__ic,omitempty" json:"group_name__ic,omitempty"` + GroupNameIe *[]string `form:"group_name__ie,omitempty" json:"group_name__ie,omitempty"` + GroupNameIew *[]string `form:"group_name__iew,omitempty" json:"group_name__iew,omitempty"` + GroupNameIsw *[]string `form:"group_name__isw,omitempty" json:"group_name__isw,omitempty"` + GroupNameN *[]string `form:"group_name__n,omitempty" json:"group_name__n,omitempty"` + GroupNameNic *[]string `form:"group_name__nic,omitempty" json:"group_name__nic,omitempty"` + GroupNameNie *[]string `form:"group_name__nie,omitempty" json:"group_name__nie,omitempty"` + GroupNameNiew *[]string `form:"group_name__niew,omitempty" json:"group_name__niew,omitempty"` + GroupNameNisw *[]string `form:"group_name__nisw,omitempty" json:"group_name__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + IsCloneable *bool `form:"is_cloneable,omitempty" json:"is_cloneable,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Required *bool `form:"required,omitempty" json:"required,omitempty"` + SearchWeight *[]int32 `form:"search_weight,omitempty" json:"search_weight,omitempty"` + SearchWeightEmpty *bool `form:"search_weight__empty,omitempty" json:"search_weight__empty,omitempty"` + SearchWeightGt *[]int32 `form:"search_weight__gt,omitempty" json:"search_weight__gt,omitempty"` + SearchWeightGte *[]int32 `form:"search_weight__gte,omitempty" json:"search_weight__gte,omitempty"` + SearchWeightLt *[]int32 `form:"search_weight__lt,omitempty" json:"search_weight__lt,omitempty"` + SearchWeightLte *[]int32 `form:"search_weight__lte,omitempty" json:"search_weight__lte,omitempty"` + SearchWeightN *[]int32 `form:"search_weight__n,omitempty" json:"search_weight__n,omitempty"` + + // Type The type of data this custom field holds + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + + // TypeN The type of data this custom field holds + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + + // UiVisibility Specifies the visibility of custom field in the UI + UiVisibility *string `form:"ui_visibility,omitempty" json:"ui_visibility,omitempty"` + + // UiVisibilityN Specifies the visibility of custom field in the UI + UiVisibilityN *string `form:"ui_visibility__n,omitempty" json:"ui_visibility__n,omitempty"` + Weight *[]int32 `form:"weight,omitempty" json:"weight,omitempty"` + WeightEmpty *bool `form:"weight__empty,omitempty" json:"weight__empty,omitempty"` + WeightGt *[]int32 `form:"weight__gt,omitempty" json:"weight__gt,omitempty"` + WeightGte *[]int32 `form:"weight__gte,omitempty" json:"weight__gte,omitempty"` + WeightLt *[]int32 `form:"weight__lt,omitempty" json:"weight__lt,omitempty"` + WeightLte *[]int32 `form:"weight__lte,omitempty" json:"weight__lte,omitempty"` + WeightN *[]int32 `form:"weight__n,omitempty" json:"weight__n,omitempty"` +} + +// ExtrasCustomFieldsBulkPartialUpdateJSONBody defines parameters for ExtrasCustomFieldsBulkPartialUpdate. +type ExtrasCustomFieldsBulkPartialUpdateJSONBody = []CustomFieldRequest + +// ExtrasCustomFieldsBulkPartialUpdateMultipartBody defines parameters for ExtrasCustomFieldsBulkPartialUpdate. +type ExtrasCustomFieldsBulkPartialUpdateMultipartBody = []CustomFieldRequest + +// ExtrasCustomFieldsBulkUpdateJSONBody defines parameters for ExtrasCustomFieldsBulkUpdate. +type ExtrasCustomFieldsBulkUpdateJSONBody = []CustomFieldRequest + +// ExtrasCustomFieldsBulkUpdateMultipartBody defines parameters for ExtrasCustomFieldsBulkUpdate. +type ExtrasCustomFieldsBulkUpdateMultipartBody = []CustomFieldRequest + +// ExtrasCustomLinksBulkDestroyJSONBody defines parameters for ExtrasCustomLinksBulkDestroy. +type ExtrasCustomLinksBulkDestroyJSONBody = []CustomLinkRequest + +// ExtrasCustomLinksBulkDestroyMultipartBody defines parameters for ExtrasCustomLinksBulkDestroy. +type ExtrasCustomLinksBulkDestroyMultipartBody = []CustomLinkRequest + +// ExtrasCustomLinksListParams defines parameters for ExtrasCustomLinksList. +type ExtrasCustomLinksListParams struct { + ContentTypeId *[]int32 `form:"content_type_id,omitempty" json:"content_type_id,omitempty"` + ContentTypeIdEmpty *[]int32 `form:"content_type_id__empty,omitempty" json:"content_type_id__empty,omitempty"` + ContentTypeIdGt *[]int32 `form:"content_type_id__gt,omitempty" json:"content_type_id__gt,omitempty"` + ContentTypeIdGte *[]int32 `form:"content_type_id__gte,omitempty" json:"content_type_id__gte,omitempty"` + ContentTypeIdLt *[]int32 `form:"content_type_id__lt,omitempty" json:"content_type_id__lt,omitempty"` + ContentTypeIdLte *[]int32 `form:"content_type_id__lte,omitempty" json:"content_type_id__lte,omitempty"` + ContentTypeIdN *[]int32 `form:"content_type_id__n,omitempty" json:"content_type_id__n,omitempty"` + ContentTypes *string `form:"content_types,omitempty" json:"content_types,omitempty"` + ContentTypesIc *string `form:"content_types__ic,omitempty" json:"content_types__ic,omitempty"` + ContentTypesIe *string `form:"content_types__ie,omitempty" json:"content_types__ie,omitempty"` + ContentTypesIew *string `form:"content_types__iew,omitempty" json:"content_types__iew,omitempty"` + ContentTypesIsw *string `form:"content_types__isw,omitempty" json:"content_types__isw,omitempty"` + ContentTypesN *string `form:"content_types__n,omitempty" json:"content_types__n,omitempty"` + ContentTypesNic *string `form:"content_types__nic,omitempty" json:"content_types__nic,omitempty"` + ContentTypesNie *string `form:"content_types__nie,omitempty" json:"content_types__nie,omitempty"` + ContentTypesNiew *string `form:"content_types__niew,omitempty" json:"content_types__niew,omitempty"` + ContentTypesNisw *string `form:"content_types__nisw,omitempty" json:"content_types__nisw,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` + GroupName *[]string `form:"group_name,omitempty" json:"group_name,omitempty"` + GroupNameEmpty *bool `form:"group_name__empty,omitempty" json:"group_name__empty,omitempty"` + GroupNameIc *[]string `form:"group_name__ic,omitempty" json:"group_name__ic,omitempty"` + GroupNameIe *[]string `form:"group_name__ie,omitempty" json:"group_name__ie,omitempty"` + GroupNameIew *[]string `form:"group_name__iew,omitempty" json:"group_name__iew,omitempty"` + GroupNameIsw *[]string `form:"group_name__isw,omitempty" json:"group_name__isw,omitempty"` + GroupNameN *[]string `form:"group_name__n,omitempty" json:"group_name__n,omitempty"` + GroupNameNic *[]string `form:"group_name__nic,omitempty" json:"group_name__nic,omitempty"` + GroupNameNie *[]string `form:"group_name__nie,omitempty" json:"group_name__nie,omitempty"` + GroupNameNiew *[]string `form:"group_name__niew,omitempty" json:"group_name__niew,omitempty"` + GroupNameNisw *[]string `form:"group_name__nisw,omitempty" json:"group_name__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + LinkText *string `form:"link_text,omitempty" json:"link_text,omitempty"` + LinkTextIc *string `form:"link_text__ic,omitempty" json:"link_text__ic,omitempty"` + LinkTextIe *string `form:"link_text__ie,omitempty" json:"link_text__ie,omitempty"` + LinkTextIew *string `form:"link_text__iew,omitempty" json:"link_text__iew,omitempty"` + LinkTextIsw *string `form:"link_text__isw,omitempty" json:"link_text__isw,omitempty"` + LinkTextN *string `form:"link_text__n,omitempty" json:"link_text__n,omitempty"` + LinkTextNic *string `form:"link_text__nic,omitempty" json:"link_text__nic,omitempty"` + LinkTextNie *string `form:"link_text__nie,omitempty" json:"link_text__nie,omitempty"` + LinkTextNiew *string `form:"link_text__niew,omitempty" json:"link_text__niew,omitempty"` + LinkTextNisw *string `form:"link_text__nisw,omitempty" json:"link_text__nisw,omitempty"` + LinkUrl *string `form:"link_url,omitempty" json:"link_url,omitempty"` + LinkUrlIc *string `form:"link_url__ic,omitempty" json:"link_url__ic,omitempty"` + LinkUrlIe *string `form:"link_url__ie,omitempty" json:"link_url__ie,omitempty"` + LinkUrlIew *string `form:"link_url__iew,omitempty" json:"link_url__iew,omitempty"` + LinkUrlIsw *string `form:"link_url__isw,omitempty" json:"link_url__isw,omitempty"` + LinkUrlN *string `form:"link_url__n,omitempty" json:"link_url__n,omitempty"` + LinkUrlNic *string `form:"link_url__nic,omitempty" json:"link_url__nic,omitempty"` + LinkUrlNie *string `form:"link_url__nie,omitempty" json:"link_url__nie,omitempty"` + LinkUrlNiew *string `form:"link_url__niew,omitempty" json:"link_url__niew,omitempty"` + LinkUrlNisw *string `form:"link_url__nisw,omitempty" json:"link_url__nisw,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NewWindow *bool `form:"new_window,omitempty" json:"new_window,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Weight *[]int32 `form:"weight,omitempty" json:"weight,omitempty"` + WeightEmpty *bool `form:"weight__empty,omitempty" json:"weight__empty,omitempty"` + WeightGt *[]int32 `form:"weight__gt,omitempty" json:"weight__gt,omitempty"` + WeightGte *[]int32 `form:"weight__gte,omitempty" json:"weight__gte,omitempty"` + WeightLt *[]int32 `form:"weight__lt,omitempty" json:"weight__lt,omitempty"` + WeightLte *[]int32 `form:"weight__lte,omitempty" json:"weight__lte,omitempty"` + WeightN *[]int32 `form:"weight__n,omitempty" json:"weight__n,omitempty"` +} + +// ExtrasCustomLinksBulkPartialUpdateJSONBody defines parameters for ExtrasCustomLinksBulkPartialUpdate. +type ExtrasCustomLinksBulkPartialUpdateJSONBody = []CustomLinkRequest + +// ExtrasCustomLinksBulkPartialUpdateMultipartBody defines parameters for ExtrasCustomLinksBulkPartialUpdate. +type ExtrasCustomLinksBulkPartialUpdateMultipartBody = []CustomLinkRequest + +// ExtrasCustomLinksBulkUpdateJSONBody defines parameters for ExtrasCustomLinksBulkUpdate. +type ExtrasCustomLinksBulkUpdateJSONBody = []CustomLinkRequest + +// ExtrasCustomLinksBulkUpdateMultipartBody defines parameters for ExtrasCustomLinksBulkUpdate. +type ExtrasCustomLinksBulkUpdateMultipartBody = []CustomLinkRequest + +// ExtrasExportTemplatesBulkDestroyJSONBody defines parameters for ExtrasExportTemplatesBulkDestroy. +type ExtrasExportTemplatesBulkDestroyJSONBody = []ExportTemplateRequest + +// ExtrasExportTemplatesBulkDestroyMultipartBody defines parameters for ExtrasExportTemplatesBulkDestroy. +type ExtrasExportTemplatesBulkDestroyMultipartBody = []ExportTemplateRequest + +// ExtrasExportTemplatesListParams defines parameters for ExtrasExportTemplatesList. +type ExtrasExportTemplatesListParams struct { + ContentTypeId *[]int32 `form:"content_type_id,omitempty" json:"content_type_id,omitempty"` + ContentTypeIdEmpty *[]int32 `form:"content_type_id__empty,omitempty" json:"content_type_id__empty,omitempty"` + ContentTypeIdGt *[]int32 `form:"content_type_id__gt,omitempty" json:"content_type_id__gt,omitempty"` + ContentTypeIdGte *[]int32 `form:"content_type_id__gte,omitempty" json:"content_type_id__gte,omitempty"` + ContentTypeIdLt *[]int32 `form:"content_type_id__lt,omitempty" json:"content_type_id__lt,omitempty"` + ContentTypeIdLte *[]int32 `form:"content_type_id__lte,omitempty" json:"content_type_id__lte,omitempty"` + ContentTypeIdN *[]int32 `form:"content_type_id__n,omitempty" json:"content_type_id__n,omitempty"` + ContentTypes *string `form:"content_types,omitempty" json:"content_types,omitempty"` + ContentTypesIc *string `form:"content_types__ic,omitempty" json:"content_types__ic,omitempty"` + ContentTypesIe *string `form:"content_types__ie,omitempty" json:"content_types__ie,omitempty"` + ContentTypesIew *string `form:"content_types__iew,omitempty" json:"content_types__iew,omitempty"` + ContentTypesIsw *string `form:"content_types__isw,omitempty" json:"content_types__isw,omitempty"` + ContentTypesN *string `form:"content_types__n,omitempty" json:"content_types__n,omitempty"` + ContentTypesNic *string `form:"content_types__nic,omitempty" json:"content_types__nic,omitempty"` + ContentTypesNie *string `form:"content_types__nie,omitempty" json:"content_types__nie,omitempty"` + ContentTypesNiew *string `form:"content_types__niew,omitempty" json:"content_types__niew,omitempty"` + ContentTypesNisw *string `form:"content_types__nisw,omitempty" json:"content_types__nisw,omitempty"` + + // DataFileId Data file (ID) + DataFileId *[]int `form:"data_file_id,omitempty" json:"data_file_id,omitempty"` + + // DataFileIdN Data file (ID) + DataFileIdN *[]int `form:"data_file_id__n,omitempty" json:"data_file_id__n,omitempty"` + + // DataSourceId Data source (ID) + DataSourceId *[]int `form:"data_source_id,omitempty" json:"data_source_id,omitempty"` + + // DataSourceIdN Data source (ID) + DataSourceIdN *[]int `form:"data_source_id__n,omitempty" json:"data_source_id__n,omitempty"` + DataSynced *[]time.Time `form:"data_synced,omitempty" json:"data_synced,omitempty"` + DataSyncedEmpty *bool `form:"data_synced__empty,omitempty" json:"data_synced__empty,omitempty"` + DataSyncedGt *[]time.Time `form:"data_synced__gt,omitempty" json:"data_synced__gt,omitempty"` + DataSyncedGte *[]time.Time `form:"data_synced__gte,omitempty" json:"data_synced__gte,omitempty"` + DataSyncedLt *[]time.Time `form:"data_synced__lt,omitempty" json:"data_synced__lt,omitempty"` + DataSyncedLte *[]time.Time `form:"data_synced__lte,omitempty" json:"data_synced__lte,omitempty"` + DataSyncedN *[]time.Time `form:"data_synced__n,omitempty" json:"data_synced__n,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` +} + +// ExtrasExportTemplatesBulkPartialUpdateJSONBody defines parameters for ExtrasExportTemplatesBulkPartialUpdate. +type ExtrasExportTemplatesBulkPartialUpdateJSONBody = []ExportTemplateRequest + +// ExtrasExportTemplatesBulkPartialUpdateMultipartBody defines parameters for ExtrasExportTemplatesBulkPartialUpdate. +type ExtrasExportTemplatesBulkPartialUpdateMultipartBody = []ExportTemplateRequest + +// ExtrasExportTemplatesBulkUpdateJSONBody defines parameters for ExtrasExportTemplatesBulkUpdate. +type ExtrasExportTemplatesBulkUpdateJSONBody = []ExportTemplateRequest + +// ExtrasExportTemplatesBulkUpdateMultipartBody defines parameters for ExtrasExportTemplatesBulkUpdate. +type ExtrasExportTemplatesBulkUpdateMultipartBody = []ExportTemplateRequest + +// ExtrasImageAttachmentsBulkDestroyJSONBody defines parameters for ExtrasImageAttachmentsBulkDestroy. +type ExtrasImageAttachmentsBulkDestroyJSONBody = []ImageAttachmentRequest + +// ExtrasImageAttachmentsBulkDestroyMultipartBody defines parameters for ExtrasImageAttachmentsBulkDestroy. +type ExtrasImageAttachmentsBulkDestroyMultipartBody = []ImageAttachmentRequest + +// ExtrasImageAttachmentsListParams defines parameters for ExtrasImageAttachmentsList. +type ExtrasImageAttachmentsListParams struct { + ContentType *string `form:"content_type,omitempty" json:"content_type,omitempty"` + ContentTypeN *string `form:"content_type__n,omitempty" json:"content_type__n,omitempty"` + ContentTypeId *int `form:"content_type_id,omitempty" json:"content_type_id,omitempty"` + ContentTypeIdN *int `form:"content_type_id__n,omitempty" json:"content_type_id__n,omitempty"` + Created *time.Time `form:"created,omitempty" json:"created,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + ObjectId *[]int32 `form:"object_id,omitempty" json:"object_id,omitempty"` + ObjectIdEmpty *bool `form:"object_id__empty,omitempty" json:"object_id__empty,omitempty"` + ObjectIdGt *[]int32 `form:"object_id__gt,omitempty" json:"object_id__gt,omitempty"` + ObjectIdGte *[]int32 `form:"object_id__gte,omitempty" json:"object_id__gte,omitempty"` + ObjectIdLt *[]int32 `form:"object_id__lt,omitempty" json:"object_id__lt,omitempty"` + ObjectIdLte *[]int32 `form:"object_id__lte,omitempty" json:"object_id__lte,omitempty"` + ObjectIdN *[]int32 `form:"object_id__n,omitempty" json:"object_id__n,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` +} + +// ExtrasImageAttachmentsBulkPartialUpdateJSONBody defines parameters for ExtrasImageAttachmentsBulkPartialUpdate. +type ExtrasImageAttachmentsBulkPartialUpdateJSONBody = []ImageAttachmentRequest + +// ExtrasImageAttachmentsBulkPartialUpdateMultipartBody defines parameters for ExtrasImageAttachmentsBulkPartialUpdate. +type ExtrasImageAttachmentsBulkPartialUpdateMultipartBody = []ImageAttachmentRequest + +// ExtrasImageAttachmentsBulkUpdateJSONBody defines parameters for ExtrasImageAttachmentsBulkUpdate. +type ExtrasImageAttachmentsBulkUpdateJSONBody = []ImageAttachmentRequest + +// ExtrasImageAttachmentsBulkUpdateMultipartBody defines parameters for ExtrasImageAttachmentsBulkUpdate. +type ExtrasImageAttachmentsBulkUpdateMultipartBody = []ImageAttachmentRequest + +// ExtrasJournalEntriesBulkDestroyJSONBody defines parameters for ExtrasJournalEntriesBulkDestroy. +type ExtrasJournalEntriesBulkDestroyJSONBody = []JournalEntryRequest + +// ExtrasJournalEntriesBulkDestroyMultipartBody defines parameters for ExtrasJournalEntriesBulkDestroy. +type ExtrasJournalEntriesBulkDestroyMultipartBody = []JournalEntryRequest + +// ExtrasJournalEntriesListParams defines parameters for ExtrasJournalEntriesList. +type ExtrasJournalEntriesListParams struct { + AssignedObjectId *[]int32 `form:"assigned_object_id,omitempty" json:"assigned_object_id,omitempty"` + AssignedObjectIdEmpty *bool `form:"assigned_object_id__empty,omitempty" json:"assigned_object_id__empty,omitempty"` + AssignedObjectIdGt *[]int32 `form:"assigned_object_id__gt,omitempty" json:"assigned_object_id__gt,omitempty"` + AssignedObjectIdGte *[]int32 `form:"assigned_object_id__gte,omitempty" json:"assigned_object_id__gte,omitempty"` + AssignedObjectIdLt *[]int32 `form:"assigned_object_id__lt,omitempty" json:"assigned_object_id__lt,omitempty"` + AssignedObjectIdLte *[]int32 `form:"assigned_object_id__lte,omitempty" json:"assigned_object_id__lte,omitempty"` + AssignedObjectIdN *[]int32 `form:"assigned_object_id__n,omitempty" json:"assigned_object_id__n,omitempty"` + AssignedObjectType *string `form:"assigned_object_type,omitempty" json:"assigned_object_type,omitempty"` + AssignedObjectTypeN *string `form:"assigned_object_type__n,omitempty" json:"assigned_object_type__n,omitempty"` + AssignedObjectTypeId *[]int `form:"assigned_object_type_id,omitempty" json:"assigned_object_type_id,omitempty"` + AssignedObjectTypeIdN *[]int `form:"assigned_object_type_id__n,omitempty" json:"assigned_object_type_id__n,omitempty"` + CreatedAfter *time.Time `form:"created_after,omitempty" json:"created_after,omitempty"` + CreatedBefore *time.Time `form:"created_before,omitempty" json:"created_before,omitempty"` + + // CreatedBy User (name) + CreatedBy *[]string `form:"created_by,omitempty" json:"created_by,omitempty"` + + // CreatedByN User (name) + CreatedByN *[]string `form:"created_by__n,omitempty" json:"created_by__n,omitempty"` + + // CreatedById User (ID) + CreatedById *[]int `form:"created_by_id,omitempty" json:"created_by_id,omitempty"` + + // CreatedByIdN User (ID) + CreatedByIdN *[]int `form:"created_by_id__n,omitempty" json:"created_by_id__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Kind *[]string `form:"kind,omitempty" json:"kind,omitempty"` + KindN *[]string `form:"kind__n,omitempty" json:"kind__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// ExtrasJournalEntriesBulkPartialUpdateJSONBody defines parameters for ExtrasJournalEntriesBulkPartialUpdate. +type ExtrasJournalEntriesBulkPartialUpdateJSONBody = []JournalEntryRequest + +// ExtrasJournalEntriesBulkPartialUpdateMultipartBody defines parameters for ExtrasJournalEntriesBulkPartialUpdate. +type ExtrasJournalEntriesBulkPartialUpdateMultipartBody = []JournalEntryRequest + +// ExtrasJournalEntriesBulkUpdateJSONBody defines parameters for ExtrasJournalEntriesBulkUpdate. +type ExtrasJournalEntriesBulkUpdateJSONBody = []JournalEntryRequest + +// ExtrasJournalEntriesBulkUpdateMultipartBody defines parameters for ExtrasJournalEntriesBulkUpdate. +type ExtrasJournalEntriesBulkUpdateMultipartBody = []JournalEntryRequest + +// ExtrasObjectChangesListParams defines parameters for ExtrasObjectChangesList. +type ExtrasObjectChangesListParams struct { + Action *string `form:"action,omitempty" json:"action,omitempty"` + ActionN *string `form:"action__n,omitempty" json:"action__n,omitempty"` + ChangedObjectId *[]int32 `form:"changed_object_id,omitempty" json:"changed_object_id,omitempty"` + ChangedObjectIdEmpty *bool `form:"changed_object_id__empty,omitempty" json:"changed_object_id__empty,omitempty"` + ChangedObjectIdGt *[]int32 `form:"changed_object_id__gt,omitempty" json:"changed_object_id__gt,omitempty"` + ChangedObjectIdGte *[]int32 `form:"changed_object_id__gte,omitempty" json:"changed_object_id__gte,omitempty"` + ChangedObjectIdLt *[]int32 `form:"changed_object_id__lt,omitempty" json:"changed_object_id__lt,omitempty"` + ChangedObjectIdLte *[]int32 `form:"changed_object_id__lte,omitempty" json:"changed_object_id__lte,omitempty"` + ChangedObjectIdN *[]int32 `form:"changed_object_id__n,omitempty" json:"changed_object_id__n,omitempty"` + ChangedObjectType *string `form:"changed_object_type,omitempty" json:"changed_object_type,omitempty"` + ChangedObjectTypeN *string `form:"changed_object_type__n,omitempty" json:"changed_object_type__n,omitempty"` + ChangedObjectTypeId *[]int `form:"changed_object_type_id,omitempty" json:"changed_object_type_id,omitempty"` + ChangedObjectTypeIdN *[]int `form:"changed_object_type_id__n,omitempty" json:"changed_object_type_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ObjectRepr *[]string `form:"object_repr,omitempty" json:"object_repr,omitempty"` + ObjectReprEmpty *bool `form:"object_repr__empty,omitempty" json:"object_repr__empty,omitempty"` + ObjectReprIc *[]string `form:"object_repr__ic,omitempty" json:"object_repr__ic,omitempty"` + ObjectReprIe *[]string `form:"object_repr__ie,omitempty" json:"object_repr__ie,omitempty"` + ObjectReprIew *[]string `form:"object_repr__iew,omitempty" json:"object_repr__iew,omitempty"` + ObjectReprIsw *[]string `form:"object_repr__isw,omitempty" json:"object_repr__isw,omitempty"` + ObjectReprN *[]string `form:"object_repr__n,omitempty" json:"object_repr__n,omitempty"` + ObjectReprNic *[]string `form:"object_repr__nic,omitempty" json:"object_repr__nic,omitempty"` + ObjectReprNie *[]string `form:"object_repr__nie,omitempty" json:"object_repr__nie,omitempty"` + ObjectReprNiew *[]string `form:"object_repr__niew,omitempty" json:"object_repr__niew,omitempty"` + ObjectReprNisw *[]string `form:"object_repr__nisw,omitempty" json:"object_repr__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + RequestId *openapi_types.UUID `form:"request_id,omitempty" json:"request_id,omitempty"` + TimeAfter *time.Time `form:"time_after,omitempty" json:"time_after,omitempty"` + TimeBefore *time.Time `form:"time_before,omitempty" json:"time_before,omitempty"` + + // User User name + User *[]string `form:"user,omitempty" json:"user,omitempty"` + + // UserN User name + UserN *[]string `form:"user__n,omitempty" json:"user__n,omitempty"` + + // UserId User (ID) + UserId *[]int `form:"user_id,omitempty" json:"user_id,omitempty"` + + // UserIdN User (ID) + UserIdN *[]int `form:"user_id__n,omitempty" json:"user_id__n,omitempty"` + UserName *[]string `form:"user_name,omitempty" json:"user_name,omitempty"` + UserNameEmpty *bool `form:"user_name__empty,omitempty" json:"user_name__empty,omitempty"` + UserNameIc *[]string `form:"user_name__ic,omitempty" json:"user_name__ic,omitempty"` + UserNameIe *[]string `form:"user_name__ie,omitempty" json:"user_name__ie,omitempty"` + UserNameIew *[]string `form:"user_name__iew,omitempty" json:"user_name__iew,omitempty"` + UserNameIsw *[]string `form:"user_name__isw,omitempty" json:"user_name__isw,omitempty"` + UserNameN *[]string `form:"user_name__n,omitempty" json:"user_name__n,omitempty"` + UserNameNic *[]string `form:"user_name__nic,omitempty" json:"user_name__nic,omitempty"` + UserNameNie *[]string `form:"user_name__nie,omitempty" json:"user_name__nie,omitempty"` + UserNameNiew *[]string `form:"user_name__niew,omitempty" json:"user_name__niew,omitempty"` + UserNameNisw *[]string `form:"user_name__nisw,omitempty" json:"user_name__nisw,omitempty"` +} + +// ExtrasSavedFiltersBulkDestroyJSONBody defines parameters for ExtrasSavedFiltersBulkDestroy. +type ExtrasSavedFiltersBulkDestroyJSONBody = []SavedFilterRequest + +// ExtrasSavedFiltersBulkDestroyMultipartBody defines parameters for ExtrasSavedFiltersBulkDestroy. +type ExtrasSavedFiltersBulkDestroyMultipartBody = []SavedFilterRequest + +// ExtrasSavedFiltersListParams defines parameters for ExtrasSavedFiltersList. +type ExtrasSavedFiltersListParams struct { + ContentTypeId *[]int32 `form:"content_type_id,omitempty" json:"content_type_id,omitempty"` + ContentTypeIdEmpty *[]int32 `form:"content_type_id__empty,omitempty" json:"content_type_id__empty,omitempty"` + ContentTypeIdGt *[]int32 `form:"content_type_id__gt,omitempty" json:"content_type_id__gt,omitempty"` + ContentTypeIdGte *[]int32 `form:"content_type_id__gte,omitempty" json:"content_type_id__gte,omitempty"` + ContentTypeIdLt *[]int32 `form:"content_type_id__lt,omitempty" json:"content_type_id__lt,omitempty"` + ContentTypeIdLte *[]int32 `form:"content_type_id__lte,omitempty" json:"content_type_id__lte,omitempty"` + ContentTypeIdN *[]int32 `form:"content_type_id__n,omitempty" json:"content_type_id__n,omitempty"` + ContentTypes *string `form:"content_types,omitempty" json:"content_types,omitempty"` + ContentTypesIc *string `form:"content_types__ic,omitempty" json:"content_types__ic,omitempty"` + ContentTypesIe *string `form:"content_types__ie,omitempty" json:"content_types__ie,omitempty"` + ContentTypesIew *string `form:"content_types__iew,omitempty" json:"content_types__iew,omitempty"` + ContentTypesIsw *string `form:"content_types__isw,omitempty" json:"content_types__isw,omitempty"` + ContentTypesN *string `form:"content_types__n,omitempty" json:"content_types__n,omitempty"` + ContentTypesNic *string `form:"content_types__nic,omitempty" json:"content_types__nic,omitempty"` + ContentTypesNie *string `form:"content_types__nie,omitempty" json:"content_types__nie,omitempty"` + ContentTypesNiew *string `form:"content_types__niew,omitempty" json:"content_types__niew,omitempty"` + ContentTypesNisw *string `form:"content_types__nisw,omitempty" json:"content_types__nisw,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Shared *bool `form:"shared,omitempty" json:"shared,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Usable *bool `form:"usable,omitempty" json:"usable,omitempty"` + + // User User (name) + User *[]string `form:"user,omitempty" json:"user,omitempty"` + + // UserN User (name) + UserN *[]string `form:"user__n,omitempty" json:"user__n,omitempty"` + + // UserId User (ID) + UserId *[]int `form:"user_id,omitempty" json:"user_id,omitempty"` + + // UserIdN User (ID) + UserIdN *[]int `form:"user_id__n,omitempty" json:"user_id__n,omitempty"` + Weight *[]int32 `form:"weight,omitempty" json:"weight,omitempty"` + WeightEmpty *bool `form:"weight__empty,omitempty" json:"weight__empty,omitempty"` + WeightGt *[]int32 `form:"weight__gt,omitempty" json:"weight__gt,omitempty"` + WeightGte *[]int32 `form:"weight__gte,omitempty" json:"weight__gte,omitempty"` + WeightLt *[]int32 `form:"weight__lt,omitempty" json:"weight__lt,omitempty"` + WeightLte *[]int32 `form:"weight__lte,omitempty" json:"weight__lte,omitempty"` + WeightN *[]int32 `form:"weight__n,omitempty" json:"weight__n,omitempty"` +} + +// ExtrasSavedFiltersBulkPartialUpdateJSONBody defines parameters for ExtrasSavedFiltersBulkPartialUpdate. +type ExtrasSavedFiltersBulkPartialUpdateJSONBody = []SavedFilterRequest + +// ExtrasSavedFiltersBulkPartialUpdateMultipartBody defines parameters for ExtrasSavedFiltersBulkPartialUpdate. +type ExtrasSavedFiltersBulkPartialUpdateMultipartBody = []SavedFilterRequest + +// ExtrasSavedFiltersBulkUpdateJSONBody defines parameters for ExtrasSavedFiltersBulkUpdate. +type ExtrasSavedFiltersBulkUpdateJSONBody = []SavedFilterRequest + +// ExtrasSavedFiltersBulkUpdateMultipartBody defines parameters for ExtrasSavedFiltersBulkUpdate. +type ExtrasSavedFiltersBulkUpdateMultipartBody = []SavedFilterRequest + +// ExtrasTagsBulkDestroyJSONBody defines parameters for ExtrasTagsBulkDestroy. +type ExtrasTagsBulkDestroyJSONBody = []TagRequest + +// ExtrasTagsBulkDestroyMultipartBody defines parameters for ExtrasTagsBulkDestroy. +type ExtrasTagsBulkDestroyMultipartBody = []TagRequest + +// ExtrasTagsListParams defines parameters for ExtrasTagsList. +type ExtrasTagsListParams struct { + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorEmpty *bool `form:"color__empty,omitempty" json:"color__empty,omitempty"` + ColorIc *[]string `form:"color__ic,omitempty" json:"color__ic,omitempty"` + ColorIe *[]string `form:"color__ie,omitempty" json:"color__ie,omitempty"` + ColorIew *[]string `form:"color__iew,omitempty" json:"color__iew,omitempty"` + ColorIsw *[]string `form:"color__isw,omitempty" json:"color__isw,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + ColorNic *[]string `form:"color__nic,omitempty" json:"color__nic,omitempty"` + ColorNie *[]string `form:"color__nie,omitempty" json:"color__nie,omitempty"` + ColorNiew *[]string `form:"color__niew,omitempty" json:"color__niew,omitempty"` + ColorNisw *[]string `form:"color__nisw,omitempty" json:"color__nisw,omitempty"` + ContentType *[]string `form:"content_type,omitempty" json:"content_type,omitempty"` + ContentTypeId *[]int32 `form:"content_type_id,omitempty" json:"content_type_id,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + ForObjectTypeId *[]int32 `form:"for_object_type_id,omitempty" json:"for_object_type_id,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + ObjectTypes *[]int `form:"object_types,omitempty" json:"object_types,omitempty"` + ObjectTypesN *[]int `form:"object_types__n,omitempty" json:"object_types__n,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// ExtrasTagsBulkPartialUpdateJSONBody defines parameters for ExtrasTagsBulkPartialUpdate. +type ExtrasTagsBulkPartialUpdateJSONBody = []TagRequest + +// ExtrasTagsBulkPartialUpdateMultipartBody defines parameters for ExtrasTagsBulkPartialUpdate. +type ExtrasTagsBulkPartialUpdateMultipartBody = []TagRequest + +// ExtrasTagsBulkUpdateJSONBody defines parameters for ExtrasTagsBulkUpdate. +type ExtrasTagsBulkUpdateJSONBody = []TagRequest + +// ExtrasTagsBulkUpdateMultipartBody defines parameters for ExtrasTagsBulkUpdate. +type ExtrasTagsBulkUpdateMultipartBody = []TagRequest + +// ExtrasWebhooksBulkDestroyJSONBody defines parameters for ExtrasWebhooksBulkDestroy. +type ExtrasWebhooksBulkDestroyJSONBody = []WebhookRequest + +// ExtrasWebhooksBulkDestroyMultipartBody defines parameters for ExtrasWebhooksBulkDestroy. +type ExtrasWebhooksBulkDestroyMultipartBody = []WebhookRequest + +// ExtrasWebhooksListParams defines parameters for ExtrasWebhooksList. +type ExtrasWebhooksListParams struct { + CaFilePath *[]string `form:"ca_file_path,omitempty" json:"ca_file_path,omitempty"` + CaFilePathEmpty *bool `form:"ca_file_path__empty,omitempty" json:"ca_file_path__empty,omitempty"` + CaFilePathIc *[]string `form:"ca_file_path__ic,omitempty" json:"ca_file_path__ic,omitempty"` + CaFilePathIe *[]string `form:"ca_file_path__ie,omitempty" json:"ca_file_path__ie,omitempty"` + CaFilePathIew *[]string `form:"ca_file_path__iew,omitempty" json:"ca_file_path__iew,omitempty"` + CaFilePathIsw *[]string `form:"ca_file_path__isw,omitempty" json:"ca_file_path__isw,omitempty"` + CaFilePathN *[]string `form:"ca_file_path__n,omitempty" json:"ca_file_path__n,omitempty"` + CaFilePathNic *[]string `form:"ca_file_path__nic,omitempty" json:"ca_file_path__nic,omitempty"` + CaFilePathNie *[]string `form:"ca_file_path__nie,omitempty" json:"ca_file_path__nie,omitempty"` + CaFilePathNiew *[]string `form:"ca_file_path__niew,omitempty" json:"ca_file_path__niew,omitempty"` + CaFilePathNisw *[]string `form:"ca_file_path__nisw,omitempty" json:"ca_file_path__nisw,omitempty"` + ContentTypeId *[]int32 `form:"content_type_id,omitempty" json:"content_type_id,omitempty"` + ContentTypeIdEmpty *[]int32 `form:"content_type_id__empty,omitempty" json:"content_type_id__empty,omitempty"` + ContentTypeIdGt *[]int32 `form:"content_type_id__gt,omitempty" json:"content_type_id__gt,omitempty"` + ContentTypeIdGte *[]int32 `form:"content_type_id__gte,omitempty" json:"content_type_id__gte,omitempty"` + ContentTypeIdLt *[]int32 `form:"content_type_id__lt,omitempty" json:"content_type_id__lt,omitempty"` + ContentTypeIdLte *[]int32 `form:"content_type_id__lte,omitempty" json:"content_type_id__lte,omitempty"` + ContentTypeIdN *[]int32 `form:"content_type_id__n,omitempty" json:"content_type_id__n,omitempty"` + ContentTypes *string `form:"content_types,omitempty" json:"content_types,omitempty"` + ContentTypesIc *string `form:"content_types__ic,omitempty" json:"content_types__ic,omitempty"` + ContentTypesIe *string `form:"content_types__ie,omitempty" json:"content_types__ie,omitempty"` + ContentTypesIew *string `form:"content_types__iew,omitempty" json:"content_types__iew,omitempty"` + ContentTypesIsw *string `form:"content_types__isw,omitempty" json:"content_types__isw,omitempty"` + ContentTypesN *string `form:"content_types__n,omitempty" json:"content_types__n,omitempty"` + ContentTypesNic *string `form:"content_types__nic,omitempty" json:"content_types__nic,omitempty"` + ContentTypesNie *string `form:"content_types__nie,omitempty" json:"content_types__nie,omitempty"` + ContentTypesNiew *string `form:"content_types__niew,omitempty" json:"content_types__niew,omitempty"` + ContentTypesNisw *string `form:"content_types__nisw,omitempty" json:"content_types__nisw,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` + HttpContentType *[]string `form:"http_content_type,omitempty" json:"http_content_type,omitempty"` + HttpContentTypeEmpty *bool `form:"http_content_type__empty,omitempty" json:"http_content_type__empty,omitempty"` + HttpContentTypeIc *[]string `form:"http_content_type__ic,omitempty" json:"http_content_type__ic,omitempty"` + HttpContentTypeIe *[]string `form:"http_content_type__ie,omitempty" json:"http_content_type__ie,omitempty"` + HttpContentTypeIew *[]string `form:"http_content_type__iew,omitempty" json:"http_content_type__iew,omitempty"` + HttpContentTypeIsw *[]string `form:"http_content_type__isw,omitempty" json:"http_content_type__isw,omitempty"` + HttpContentTypeN *[]string `form:"http_content_type__n,omitempty" json:"http_content_type__n,omitempty"` + HttpContentTypeNic *[]string `form:"http_content_type__nic,omitempty" json:"http_content_type__nic,omitempty"` + HttpContentTypeNie *[]string `form:"http_content_type__nie,omitempty" json:"http_content_type__nie,omitempty"` + HttpContentTypeNiew *[]string `form:"http_content_type__niew,omitempty" json:"http_content_type__niew,omitempty"` + HttpContentTypeNisw *[]string `form:"http_content_type__nisw,omitempty" json:"http_content_type__nisw,omitempty"` + HttpMethod *[]string `form:"http_method,omitempty" json:"http_method,omitempty"` + HttpMethodN *[]string `form:"http_method__n,omitempty" json:"http_method__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + PayloadUrl *[]string `form:"payload_url,omitempty" json:"payload_url,omitempty"` + PayloadUrlEmpty *bool `form:"payload_url__empty,omitempty" json:"payload_url__empty,omitempty"` + PayloadUrlIc *[]string `form:"payload_url__ic,omitempty" json:"payload_url__ic,omitempty"` + PayloadUrlIe *[]string `form:"payload_url__ie,omitempty" json:"payload_url__ie,omitempty"` + PayloadUrlIew *[]string `form:"payload_url__iew,omitempty" json:"payload_url__iew,omitempty"` + PayloadUrlIsw *[]string `form:"payload_url__isw,omitempty" json:"payload_url__isw,omitempty"` + PayloadUrlN *[]string `form:"payload_url__n,omitempty" json:"payload_url__n,omitempty"` + PayloadUrlNic *[]string `form:"payload_url__nic,omitempty" json:"payload_url__nic,omitempty"` + PayloadUrlNie *[]string `form:"payload_url__nie,omitempty" json:"payload_url__nie,omitempty"` + PayloadUrlNiew *[]string `form:"payload_url__niew,omitempty" json:"payload_url__niew,omitempty"` + PayloadUrlNisw *[]string `form:"payload_url__nisw,omitempty" json:"payload_url__nisw,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Secret *[]string `form:"secret,omitempty" json:"secret,omitempty"` + SecretEmpty *bool `form:"secret__empty,omitempty" json:"secret__empty,omitempty"` + SecretIc *[]string `form:"secret__ic,omitempty" json:"secret__ic,omitempty"` + SecretIe *[]string `form:"secret__ie,omitempty" json:"secret__ie,omitempty"` + SecretIew *[]string `form:"secret__iew,omitempty" json:"secret__iew,omitempty"` + SecretIsw *[]string `form:"secret__isw,omitempty" json:"secret__isw,omitempty"` + SecretN *[]string `form:"secret__n,omitempty" json:"secret__n,omitempty"` + SecretNic *[]string `form:"secret__nic,omitempty" json:"secret__nic,omitempty"` + SecretNie *[]string `form:"secret__nie,omitempty" json:"secret__nie,omitempty"` + SecretNiew *[]string `form:"secret__niew,omitempty" json:"secret__niew,omitempty"` + SecretNisw *[]string `form:"secret__nisw,omitempty" json:"secret__nisw,omitempty"` + SslVerification *bool `form:"ssl_verification,omitempty" json:"ssl_verification,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + TypeCreate *bool `form:"type_create,omitempty" json:"type_create,omitempty"` + TypeDelete *bool `form:"type_delete,omitempty" json:"type_delete,omitempty"` + TypeJobEnd *bool `form:"type_job_end,omitempty" json:"type_job_end,omitempty"` + TypeJobStart *bool `form:"type_job_start,omitempty" json:"type_job_start,omitempty"` + TypeUpdate *bool `form:"type_update,omitempty" json:"type_update,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// ExtrasWebhooksBulkPartialUpdateJSONBody defines parameters for ExtrasWebhooksBulkPartialUpdate. +type ExtrasWebhooksBulkPartialUpdateJSONBody = []WebhookRequest + +// ExtrasWebhooksBulkPartialUpdateMultipartBody defines parameters for ExtrasWebhooksBulkPartialUpdate. +type ExtrasWebhooksBulkPartialUpdateMultipartBody = []WebhookRequest + +// ExtrasWebhooksBulkUpdateJSONBody defines parameters for ExtrasWebhooksBulkUpdate. +type ExtrasWebhooksBulkUpdateJSONBody = []WebhookRequest + +// ExtrasWebhooksBulkUpdateMultipartBody defines parameters for ExtrasWebhooksBulkUpdate. +type ExtrasWebhooksBulkUpdateMultipartBody = []WebhookRequest + +// IpamAggregatesBulkDestroyJSONBody defines parameters for IpamAggregatesBulkDestroy. +type IpamAggregatesBulkDestroyJSONBody = []AggregateRequest + +// IpamAggregatesBulkDestroyMultipartBody defines parameters for IpamAggregatesBulkDestroy. +type IpamAggregatesBulkDestroyMultipartBody = []AggregateRequest + +// IpamAggregatesListParams defines parameters for IpamAggregatesList. +type IpamAggregatesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + DateAdded *[]openapi_types.Date `form:"date_added,omitempty" json:"date_added,omitempty"` + DateAddedEmpty *bool `form:"date_added__empty,omitempty" json:"date_added__empty,omitempty"` + DateAddedGt *[]openapi_types.Date `form:"date_added__gt,omitempty" json:"date_added__gt,omitempty"` + DateAddedGte *[]openapi_types.Date `form:"date_added__gte,omitempty" json:"date_added__gte,omitempty"` + DateAddedLt *[]openapi_types.Date `form:"date_added__lt,omitempty" json:"date_added__lt,omitempty"` + DateAddedLte *[]openapi_types.Date `form:"date_added__lte,omitempty" json:"date_added__lte,omitempty"` + DateAddedN *[]openapi_types.Date `form:"date_added__n,omitempty" json:"date_added__n,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Family *float32 `form:"family,omitempty" json:"family,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Prefix Prefix + Prefix *string `form:"prefix,omitempty" json:"prefix,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Rir RIR (slug) + Rir *[]string `form:"rir,omitempty" json:"rir,omitempty"` + + // RirN RIR (slug) + RirN *[]string `form:"rir__n,omitempty" json:"rir__n,omitempty"` + + // RirId RIR (ID) + RirId *[]int `form:"rir_id,omitempty" json:"rir_id,omitempty"` + + // RirIdN RIR (ID) + RirIdN *[]int `form:"rir_id__n,omitempty" json:"rir_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// IpamAggregatesBulkPartialUpdateJSONBody defines parameters for IpamAggregatesBulkPartialUpdate. +type IpamAggregatesBulkPartialUpdateJSONBody = []AggregateRequest + +// IpamAggregatesBulkPartialUpdateMultipartBody defines parameters for IpamAggregatesBulkPartialUpdate. +type IpamAggregatesBulkPartialUpdateMultipartBody = []AggregateRequest + +// IpamAggregatesBulkUpdateJSONBody defines parameters for IpamAggregatesBulkUpdate. +type IpamAggregatesBulkUpdateJSONBody = []AggregateRequest + +// IpamAggregatesBulkUpdateMultipartBody defines parameters for IpamAggregatesBulkUpdate. +type IpamAggregatesBulkUpdateMultipartBody = []AggregateRequest + +// IpamAsnRangesBulkDestroyJSONBody defines parameters for IpamAsnRangesBulkDestroy. +type IpamAsnRangesBulkDestroyJSONBody = []ASNRangeRequest + +// IpamAsnRangesBulkDestroyMultipartBody defines parameters for IpamAsnRangesBulkDestroy. +type IpamAsnRangesBulkDestroyMultipartBody = []ASNRangeRequest + +// IpamAsnRangesListParams defines parameters for IpamAsnRangesList. +type IpamAsnRangesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + End *[]int32 `form:"end,omitempty" json:"end,omitempty"` + EndEmpty *bool `form:"end__empty,omitempty" json:"end__empty,omitempty"` + EndGt *[]int32 `form:"end__gt,omitempty" json:"end__gt,omitempty"` + EndGte *[]int32 `form:"end__gte,omitempty" json:"end__gte,omitempty"` + EndLt *[]int32 `form:"end__lt,omitempty" json:"end__lt,omitempty"` + EndLte *[]int32 `form:"end__lte,omitempty" json:"end__lte,omitempty"` + EndN *[]int32 `form:"end__n,omitempty" json:"end__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Rir RIR (slug) + Rir *[]string `form:"rir,omitempty" json:"rir,omitempty"` + + // RirN RIR (slug) + RirN *[]string `form:"rir__n,omitempty" json:"rir__n,omitempty"` + + // RirId RIR (ID) + RirId *[]int `form:"rir_id,omitempty" json:"rir_id,omitempty"` + + // RirIdN RIR (ID) + RirIdN *[]int `form:"rir_id__n,omitempty" json:"rir_id__n,omitempty"` + Start *[]int32 `form:"start,omitempty" json:"start,omitempty"` + StartEmpty *bool `form:"start__empty,omitempty" json:"start__empty,omitempty"` + StartGt *[]int32 `form:"start__gt,omitempty" json:"start__gt,omitempty"` + StartGte *[]int32 `form:"start__gte,omitempty" json:"start__gte,omitempty"` + StartLt *[]int32 `form:"start__lt,omitempty" json:"start__lt,omitempty"` + StartLte *[]int32 `form:"start__lte,omitempty" json:"start__lte,omitempty"` + StartN *[]int32 `form:"start__n,omitempty" json:"start__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// IpamAsnRangesBulkPartialUpdateJSONBody defines parameters for IpamAsnRangesBulkPartialUpdate. +type IpamAsnRangesBulkPartialUpdateJSONBody = []ASNRangeRequest + +// IpamAsnRangesBulkPartialUpdateMultipartBody defines parameters for IpamAsnRangesBulkPartialUpdate. +type IpamAsnRangesBulkPartialUpdateMultipartBody = []ASNRangeRequest + +// IpamAsnRangesBulkUpdateJSONBody defines parameters for IpamAsnRangesBulkUpdate. +type IpamAsnRangesBulkUpdateJSONBody = []ASNRangeRequest + +// IpamAsnRangesBulkUpdateMultipartBody defines parameters for IpamAsnRangesBulkUpdate. +type IpamAsnRangesBulkUpdateMultipartBody = []ASNRangeRequest + +// IpamAsnRangesAvailableAsnsCreateJSONBody defines parameters for IpamAsnRangesAvailableAsnsCreate. +type IpamAsnRangesAvailableAsnsCreateJSONBody = []ASNRequest + +// IpamAsnRangesAvailableAsnsCreateMultipartBody defines parameters for IpamAsnRangesAvailableAsnsCreate. +type IpamAsnRangesAvailableAsnsCreateMultipartBody = []ASNRequest + +// IpamAsnsBulkDestroyJSONBody defines parameters for IpamAsnsBulkDestroy. +type IpamAsnsBulkDestroyJSONBody = []ASNRequest + +// IpamAsnsBulkDestroyMultipartBody defines parameters for IpamAsnsBulkDestroy. +type IpamAsnsBulkDestroyMultipartBody = []ASNRequest + +// IpamAsnsListParams defines parameters for IpamAsnsList. +type IpamAsnsListParams struct { + Asn *[]int32 `form:"asn,omitempty" json:"asn,omitempty"` + AsnEmpty *bool `form:"asn__empty,omitempty" json:"asn__empty,omitempty"` + AsnGt *[]int32 `form:"asn__gt,omitempty" json:"asn__gt,omitempty"` + AsnGte *[]int32 `form:"asn__gte,omitempty" json:"asn__gte,omitempty"` + AsnLt *[]int32 `form:"asn__lt,omitempty" json:"asn__lt,omitempty"` + AsnLte *[]int32 `form:"asn__lte,omitempty" json:"asn__lte,omitempty"` + AsnN *[]int32 `form:"asn__n,omitempty" json:"asn__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Rir RIR (slug) + Rir *[]string `form:"rir,omitempty" json:"rir,omitempty"` + + // RirN RIR (slug) + RirN *[]string `form:"rir__n,omitempty" json:"rir__n,omitempty"` + + // RirId RIR (ID) + RirId *[]int `form:"rir_id,omitempty" json:"rir_id,omitempty"` + + // RirIdN RIR (ID) + RirIdN *[]int `form:"rir_id__n,omitempty" json:"rir_id__n,omitempty"` + + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// IpamAsnsBulkPartialUpdateJSONBody defines parameters for IpamAsnsBulkPartialUpdate. +type IpamAsnsBulkPartialUpdateJSONBody = []ASNRequest + +// IpamAsnsBulkPartialUpdateMultipartBody defines parameters for IpamAsnsBulkPartialUpdate. +type IpamAsnsBulkPartialUpdateMultipartBody = []ASNRequest + +// IpamAsnsBulkUpdateJSONBody defines parameters for IpamAsnsBulkUpdate. +type IpamAsnsBulkUpdateJSONBody = []ASNRequest + +// IpamAsnsBulkUpdateMultipartBody defines parameters for IpamAsnsBulkUpdate. +type IpamAsnsBulkUpdateMultipartBody = []ASNRequest + +// IpamFhrpGroupAssignmentsBulkDestroyJSONBody defines parameters for IpamFhrpGroupAssignmentsBulkDestroy. +type IpamFhrpGroupAssignmentsBulkDestroyJSONBody = []FHRPGroupAssignmentRequest + +// IpamFhrpGroupAssignmentsBulkDestroyMultipartBody defines parameters for IpamFhrpGroupAssignmentsBulkDestroy. +type IpamFhrpGroupAssignmentsBulkDestroyMultipartBody = []FHRPGroupAssignmentRequest + +// IpamFhrpGroupAssignmentsListParams defines parameters for IpamFhrpGroupAssignmentsList. +type IpamFhrpGroupAssignmentsListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + DeviceId *[]int32 `form:"device_id,omitempty" json:"device_id,omitempty"` + + // GroupId Group (ID) + GroupId *[]int `form:"group_id,omitempty" json:"group_id,omitempty"` + + // GroupIdN Group (ID) + GroupIdN *[]int `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + InterfaceId *[]int32 `form:"interface_id,omitempty" json:"interface_id,omitempty"` + InterfaceIdEmpty *bool `form:"interface_id__empty,omitempty" json:"interface_id__empty,omitempty"` + InterfaceIdGt *[]int32 `form:"interface_id__gt,omitempty" json:"interface_id__gt,omitempty"` + InterfaceIdGte *[]int32 `form:"interface_id__gte,omitempty" json:"interface_id__gte,omitempty"` + InterfaceIdLt *[]int32 `form:"interface_id__lt,omitempty" json:"interface_id__lt,omitempty"` + InterfaceIdLte *[]int32 `form:"interface_id__lte,omitempty" json:"interface_id__lte,omitempty"` + InterfaceIdN *[]int32 `form:"interface_id__n,omitempty" json:"interface_id__n,omitempty"` + InterfaceType *string `form:"interface_type,omitempty" json:"interface_type,omitempty"` + InterfaceTypeN *string `form:"interface_type__n,omitempty" json:"interface_type__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + Priority *[]int32 `form:"priority,omitempty" json:"priority,omitempty"` + PriorityEmpty *bool `form:"priority__empty,omitempty" json:"priority__empty,omitempty"` + PriorityGt *[]int32 `form:"priority__gt,omitempty" json:"priority__gt,omitempty"` + PriorityGte *[]int32 `form:"priority__gte,omitempty" json:"priority__gte,omitempty"` + PriorityLt *[]int32 `form:"priority__lt,omitempty" json:"priority__lt,omitempty"` + PriorityLte *[]int32 `form:"priority__lte,omitempty" json:"priority__lte,omitempty"` + PriorityN *[]int32 `form:"priority__n,omitempty" json:"priority__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + VirtualMachine *[]string `form:"virtual_machine,omitempty" json:"virtual_machine,omitempty"` + VirtualMachineId *[]int32 `form:"virtual_machine_id,omitempty" json:"virtual_machine_id,omitempty"` +} + +// IpamFhrpGroupAssignmentsBulkPartialUpdateJSONBody defines parameters for IpamFhrpGroupAssignmentsBulkPartialUpdate. +type IpamFhrpGroupAssignmentsBulkPartialUpdateJSONBody = []FHRPGroupAssignmentRequest + +// IpamFhrpGroupAssignmentsBulkPartialUpdateMultipartBody defines parameters for IpamFhrpGroupAssignmentsBulkPartialUpdate. +type IpamFhrpGroupAssignmentsBulkPartialUpdateMultipartBody = []FHRPGroupAssignmentRequest + +// IpamFhrpGroupAssignmentsBulkUpdateJSONBody defines parameters for IpamFhrpGroupAssignmentsBulkUpdate. +type IpamFhrpGroupAssignmentsBulkUpdateJSONBody = []FHRPGroupAssignmentRequest + +// IpamFhrpGroupAssignmentsBulkUpdateMultipartBody defines parameters for IpamFhrpGroupAssignmentsBulkUpdate. +type IpamFhrpGroupAssignmentsBulkUpdateMultipartBody = []FHRPGroupAssignmentRequest + +// IpamFhrpGroupsBulkDestroyJSONBody defines parameters for IpamFhrpGroupsBulkDestroy. +type IpamFhrpGroupsBulkDestroyJSONBody = []FHRPGroupRequest + +// IpamFhrpGroupsBulkDestroyMultipartBody defines parameters for IpamFhrpGroupsBulkDestroy. +type IpamFhrpGroupsBulkDestroyMultipartBody = []FHRPGroupRequest + +// IpamFhrpGroupsListParams defines parameters for IpamFhrpGroupsList. +type IpamFhrpGroupsListParams struct { + AuthKey *[]string `form:"auth_key,omitempty" json:"auth_key,omitempty"` + AuthKeyEmpty *bool `form:"auth_key__empty,omitempty" json:"auth_key__empty,omitempty"` + AuthKeyIc *[]string `form:"auth_key__ic,omitempty" json:"auth_key__ic,omitempty"` + AuthKeyIe *[]string `form:"auth_key__ie,omitempty" json:"auth_key__ie,omitempty"` + AuthKeyIew *[]string `form:"auth_key__iew,omitempty" json:"auth_key__iew,omitempty"` + AuthKeyIsw *[]string `form:"auth_key__isw,omitempty" json:"auth_key__isw,omitempty"` + AuthKeyN *[]string `form:"auth_key__n,omitempty" json:"auth_key__n,omitempty"` + AuthKeyNic *[]string `form:"auth_key__nic,omitempty" json:"auth_key__nic,omitempty"` + AuthKeyNie *[]string `form:"auth_key__nie,omitempty" json:"auth_key__nie,omitempty"` + AuthKeyNiew *[]string `form:"auth_key__niew,omitempty" json:"auth_key__niew,omitempty"` + AuthKeyNisw *[]string `form:"auth_key__nisw,omitempty" json:"auth_key__nisw,omitempty"` + AuthType *[]string `form:"auth_type,omitempty" json:"auth_type,omitempty"` + AuthTypeN *[]string `form:"auth_type__n,omitempty" json:"auth_type__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + GroupId *[]int32 `form:"group_id,omitempty" json:"group_id,omitempty"` + GroupIdEmpty *bool `form:"group_id__empty,omitempty" json:"group_id__empty,omitempty"` + GroupIdGt *[]int32 `form:"group_id__gt,omitempty" json:"group_id__gt,omitempty"` + GroupIdGte *[]int32 `form:"group_id__gte,omitempty" json:"group_id__gte,omitempty"` + GroupIdLt *[]int32 `form:"group_id__lt,omitempty" json:"group_id__lt,omitempty"` + GroupIdLte *[]int32 `form:"group_id__lte,omitempty" json:"group_id__lte,omitempty"` + GroupIdN *[]int32 `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + Protocol *[]string `form:"protocol,omitempty" json:"protocol,omitempty"` + ProtocolN *[]string `form:"protocol__n,omitempty" json:"protocol__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + RelatedIp *[]string `form:"related_ip,omitempty" json:"related_ip,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// IpamFhrpGroupsBulkPartialUpdateJSONBody defines parameters for IpamFhrpGroupsBulkPartialUpdate. +type IpamFhrpGroupsBulkPartialUpdateJSONBody = []FHRPGroupRequest + +// IpamFhrpGroupsBulkPartialUpdateMultipartBody defines parameters for IpamFhrpGroupsBulkPartialUpdate. +type IpamFhrpGroupsBulkPartialUpdateMultipartBody = []FHRPGroupRequest + +// IpamFhrpGroupsBulkUpdateJSONBody defines parameters for IpamFhrpGroupsBulkUpdate. +type IpamFhrpGroupsBulkUpdateJSONBody = []FHRPGroupRequest + +// IpamFhrpGroupsBulkUpdateMultipartBody defines parameters for IpamFhrpGroupsBulkUpdate. +type IpamFhrpGroupsBulkUpdateMultipartBody = []FHRPGroupRequest + +// IpamIpAddressesBulkDestroyJSONBody defines parameters for IpamIpAddressesBulkDestroy. +type IpamIpAddressesBulkDestroyJSONBody = []IPAddressRequest + +// IpamIpAddressesBulkDestroyMultipartBody defines parameters for IpamIpAddressesBulkDestroy. +type IpamIpAddressesBulkDestroyMultipartBody = []IPAddressRequest + +// IpamIpAddressesListParams defines parameters for IpamIpAddressesList. +type IpamIpAddressesListParams struct { + Address *[]string `form:"address,omitempty" json:"address,omitempty"` + + // Assigned Is assigned + Assigned *bool `form:"assigned,omitempty" json:"assigned,omitempty"` + + // AssignedToInterface Is assigned to an interface + AssignedToInterface *bool `form:"assigned_to_interface,omitempty" json:"assigned_to_interface,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + DeviceId *[]int32 `form:"device_id,omitempty" json:"device_id,omitempty"` + DnsName *[]string `form:"dns_name,omitempty" json:"dns_name,omitempty"` + DnsNameEmpty *bool `form:"dns_name__empty,omitempty" json:"dns_name__empty,omitempty"` + DnsNameIc *[]string `form:"dns_name__ic,omitempty" json:"dns_name__ic,omitempty"` + DnsNameIe *[]string `form:"dns_name__ie,omitempty" json:"dns_name__ie,omitempty"` + DnsNameIew *[]string `form:"dns_name__iew,omitempty" json:"dns_name__iew,omitempty"` + DnsNameIsw *[]string `form:"dns_name__isw,omitempty" json:"dns_name__isw,omitempty"` + DnsNameN *[]string `form:"dns_name__n,omitempty" json:"dns_name__n,omitempty"` + DnsNameNic *[]string `form:"dns_name__nic,omitempty" json:"dns_name__nic,omitempty"` + DnsNameNie *[]string `form:"dns_name__nie,omitempty" json:"dns_name__nie,omitempty"` + DnsNameNiew *[]string `form:"dns_name__niew,omitempty" json:"dns_name__niew,omitempty"` + DnsNameNisw *[]string `form:"dns_name__nisw,omitempty" json:"dns_name__nisw,omitempty"` + Family *float32 `form:"family,omitempty" json:"family,omitempty"` + + // FhrpgroupId FHRP group (ID) + FhrpgroupId *[]int `form:"fhrpgroup_id,omitempty" json:"fhrpgroup_id,omitempty"` + + // FhrpgroupIdN FHRP group (ID) + FhrpgroupIdN *[]int `form:"fhrpgroup_id__n,omitempty" json:"fhrpgroup_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Interface Interface (name) + Interface *[]string `form:"interface,omitempty" json:"interface,omitempty"` + + // InterfaceN Interface (name) + InterfaceN *[]string `form:"interface__n,omitempty" json:"interface__n,omitempty"` + + // InterfaceId Interface (ID) + InterfaceId *[]int `form:"interface_id,omitempty" json:"interface_id,omitempty"` + + // InterfaceIdN Interface (ID) + InterfaceIdN *[]int `form:"interface_id__n,omitempty" json:"interface_id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // MaskLength Mask length + MaskLength *float32 `form:"mask_length,omitempty" json:"mask_length,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + Parent *[]string `form:"parent,omitempty" json:"parent,omitempty"` + PresentInVrf *string `form:"present_in_vrf,omitempty" json:"present_in_vrf,omitempty"` + PresentInVrfId *string `form:"present_in_vrf_id,omitempty" json:"present_in_vrf_id,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Role The functional role of this IP + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN The functional role of this IP + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // Status The operational status of this IP + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + + // StatusN The operational status of this IP + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + VirtualMachine *[]string `form:"virtual_machine,omitempty" json:"virtual_machine,omitempty"` + VirtualMachineId *[]int32 `form:"virtual_machine_id,omitempty" json:"virtual_machine_id,omitempty"` + + // Vminterface VM interface (name) + Vminterface *[]string `form:"vminterface,omitempty" json:"vminterface,omitempty"` + + // VminterfaceN VM interface (name) + VminterfaceN *[]string `form:"vminterface__n,omitempty" json:"vminterface__n,omitempty"` + + // VminterfaceId VM interface (ID) + VminterfaceId *[]int `form:"vminterface_id,omitempty" json:"vminterface_id,omitempty"` + + // VminterfaceIdN VM interface (ID) + VminterfaceIdN *[]int `form:"vminterface_id__n,omitempty" json:"vminterface_id__n,omitempty"` + + // Vrf VRF (RD) + Vrf *[]string `form:"vrf,omitempty" json:"vrf,omitempty"` + + // VrfN VRF (RD) + VrfN *[]string `form:"vrf__n,omitempty" json:"vrf__n,omitempty"` + + // VrfId VRF + VrfId *[]int `form:"vrf_id,omitempty" json:"vrf_id,omitempty"` + + // VrfIdN VRF + VrfIdN *[]int `form:"vrf_id__n,omitempty" json:"vrf_id__n,omitempty"` +} + +// IpamIpAddressesBulkPartialUpdateJSONBody defines parameters for IpamIpAddressesBulkPartialUpdate. +type IpamIpAddressesBulkPartialUpdateJSONBody = []IPAddressRequest + +// IpamIpAddressesBulkPartialUpdateMultipartBody defines parameters for IpamIpAddressesBulkPartialUpdate. +type IpamIpAddressesBulkPartialUpdateMultipartBody = []IPAddressRequest + +// IpamIpAddressesBulkUpdateJSONBody defines parameters for IpamIpAddressesBulkUpdate. +type IpamIpAddressesBulkUpdateJSONBody = []IPAddressRequest + +// IpamIpAddressesBulkUpdateMultipartBody defines parameters for IpamIpAddressesBulkUpdate. +type IpamIpAddressesBulkUpdateMultipartBody = []IPAddressRequest + +// IpamIpRangesBulkDestroyJSONBody defines parameters for IpamIpRangesBulkDestroy. +type IpamIpRangesBulkDestroyJSONBody = []IPRangeRequest + +// IpamIpRangesBulkDestroyMultipartBody defines parameters for IpamIpRangesBulkDestroy. +type IpamIpRangesBulkDestroyMultipartBody = []IPRangeRequest + +// IpamIpRangesListParams defines parameters for IpamIpRangesList. +type IpamIpRangesListParams struct { + // Contains Ranges which contain this prefix or IP + Contains *string `form:"contains,omitempty" json:"contains,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + EndAddress *[]string `form:"end_address,omitempty" json:"end_address,omitempty"` + Family *float32 `form:"family,omitempty" json:"family,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + MarkUtilized *bool `form:"mark_utilized,omitempty" json:"mark_utilized,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + Parent *[]string `form:"parent,omitempty" json:"parent,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + StartAddress *[]string `form:"start_address,omitempty" json:"start_address,omitempty"` + + // Status Operational status of this range + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + + // StatusN Operational status of this range + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // Vrf VRF (RD) + Vrf *[]string `form:"vrf,omitempty" json:"vrf,omitempty"` + + // VrfN VRF (RD) + VrfN *[]string `form:"vrf__n,omitempty" json:"vrf__n,omitempty"` + + // VrfId VRF + VrfId *[]int `form:"vrf_id,omitempty" json:"vrf_id,omitempty"` + + // VrfIdN VRF + VrfIdN *[]int `form:"vrf_id__n,omitempty" json:"vrf_id__n,omitempty"` +} + +// IpamIpRangesBulkPartialUpdateJSONBody defines parameters for IpamIpRangesBulkPartialUpdate. +type IpamIpRangesBulkPartialUpdateJSONBody = []IPRangeRequest + +// IpamIpRangesBulkPartialUpdateMultipartBody defines parameters for IpamIpRangesBulkPartialUpdate. +type IpamIpRangesBulkPartialUpdateMultipartBody = []IPRangeRequest + +// IpamIpRangesBulkUpdateJSONBody defines parameters for IpamIpRangesBulkUpdate. +type IpamIpRangesBulkUpdateJSONBody = []IPRangeRequest + +// IpamIpRangesBulkUpdateMultipartBody defines parameters for IpamIpRangesBulkUpdate. +type IpamIpRangesBulkUpdateMultipartBody = []IPRangeRequest + +// IpamIpRangesAvailableIpsCreateJSONBody defines parameters for IpamIpRangesAvailableIpsCreate. +type IpamIpRangesAvailableIpsCreateJSONBody = []IPAddressRequest + +// IpamIpRangesAvailableIpsCreateMultipartBody defines parameters for IpamIpRangesAvailableIpsCreate. +type IpamIpRangesAvailableIpsCreateMultipartBody = []IPAddressRequest + +// IpamL2vpnTerminationsBulkDestroyJSONBody defines parameters for IpamL2vpnTerminationsBulkDestroy. +type IpamL2vpnTerminationsBulkDestroyJSONBody = []L2VPNTerminationRequest + +// IpamL2vpnTerminationsBulkDestroyMultipartBody defines parameters for IpamL2vpnTerminationsBulkDestroy. +type IpamL2vpnTerminationsBulkDestroyMultipartBody = []L2VPNTerminationRequest + +// IpamL2vpnTerminationsListParams defines parameters for IpamL2vpnTerminationsList. +type IpamL2vpnTerminationsListParams struct { + AssignedObjectType *string `form:"assigned_object_type,omitempty" json:"assigned_object_type,omitempty"` + AssignedObjectTypeN *string `form:"assigned_object_type__n,omitempty" json:"assigned_object_type__n,omitempty"` + AssignedObjectTypeId *int `form:"assigned_object_type_id,omitempty" json:"assigned_object_type_id,omitempty"` + AssignedObjectTypeIdN *int `form:"assigned_object_type_id__n,omitempty" json:"assigned_object_type_id__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Interface Interface (name) + Interface *[]string `form:"interface,omitempty" json:"interface,omitempty"` + + // InterfaceN Interface (name) + InterfaceN *[]string `form:"interface__n,omitempty" json:"interface__n,omitempty"` + + // InterfaceId Interface (ID) + InterfaceId *[]int `form:"interface_id,omitempty" json:"interface_id,omitempty"` + + // InterfaceIdN Interface (ID) + InterfaceIdN *[]int `form:"interface_id__n,omitempty" json:"interface_id__n,omitempty"` + + // L2vpn L2VPN (slug) + L2vpn *[]string `form:"l2vpn,omitempty" json:"l2vpn,omitempty"` + + // L2vpnN L2VPN (slug) + L2vpnN *[]string `form:"l2vpn__n,omitempty" json:"l2vpn__n,omitempty"` + + // L2vpnId L2VPN (ID) + L2vpnId *[]int `form:"l2vpn_id,omitempty" json:"l2vpn_id,omitempty"` + + // L2vpnIdN L2VPN (ID) + L2vpnIdN *[]int `form:"l2vpn_id__n,omitempty" json:"l2vpn_id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Region *[]string `form:"region,omitempty" json:"region,omitempty"` + RegionId *[]int32 `form:"region_id,omitempty" json:"region_id,omitempty"` + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + SiteId *[]int32 `form:"site_id,omitempty" json:"site_id,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // VirtualMachine Virtual machine (name) + VirtualMachine *[]string `form:"virtual_machine,omitempty" json:"virtual_machine,omitempty"` + + // VirtualMachineN Virtual machine (name) + VirtualMachineN *[]string `form:"virtual_machine__n,omitempty" json:"virtual_machine__n,omitempty"` + + // VirtualMachineId Virtual machine (ID) + VirtualMachineId *[]int `form:"virtual_machine_id,omitempty" json:"virtual_machine_id,omitempty"` + + // VirtualMachineIdN Virtual machine (ID) + VirtualMachineIdN *[]int `form:"virtual_machine_id__n,omitempty" json:"virtual_machine_id__n,omitempty"` + + // Vlan VLAN (name) + Vlan *[]string `form:"vlan,omitempty" json:"vlan,omitempty"` + + // VlanN VLAN (name) + VlanN *[]string `form:"vlan__n,omitempty" json:"vlan__n,omitempty"` + + // VlanId VLAN (ID) + VlanId *[]int `form:"vlan_id,omitempty" json:"vlan_id,omitempty"` + + // VlanIdN VLAN (ID) + VlanIdN *[]int `form:"vlan_id__n,omitempty" json:"vlan_id__n,omitempty"` + + // VlanVid VLAN number (1-4094) + VlanVid *int `form:"vlan_vid,omitempty" json:"vlan_vid,omitempty"` + + // VlanVidEmpty VLAN number (1-4094) + VlanVidEmpty *int `form:"vlan_vid__empty,omitempty" json:"vlan_vid__empty,omitempty"` + + // VlanVidGt VLAN number (1-4094) + VlanVidGt *int `form:"vlan_vid__gt,omitempty" json:"vlan_vid__gt,omitempty"` + + // VlanVidGte VLAN number (1-4094) + VlanVidGte *int `form:"vlan_vid__gte,omitempty" json:"vlan_vid__gte,omitempty"` + + // VlanVidLt VLAN number (1-4094) + VlanVidLt *int `form:"vlan_vid__lt,omitempty" json:"vlan_vid__lt,omitempty"` + + // VlanVidLte VLAN number (1-4094) + VlanVidLte *int `form:"vlan_vid__lte,omitempty" json:"vlan_vid__lte,omitempty"` + + // VlanVidN VLAN number (1-4094) + VlanVidN *int `form:"vlan_vid__n,omitempty" json:"vlan_vid__n,omitempty"` + + // Vminterface VM interface (name) + Vminterface *[]string `form:"vminterface,omitempty" json:"vminterface,omitempty"` + + // VminterfaceN VM interface (name) + VminterfaceN *[]string `form:"vminterface__n,omitempty" json:"vminterface__n,omitempty"` + + // VminterfaceId VM Interface (ID) + VminterfaceId *[]int `form:"vminterface_id,omitempty" json:"vminterface_id,omitempty"` + + // VminterfaceIdN VM Interface (ID) + VminterfaceIdN *[]int `form:"vminterface_id__n,omitempty" json:"vminterface_id__n,omitempty"` +} + +// IpamL2vpnTerminationsBulkPartialUpdateJSONBody defines parameters for IpamL2vpnTerminationsBulkPartialUpdate. +type IpamL2vpnTerminationsBulkPartialUpdateJSONBody = []L2VPNTerminationRequest + +// IpamL2vpnTerminationsBulkPartialUpdateMultipartBody defines parameters for IpamL2vpnTerminationsBulkPartialUpdate. +type IpamL2vpnTerminationsBulkPartialUpdateMultipartBody = []L2VPNTerminationRequest + +// IpamL2vpnTerminationsBulkUpdateJSONBody defines parameters for IpamL2vpnTerminationsBulkUpdate. +type IpamL2vpnTerminationsBulkUpdateJSONBody = []L2VPNTerminationRequest + +// IpamL2vpnTerminationsBulkUpdateMultipartBody defines parameters for IpamL2vpnTerminationsBulkUpdate. +type IpamL2vpnTerminationsBulkUpdateMultipartBody = []L2VPNTerminationRequest + +// IpamL2vpnsBulkDestroyJSONBody defines parameters for IpamL2vpnsBulkDestroy. +type IpamL2vpnsBulkDestroyJSONBody = []L2VPNRequest + +// IpamL2vpnsBulkDestroyMultipartBody defines parameters for IpamL2vpnsBulkDestroy. +type IpamL2vpnsBulkDestroyMultipartBody = []L2VPNRequest + +// IpamL2vpnsListParams defines parameters for IpamL2vpnsList. +type IpamL2vpnsListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // ExportTarget Export target (name) + ExportTarget *[]string `form:"export_target,omitempty" json:"export_target,omitempty"` + + // ExportTargetN Export target (name) + ExportTargetN *[]string `form:"export_target__n,omitempty" json:"export_target__n,omitempty"` + + // ExportTargetId Export target + ExportTargetId *[]int `form:"export_target_id,omitempty" json:"export_target_id,omitempty"` + + // ExportTargetIdN Export target + ExportTargetIdN *[]int `form:"export_target_id__n,omitempty" json:"export_target_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Identifier *[]int32 `form:"identifier,omitempty" json:"identifier,omitempty"` + IdentifierEmpty *bool `form:"identifier__empty,omitempty" json:"identifier__empty,omitempty"` + IdentifierGt *[]int32 `form:"identifier__gt,omitempty" json:"identifier__gt,omitempty"` + IdentifierGte *[]int32 `form:"identifier__gte,omitempty" json:"identifier__gte,omitempty"` + IdentifierLt *[]int32 `form:"identifier__lt,omitempty" json:"identifier__lt,omitempty"` + IdentifierLte *[]int32 `form:"identifier__lte,omitempty" json:"identifier__lte,omitempty"` + IdentifierN *[]int32 `form:"identifier__n,omitempty" json:"identifier__n,omitempty"` + + // ImportTarget Import target (name) + ImportTarget *[]string `form:"import_target,omitempty" json:"import_target,omitempty"` + + // ImportTargetN Import target (name) + ImportTargetN *[]string `form:"import_target__n,omitempty" json:"import_target__n,omitempty"` + + // ImportTargetId Import target + ImportTargetId *[]int `form:"import_target_id,omitempty" json:"import_target_id,omitempty"` + + // ImportTargetIdN Import target + ImportTargetIdN *[]int `form:"import_target_id__n,omitempty" json:"import_target_id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// IpamL2vpnsBulkPartialUpdateJSONBody defines parameters for IpamL2vpnsBulkPartialUpdate. +type IpamL2vpnsBulkPartialUpdateJSONBody = []L2VPNRequest + +// IpamL2vpnsBulkPartialUpdateMultipartBody defines parameters for IpamL2vpnsBulkPartialUpdate. +type IpamL2vpnsBulkPartialUpdateMultipartBody = []L2VPNRequest + +// IpamL2vpnsBulkUpdateJSONBody defines parameters for IpamL2vpnsBulkUpdate. +type IpamL2vpnsBulkUpdateJSONBody = []L2VPNRequest + +// IpamL2vpnsBulkUpdateMultipartBody defines parameters for IpamL2vpnsBulkUpdate. +type IpamL2vpnsBulkUpdateMultipartBody = []L2VPNRequest + +// IpamPrefixesBulkDestroyJSONBody defines parameters for IpamPrefixesBulkDestroy. +type IpamPrefixesBulkDestroyJSONBody = []PrefixRequest + +// IpamPrefixesBulkDestroyMultipartBody defines parameters for IpamPrefixesBulkDestroy. +type IpamPrefixesBulkDestroyMultipartBody = []PrefixRequest + +// IpamPrefixesListParams defines parameters for IpamPrefixesList. +type IpamPrefixesListParams struct { + Children *[]int32 `form:"children,omitempty" json:"children,omitempty"` + ChildrenEmpty *[]int32 `form:"children__empty,omitempty" json:"children__empty,omitempty"` + ChildrenGt *[]int32 `form:"children__gt,omitempty" json:"children__gt,omitempty"` + ChildrenGte *[]int32 `form:"children__gte,omitempty" json:"children__gte,omitempty"` + ChildrenLt *[]int32 `form:"children__lt,omitempty" json:"children__lt,omitempty"` + ChildrenLte *[]int32 `form:"children__lte,omitempty" json:"children__lte,omitempty"` + ChildrenN *[]int32 `form:"children__n,omitempty" json:"children__n,omitempty"` + + // Contains Prefixes which contain this prefix or IP + Contains *string `form:"contains,omitempty" json:"contains,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Depth *[]int32 `form:"depth,omitempty" json:"depth,omitempty"` + DepthEmpty *[]int32 `form:"depth__empty,omitempty" json:"depth__empty,omitempty"` + DepthGt *[]int32 `form:"depth__gt,omitempty" json:"depth__gt,omitempty"` + DepthGte *[]int32 `form:"depth__gte,omitempty" json:"depth__gte,omitempty"` + DepthLt *[]int32 `form:"depth__lt,omitempty" json:"depth__lt,omitempty"` + DepthLte *[]int32 `form:"depth__lte,omitempty" json:"depth__lte,omitempty"` + DepthN *[]int32 `form:"depth__n,omitempty" json:"depth__n,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Family *float32 `form:"family,omitempty" json:"family,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + IsPool *bool `form:"is_pool,omitempty" json:"is_pool,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + MarkUtilized *bool `form:"mark_utilized,omitempty" json:"mark_utilized,omitempty"` + MaskLength *[]int32 `form:"mask_length,omitempty" json:"mask_length,omitempty"` + MaskLengthGte *float32 `form:"mask_length__gte,omitempty" json:"mask_length__gte,omitempty"` + MaskLengthLte *float32 `form:"mask_length__lte,omitempty" json:"mask_length__lte,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + Prefix *[]string `form:"prefix,omitempty" json:"prefix,omitempty"` + PresentInVrf *string `form:"present_in_vrf,omitempty" json:"present_in_vrf,omitempty"` + PresentInVrfId *string `form:"present_in_vrf_id,omitempty" json:"present_in_vrf_id,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + + // Status Operational status of this prefix + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + + // StatusN Operational status of this prefix + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // VlanId VLAN (ID) + VlanId *[]int `form:"vlan_id,omitempty" json:"vlan_id,omitempty"` + + // VlanIdN VLAN (ID) + VlanIdN *[]int `form:"vlan_id__n,omitempty" json:"vlan_id__n,omitempty"` + + // VlanVid VLAN number (1-4094) + VlanVid *int `form:"vlan_vid,omitempty" json:"vlan_vid,omitempty"` + + // VlanVidEmpty VLAN number (1-4094) + VlanVidEmpty *int `form:"vlan_vid__empty,omitempty" json:"vlan_vid__empty,omitempty"` + + // VlanVidGt VLAN number (1-4094) + VlanVidGt *int `form:"vlan_vid__gt,omitempty" json:"vlan_vid__gt,omitempty"` + + // VlanVidGte VLAN number (1-4094) + VlanVidGte *int `form:"vlan_vid__gte,omitempty" json:"vlan_vid__gte,omitempty"` + + // VlanVidLt VLAN number (1-4094) + VlanVidLt *int `form:"vlan_vid__lt,omitempty" json:"vlan_vid__lt,omitempty"` + + // VlanVidLte VLAN number (1-4094) + VlanVidLte *int `form:"vlan_vid__lte,omitempty" json:"vlan_vid__lte,omitempty"` + + // VlanVidN VLAN number (1-4094) + VlanVidN *int `form:"vlan_vid__n,omitempty" json:"vlan_vid__n,omitempty"` + + // Vrf VRF (RD) + Vrf *[]string `form:"vrf,omitempty" json:"vrf,omitempty"` + + // VrfN VRF (RD) + VrfN *[]string `form:"vrf__n,omitempty" json:"vrf__n,omitempty"` + + // VrfId VRF + VrfId *[]int `form:"vrf_id,omitempty" json:"vrf_id,omitempty"` + + // VrfIdN VRF + VrfIdN *[]int `form:"vrf_id__n,omitempty" json:"vrf_id__n,omitempty"` + + // Within Within prefix + Within *string `form:"within,omitempty" json:"within,omitempty"` + + // WithinInclude Within and including prefix + WithinInclude *string `form:"within_include,omitempty" json:"within_include,omitempty"` +} + +// IpamPrefixesBulkPartialUpdateJSONBody defines parameters for IpamPrefixesBulkPartialUpdate. +type IpamPrefixesBulkPartialUpdateJSONBody = []PrefixRequest + +// IpamPrefixesBulkPartialUpdateMultipartBody defines parameters for IpamPrefixesBulkPartialUpdate. +type IpamPrefixesBulkPartialUpdateMultipartBody = []PrefixRequest + +// IpamPrefixesBulkUpdateJSONBody defines parameters for IpamPrefixesBulkUpdate. +type IpamPrefixesBulkUpdateJSONBody = []PrefixRequest + +// IpamPrefixesBulkUpdateMultipartBody defines parameters for IpamPrefixesBulkUpdate. +type IpamPrefixesBulkUpdateMultipartBody = []PrefixRequest + +// IpamPrefixesAvailableIpsCreateJSONBody defines parameters for IpamPrefixesAvailableIpsCreate. +type IpamPrefixesAvailableIpsCreateJSONBody = []IPAddressRequest + +// IpamPrefixesAvailableIpsCreateMultipartBody defines parameters for IpamPrefixesAvailableIpsCreate. +type IpamPrefixesAvailableIpsCreateMultipartBody = []IPAddressRequest + +// IpamPrefixesAvailablePrefixesCreateJSONBody defines parameters for IpamPrefixesAvailablePrefixesCreate. +type IpamPrefixesAvailablePrefixesCreateJSONBody = []PrefixRequest + +// IpamPrefixesAvailablePrefixesCreateMultipartBody defines parameters for IpamPrefixesAvailablePrefixesCreate. +type IpamPrefixesAvailablePrefixesCreateMultipartBody = []PrefixRequest + +// IpamRirsBulkDestroyJSONBody defines parameters for IpamRirsBulkDestroy. +type IpamRirsBulkDestroyJSONBody = []RIRRequest + +// IpamRirsBulkDestroyMultipartBody defines parameters for IpamRirsBulkDestroy. +type IpamRirsBulkDestroyMultipartBody = []RIRRequest + +// IpamRirsListParams defines parameters for IpamRirsList. +type IpamRirsListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + IsPrivate *bool `form:"is_private,omitempty" json:"is_private,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// IpamRirsBulkPartialUpdateJSONBody defines parameters for IpamRirsBulkPartialUpdate. +type IpamRirsBulkPartialUpdateJSONBody = []RIRRequest + +// IpamRirsBulkPartialUpdateMultipartBody defines parameters for IpamRirsBulkPartialUpdate. +type IpamRirsBulkPartialUpdateMultipartBody = []RIRRequest + +// IpamRirsBulkUpdateJSONBody defines parameters for IpamRirsBulkUpdate. +type IpamRirsBulkUpdateJSONBody = []RIRRequest + +// IpamRirsBulkUpdateMultipartBody defines parameters for IpamRirsBulkUpdate. +type IpamRirsBulkUpdateMultipartBody = []RIRRequest + +// IpamRolesBulkDestroyJSONBody defines parameters for IpamRolesBulkDestroy. +type IpamRolesBulkDestroyJSONBody = []RoleRequest + +// IpamRolesBulkDestroyMultipartBody defines parameters for IpamRolesBulkDestroy. +type IpamRolesBulkDestroyMultipartBody = []RoleRequest + +// IpamRolesListParams defines parameters for IpamRolesList. +type IpamRolesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// IpamRolesBulkPartialUpdateJSONBody defines parameters for IpamRolesBulkPartialUpdate. +type IpamRolesBulkPartialUpdateJSONBody = []RoleRequest + +// IpamRolesBulkPartialUpdateMultipartBody defines parameters for IpamRolesBulkPartialUpdate. +type IpamRolesBulkPartialUpdateMultipartBody = []RoleRequest + +// IpamRolesBulkUpdateJSONBody defines parameters for IpamRolesBulkUpdate. +type IpamRolesBulkUpdateJSONBody = []RoleRequest + +// IpamRolesBulkUpdateMultipartBody defines parameters for IpamRolesBulkUpdate. +type IpamRolesBulkUpdateMultipartBody = []RoleRequest + +// IpamRouteTargetsBulkDestroyJSONBody defines parameters for IpamRouteTargetsBulkDestroy. +type IpamRouteTargetsBulkDestroyJSONBody = []RouteTargetRequest + +// IpamRouteTargetsBulkDestroyMultipartBody defines parameters for IpamRouteTargetsBulkDestroy. +type IpamRouteTargetsBulkDestroyMultipartBody = []RouteTargetRequest + +// IpamRouteTargetsListParams defines parameters for IpamRouteTargetsList. +type IpamRouteTargetsListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // ExportingVrf Export VRF (RD) + ExportingVrf *[]string `form:"exporting_vrf,omitempty" json:"exporting_vrf,omitempty"` + + // ExportingVrfN Export VRF (RD) + ExportingVrfN *[]string `form:"exporting_vrf__n,omitempty" json:"exporting_vrf__n,omitempty"` + + // ExportingVrfId Exporting VRF + ExportingVrfId *[]int `form:"exporting_vrf_id,omitempty" json:"exporting_vrf_id,omitempty"` + + // ExportingVrfIdN Exporting VRF + ExportingVrfIdN *[]int `form:"exporting_vrf_id__n,omitempty" json:"exporting_vrf_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // ImportingVrf Import VRF (RD) + ImportingVrf *[]string `form:"importing_vrf,omitempty" json:"importing_vrf,omitempty"` + + // ImportingVrfN Import VRF (RD) + ImportingVrfN *[]string `form:"importing_vrf__n,omitempty" json:"importing_vrf__n,omitempty"` + + // ImportingVrfId Importing VRF + ImportingVrfId *[]int `form:"importing_vrf_id,omitempty" json:"importing_vrf_id,omitempty"` + + // ImportingVrfIdN Importing VRF + ImportingVrfIdN *[]int `form:"importing_vrf_id__n,omitempty" json:"importing_vrf_id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// IpamRouteTargetsBulkPartialUpdateJSONBody defines parameters for IpamRouteTargetsBulkPartialUpdate. +type IpamRouteTargetsBulkPartialUpdateJSONBody = []RouteTargetRequest + +// IpamRouteTargetsBulkPartialUpdateMultipartBody defines parameters for IpamRouteTargetsBulkPartialUpdate. +type IpamRouteTargetsBulkPartialUpdateMultipartBody = []RouteTargetRequest + +// IpamRouteTargetsBulkUpdateJSONBody defines parameters for IpamRouteTargetsBulkUpdate. +type IpamRouteTargetsBulkUpdateJSONBody = []RouteTargetRequest + +// IpamRouteTargetsBulkUpdateMultipartBody defines parameters for IpamRouteTargetsBulkUpdate. +type IpamRouteTargetsBulkUpdateMultipartBody = []RouteTargetRequest + +// IpamServiceTemplatesBulkDestroyJSONBody defines parameters for IpamServiceTemplatesBulkDestroy. +type IpamServiceTemplatesBulkDestroyJSONBody = []ServiceTemplateRequest + +// IpamServiceTemplatesBulkDestroyMultipartBody defines parameters for IpamServiceTemplatesBulkDestroy. +type IpamServiceTemplatesBulkDestroyMultipartBody = []ServiceTemplateRequest + +// IpamServiceTemplatesListParams defines parameters for IpamServiceTemplatesList. +type IpamServiceTemplatesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + Port *float32 `form:"port,omitempty" json:"port,omitempty"` + Protocol *string `form:"protocol,omitempty" json:"protocol,omitempty"` + ProtocolN *string `form:"protocol__n,omitempty" json:"protocol__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// IpamServiceTemplatesBulkPartialUpdateJSONBody defines parameters for IpamServiceTemplatesBulkPartialUpdate. +type IpamServiceTemplatesBulkPartialUpdateJSONBody = []ServiceTemplateRequest + +// IpamServiceTemplatesBulkPartialUpdateMultipartBody defines parameters for IpamServiceTemplatesBulkPartialUpdate. +type IpamServiceTemplatesBulkPartialUpdateMultipartBody = []ServiceTemplateRequest + +// IpamServiceTemplatesBulkUpdateJSONBody defines parameters for IpamServiceTemplatesBulkUpdate. +type IpamServiceTemplatesBulkUpdateJSONBody = []ServiceTemplateRequest + +// IpamServiceTemplatesBulkUpdateMultipartBody defines parameters for IpamServiceTemplatesBulkUpdate. +type IpamServiceTemplatesBulkUpdateMultipartBody = []ServiceTemplateRequest + +// IpamServicesBulkDestroyJSONBody defines parameters for IpamServicesBulkDestroy. +type IpamServicesBulkDestroyJSONBody = []ServiceRequest + +// IpamServicesBulkDestroyMultipartBody defines parameters for IpamServicesBulkDestroy. +type IpamServicesBulkDestroyMultipartBody = []ServiceRequest + +// IpamServicesListParams defines parameters for IpamServicesList. +type IpamServicesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Ipaddress IP address + Ipaddress *[]string `form:"ipaddress,omitempty" json:"ipaddress,omitempty"` + + // IpaddressN IP address + IpaddressN *[]string `form:"ipaddress__n,omitempty" json:"ipaddress__n,omitempty"` + + // IpaddressId IP address (ID) + IpaddressId *[]int `form:"ipaddress_id,omitempty" json:"ipaddress_id,omitempty"` + + // IpaddressIdN IP address (ID) + IpaddressIdN *[]int `form:"ipaddress_id__n,omitempty" json:"ipaddress_id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + Port *float32 `form:"port,omitempty" json:"port,omitempty"` + Protocol *string `form:"protocol,omitempty" json:"protocol,omitempty"` + ProtocolN *string `form:"protocol__n,omitempty" json:"protocol__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // VirtualMachine Virtual machine (name) + VirtualMachine *[]string `form:"virtual_machine,omitempty" json:"virtual_machine,omitempty"` + + // VirtualMachineN Virtual machine (name) + VirtualMachineN *[]string `form:"virtual_machine__n,omitempty" json:"virtual_machine__n,omitempty"` + + // VirtualMachineId Virtual machine (ID) + VirtualMachineId *[]int `form:"virtual_machine_id,omitempty" json:"virtual_machine_id,omitempty"` + + // VirtualMachineIdN Virtual machine (ID) + VirtualMachineIdN *[]int `form:"virtual_machine_id__n,omitempty" json:"virtual_machine_id__n,omitempty"` +} + +// IpamServicesBulkPartialUpdateJSONBody defines parameters for IpamServicesBulkPartialUpdate. +type IpamServicesBulkPartialUpdateJSONBody = []ServiceRequest + +// IpamServicesBulkPartialUpdateMultipartBody defines parameters for IpamServicesBulkPartialUpdate. +type IpamServicesBulkPartialUpdateMultipartBody = []ServiceRequest + +// IpamServicesBulkUpdateJSONBody defines parameters for IpamServicesBulkUpdate. +type IpamServicesBulkUpdateJSONBody = []ServiceRequest + +// IpamServicesBulkUpdateMultipartBody defines parameters for IpamServicesBulkUpdate. +type IpamServicesBulkUpdateMultipartBody = []ServiceRequest + +// IpamVlanGroupsBulkDestroyJSONBody defines parameters for IpamVlanGroupsBulkDestroy. +type IpamVlanGroupsBulkDestroyJSONBody = []VLANGroupRequest + +// IpamVlanGroupsBulkDestroyMultipartBody defines parameters for IpamVlanGroupsBulkDestroy. +type IpamVlanGroupsBulkDestroyMultipartBody = []VLANGroupRequest + +// IpamVlanGroupsListParams defines parameters for IpamVlanGroupsList. +type IpamVlanGroupsListParams struct { + Cluster *int `form:"cluster,omitempty" json:"cluster,omitempty"` + Clustergroup *float32 `form:"clustergroup,omitempty" json:"clustergroup,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Location *int `form:"location,omitempty" json:"location,omitempty"` + MaxVid *[]int32 `form:"max_vid,omitempty" json:"max_vid,omitempty"` + MaxVidEmpty *bool `form:"max_vid__empty,omitempty" json:"max_vid__empty,omitempty"` + MaxVidGt *[]int32 `form:"max_vid__gt,omitempty" json:"max_vid__gt,omitempty"` + MaxVidGte *[]int32 `form:"max_vid__gte,omitempty" json:"max_vid__gte,omitempty"` + MaxVidLt *[]int32 `form:"max_vid__lt,omitempty" json:"max_vid__lt,omitempty"` + MaxVidLte *[]int32 `form:"max_vid__lte,omitempty" json:"max_vid__lte,omitempty"` + MaxVidN *[]int32 `form:"max_vid__n,omitempty" json:"max_vid__n,omitempty"` + MinVid *[]int32 `form:"min_vid,omitempty" json:"min_vid,omitempty"` + MinVidEmpty *bool `form:"min_vid__empty,omitempty" json:"min_vid__empty,omitempty"` + MinVidGt *[]int32 `form:"min_vid__gt,omitempty" json:"min_vid__gt,omitempty"` + MinVidGte *[]int32 `form:"min_vid__gte,omitempty" json:"min_vid__gte,omitempty"` + MinVidLt *[]int32 `form:"min_vid__lt,omitempty" json:"min_vid__lt,omitempty"` + MinVidLte *[]int32 `form:"min_vid__lte,omitempty" json:"min_vid__lte,omitempty"` + MinVidN *[]int32 `form:"min_vid__n,omitempty" json:"min_vid__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Rack *int `form:"rack,omitempty" json:"rack,omitempty"` + Region *int `form:"region,omitempty" json:"region,omitempty"` + ScopeId *[]int32 `form:"scope_id,omitempty" json:"scope_id,omitempty"` + ScopeIdEmpty *bool `form:"scope_id__empty,omitempty" json:"scope_id__empty,omitempty"` + ScopeIdGt *[]int32 `form:"scope_id__gt,omitempty" json:"scope_id__gt,omitempty"` + ScopeIdGte *[]int32 `form:"scope_id__gte,omitempty" json:"scope_id__gte,omitempty"` + ScopeIdLt *[]int32 `form:"scope_id__lt,omitempty" json:"scope_id__lt,omitempty"` + ScopeIdLte *[]int32 `form:"scope_id__lte,omitempty" json:"scope_id__lte,omitempty"` + ScopeIdN *[]int32 `form:"scope_id__n,omitempty" json:"scope_id__n,omitempty"` + ScopeType *string `form:"scope_type,omitempty" json:"scope_type,omitempty"` + ScopeTypeN *string `form:"scope_type__n,omitempty" json:"scope_type__n,omitempty"` + Site *int `form:"site,omitempty" json:"site,omitempty"` + Sitegroup *float32 `form:"sitegroup,omitempty" json:"sitegroup,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// IpamVlanGroupsBulkPartialUpdateJSONBody defines parameters for IpamVlanGroupsBulkPartialUpdate. +type IpamVlanGroupsBulkPartialUpdateJSONBody = []VLANGroupRequest + +// IpamVlanGroupsBulkPartialUpdateMultipartBody defines parameters for IpamVlanGroupsBulkPartialUpdate. +type IpamVlanGroupsBulkPartialUpdateMultipartBody = []VLANGroupRequest + +// IpamVlanGroupsBulkUpdateJSONBody defines parameters for IpamVlanGroupsBulkUpdate. +type IpamVlanGroupsBulkUpdateJSONBody = []VLANGroupRequest + +// IpamVlanGroupsBulkUpdateMultipartBody defines parameters for IpamVlanGroupsBulkUpdate. +type IpamVlanGroupsBulkUpdateMultipartBody = []VLANGroupRequest + +// IpamVlanGroupsAvailableVlansCreateJSONBody defines parameters for IpamVlanGroupsAvailableVlansCreate. +type IpamVlanGroupsAvailableVlansCreateJSONBody = []VLANRequest + +// IpamVlanGroupsAvailableVlansCreateMultipartBody defines parameters for IpamVlanGroupsAvailableVlansCreate. +type IpamVlanGroupsAvailableVlansCreateMultipartBody = []VLANRequest + +// IpamVlansBulkDestroyJSONBody defines parameters for IpamVlansBulkDestroy. +type IpamVlansBulkDestroyJSONBody = []VLANRequest + +// IpamVlansBulkDestroyMultipartBody defines parameters for IpamVlansBulkDestroy. +type IpamVlansBulkDestroyMultipartBody = []VLANRequest + +// IpamVlansListParams defines parameters for IpamVlansList. +type IpamVlansListParams struct { + AvailableOnDevice *string `form:"available_on_device,omitempty" json:"available_on_device,omitempty"` + AvailableOnVirtualmachine *string `form:"available_on_virtualmachine,omitempty" json:"available_on_virtualmachine,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // Group Group + Group *[]string `form:"group,omitempty" json:"group,omitempty"` + + // GroupN Group + GroupN *[]string `form:"group__n,omitempty" json:"group__n,omitempty"` + + // GroupId Group (ID) + GroupId *[]int `form:"group_id,omitempty" json:"group_id,omitempty"` + + // GroupIdN Group (ID) + GroupIdN *[]int `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // L2vpn L2VPN + L2vpn *[]int64 `form:"l2vpn,omitempty" json:"l2vpn,omitempty"` + + // L2vpnN L2VPN + L2vpnN *[]int64 `form:"l2vpn__n,omitempty" json:"l2vpn__n,omitempty"` + + // L2vpnId L2VPN (ID) + L2vpnId *[]int `form:"l2vpn_id,omitempty" json:"l2vpn_id,omitempty"` + + // L2vpnIdN L2VPN (ID) + L2vpnIdN *[]int `form:"l2vpn_id__n,omitempty" json:"l2vpn_id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + + // Status Operational status of this VLAN + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + + // StatusN Operational status of this VLAN + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + Vid *[]int32 `form:"vid,omitempty" json:"vid,omitempty"` + VidEmpty *bool `form:"vid__empty,omitempty" json:"vid__empty,omitempty"` + VidGt *[]int32 `form:"vid__gt,omitempty" json:"vid__gt,omitempty"` + VidGte *[]int32 `form:"vid__gte,omitempty" json:"vid__gte,omitempty"` + VidLt *[]int32 `form:"vid__lt,omitempty" json:"vid__lt,omitempty"` + VidLte *[]int32 `form:"vid__lte,omitempty" json:"vid__lte,omitempty"` + VidN *[]int32 `form:"vid__n,omitempty" json:"vid__n,omitempty"` +} + +// IpamVlansBulkPartialUpdateJSONBody defines parameters for IpamVlansBulkPartialUpdate. +type IpamVlansBulkPartialUpdateJSONBody = []VLANRequest + +// IpamVlansBulkPartialUpdateMultipartBody defines parameters for IpamVlansBulkPartialUpdate. +type IpamVlansBulkPartialUpdateMultipartBody = []VLANRequest + +// IpamVlansBulkUpdateJSONBody defines parameters for IpamVlansBulkUpdate. +type IpamVlansBulkUpdateJSONBody = []VLANRequest + +// IpamVlansBulkUpdateMultipartBody defines parameters for IpamVlansBulkUpdate. +type IpamVlansBulkUpdateMultipartBody = []VLANRequest + +// IpamVrfsBulkDestroyJSONBody defines parameters for IpamVrfsBulkDestroy. +type IpamVrfsBulkDestroyJSONBody = []VRFRequest + +// IpamVrfsBulkDestroyMultipartBody defines parameters for IpamVrfsBulkDestroy. +type IpamVrfsBulkDestroyMultipartBody = []VRFRequest + +// IpamVrfsListParams defines parameters for IpamVrfsList. +type IpamVrfsListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + EnforceUnique *bool `form:"enforce_unique,omitempty" json:"enforce_unique,omitempty"` + + // ExportTarget Export target (name) + ExportTarget *[]string `form:"export_target,omitempty" json:"export_target,omitempty"` + + // ExportTargetN Export target (name) + ExportTargetN *[]string `form:"export_target__n,omitempty" json:"export_target__n,omitempty"` + + // ExportTargetId Export target + ExportTargetId *[]int `form:"export_target_id,omitempty" json:"export_target_id,omitempty"` + + // ExportTargetIdN Export target + ExportTargetIdN *[]int `form:"export_target_id__n,omitempty" json:"export_target_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // ImportTarget Import target (name) + ImportTarget *[]string `form:"import_target,omitempty" json:"import_target,omitempty"` + + // ImportTargetN Import target (name) + ImportTargetN *[]string `form:"import_target__n,omitempty" json:"import_target__n,omitempty"` + + // ImportTargetId Import target + ImportTargetId *[]int `form:"import_target_id,omitempty" json:"import_target_id,omitempty"` + + // ImportTargetIdN Import target + ImportTargetIdN *[]int `form:"import_target_id__n,omitempty" json:"import_target_id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Rd *[]string `form:"rd,omitempty" json:"rd,omitempty"` + RdEmpty *bool `form:"rd__empty,omitempty" json:"rd__empty,omitempty"` + RdIc *[]string `form:"rd__ic,omitempty" json:"rd__ic,omitempty"` + RdIe *[]string `form:"rd__ie,omitempty" json:"rd__ie,omitempty"` + RdIew *[]string `form:"rd__iew,omitempty" json:"rd__iew,omitempty"` + RdIsw *[]string `form:"rd__isw,omitempty" json:"rd__isw,omitempty"` + RdN *[]string `form:"rd__n,omitempty" json:"rd__n,omitempty"` + RdNic *[]string `form:"rd__nic,omitempty" json:"rd__nic,omitempty"` + RdNie *[]string `form:"rd__nie,omitempty" json:"rd__nie,omitempty"` + RdNiew *[]string `form:"rd__niew,omitempty" json:"rd__niew,omitempty"` + RdNisw *[]string `form:"rd__nisw,omitempty" json:"rd__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// IpamVrfsBulkPartialUpdateJSONBody defines parameters for IpamVrfsBulkPartialUpdate. +type IpamVrfsBulkPartialUpdateJSONBody = []VRFRequest + +// IpamVrfsBulkPartialUpdateMultipartBody defines parameters for IpamVrfsBulkPartialUpdate. +type IpamVrfsBulkPartialUpdateMultipartBody = []VRFRequest + +// IpamVrfsBulkUpdateJSONBody defines parameters for IpamVrfsBulkUpdate. +type IpamVrfsBulkUpdateJSONBody = []VRFRequest + +// IpamVrfsBulkUpdateMultipartBody defines parameters for IpamVrfsBulkUpdate. +type IpamVrfsBulkUpdateMultipartBody = []VRFRequest + +// SchemaRetrieveParams defines parameters for SchemaRetrieve. +type SchemaRetrieveParams struct { + Format *SchemaRetrieveParamsFormat `form:"format,omitempty" json:"format,omitempty"` +} + +// SchemaRetrieveParamsFormat defines parameters for SchemaRetrieve. +type SchemaRetrieveParamsFormat string + +// TenancyContactAssignmentsBulkDestroyJSONBody defines parameters for TenancyContactAssignmentsBulkDestroy. +type TenancyContactAssignmentsBulkDestroyJSONBody = []ContactAssignmentRequest + +// TenancyContactAssignmentsBulkDestroyMultipartBody defines parameters for TenancyContactAssignmentsBulkDestroy. +type TenancyContactAssignmentsBulkDestroyMultipartBody = []ContactAssignmentRequest + +// TenancyContactAssignmentsListParams defines parameters for TenancyContactAssignmentsList. +type TenancyContactAssignmentsListParams struct { + // ContactId Contact (ID) + ContactId *[]int `form:"contact_id,omitempty" json:"contact_id,omitempty"` + + // ContactIdN Contact (ID) + ContactIdN *[]int `form:"contact_id__n,omitempty" json:"contact_id__n,omitempty"` + ContentType *string `form:"content_type,omitempty" json:"content_type,omitempty"` + ContentTypeN *string `form:"content_type__n,omitempty" json:"content_type__n,omitempty"` + ContentTypeId *int `form:"content_type_id,omitempty" json:"content_type_id,omitempty"` + ContentTypeIdN *int `form:"content_type_id__n,omitempty" json:"content_type_id__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + ObjectId *[]int32 `form:"object_id,omitempty" json:"object_id,omitempty"` + ObjectIdEmpty *bool `form:"object_id__empty,omitempty" json:"object_id__empty,omitempty"` + ObjectIdGt *[]int32 `form:"object_id__gt,omitempty" json:"object_id__gt,omitempty"` + ObjectIdGte *[]int32 `form:"object_id__gte,omitempty" json:"object_id__gte,omitempty"` + ObjectIdLt *[]int32 `form:"object_id__lt,omitempty" json:"object_id__lt,omitempty"` + ObjectIdLte *[]int32 `form:"object_id__lte,omitempty" json:"object_id__lte,omitempty"` + ObjectIdN *[]int32 `form:"object_id__n,omitempty" json:"object_id__n,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + Priority *string `form:"priority,omitempty" json:"priority,omitempty"` + PriorityN *string `form:"priority__n,omitempty" json:"priority__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Role Contact role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Contact role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Contact role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Contact role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// TenancyContactAssignmentsBulkPartialUpdateJSONBody defines parameters for TenancyContactAssignmentsBulkPartialUpdate. +type TenancyContactAssignmentsBulkPartialUpdateJSONBody = []ContactAssignmentRequest + +// TenancyContactAssignmentsBulkPartialUpdateMultipartBody defines parameters for TenancyContactAssignmentsBulkPartialUpdate. +type TenancyContactAssignmentsBulkPartialUpdateMultipartBody = []ContactAssignmentRequest + +// TenancyContactAssignmentsBulkUpdateJSONBody defines parameters for TenancyContactAssignmentsBulkUpdate. +type TenancyContactAssignmentsBulkUpdateJSONBody = []ContactAssignmentRequest + +// TenancyContactAssignmentsBulkUpdateMultipartBody defines parameters for TenancyContactAssignmentsBulkUpdate. +type TenancyContactAssignmentsBulkUpdateMultipartBody = []ContactAssignmentRequest + +// TenancyContactGroupsBulkDestroyJSONBody defines parameters for TenancyContactGroupsBulkDestroy. +type TenancyContactGroupsBulkDestroyJSONBody = []ContactGroupRequest + +// TenancyContactGroupsBulkDestroyMultipartBody defines parameters for TenancyContactGroupsBulkDestroy. +type TenancyContactGroupsBulkDestroyMultipartBody = []ContactGroupRequest + +// TenancyContactGroupsListParams defines parameters for TenancyContactGroupsList. +type TenancyContactGroupsListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Parent Contact group (slug) + Parent *[]string `form:"parent,omitempty" json:"parent,omitempty"` + + // ParentN Contact group (slug) + ParentN *[]string `form:"parent__n,omitempty" json:"parent__n,omitempty"` + + // ParentId Contact group (ID) + ParentId *[]int `form:"parent_id,omitempty" json:"parent_id,omitempty"` + + // ParentIdN Contact group (ID) + ParentIdN *[]int `form:"parent_id__n,omitempty" json:"parent_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// TenancyContactGroupsBulkPartialUpdateJSONBody defines parameters for TenancyContactGroupsBulkPartialUpdate. +type TenancyContactGroupsBulkPartialUpdateJSONBody = []ContactGroupRequest + +// TenancyContactGroupsBulkPartialUpdateMultipartBody defines parameters for TenancyContactGroupsBulkPartialUpdate. +type TenancyContactGroupsBulkPartialUpdateMultipartBody = []ContactGroupRequest + +// TenancyContactGroupsBulkUpdateJSONBody defines parameters for TenancyContactGroupsBulkUpdate. +type TenancyContactGroupsBulkUpdateJSONBody = []ContactGroupRequest + +// TenancyContactGroupsBulkUpdateMultipartBody defines parameters for TenancyContactGroupsBulkUpdate. +type TenancyContactGroupsBulkUpdateMultipartBody = []ContactGroupRequest + +// TenancyContactRolesBulkDestroyJSONBody defines parameters for TenancyContactRolesBulkDestroy. +type TenancyContactRolesBulkDestroyJSONBody = []ContactRoleRequest + +// TenancyContactRolesBulkDestroyMultipartBody defines parameters for TenancyContactRolesBulkDestroy. +type TenancyContactRolesBulkDestroyMultipartBody = []ContactRoleRequest + +// TenancyContactRolesListParams defines parameters for TenancyContactRolesList. +type TenancyContactRolesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// TenancyContactRolesBulkPartialUpdateJSONBody defines parameters for TenancyContactRolesBulkPartialUpdate. +type TenancyContactRolesBulkPartialUpdateJSONBody = []ContactRoleRequest + +// TenancyContactRolesBulkPartialUpdateMultipartBody defines parameters for TenancyContactRolesBulkPartialUpdate. +type TenancyContactRolesBulkPartialUpdateMultipartBody = []ContactRoleRequest + +// TenancyContactRolesBulkUpdateJSONBody defines parameters for TenancyContactRolesBulkUpdate. +type TenancyContactRolesBulkUpdateJSONBody = []ContactRoleRequest + +// TenancyContactRolesBulkUpdateMultipartBody defines parameters for TenancyContactRolesBulkUpdate. +type TenancyContactRolesBulkUpdateMultipartBody = []ContactRoleRequest + +// TenancyContactsBulkDestroyJSONBody defines parameters for TenancyContactsBulkDestroy. +type TenancyContactsBulkDestroyJSONBody = []ContactRequest + +// TenancyContactsBulkDestroyMultipartBody defines parameters for TenancyContactsBulkDestroy. +type TenancyContactsBulkDestroyMultipartBody = []ContactRequest + +// TenancyContactsListParams defines parameters for TenancyContactsList. +type TenancyContactsListParams struct { + Address *[]string `form:"address,omitempty" json:"address,omitempty"` + AddressEmpty *bool `form:"address__empty,omitempty" json:"address__empty,omitempty"` + AddressIc *[]string `form:"address__ic,omitempty" json:"address__ic,omitempty"` + AddressIe *[]string `form:"address__ie,omitempty" json:"address__ie,omitempty"` + AddressIew *[]string `form:"address__iew,omitempty" json:"address__iew,omitempty"` + AddressIsw *[]string `form:"address__isw,omitempty" json:"address__isw,omitempty"` + AddressN *[]string `form:"address__n,omitempty" json:"address__n,omitempty"` + AddressNic *[]string `form:"address__nic,omitempty" json:"address__nic,omitempty"` + AddressNie *[]string `form:"address__nie,omitempty" json:"address__nie,omitempty"` + AddressNiew *[]string `form:"address__niew,omitempty" json:"address__niew,omitempty"` + AddressNisw *[]string `form:"address__nisw,omitempty" json:"address__nisw,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Email *[]string `form:"email,omitempty" json:"email,omitempty"` + EmailEmpty *bool `form:"email__empty,omitempty" json:"email__empty,omitempty"` + EmailIc *[]string `form:"email__ic,omitempty" json:"email__ic,omitempty"` + EmailIe *[]string `form:"email__ie,omitempty" json:"email__ie,omitempty"` + EmailIew *[]string `form:"email__iew,omitempty" json:"email__iew,omitempty"` + EmailIsw *[]string `form:"email__isw,omitempty" json:"email__isw,omitempty"` + EmailN *[]string `form:"email__n,omitempty" json:"email__n,omitempty"` + EmailNic *[]string `form:"email__nic,omitempty" json:"email__nic,omitempty"` + EmailNie *[]string `form:"email__nie,omitempty" json:"email__nie,omitempty"` + EmailNiew *[]string `form:"email__niew,omitempty" json:"email__niew,omitempty"` + EmailNisw *[]string `form:"email__nisw,omitempty" json:"email__nisw,omitempty"` + + // Group Contact group (slug) + Group *[]int `form:"group,omitempty" json:"group,omitempty"` + + // GroupN Contact group (slug) + GroupN *[]int `form:"group__n,omitempty" json:"group__n,omitempty"` + + // GroupId Contact group (ID) + GroupId *[]int `form:"group_id,omitempty" json:"group_id,omitempty"` + + // GroupIdN Contact group (ID) + GroupIdN *[]int `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Link *[]string `form:"link,omitempty" json:"link,omitempty"` + LinkEmpty *bool `form:"link__empty,omitempty" json:"link__empty,omitempty"` + LinkIc *[]string `form:"link__ic,omitempty" json:"link__ic,omitempty"` + LinkIe *[]string `form:"link__ie,omitempty" json:"link__ie,omitempty"` + LinkIew *[]string `form:"link__iew,omitempty" json:"link__iew,omitempty"` + LinkIsw *[]string `form:"link__isw,omitempty" json:"link__isw,omitempty"` + LinkN *[]string `form:"link__n,omitempty" json:"link__n,omitempty"` + LinkNic *[]string `form:"link__nic,omitempty" json:"link__nic,omitempty"` + LinkNie *[]string `form:"link__nie,omitempty" json:"link__nie,omitempty"` + LinkNiew *[]string `form:"link__niew,omitempty" json:"link__niew,omitempty"` + LinkNisw *[]string `form:"link__nisw,omitempty" json:"link__nisw,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + Phone *[]string `form:"phone,omitempty" json:"phone,omitempty"` + PhoneEmpty *bool `form:"phone__empty,omitempty" json:"phone__empty,omitempty"` + PhoneIc *[]string `form:"phone__ic,omitempty" json:"phone__ic,omitempty"` + PhoneIe *[]string `form:"phone__ie,omitempty" json:"phone__ie,omitempty"` + PhoneIew *[]string `form:"phone__iew,omitempty" json:"phone__iew,omitempty"` + PhoneIsw *[]string `form:"phone__isw,omitempty" json:"phone__isw,omitempty"` + PhoneN *[]string `form:"phone__n,omitempty" json:"phone__n,omitempty"` + PhoneNic *[]string `form:"phone__nic,omitempty" json:"phone__nic,omitempty"` + PhoneNie *[]string `form:"phone__nie,omitempty" json:"phone__nie,omitempty"` + PhoneNiew *[]string `form:"phone__niew,omitempty" json:"phone__niew,omitempty"` + PhoneNisw *[]string `form:"phone__nisw,omitempty" json:"phone__nisw,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + Title *[]string `form:"title,omitempty" json:"title,omitempty"` + TitleEmpty *bool `form:"title__empty,omitempty" json:"title__empty,omitempty"` + TitleIc *[]string `form:"title__ic,omitempty" json:"title__ic,omitempty"` + TitleIe *[]string `form:"title__ie,omitempty" json:"title__ie,omitempty"` + TitleIew *[]string `form:"title__iew,omitempty" json:"title__iew,omitempty"` + TitleIsw *[]string `form:"title__isw,omitempty" json:"title__isw,omitempty"` + TitleN *[]string `form:"title__n,omitempty" json:"title__n,omitempty"` + TitleNic *[]string `form:"title__nic,omitempty" json:"title__nic,omitempty"` + TitleNie *[]string `form:"title__nie,omitempty" json:"title__nie,omitempty"` + TitleNiew *[]string `form:"title__niew,omitempty" json:"title__niew,omitempty"` + TitleNisw *[]string `form:"title__nisw,omitempty" json:"title__nisw,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// TenancyContactsBulkPartialUpdateJSONBody defines parameters for TenancyContactsBulkPartialUpdate. +type TenancyContactsBulkPartialUpdateJSONBody = []ContactRequest + +// TenancyContactsBulkPartialUpdateMultipartBody defines parameters for TenancyContactsBulkPartialUpdate. +type TenancyContactsBulkPartialUpdateMultipartBody = []ContactRequest + +// TenancyContactsBulkUpdateJSONBody defines parameters for TenancyContactsBulkUpdate. +type TenancyContactsBulkUpdateJSONBody = []ContactRequest + +// TenancyContactsBulkUpdateMultipartBody defines parameters for TenancyContactsBulkUpdate. +type TenancyContactsBulkUpdateMultipartBody = []ContactRequest + +// TenancyTenantGroupsBulkDestroyJSONBody defines parameters for TenancyTenantGroupsBulkDestroy. +type TenancyTenantGroupsBulkDestroyJSONBody = []TenantGroupRequest + +// TenancyTenantGroupsBulkDestroyMultipartBody defines parameters for TenancyTenantGroupsBulkDestroy. +type TenancyTenantGroupsBulkDestroyMultipartBody = []TenantGroupRequest + +// TenancyTenantGroupsListParams defines parameters for TenancyTenantGroupsList. +type TenancyTenantGroupsListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Parent Tenant group (slug) + Parent *[]string `form:"parent,omitempty" json:"parent,omitempty"` + + // ParentN Tenant group (slug) + ParentN *[]string `form:"parent__n,omitempty" json:"parent__n,omitempty"` + + // ParentId Tenant group (ID) + ParentId *[]int `form:"parent_id,omitempty" json:"parent_id,omitempty"` + + // ParentIdN Tenant group (ID) + ParentIdN *[]int `form:"parent_id__n,omitempty" json:"parent_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// TenancyTenantGroupsBulkPartialUpdateJSONBody defines parameters for TenancyTenantGroupsBulkPartialUpdate. +type TenancyTenantGroupsBulkPartialUpdateJSONBody = []TenantGroupRequest + +// TenancyTenantGroupsBulkPartialUpdateMultipartBody defines parameters for TenancyTenantGroupsBulkPartialUpdate. +type TenancyTenantGroupsBulkPartialUpdateMultipartBody = []TenantGroupRequest + +// TenancyTenantGroupsBulkUpdateJSONBody defines parameters for TenancyTenantGroupsBulkUpdate. +type TenancyTenantGroupsBulkUpdateJSONBody = []TenantGroupRequest + +// TenancyTenantGroupsBulkUpdateMultipartBody defines parameters for TenancyTenantGroupsBulkUpdate. +type TenancyTenantGroupsBulkUpdateMultipartBody = []TenantGroupRequest + +// TenancyTenantsBulkDestroyJSONBody defines parameters for TenancyTenantsBulkDestroy. +type TenancyTenantsBulkDestroyJSONBody = []TenantRequest + +// TenancyTenantsBulkDestroyMultipartBody defines parameters for TenancyTenantsBulkDestroy. +type TenancyTenantsBulkDestroyMultipartBody = []TenantRequest + +// TenancyTenantsListParams defines parameters for TenancyTenantsList. +type TenancyTenantsListParams struct { + // Contact Contact + Contact *[]int `form:"contact,omitempty" json:"contact,omitempty"` + + // ContactN Contact + ContactN *[]int `form:"contact__n,omitempty" json:"contact__n,omitempty"` + + // ContactGroup Contact group + ContactGroup *[]int `form:"contact_group,omitempty" json:"contact_group,omitempty"` + + // ContactGroupN Contact group + ContactGroupN *[]int `form:"contact_group__n,omitempty" json:"contact_group__n,omitempty"` + + // ContactRole Contact Role + ContactRole *[]int `form:"contact_role,omitempty" json:"contact_role,omitempty"` + + // ContactRoleN Contact Role + ContactRoleN *[]int `form:"contact_role__n,omitempty" json:"contact_role__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // Group Tenant group (slug) + Group *[]int `form:"group,omitempty" json:"group,omitempty"` + + // GroupN Tenant group (slug) + GroupN *[]int `form:"group__n,omitempty" json:"group__n,omitempty"` + + // GroupId Tenant group (ID) + GroupId *[]int `form:"group_id,omitempty" json:"group_id,omitempty"` + + // GroupIdN Tenant group (ID) + GroupIdN *[]int `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// TenancyTenantsBulkPartialUpdateJSONBody defines parameters for TenancyTenantsBulkPartialUpdate. +type TenancyTenantsBulkPartialUpdateJSONBody = []TenantRequest + +// TenancyTenantsBulkPartialUpdateMultipartBody defines parameters for TenancyTenantsBulkPartialUpdate. +type TenancyTenantsBulkPartialUpdateMultipartBody = []TenantRequest + +// TenancyTenantsBulkUpdateJSONBody defines parameters for TenancyTenantsBulkUpdate. +type TenancyTenantsBulkUpdateJSONBody = []TenantRequest + +// TenancyTenantsBulkUpdateMultipartBody defines parameters for TenancyTenantsBulkUpdate. +type TenancyTenantsBulkUpdateMultipartBody = []TenantRequest + +// UsersGroupsBulkDestroyJSONBody defines parameters for UsersGroupsBulkDestroy. +type UsersGroupsBulkDestroyJSONBody = []GroupRequest + +// UsersGroupsBulkDestroyMultipartBody defines parameters for UsersGroupsBulkDestroy. +type UsersGroupsBulkDestroyMultipartBody = []GroupRequest + +// UsersGroupsListParams defines parameters for UsersGroupsList. +type UsersGroupsListParams struct { + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` +} + +// UsersGroupsBulkPartialUpdateJSONBody defines parameters for UsersGroupsBulkPartialUpdate. +type UsersGroupsBulkPartialUpdateJSONBody = []GroupRequest + +// UsersGroupsBulkPartialUpdateMultipartBody defines parameters for UsersGroupsBulkPartialUpdate. +type UsersGroupsBulkPartialUpdateMultipartBody = []GroupRequest + +// UsersGroupsBulkUpdateJSONBody defines parameters for UsersGroupsBulkUpdate. +type UsersGroupsBulkUpdateJSONBody = []GroupRequest + +// UsersGroupsBulkUpdateMultipartBody defines parameters for UsersGroupsBulkUpdate. +type UsersGroupsBulkUpdateMultipartBody = []GroupRequest + +// UsersPermissionsBulkDestroyJSONBody defines parameters for UsersPermissionsBulkDestroy. +type UsersPermissionsBulkDestroyJSONBody = []ObjectPermissionRequest + +// UsersPermissionsBulkDestroyMultipartBody defines parameters for UsersPermissionsBulkDestroy. +type UsersPermissionsBulkDestroyMultipartBody = []ObjectPermissionRequest + +// UsersPermissionsListParams defines parameters for UsersPermissionsList. +type UsersPermissionsListParams struct { + CanAdd *bool `form:"can_add,omitempty" json:"can_add,omitempty"` + CanChange *bool `form:"can_change,omitempty" json:"can_change,omitempty"` + CanDelete *bool `form:"can_delete,omitempty" json:"can_delete,omitempty"` + CanView *bool `form:"can_view,omitempty" json:"can_view,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` + + // Group Group (name) + Group *[]string `form:"group,omitempty" json:"group,omitempty"` + + // GroupN Group (name) + GroupN *[]string `form:"group__n,omitempty" json:"group__n,omitempty"` + + // GroupId Group + GroupId *[]int `form:"group_id,omitempty" json:"group_id,omitempty"` + + // GroupIdN Group + GroupIdN *[]int `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + ObjectTypes *[]int `form:"object_types,omitempty" json:"object_types,omitempty"` + ObjectTypesN *[]int `form:"object_types__n,omitempty" json:"object_types__n,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // User User (name) + User *[]string `form:"user,omitempty" json:"user,omitempty"` + + // UserN User (name) + UserN *[]string `form:"user__n,omitempty" json:"user__n,omitempty"` + + // UserId User + UserId *[]int `form:"user_id,omitempty" json:"user_id,omitempty"` + + // UserIdN User + UserIdN *[]int `form:"user_id__n,omitempty" json:"user_id__n,omitempty"` +} + +// UsersPermissionsBulkPartialUpdateJSONBody defines parameters for UsersPermissionsBulkPartialUpdate. +type UsersPermissionsBulkPartialUpdateJSONBody = []ObjectPermissionRequest + +// UsersPermissionsBulkPartialUpdateMultipartBody defines parameters for UsersPermissionsBulkPartialUpdate. +type UsersPermissionsBulkPartialUpdateMultipartBody = []ObjectPermissionRequest + +// UsersPermissionsBulkUpdateJSONBody defines parameters for UsersPermissionsBulkUpdate. +type UsersPermissionsBulkUpdateJSONBody = []ObjectPermissionRequest + +// UsersPermissionsBulkUpdateMultipartBody defines parameters for UsersPermissionsBulkUpdate. +type UsersPermissionsBulkUpdateMultipartBody = []ObjectPermissionRequest + +// UsersTokensBulkDestroyJSONBody defines parameters for UsersTokensBulkDestroy. +type UsersTokensBulkDestroyJSONBody = []TokenRequest + +// UsersTokensBulkDestroyMultipartBody defines parameters for UsersTokensBulkDestroy. +type UsersTokensBulkDestroyMultipartBody = []TokenRequest + +// UsersTokensListParams defines parameters for UsersTokensList. +type UsersTokensListParams struct { + Created *time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Expires *time.Time `form:"expires,omitempty" json:"expires,omitempty"` + ExpiresGte *time.Time `form:"expires__gte,omitempty" json:"expires__gte,omitempty"` + ExpiresLte *time.Time `form:"expires__lte,omitempty" json:"expires__lte,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + Key *[]string `form:"key,omitempty" json:"key,omitempty"` + KeyEmpty *bool `form:"key__empty,omitempty" json:"key__empty,omitempty"` + KeyIc *[]string `form:"key__ic,omitempty" json:"key__ic,omitempty"` + KeyIe *[]string `form:"key__ie,omitempty" json:"key__ie,omitempty"` + KeyIew *[]string `form:"key__iew,omitempty" json:"key__iew,omitempty"` + KeyIsw *[]string `form:"key__isw,omitempty" json:"key__isw,omitempty"` + KeyN *[]string `form:"key__n,omitempty" json:"key__n,omitempty"` + KeyNic *[]string `form:"key__nic,omitempty" json:"key__nic,omitempty"` + KeyNie *[]string `form:"key__nie,omitempty" json:"key__nie,omitempty"` + KeyNiew *[]string `form:"key__niew,omitempty" json:"key__niew,omitempty"` + KeyNisw *[]string `form:"key__nisw,omitempty" json:"key__nisw,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // User User (name) + User *[]string `form:"user,omitempty" json:"user,omitempty"` + + // UserN User (name) + UserN *[]string `form:"user__n,omitempty" json:"user__n,omitempty"` + + // UserId User + UserId *[]int `form:"user_id,omitempty" json:"user_id,omitempty"` + + // UserIdN User + UserIdN *[]int `form:"user_id__n,omitempty" json:"user_id__n,omitempty"` + WriteEnabled *bool `form:"write_enabled,omitempty" json:"write_enabled,omitempty"` +} + +// UsersTokensBulkPartialUpdateJSONBody defines parameters for UsersTokensBulkPartialUpdate. +type UsersTokensBulkPartialUpdateJSONBody = []TokenRequest + +// UsersTokensBulkPartialUpdateMultipartBody defines parameters for UsersTokensBulkPartialUpdate. +type UsersTokensBulkPartialUpdateMultipartBody = []TokenRequest + +// UsersTokensBulkUpdateJSONBody defines parameters for UsersTokensBulkUpdate. +type UsersTokensBulkUpdateJSONBody = []TokenRequest + +// UsersTokensBulkUpdateMultipartBody defines parameters for UsersTokensBulkUpdate. +type UsersTokensBulkUpdateMultipartBody = []TokenRequest + +// UsersUsersBulkDestroyJSONBody defines parameters for UsersUsersBulkDestroy. +type UsersUsersBulkDestroyJSONBody = []UserRequest + +// UsersUsersBulkDestroyMultipartBody defines parameters for UsersUsersBulkDestroy. +type UsersUsersBulkDestroyMultipartBody = []UserRequest + +// UsersUsersListParams defines parameters for UsersUsersList. +type UsersUsersListParams struct { + Email *[]string `form:"email,omitempty" json:"email,omitempty"` + EmailEmpty *bool `form:"email__empty,omitempty" json:"email__empty,omitempty"` + EmailIc *[]string `form:"email__ic,omitempty" json:"email__ic,omitempty"` + EmailIe *[]string `form:"email__ie,omitempty" json:"email__ie,omitempty"` + EmailIew *[]string `form:"email__iew,omitempty" json:"email__iew,omitempty"` + EmailIsw *[]string `form:"email__isw,omitempty" json:"email__isw,omitempty"` + EmailN *[]string `form:"email__n,omitempty" json:"email__n,omitempty"` + EmailNic *[]string `form:"email__nic,omitempty" json:"email__nic,omitempty"` + EmailNie *[]string `form:"email__nie,omitempty" json:"email__nie,omitempty"` + EmailNiew *[]string `form:"email__niew,omitempty" json:"email__niew,omitempty"` + EmailNisw *[]string `form:"email__nisw,omitempty" json:"email__nisw,omitempty"` + FirstName *[]string `form:"first_name,omitempty" json:"first_name,omitempty"` + FirstNameEmpty *bool `form:"first_name__empty,omitempty" json:"first_name__empty,omitempty"` + FirstNameIc *[]string `form:"first_name__ic,omitempty" json:"first_name__ic,omitempty"` + FirstNameIe *[]string `form:"first_name__ie,omitempty" json:"first_name__ie,omitempty"` + FirstNameIew *[]string `form:"first_name__iew,omitempty" json:"first_name__iew,omitempty"` + FirstNameIsw *[]string `form:"first_name__isw,omitempty" json:"first_name__isw,omitempty"` + FirstNameN *[]string `form:"first_name__n,omitempty" json:"first_name__n,omitempty"` + FirstNameNic *[]string `form:"first_name__nic,omitempty" json:"first_name__nic,omitempty"` + FirstNameNie *[]string `form:"first_name__nie,omitempty" json:"first_name__nie,omitempty"` + FirstNameNiew *[]string `form:"first_name__niew,omitempty" json:"first_name__niew,omitempty"` + FirstNameNisw *[]string `form:"first_name__nisw,omitempty" json:"first_name__nisw,omitempty"` + + // Group Group (name) + Group *[]string `form:"group,omitempty" json:"group,omitempty"` + + // GroupN Group (name) + GroupN *[]string `form:"group__n,omitempty" json:"group__n,omitempty"` + + // GroupId Group + GroupId *[]int `form:"group_id,omitempty" json:"group_id,omitempty"` + + // GroupIdN Group + GroupIdN *[]int `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + IsActive *bool `form:"is_active,omitempty" json:"is_active,omitempty"` + IsStaff *bool `form:"is_staff,omitempty" json:"is_staff,omitempty"` + IsSuperuser *bool `form:"is_superuser,omitempty" json:"is_superuser,omitempty"` + LastName *[]string `form:"last_name,omitempty" json:"last_name,omitempty"` + LastNameEmpty *bool `form:"last_name__empty,omitempty" json:"last_name__empty,omitempty"` + LastNameIc *[]string `form:"last_name__ic,omitempty" json:"last_name__ic,omitempty"` + LastNameIe *[]string `form:"last_name__ie,omitempty" json:"last_name__ie,omitempty"` + LastNameIew *[]string `form:"last_name__iew,omitempty" json:"last_name__iew,omitempty"` + LastNameIsw *[]string `form:"last_name__isw,omitempty" json:"last_name__isw,omitempty"` + LastNameN *[]string `form:"last_name__n,omitempty" json:"last_name__n,omitempty"` + LastNameNic *[]string `form:"last_name__nic,omitempty" json:"last_name__nic,omitempty"` + LastNameNie *[]string `form:"last_name__nie,omitempty" json:"last_name__nie,omitempty"` + LastNameNiew *[]string `form:"last_name__niew,omitempty" json:"last_name__niew,omitempty"` + LastNameNisw *[]string `form:"last_name__nisw,omitempty" json:"last_name__nisw,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Username *[]string `form:"username,omitempty" json:"username,omitempty"` + UsernameEmpty *bool `form:"username__empty,omitempty" json:"username__empty,omitempty"` + UsernameIc *[]string `form:"username__ic,omitempty" json:"username__ic,omitempty"` + UsernameIe *[]string `form:"username__ie,omitempty" json:"username__ie,omitempty"` + UsernameIew *[]string `form:"username__iew,omitempty" json:"username__iew,omitempty"` + UsernameIsw *[]string `form:"username__isw,omitempty" json:"username__isw,omitempty"` + UsernameN *[]string `form:"username__n,omitempty" json:"username__n,omitempty"` + UsernameNic *[]string `form:"username__nic,omitempty" json:"username__nic,omitempty"` + UsernameNie *[]string `form:"username__nie,omitempty" json:"username__nie,omitempty"` + UsernameNiew *[]string `form:"username__niew,omitempty" json:"username__niew,omitempty"` + UsernameNisw *[]string `form:"username__nisw,omitempty" json:"username__nisw,omitempty"` +} + +// UsersUsersBulkPartialUpdateJSONBody defines parameters for UsersUsersBulkPartialUpdate. +type UsersUsersBulkPartialUpdateJSONBody = []UserRequest + +// UsersUsersBulkPartialUpdateMultipartBody defines parameters for UsersUsersBulkPartialUpdate. +type UsersUsersBulkPartialUpdateMultipartBody = []UserRequest + +// UsersUsersBulkUpdateJSONBody defines parameters for UsersUsersBulkUpdate. +type UsersUsersBulkUpdateJSONBody = []UserRequest + +// UsersUsersBulkUpdateMultipartBody defines parameters for UsersUsersBulkUpdate. +type UsersUsersBulkUpdateMultipartBody = []UserRequest + +// VirtualizationClusterGroupsBulkDestroyJSONBody defines parameters for VirtualizationClusterGroupsBulkDestroy. +type VirtualizationClusterGroupsBulkDestroyJSONBody = []ClusterGroupRequest + +// VirtualizationClusterGroupsBulkDestroyMultipartBody defines parameters for VirtualizationClusterGroupsBulkDestroy. +type VirtualizationClusterGroupsBulkDestroyMultipartBody = []ClusterGroupRequest + +// VirtualizationClusterGroupsListParams defines parameters for VirtualizationClusterGroupsList. +type VirtualizationClusterGroupsListParams struct { + // Contact Contact + Contact *[]int `form:"contact,omitempty" json:"contact,omitempty"` + + // ContactN Contact + ContactN *[]int `form:"contact__n,omitempty" json:"contact__n,omitempty"` + + // ContactGroup Contact group + ContactGroup *[]int `form:"contact_group,omitempty" json:"contact_group,omitempty"` + + // ContactGroupN Contact group + ContactGroupN *[]int `form:"contact_group__n,omitempty" json:"contact_group__n,omitempty"` + + // ContactRole Contact Role + ContactRole *[]int `form:"contact_role,omitempty" json:"contact_role,omitempty"` + + // ContactRoleN Contact Role + ContactRoleN *[]int `form:"contact_role__n,omitempty" json:"contact_role__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// VirtualizationClusterGroupsBulkPartialUpdateJSONBody defines parameters for VirtualizationClusterGroupsBulkPartialUpdate. +type VirtualizationClusterGroupsBulkPartialUpdateJSONBody = []ClusterGroupRequest + +// VirtualizationClusterGroupsBulkPartialUpdateMultipartBody defines parameters for VirtualizationClusterGroupsBulkPartialUpdate. +type VirtualizationClusterGroupsBulkPartialUpdateMultipartBody = []ClusterGroupRequest + +// VirtualizationClusterGroupsBulkUpdateJSONBody defines parameters for VirtualizationClusterGroupsBulkUpdate. +type VirtualizationClusterGroupsBulkUpdateJSONBody = []ClusterGroupRequest + +// VirtualizationClusterGroupsBulkUpdateMultipartBody defines parameters for VirtualizationClusterGroupsBulkUpdate. +type VirtualizationClusterGroupsBulkUpdateMultipartBody = []ClusterGroupRequest + +// VirtualizationClusterTypesBulkDestroyJSONBody defines parameters for VirtualizationClusterTypesBulkDestroy. +type VirtualizationClusterTypesBulkDestroyJSONBody = []ClusterTypeRequest + +// VirtualizationClusterTypesBulkDestroyMultipartBody defines parameters for VirtualizationClusterTypesBulkDestroy. +type VirtualizationClusterTypesBulkDestroyMultipartBody = []ClusterTypeRequest + +// VirtualizationClusterTypesListParams defines parameters for VirtualizationClusterTypesList. +type VirtualizationClusterTypesListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// VirtualizationClusterTypesBulkPartialUpdateJSONBody defines parameters for VirtualizationClusterTypesBulkPartialUpdate. +type VirtualizationClusterTypesBulkPartialUpdateJSONBody = []ClusterTypeRequest + +// VirtualizationClusterTypesBulkPartialUpdateMultipartBody defines parameters for VirtualizationClusterTypesBulkPartialUpdate. +type VirtualizationClusterTypesBulkPartialUpdateMultipartBody = []ClusterTypeRequest + +// VirtualizationClusterTypesBulkUpdateJSONBody defines parameters for VirtualizationClusterTypesBulkUpdate. +type VirtualizationClusterTypesBulkUpdateJSONBody = []ClusterTypeRequest + +// VirtualizationClusterTypesBulkUpdateMultipartBody defines parameters for VirtualizationClusterTypesBulkUpdate. +type VirtualizationClusterTypesBulkUpdateMultipartBody = []ClusterTypeRequest + +// VirtualizationClustersBulkDestroyJSONBody defines parameters for VirtualizationClustersBulkDestroy. +type VirtualizationClustersBulkDestroyJSONBody = []ClusterRequest + +// VirtualizationClustersBulkDestroyMultipartBody defines parameters for VirtualizationClustersBulkDestroy. +type VirtualizationClustersBulkDestroyMultipartBody = []ClusterRequest + +// VirtualizationClustersListParams defines parameters for VirtualizationClustersList. +type VirtualizationClustersListParams struct { + // Contact Contact + Contact *[]int `form:"contact,omitempty" json:"contact,omitempty"` + + // ContactN Contact + ContactN *[]int `form:"contact__n,omitempty" json:"contact__n,omitempty"` + + // ContactGroup Contact group + ContactGroup *[]int `form:"contact_group,omitempty" json:"contact_group,omitempty"` + + // ContactGroupN Contact group + ContactGroupN *[]int `form:"contact_group__n,omitempty" json:"contact_group__n,omitempty"` + + // ContactRole Contact Role + ContactRole *[]int `form:"contact_role,omitempty" json:"contact_role,omitempty"` + + // ContactRoleN Contact Role + ContactRoleN *[]int `form:"contact_role__n,omitempty" json:"contact_role__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // Group Parent group (slug) + Group *[]string `form:"group,omitempty" json:"group,omitempty"` + + // GroupN Parent group (slug) + GroupN *[]string `form:"group__n,omitempty" json:"group__n,omitempty"` + + // GroupId Parent group (ID) + GroupId *[]int `form:"group_id,omitempty" json:"group_id,omitempty"` + + // GroupIdN Parent group (ID) + GroupIdN *[]int `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + + // Type Cluster type (slug) + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + + // TypeN Cluster type (slug) + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + + // TypeId Cluster type (ID) + TypeId *[]int `form:"type_id,omitempty" json:"type_id,omitempty"` + + // TypeIdN Cluster type (ID) + TypeIdN *[]int `form:"type_id__n,omitempty" json:"type_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// VirtualizationClustersBulkPartialUpdateJSONBody defines parameters for VirtualizationClustersBulkPartialUpdate. +type VirtualizationClustersBulkPartialUpdateJSONBody = []ClusterRequest + +// VirtualizationClustersBulkPartialUpdateMultipartBody defines parameters for VirtualizationClustersBulkPartialUpdate. +type VirtualizationClustersBulkPartialUpdateMultipartBody = []ClusterRequest + +// VirtualizationClustersBulkUpdateJSONBody defines parameters for VirtualizationClustersBulkUpdate. +type VirtualizationClustersBulkUpdateJSONBody = []ClusterRequest + +// VirtualizationClustersBulkUpdateMultipartBody defines parameters for VirtualizationClustersBulkUpdate. +type VirtualizationClustersBulkUpdateMultipartBody = []ClusterRequest + +// VirtualizationInterfacesBulkDestroyJSONBody defines parameters for VirtualizationInterfacesBulkDestroy. +type VirtualizationInterfacesBulkDestroyJSONBody = []VMInterfaceRequest + +// VirtualizationInterfacesBulkDestroyMultipartBody defines parameters for VirtualizationInterfacesBulkDestroy. +type VirtualizationInterfacesBulkDestroyMultipartBody = []VMInterfaceRequest + +// VirtualizationInterfacesListParams defines parameters for VirtualizationInterfacesList. +type VirtualizationInterfacesListParams struct { + // BridgeId Bridged interface (ID) + BridgeId *[]int `form:"bridge_id,omitempty" json:"bridge_id,omitempty"` + + // BridgeIdN Bridged interface (ID) + BridgeIdN *[]int `form:"bridge_id__n,omitempty" json:"bridge_id__n,omitempty"` + + // Cluster Cluster + Cluster *[]string `form:"cluster,omitempty" json:"cluster,omitempty"` + + // ClusterN Cluster + ClusterN *[]string `form:"cluster__n,omitempty" json:"cluster__n,omitempty"` + + // ClusterId Cluster (ID) + ClusterId *[]int `form:"cluster_id,omitempty" json:"cluster_id,omitempty"` + + // ClusterIdN Cluster (ID) + ClusterIdN *[]int `form:"cluster_id__n,omitempty" json:"cluster_id__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + + // L2vpn L2VPN + L2vpn *[]int64 `form:"l2vpn,omitempty" json:"l2vpn,omitempty"` + + // L2vpnN L2VPN + L2vpnN *[]int64 `form:"l2vpn__n,omitempty" json:"l2vpn__n,omitempty"` + + // L2vpnId L2VPN (ID) + L2vpnId *[]int `form:"l2vpn_id,omitempty" json:"l2vpn_id,omitempty"` + + // L2vpnIdN L2VPN (ID) + L2vpnIdN *[]int `form:"l2vpn_id__n,omitempty" json:"l2vpn_id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + MacAddress *[]string `form:"mac_address,omitempty" json:"mac_address,omitempty"` + MacAddressIc *[]string `form:"mac_address__ic,omitempty" json:"mac_address__ic,omitempty"` + MacAddressIe *[]string `form:"mac_address__ie,omitempty" json:"mac_address__ie,omitempty"` + MacAddressIew *[]string `form:"mac_address__iew,omitempty" json:"mac_address__iew,omitempty"` + MacAddressIsw *[]string `form:"mac_address__isw,omitempty" json:"mac_address__isw,omitempty"` + MacAddressN *[]string `form:"mac_address__n,omitempty" json:"mac_address__n,omitempty"` + MacAddressNic *[]string `form:"mac_address__nic,omitempty" json:"mac_address__nic,omitempty"` + MacAddressNie *[]string `form:"mac_address__nie,omitempty" json:"mac_address__nie,omitempty"` + MacAddressNiew *[]string `form:"mac_address__niew,omitempty" json:"mac_address__niew,omitempty"` + MacAddressNisw *[]string `form:"mac_address__nisw,omitempty" json:"mac_address__nisw,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Mtu *[]int32 `form:"mtu,omitempty" json:"mtu,omitempty"` + MtuEmpty *bool `form:"mtu__empty,omitempty" json:"mtu__empty,omitempty"` + MtuGt *[]int32 `form:"mtu__gt,omitempty" json:"mtu__gt,omitempty"` + MtuGte *[]int32 `form:"mtu__gte,omitempty" json:"mtu__gte,omitempty"` + MtuLt *[]int32 `form:"mtu__lt,omitempty" json:"mtu__lt,omitempty"` + MtuLte *[]int32 `form:"mtu__lte,omitempty" json:"mtu__lte,omitempty"` + MtuN *[]int32 `form:"mtu__n,omitempty" json:"mtu__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // ParentId Parent interface (ID) + ParentId *[]int `form:"parent_id,omitempty" json:"parent_id,omitempty"` + + // ParentIdN Parent interface (ID) + ParentIdN *[]int `form:"parent_id__n,omitempty" json:"parent_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + + // VirtualMachine Virtual machine + VirtualMachine *[]string `form:"virtual_machine,omitempty" json:"virtual_machine,omitempty"` + + // VirtualMachineN Virtual machine + VirtualMachineN *[]string `form:"virtual_machine__n,omitempty" json:"virtual_machine__n,omitempty"` + + // VirtualMachineId Virtual machine (ID) + VirtualMachineId *[]int `form:"virtual_machine_id,omitempty" json:"virtual_machine_id,omitempty"` + + // VirtualMachineIdN Virtual machine (ID) + VirtualMachineIdN *[]int `form:"virtual_machine_id__n,omitempty" json:"virtual_machine_id__n,omitempty"` + + // Vlan Assigned VID + Vlan *string `form:"vlan,omitempty" json:"vlan,omitempty"` + + // VlanId Assigned VLAN + VlanId *string `form:"vlan_id,omitempty" json:"vlan_id,omitempty"` + + // Vrf VRF (RD) + Vrf *[]string `form:"vrf,omitempty" json:"vrf,omitempty"` + + // VrfN VRF (RD) + VrfN *[]string `form:"vrf__n,omitempty" json:"vrf__n,omitempty"` + + // VrfId VRF + VrfId *[]int `form:"vrf_id,omitempty" json:"vrf_id,omitempty"` + + // VrfIdN VRF + VrfIdN *[]int `form:"vrf_id__n,omitempty" json:"vrf_id__n,omitempty"` +} + +// VirtualizationInterfacesBulkPartialUpdateJSONBody defines parameters for VirtualizationInterfacesBulkPartialUpdate. +type VirtualizationInterfacesBulkPartialUpdateJSONBody = []VMInterfaceRequest + +// VirtualizationInterfacesBulkPartialUpdateMultipartBody defines parameters for VirtualizationInterfacesBulkPartialUpdate. +type VirtualizationInterfacesBulkPartialUpdateMultipartBody = []VMInterfaceRequest + +// VirtualizationInterfacesBulkUpdateJSONBody defines parameters for VirtualizationInterfacesBulkUpdate. +type VirtualizationInterfacesBulkUpdateJSONBody = []VMInterfaceRequest + +// VirtualizationInterfacesBulkUpdateMultipartBody defines parameters for VirtualizationInterfacesBulkUpdate. +type VirtualizationInterfacesBulkUpdateMultipartBody = []VMInterfaceRequest + +// VirtualizationVirtualMachinesBulkDestroyJSONBody defines parameters for VirtualizationVirtualMachinesBulkDestroy. +type VirtualizationVirtualMachinesBulkDestroyJSONBody = []VirtualMachineWithConfigContextRequest + +// VirtualizationVirtualMachinesBulkDestroyMultipartBody defines parameters for VirtualizationVirtualMachinesBulkDestroy. +type VirtualizationVirtualMachinesBulkDestroyMultipartBody = []VirtualMachineWithConfigContextRequest + +// VirtualizationVirtualMachinesListParams defines parameters for VirtualizationVirtualMachinesList. +type VirtualizationVirtualMachinesListParams struct { + // Cluster Cluster + Cluster *[]string `form:"cluster,omitempty" json:"cluster,omitempty"` + + // ClusterN Cluster + ClusterN *[]string `form:"cluster__n,omitempty" json:"cluster__n,omitempty"` + + // ClusterGroup Cluster group (slug) + ClusterGroup *[]string `form:"cluster_group,omitempty" json:"cluster_group,omitempty"` + + // ClusterGroupN Cluster group (slug) + ClusterGroupN *[]string `form:"cluster_group__n,omitempty" json:"cluster_group__n,omitempty"` + + // ClusterGroupId Cluster group (ID) + ClusterGroupId *[]int `form:"cluster_group_id,omitempty" json:"cluster_group_id,omitempty"` + + // ClusterGroupIdN Cluster group (ID) + ClusterGroupIdN *[]int `form:"cluster_group_id__n,omitempty" json:"cluster_group_id__n,omitempty"` + + // ClusterId Cluster (ID) + ClusterId *[]int `form:"cluster_id,omitempty" json:"cluster_id,omitempty"` + + // ClusterIdN Cluster (ID) + ClusterIdN *[]int `form:"cluster_id__n,omitempty" json:"cluster_id__n,omitempty"` + + // ClusterType Cluster type (slug) + ClusterType *[]string `form:"cluster_type,omitempty" json:"cluster_type,omitempty"` + + // ClusterTypeN Cluster type (slug) + ClusterTypeN *[]string `form:"cluster_type__n,omitempty" json:"cluster_type__n,omitempty"` + + // ClusterTypeId Cluster type (ID) + ClusterTypeId *[]int `form:"cluster_type_id,omitempty" json:"cluster_type_id,omitempty"` + + // ClusterTypeIdN Cluster type (ID) + ClusterTypeIdN *[]int `form:"cluster_type_id__n,omitempty" json:"cluster_type_id__n,omitempty"` + + // ConfigTemplateId Config template (ID) + ConfigTemplateId *[]int `form:"config_template_id,omitempty" json:"config_template_id,omitempty"` + + // ConfigTemplateIdN Config template (ID) + ConfigTemplateIdN *[]int `form:"config_template_id__n,omitempty" json:"config_template_id__n,omitempty"` + + // Contact Contact + Contact *[]int `form:"contact,omitempty" json:"contact,omitempty"` + + // ContactN Contact + ContactN *[]int `form:"contact__n,omitempty" json:"contact__n,omitempty"` + + // ContactGroup Contact group + ContactGroup *[]int `form:"contact_group,omitempty" json:"contact_group,omitempty"` + + // ContactGroupN Contact group + ContactGroupN *[]int `form:"contact_group__n,omitempty" json:"contact_group__n,omitempty"` + + // ContactRole Contact Role + ContactRole *[]int `form:"contact_role,omitempty" json:"contact_role,omitempty"` + + // ContactRoleN Contact Role + ContactRoleN *[]int `form:"contact_role__n,omitempty" json:"contact_role__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + + // Device Device + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]int `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]int `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + Disk *[]int32 `form:"disk,omitempty" json:"disk,omitempty"` + DiskEmpty *bool `form:"disk__empty,omitempty" json:"disk__empty,omitempty"` + DiskGt *[]int32 `form:"disk__gt,omitempty" json:"disk__gt,omitempty"` + DiskGte *[]int32 `form:"disk__gte,omitempty" json:"disk__gte,omitempty"` + DiskLt *[]int32 `form:"disk__lt,omitempty" json:"disk__lt,omitempty"` + DiskLte *[]int32 `form:"disk__lte,omitempty" json:"disk__lte,omitempty"` + DiskN *[]int32 `form:"disk__n,omitempty" json:"disk__n,omitempty"` + + // HasPrimaryIp Has a primary IP + HasPrimaryIp *bool `form:"has_primary_ip,omitempty" json:"has_primary_ip,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // LocalContextData Has local config context data + LocalContextData *bool `form:"local_context_data,omitempty" json:"local_context_data,omitempty"` + MacAddress *[]string `form:"mac_address,omitempty" json:"mac_address,omitempty"` + MacAddressIc *[]string `form:"mac_address__ic,omitempty" json:"mac_address__ic,omitempty"` + MacAddressIe *[]string `form:"mac_address__ie,omitempty" json:"mac_address__ie,omitempty"` + MacAddressIew *[]string `form:"mac_address__iew,omitempty" json:"mac_address__iew,omitempty"` + MacAddressIsw *[]string `form:"mac_address__isw,omitempty" json:"mac_address__isw,omitempty"` + MacAddressN *[]string `form:"mac_address__n,omitempty" json:"mac_address__n,omitempty"` + MacAddressNic *[]string `form:"mac_address__nic,omitempty" json:"mac_address__nic,omitempty"` + MacAddressNie *[]string `form:"mac_address__nie,omitempty" json:"mac_address__nie,omitempty"` + MacAddressNiew *[]string `form:"mac_address__niew,omitempty" json:"mac_address__niew,omitempty"` + MacAddressNisw *[]string `form:"mac_address__nisw,omitempty" json:"mac_address__nisw,omitempty"` + Memory *[]int32 `form:"memory,omitempty" json:"memory,omitempty"` + MemoryEmpty *bool `form:"memory__empty,omitempty" json:"memory__empty,omitempty"` + MemoryGt *[]int32 `form:"memory__gt,omitempty" json:"memory__gt,omitempty"` + MemoryGte *[]int32 `form:"memory__gte,omitempty" json:"memory__gte,omitempty"` + MemoryLt *[]int32 `form:"memory__lt,omitempty" json:"memory__lt,omitempty"` + MemoryLte *[]int32 `form:"memory__lte,omitempty" json:"memory__lte,omitempty"` + MemoryN *[]int32 `form:"memory__n,omitempty" json:"memory__n,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Platform Platform (slug) + Platform *[]string `form:"platform,omitempty" json:"platform,omitempty"` + + // PlatformN Platform (slug) + PlatformN *[]string `form:"platform__n,omitempty" json:"platform__n,omitempty"` + + // PlatformId Platform (ID) + PlatformId *[]int `form:"platform_id,omitempty" json:"platform_id,omitempty"` + + // PlatformIdN Platform (ID) + PlatformIdN *[]int `form:"platform_id__n,omitempty" json:"platform_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Region Region (slug) + Region *[]int `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]int `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]int `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]int `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Role (ID) + RoleId *[]int `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Role (ID) + RoleIdN *[]int `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteGroup Site group (slug) + SiteGroup *[]int `form:"site_group,omitempty" json:"site_group,omitempty"` + + // SiteGroupN Site group (slug) + SiteGroupN *[]int `form:"site_group__n,omitempty" json:"site_group__n,omitempty"` + + // SiteGroupId Site group (ID) + SiteGroupId *[]int `form:"site_group_id,omitempty" json:"site_group_id,omitempty"` + + // SiteGroupIdN Site group (ID) + SiteGroupIdN *[]int `form:"site_group_id__n,omitempty" json:"site_group_id__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]int `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]int `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + Vcpus *[]float64 `form:"vcpus,omitempty" json:"vcpus,omitempty"` + VcpusEmpty *bool `form:"vcpus__empty,omitempty" json:"vcpus__empty,omitempty"` + VcpusGt *[]float64 `form:"vcpus__gt,omitempty" json:"vcpus__gt,omitempty"` + VcpusGte *[]float64 `form:"vcpus__gte,omitempty" json:"vcpus__gte,omitempty"` + VcpusLt *[]float64 `form:"vcpus__lt,omitempty" json:"vcpus__lt,omitempty"` + VcpusLte *[]float64 `form:"vcpus__lte,omitempty" json:"vcpus__lte,omitempty"` + VcpusN *[]float64 `form:"vcpus__n,omitempty" json:"vcpus__n,omitempty"` +} + +// VirtualizationVirtualMachinesBulkPartialUpdateJSONBody defines parameters for VirtualizationVirtualMachinesBulkPartialUpdate. +type VirtualizationVirtualMachinesBulkPartialUpdateJSONBody = []VirtualMachineWithConfigContextRequest + +// VirtualizationVirtualMachinesBulkPartialUpdateMultipartBody defines parameters for VirtualizationVirtualMachinesBulkPartialUpdate. +type VirtualizationVirtualMachinesBulkPartialUpdateMultipartBody = []VirtualMachineWithConfigContextRequest + +// VirtualizationVirtualMachinesBulkUpdateJSONBody defines parameters for VirtualizationVirtualMachinesBulkUpdate. +type VirtualizationVirtualMachinesBulkUpdateJSONBody = []VirtualMachineWithConfigContextRequest + +// VirtualizationVirtualMachinesBulkUpdateMultipartBody defines parameters for VirtualizationVirtualMachinesBulkUpdate. +type VirtualizationVirtualMachinesBulkUpdateMultipartBody = []VirtualMachineWithConfigContextRequest + +// WirelessWirelessLanGroupsBulkDestroyJSONBody defines parameters for WirelessWirelessLanGroupsBulkDestroy. +type WirelessWirelessLanGroupsBulkDestroyJSONBody = []WirelessLANGroupRequest + +// WirelessWirelessLanGroupsBulkDestroyMultipartBody defines parameters for WirelessWirelessLanGroupsBulkDestroy. +type WirelessWirelessLanGroupsBulkDestroyMultipartBody = []WirelessLANGroupRequest + +// WirelessWirelessLanGroupsListParams defines parameters for WirelessWirelessLanGroupsList. +type WirelessWirelessLanGroupsListParams struct { + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameEmpty *bool `form:"name__empty,omitempty" json:"name__empty,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + Parent *[]string `form:"parent,omitempty" json:"parent,omitempty"` + ParentN *[]string `form:"parent__n,omitempty" json:"parent__n,omitempty"` + ParentId *[]int `form:"parent_id,omitempty" json:"parent_id,omitempty"` + ParentIdN *[]int `form:"parent_id__n,omitempty" json:"parent_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugEmpty *bool `form:"slug__empty,omitempty" json:"slug__empty,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// WirelessWirelessLanGroupsBulkPartialUpdateJSONBody defines parameters for WirelessWirelessLanGroupsBulkPartialUpdate. +type WirelessWirelessLanGroupsBulkPartialUpdateJSONBody = []WirelessLANGroupRequest + +// WirelessWirelessLanGroupsBulkPartialUpdateMultipartBody defines parameters for WirelessWirelessLanGroupsBulkPartialUpdate. +type WirelessWirelessLanGroupsBulkPartialUpdateMultipartBody = []WirelessLANGroupRequest + +// WirelessWirelessLanGroupsBulkUpdateJSONBody defines parameters for WirelessWirelessLanGroupsBulkUpdate. +type WirelessWirelessLanGroupsBulkUpdateJSONBody = []WirelessLANGroupRequest + +// WirelessWirelessLanGroupsBulkUpdateMultipartBody defines parameters for WirelessWirelessLanGroupsBulkUpdate. +type WirelessWirelessLanGroupsBulkUpdateMultipartBody = []WirelessLANGroupRequest + +// WirelessWirelessLansBulkDestroyJSONBody defines parameters for WirelessWirelessLansBulkDestroy. +type WirelessWirelessLansBulkDestroyJSONBody = []WirelessLANRequest + +// WirelessWirelessLansBulkDestroyMultipartBody defines parameters for WirelessWirelessLansBulkDestroy. +type WirelessWirelessLansBulkDestroyMultipartBody = []WirelessLANRequest + +// WirelessWirelessLansListParams defines parameters for WirelessWirelessLansList. +type WirelessWirelessLansListParams struct { + AuthCipher *[]string `form:"auth_cipher,omitempty" json:"auth_cipher,omitempty"` + AuthCipherN *[]string `form:"auth_cipher__n,omitempty" json:"auth_cipher__n,omitempty"` + AuthPsk *[]string `form:"auth_psk,omitempty" json:"auth_psk,omitempty"` + AuthPskEmpty *bool `form:"auth_psk__empty,omitempty" json:"auth_psk__empty,omitempty"` + AuthPskIc *[]string `form:"auth_psk__ic,omitempty" json:"auth_psk__ic,omitempty"` + AuthPskIe *[]string `form:"auth_psk__ie,omitempty" json:"auth_psk__ie,omitempty"` + AuthPskIew *[]string `form:"auth_psk__iew,omitempty" json:"auth_psk__iew,omitempty"` + AuthPskIsw *[]string `form:"auth_psk__isw,omitempty" json:"auth_psk__isw,omitempty"` + AuthPskN *[]string `form:"auth_psk__n,omitempty" json:"auth_psk__n,omitempty"` + AuthPskNic *[]string `form:"auth_psk__nic,omitempty" json:"auth_psk__nic,omitempty"` + AuthPskNie *[]string `form:"auth_psk__nie,omitempty" json:"auth_psk__nie,omitempty"` + AuthPskNiew *[]string `form:"auth_psk__niew,omitempty" json:"auth_psk__niew,omitempty"` + AuthPskNisw *[]string `form:"auth_psk__nisw,omitempty" json:"auth_psk__nisw,omitempty"` + AuthType *[]string `form:"auth_type,omitempty" json:"auth_type,omitempty"` + AuthTypeN *[]string `form:"auth_type__n,omitempty" json:"auth_type__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Group *[]int `form:"group,omitempty" json:"group,omitempty"` + GroupN *[]int `form:"group__n,omitempty" json:"group__n,omitempty"` + GroupId *[]int `form:"group_id,omitempty" json:"group_id,omitempty"` + GroupIdN *[]int `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Ssid *[]string `form:"ssid,omitempty" json:"ssid,omitempty"` + SsidEmpty *bool `form:"ssid__empty,omitempty" json:"ssid__empty,omitempty"` + SsidIc *[]string `form:"ssid__ic,omitempty" json:"ssid__ic,omitempty"` + SsidIe *[]string `form:"ssid__ie,omitempty" json:"ssid__ie,omitempty"` + SsidIew *[]string `form:"ssid__iew,omitempty" json:"ssid__iew,omitempty"` + SsidIsw *[]string `form:"ssid__isw,omitempty" json:"ssid__isw,omitempty"` + SsidN *[]string `form:"ssid__n,omitempty" json:"ssid__n,omitempty"` + SsidNic *[]string `form:"ssid__nic,omitempty" json:"ssid__nic,omitempty"` + SsidNie *[]string `form:"ssid__nie,omitempty" json:"ssid__nie,omitempty"` + SsidNiew *[]string `form:"ssid__niew,omitempty" json:"ssid__niew,omitempty"` + SsidNisw *[]string `form:"ssid__nisw,omitempty" json:"ssid__nisw,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` + VlanId *[]int `form:"vlan_id,omitempty" json:"vlan_id,omitempty"` + VlanIdN *[]int `form:"vlan_id__n,omitempty" json:"vlan_id__n,omitempty"` +} + +// WirelessWirelessLansBulkPartialUpdateJSONBody defines parameters for WirelessWirelessLansBulkPartialUpdate. +type WirelessWirelessLansBulkPartialUpdateJSONBody = []WirelessLANRequest + +// WirelessWirelessLansBulkPartialUpdateMultipartBody defines parameters for WirelessWirelessLansBulkPartialUpdate. +type WirelessWirelessLansBulkPartialUpdateMultipartBody = []WirelessLANRequest + +// WirelessWirelessLansBulkUpdateJSONBody defines parameters for WirelessWirelessLansBulkUpdate. +type WirelessWirelessLansBulkUpdateJSONBody = []WirelessLANRequest + +// WirelessWirelessLansBulkUpdateMultipartBody defines parameters for WirelessWirelessLansBulkUpdate. +type WirelessWirelessLansBulkUpdateMultipartBody = []WirelessLANRequest + +// WirelessWirelessLinksBulkDestroyJSONBody defines parameters for WirelessWirelessLinksBulkDestroy. +type WirelessWirelessLinksBulkDestroyJSONBody = []WirelessLinkRequest + +// WirelessWirelessLinksBulkDestroyMultipartBody defines parameters for WirelessWirelessLinksBulkDestroy. +type WirelessWirelessLinksBulkDestroyMultipartBody = []WirelessLinkRequest + +// WirelessWirelessLinksListParams defines parameters for WirelessWirelessLinksList. +type WirelessWirelessLinksListParams struct { + AuthCipher *[]string `form:"auth_cipher,omitempty" json:"auth_cipher,omitempty"` + AuthCipherN *[]string `form:"auth_cipher__n,omitempty" json:"auth_cipher__n,omitempty"` + AuthPsk *[]string `form:"auth_psk,omitempty" json:"auth_psk,omitempty"` + AuthPskEmpty *bool `form:"auth_psk__empty,omitempty" json:"auth_psk__empty,omitempty"` + AuthPskIc *[]string `form:"auth_psk__ic,omitempty" json:"auth_psk__ic,omitempty"` + AuthPskIe *[]string `form:"auth_psk__ie,omitempty" json:"auth_psk__ie,omitempty"` + AuthPskIew *[]string `form:"auth_psk__iew,omitempty" json:"auth_psk__iew,omitempty"` + AuthPskIsw *[]string `form:"auth_psk__isw,omitempty" json:"auth_psk__isw,omitempty"` + AuthPskN *[]string `form:"auth_psk__n,omitempty" json:"auth_psk__n,omitempty"` + AuthPskNic *[]string `form:"auth_psk__nic,omitempty" json:"auth_psk__nic,omitempty"` + AuthPskNie *[]string `form:"auth_psk__nie,omitempty" json:"auth_psk__nie,omitempty"` + AuthPskNiew *[]string `form:"auth_psk__niew,omitempty" json:"auth_psk__niew,omitempty"` + AuthPskNisw *[]string `form:"auth_psk__nisw,omitempty" json:"auth_psk__nisw,omitempty"` + AuthType *[]string `form:"auth_type,omitempty" json:"auth_type,omitempty"` + AuthTypeN *[]string `form:"auth_type__n,omitempty" json:"auth_type__n,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedEmpty *[]time.Time `form:"created__empty,omitempty" json:"created__empty,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + CreatedByRequest *openapi_types.UUID `form:"created_by_request,omitempty" json:"created_by_request,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionEmpty *bool `form:"description__empty,omitempty" json:"description__empty,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + Id *[]int32 `form:"id,omitempty" json:"id,omitempty"` + IdEmpty *bool `form:"id__empty,omitempty" json:"id__empty,omitempty"` + IdGt *[]int32 `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int32 `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int32 `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int32 `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int32 `form:"id__n,omitempty" json:"id__n,omitempty"` + InterfaceAId *[]int32 `form:"interface_a_id,omitempty" json:"interface_a_id,omitempty"` + InterfaceAIdEmpty *[]int32 `form:"interface_a_id__empty,omitempty" json:"interface_a_id__empty,omitempty"` + InterfaceAIdGt *[]int32 `form:"interface_a_id__gt,omitempty" json:"interface_a_id__gt,omitempty"` + InterfaceAIdGte *[]int32 `form:"interface_a_id__gte,omitempty" json:"interface_a_id__gte,omitempty"` + InterfaceAIdLt *[]int32 `form:"interface_a_id__lt,omitempty" json:"interface_a_id__lt,omitempty"` + InterfaceAIdLte *[]int32 `form:"interface_a_id__lte,omitempty" json:"interface_a_id__lte,omitempty"` + InterfaceAIdN *[]int32 `form:"interface_a_id__n,omitempty" json:"interface_a_id__n,omitempty"` + InterfaceBId *[]int32 `form:"interface_b_id,omitempty" json:"interface_b_id,omitempty"` + InterfaceBIdEmpty *[]int32 `form:"interface_b_id__empty,omitempty" json:"interface_b_id__empty,omitempty"` + InterfaceBIdGt *[]int32 `form:"interface_b_id__gt,omitempty" json:"interface_b_id__gt,omitempty"` + InterfaceBIdGte *[]int32 `form:"interface_b_id__gte,omitempty" json:"interface_b_id__gte,omitempty"` + InterfaceBIdLt *[]int32 `form:"interface_b_id__lt,omitempty" json:"interface_b_id__lt,omitempty"` + InterfaceBIdLte *[]int32 `form:"interface_b_id__lte,omitempty" json:"interface_b_id__lte,omitempty"` + InterfaceBIdN *[]int32 `form:"interface_b_id__n,omitempty" json:"interface_b_id__n,omitempty"` + LastUpdated *[]time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedEmpty *[]time.Time `form:"last_updated__empty,omitempty" json:"last_updated__empty,omitempty"` + LastUpdatedGt *[]time.Time `form:"last_updated__gt,omitempty" json:"last_updated__gt,omitempty"` + LastUpdatedGte *[]time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLt *[]time.Time `form:"last_updated__lt,omitempty" json:"last_updated__lt,omitempty"` + LastUpdatedLte *[]time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LastUpdatedN *[]time.Time `form:"last_updated__n,omitempty" json:"last_updated__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModifiedByRequest *openapi_types.UUID `form:"modified_by_request,omitempty" json:"modified_by_request,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Ordering Which field to use when ordering the results. + Ordering *string `form:"ordering,omitempty" json:"ordering,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Ssid *[]string `form:"ssid,omitempty" json:"ssid,omitempty"` + SsidEmpty *bool `form:"ssid__empty,omitempty" json:"ssid__empty,omitempty"` + SsidIc *[]string `form:"ssid__ic,omitempty" json:"ssid__ic,omitempty"` + SsidIe *[]string `form:"ssid__ie,omitempty" json:"ssid__ie,omitempty"` + SsidIew *[]string `form:"ssid__iew,omitempty" json:"ssid__iew,omitempty"` + SsidIsw *[]string `form:"ssid__isw,omitempty" json:"ssid__isw,omitempty"` + SsidN *[]string `form:"ssid__n,omitempty" json:"ssid__n,omitempty"` + SsidNic *[]string `form:"ssid__nic,omitempty" json:"ssid__nic,omitempty"` + SsidNie *[]string `form:"ssid__nie,omitempty" json:"ssid__nie,omitempty"` + SsidNiew *[]string `form:"ssid__niew,omitempty" json:"ssid__niew,omitempty"` + SsidNisw *[]string `form:"ssid__nisw,omitempty" json:"ssid__nisw,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]int `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]int `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]int `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]int `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]int `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]int `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + UpdatedByRequest *openapi_types.UUID `form:"updated_by_request,omitempty" json:"updated_by_request,omitempty"` +} + +// WirelessWirelessLinksBulkPartialUpdateJSONBody defines parameters for WirelessWirelessLinksBulkPartialUpdate. +type WirelessWirelessLinksBulkPartialUpdateJSONBody = []WirelessLinkRequest + +// WirelessWirelessLinksBulkPartialUpdateMultipartBody defines parameters for WirelessWirelessLinksBulkPartialUpdate. +type WirelessWirelessLinksBulkPartialUpdateMultipartBody = []WirelessLinkRequest + +// WirelessWirelessLinksBulkUpdateJSONBody defines parameters for WirelessWirelessLinksBulkUpdate. +type WirelessWirelessLinksBulkUpdateJSONBody = []WirelessLinkRequest + +// WirelessWirelessLinksBulkUpdateMultipartBody defines parameters for WirelessWirelessLinksBulkUpdate. +type WirelessWirelessLinksBulkUpdateMultipartBody = []WirelessLinkRequest + +// CircuitsCircuitTerminationsBulkDestroyJSONRequestBody defines body for CircuitsCircuitTerminationsBulkDestroy for application/json ContentType. +type CircuitsCircuitTerminationsBulkDestroyJSONRequestBody = CircuitsCircuitTerminationsBulkDestroyJSONBody + +// CircuitsCircuitTerminationsBulkDestroyMultipartRequestBody defines body for CircuitsCircuitTerminationsBulkDestroy for multipart/form-data ContentType. +type CircuitsCircuitTerminationsBulkDestroyMultipartRequestBody = CircuitsCircuitTerminationsBulkDestroyMultipartBody + +// CircuitsCircuitTerminationsBulkPartialUpdateJSONRequestBody defines body for CircuitsCircuitTerminationsBulkPartialUpdate for application/json ContentType. +type CircuitsCircuitTerminationsBulkPartialUpdateJSONRequestBody = CircuitsCircuitTerminationsBulkPartialUpdateJSONBody + +// CircuitsCircuitTerminationsBulkPartialUpdateMultipartRequestBody defines body for CircuitsCircuitTerminationsBulkPartialUpdate for multipart/form-data ContentType. +type CircuitsCircuitTerminationsBulkPartialUpdateMultipartRequestBody = CircuitsCircuitTerminationsBulkPartialUpdateMultipartBody + +// CircuitsCircuitTerminationsCreateJSONRequestBody defines body for CircuitsCircuitTerminationsCreate for application/json ContentType. +type CircuitsCircuitTerminationsCreateJSONRequestBody = WritableCircuitTerminationRequest + +// CircuitsCircuitTerminationsCreateMultipartRequestBody defines body for CircuitsCircuitTerminationsCreate for multipart/form-data ContentType. +type CircuitsCircuitTerminationsCreateMultipartRequestBody = WritableCircuitTerminationRequest + +// CircuitsCircuitTerminationsBulkUpdateJSONRequestBody defines body for CircuitsCircuitTerminationsBulkUpdate for application/json ContentType. +type CircuitsCircuitTerminationsBulkUpdateJSONRequestBody = CircuitsCircuitTerminationsBulkUpdateJSONBody + +// CircuitsCircuitTerminationsBulkUpdateMultipartRequestBody defines body for CircuitsCircuitTerminationsBulkUpdate for multipart/form-data ContentType. +type CircuitsCircuitTerminationsBulkUpdateMultipartRequestBody = CircuitsCircuitTerminationsBulkUpdateMultipartBody + +// CircuitsCircuitTerminationsPartialUpdateJSONRequestBody defines body for CircuitsCircuitTerminationsPartialUpdate for application/json ContentType. +type CircuitsCircuitTerminationsPartialUpdateJSONRequestBody = PatchedWritableCircuitTerminationRequest + +// CircuitsCircuitTerminationsPartialUpdateMultipartRequestBody defines body for CircuitsCircuitTerminationsPartialUpdate for multipart/form-data ContentType. +type CircuitsCircuitTerminationsPartialUpdateMultipartRequestBody = PatchedWritableCircuitTerminationRequest + +// CircuitsCircuitTerminationsUpdateJSONRequestBody defines body for CircuitsCircuitTerminationsUpdate for application/json ContentType. +type CircuitsCircuitTerminationsUpdateJSONRequestBody = WritableCircuitTerminationRequest + +// CircuitsCircuitTerminationsUpdateMultipartRequestBody defines body for CircuitsCircuitTerminationsUpdate for multipart/form-data ContentType. +type CircuitsCircuitTerminationsUpdateMultipartRequestBody = WritableCircuitTerminationRequest + +// CircuitsCircuitTypesBulkDestroyJSONRequestBody defines body for CircuitsCircuitTypesBulkDestroy for application/json ContentType. +type CircuitsCircuitTypesBulkDestroyJSONRequestBody = CircuitsCircuitTypesBulkDestroyJSONBody + +// CircuitsCircuitTypesBulkDestroyMultipartRequestBody defines body for CircuitsCircuitTypesBulkDestroy for multipart/form-data ContentType. +type CircuitsCircuitTypesBulkDestroyMultipartRequestBody = CircuitsCircuitTypesBulkDestroyMultipartBody + +// CircuitsCircuitTypesBulkPartialUpdateJSONRequestBody defines body for CircuitsCircuitTypesBulkPartialUpdate for application/json ContentType. +type CircuitsCircuitTypesBulkPartialUpdateJSONRequestBody = CircuitsCircuitTypesBulkPartialUpdateJSONBody + +// CircuitsCircuitTypesBulkPartialUpdateMultipartRequestBody defines body for CircuitsCircuitTypesBulkPartialUpdate for multipart/form-data ContentType. +type CircuitsCircuitTypesBulkPartialUpdateMultipartRequestBody = CircuitsCircuitTypesBulkPartialUpdateMultipartBody + +// CircuitsCircuitTypesCreateJSONRequestBody defines body for CircuitsCircuitTypesCreate for application/json ContentType. +type CircuitsCircuitTypesCreateJSONRequestBody = CircuitTypeRequest + +// CircuitsCircuitTypesCreateMultipartRequestBody defines body for CircuitsCircuitTypesCreate for multipart/form-data ContentType. +type CircuitsCircuitTypesCreateMultipartRequestBody = CircuitTypeRequest + +// CircuitsCircuitTypesBulkUpdateJSONRequestBody defines body for CircuitsCircuitTypesBulkUpdate for application/json ContentType. +type CircuitsCircuitTypesBulkUpdateJSONRequestBody = CircuitsCircuitTypesBulkUpdateJSONBody + +// CircuitsCircuitTypesBulkUpdateMultipartRequestBody defines body for CircuitsCircuitTypesBulkUpdate for multipart/form-data ContentType. +type CircuitsCircuitTypesBulkUpdateMultipartRequestBody = CircuitsCircuitTypesBulkUpdateMultipartBody + +// CircuitsCircuitTypesPartialUpdateJSONRequestBody defines body for CircuitsCircuitTypesPartialUpdate for application/json ContentType. +type CircuitsCircuitTypesPartialUpdateJSONRequestBody = PatchedCircuitTypeRequest + +// CircuitsCircuitTypesPartialUpdateMultipartRequestBody defines body for CircuitsCircuitTypesPartialUpdate for multipart/form-data ContentType. +type CircuitsCircuitTypesPartialUpdateMultipartRequestBody = PatchedCircuitTypeRequest + +// CircuitsCircuitTypesUpdateJSONRequestBody defines body for CircuitsCircuitTypesUpdate for application/json ContentType. +type CircuitsCircuitTypesUpdateJSONRequestBody = CircuitTypeRequest + +// CircuitsCircuitTypesUpdateMultipartRequestBody defines body for CircuitsCircuitTypesUpdate for multipart/form-data ContentType. +type CircuitsCircuitTypesUpdateMultipartRequestBody = CircuitTypeRequest + +// CircuitsCircuitsBulkDestroyJSONRequestBody defines body for CircuitsCircuitsBulkDestroy for application/json ContentType. +type CircuitsCircuitsBulkDestroyJSONRequestBody = CircuitsCircuitsBulkDestroyJSONBody + +// CircuitsCircuitsBulkDestroyMultipartRequestBody defines body for CircuitsCircuitsBulkDestroy for multipart/form-data ContentType. +type CircuitsCircuitsBulkDestroyMultipartRequestBody = CircuitsCircuitsBulkDestroyMultipartBody + +// CircuitsCircuitsBulkPartialUpdateJSONRequestBody defines body for CircuitsCircuitsBulkPartialUpdate for application/json ContentType. +type CircuitsCircuitsBulkPartialUpdateJSONRequestBody = CircuitsCircuitsBulkPartialUpdateJSONBody + +// CircuitsCircuitsBulkPartialUpdateMultipartRequestBody defines body for CircuitsCircuitsBulkPartialUpdate for multipart/form-data ContentType. +type CircuitsCircuitsBulkPartialUpdateMultipartRequestBody = CircuitsCircuitsBulkPartialUpdateMultipartBody + +// CircuitsCircuitsCreateJSONRequestBody defines body for CircuitsCircuitsCreate for application/json ContentType. +type CircuitsCircuitsCreateJSONRequestBody = WritableCircuitRequest + +// CircuitsCircuitsCreateMultipartRequestBody defines body for CircuitsCircuitsCreate for multipart/form-data ContentType. +type CircuitsCircuitsCreateMultipartRequestBody = WritableCircuitRequest + +// CircuitsCircuitsBulkUpdateJSONRequestBody defines body for CircuitsCircuitsBulkUpdate for application/json ContentType. +type CircuitsCircuitsBulkUpdateJSONRequestBody = CircuitsCircuitsBulkUpdateJSONBody + +// CircuitsCircuitsBulkUpdateMultipartRequestBody defines body for CircuitsCircuitsBulkUpdate for multipart/form-data ContentType. +type CircuitsCircuitsBulkUpdateMultipartRequestBody = CircuitsCircuitsBulkUpdateMultipartBody + +// CircuitsCircuitsPartialUpdateJSONRequestBody defines body for CircuitsCircuitsPartialUpdate for application/json ContentType. +type CircuitsCircuitsPartialUpdateJSONRequestBody = PatchedWritableCircuitRequest + +// CircuitsCircuitsPartialUpdateMultipartRequestBody defines body for CircuitsCircuitsPartialUpdate for multipart/form-data ContentType. +type CircuitsCircuitsPartialUpdateMultipartRequestBody = PatchedWritableCircuitRequest + +// CircuitsCircuitsUpdateJSONRequestBody defines body for CircuitsCircuitsUpdate for application/json ContentType. +type CircuitsCircuitsUpdateJSONRequestBody = WritableCircuitRequest + +// CircuitsCircuitsUpdateMultipartRequestBody defines body for CircuitsCircuitsUpdate for multipart/form-data ContentType. +type CircuitsCircuitsUpdateMultipartRequestBody = WritableCircuitRequest + +// CircuitsProviderAccountsBulkDestroyJSONRequestBody defines body for CircuitsProviderAccountsBulkDestroy for application/json ContentType. +type CircuitsProviderAccountsBulkDestroyJSONRequestBody = CircuitsProviderAccountsBulkDestroyJSONBody + +// CircuitsProviderAccountsBulkDestroyMultipartRequestBody defines body for CircuitsProviderAccountsBulkDestroy for multipart/form-data ContentType. +type CircuitsProviderAccountsBulkDestroyMultipartRequestBody = CircuitsProviderAccountsBulkDestroyMultipartBody + +// CircuitsProviderAccountsBulkPartialUpdateJSONRequestBody defines body for CircuitsProviderAccountsBulkPartialUpdate for application/json ContentType. +type CircuitsProviderAccountsBulkPartialUpdateJSONRequestBody = CircuitsProviderAccountsBulkPartialUpdateJSONBody + +// CircuitsProviderAccountsBulkPartialUpdateMultipartRequestBody defines body for CircuitsProviderAccountsBulkPartialUpdate for multipart/form-data ContentType. +type CircuitsProviderAccountsBulkPartialUpdateMultipartRequestBody = CircuitsProviderAccountsBulkPartialUpdateMultipartBody + +// CircuitsProviderAccountsCreateJSONRequestBody defines body for CircuitsProviderAccountsCreate for application/json ContentType. +type CircuitsProviderAccountsCreateJSONRequestBody = WritableProviderAccountRequest + +// CircuitsProviderAccountsCreateMultipartRequestBody defines body for CircuitsProviderAccountsCreate for multipart/form-data ContentType. +type CircuitsProviderAccountsCreateMultipartRequestBody = WritableProviderAccountRequest + +// CircuitsProviderAccountsBulkUpdateJSONRequestBody defines body for CircuitsProviderAccountsBulkUpdate for application/json ContentType. +type CircuitsProviderAccountsBulkUpdateJSONRequestBody = CircuitsProviderAccountsBulkUpdateJSONBody + +// CircuitsProviderAccountsBulkUpdateMultipartRequestBody defines body for CircuitsProviderAccountsBulkUpdate for multipart/form-data ContentType. +type CircuitsProviderAccountsBulkUpdateMultipartRequestBody = CircuitsProviderAccountsBulkUpdateMultipartBody + +// CircuitsProviderAccountsPartialUpdateJSONRequestBody defines body for CircuitsProviderAccountsPartialUpdate for application/json ContentType. +type CircuitsProviderAccountsPartialUpdateJSONRequestBody = PatchedWritableProviderAccountRequest + +// CircuitsProviderAccountsPartialUpdateMultipartRequestBody defines body for CircuitsProviderAccountsPartialUpdate for multipart/form-data ContentType. +type CircuitsProviderAccountsPartialUpdateMultipartRequestBody = PatchedWritableProviderAccountRequest + +// CircuitsProviderAccountsUpdateJSONRequestBody defines body for CircuitsProviderAccountsUpdate for application/json ContentType. +type CircuitsProviderAccountsUpdateJSONRequestBody = WritableProviderAccountRequest + +// CircuitsProviderAccountsUpdateMultipartRequestBody defines body for CircuitsProviderAccountsUpdate for multipart/form-data ContentType. +type CircuitsProviderAccountsUpdateMultipartRequestBody = WritableProviderAccountRequest + +// CircuitsProviderNetworksBulkDestroyJSONRequestBody defines body for CircuitsProviderNetworksBulkDestroy for application/json ContentType. +type CircuitsProviderNetworksBulkDestroyJSONRequestBody = CircuitsProviderNetworksBulkDestroyJSONBody + +// CircuitsProviderNetworksBulkDestroyMultipartRequestBody defines body for CircuitsProviderNetworksBulkDestroy for multipart/form-data ContentType. +type CircuitsProviderNetworksBulkDestroyMultipartRequestBody = CircuitsProviderNetworksBulkDestroyMultipartBody + +// CircuitsProviderNetworksBulkPartialUpdateJSONRequestBody defines body for CircuitsProviderNetworksBulkPartialUpdate for application/json ContentType. +type CircuitsProviderNetworksBulkPartialUpdateJSONRequestBody = CircuitsProviderNetworksBulkPartialUpdateJSONBody + +// CircuitsProviderNetworksBulkPartialUpdateMultipartRequestBody defines body for CircuitsProviderNetworksBulkPartialUpdate for multipart/form-data ContentType. +type CircuitsProviderNetworksBulkPartialUpdateMultipartRequestBody = CircuitsProviderNetworksBulkPartialUpdateMultipartBody + +// CircuitsProviderNetworksCreateJSONRequestBody defines body for CircuitsProviderNetworksCreate for application/json ContentType. +type CircuitsProviderNetworksCreateJSONRequestBody = WritableProviderNetworkRequest + +// CircuitsProviderNetworksCreateMultipartRequestBody defines body for CircuitsProviderNetworksCreate for multipart/form-data ContentType. +type CircuitsProviderNetworksCreateMultipartRequestBody = WritableProviderNetworkRequest + +// CircuitsProviderNetworksBulkUpdateJSONRequestBody defines body for CircuitsProviderNetworksBulkUpdate for application/json ContentType. +type CircuitsProviderNetworksBulkUpdateJSONRequestBody = CircuitsProviderNetworksBulkUpdateJSONBody + +// CircuitsProviderNetworksBulkUpdateMultipartRequestBody defines body for CircuitsProviderNetworksBulkUpdate for multipart/form-data ContentType. +type CircuitsProviderNetworksBulkUpdateMultipartRequestBody = CircuitsProviderNetworksBulkUpdateMultipartBody + +// CircuitsProviderNetworksPartialUpdateJSONRequestBody defines body for CircuitsProviderNetworksPartialUpdate for application/json ContentType. +type CircuitsProviderNetworksPartialUpdateJSONRequestBody = PatchedWritableProviderNetworkRequest + +// CircuitsProviderNetworksPartialUpdateMultipartRequestBody defines body for CircuitsProviderNetworksPartialUpdate for multipart/form-data ContentType. +type CircuitsProviderNetworksPartialUpdateMultipartRequestBody = PatchedWritableProviderNetworkRequest + +// CircuitsProviderNetworksUpdateJSONRequestBody defines body for CircuitsProviderNetworksUpdate for application/json ContentType. +type CircuitsProviderNetworksUpdateJSONRequestBody = WritableProviderNetworkRequest + +// CircuitsProviderNetworksUpdateMultipartRequestBody defines body for CircuitsProviderNetworksUpdate for multipart/form-data ContentType. +type CircuitsProviderNetworksUpdateMultipartRequestBody = WritableProviderNetworkRequest + +// CircuitsProvidersBulkDestroyJSONRequestBody defines body for CircuitsProvidersBulkDestroy for application/json ContentType. +type CircuitsProvidersBulkDestroyJSONRequestBody = CircuitsProvidersBulkDestroyJSONBody + +// CircuitsProvidersBulkDestroyMultipartRequestBody defines body for CircuitsProvidersBulkDestroy for multipart/form-data ContentType. +type CircuitsProvidersBulkDestroyMultipartRequestBody = CircuitsProvidersBulkDestroyMultipartBody + +// CircuitsProvidersBulkPartialUpdateJSONRequestBody defines body for CircuitsProvidersBulkPartialUpdate for application/json ContentType. +type CircuitsProvidersBulkPartialUpdateJSONRequestBody = CircuitsProvidersBulkPartialUpdateJSONBody + +// CircuitsProvidersBulkPartialUpdateMultipartRequestBody defines body for CircuitsProvidersBulkPartialUpdate for multipart/form-data ContentType. +type CircuitsProvidersBulkPartialUpdateMultipartRequestBody = CircuitsProvidersBulkPartialUpdateMultipartBody + +// CircuitsProvidersCreateJSONRequestBody defines body for CircuitsProvidersCreate for application/json ContentType. +type CircuitsProvidersCreateJSONRequestBody = WritableProviderRequest + +// CircuitsProvidersCreateMultipartRequestBody defines body for CircuitsProvidersCreate for multipart/form-data ContentType. +type CircuitsProvidersCreateMultipartRequestBody = WritableProviderRequest + +// CircuitsProvidersBulkUpdateJSONRequestBody defines body for CircuitsProvidersBulkUpdate for application/json ContentType. +type CircuitsProvidersBulkUpdateJSONRequestBody = CircuitsProvidersBulkUpdateJSONBody + +// CircuitsProvidersBulkUpdateMultipartRequestBody defines body for CircuitsProvidersBulkUpdate for multipart/form-data ContentType. +type CircuitsProvidersBulkUpdateMultipartRequestBody = CircuitsProvidersBulkUpdateMultipartBody + +// CircuitsProvidersPartialUpdateJSONRequestBody defines body for CircuitsProvidersPartialUpdate for application/json ContentType. +type CircuitsProvidersPartialUpdateJSONRequestBody = PatchedWritableProviderRequest + +// CircuitsProvidersPartialUpdateMultipartRequestBody defines body for CircuitsProvidersPartialUpdate for multipart/form-data ContentType. +type CircuitsProvidersPartialUpdateMultipartRequestBody = PatchedWritableProviderRequest + +// CircuitsProvidersUpdateJSONRequestBody defines body for CircuitsProvidersUpdate for application/json ContentType. +type CircuitsProvidersUpdateJSONRequestBody = WritableProviderRequest + +// CircuitsProvidersUpdateMultipartRequestBody defines body for CircuitsProvidersUpdate for multipart/form-data ContentType. +type CircuitsProvidersUpdateMultipartRequestBody = WritableProviderRequest + +// CoreDataSourcesBulkDestroyJSONRequestBody defines body for CoreDataSourcesBulkDestroy for application/json ContentType. +type CoreDataSourcesBulkDestroyJSONRequestBody = CoreDataSourcesBulkDestroyJSONBody + +// CoreDataSourcesBulkDestroyMultipartRequestBody defines body for CoreDataSourcesBulkDestroy for multipart/form-data ContentType. +type CoreDataSourcesBulkDestroyMultipartRequestBody = CoreDataSourcesBulkDestroyMultipartBody + +// CoreDataSourcesBulkPartialUpdateJSONRequestBody defines body for CoreDataSourcesBulkPartialUpdate for application/json ContentType. +type CoreDataSourcesBulkPartialUpdateJSONRequestBody = CoreDataSourcesBulkPartialUpdateJSONBody + +// CoreDataSourcesBulkPartialUpdateMultipartRequestBody defines body for CoreDataSourcesBulkPartialUpdate for multipart/form-data ContentType. +type CoreDataSourcesBulkPartialUpdateMultipartRequestBody = CoreDataSourcesBulkPartialUpdateMultipartBody + +// CoreDataSourcesCreateJSONRequestBody defines body for CoreDataSourcesCreate for application/json ContentType. +type CoreDataSourcesCreateJSONRequestBody = WritableDataSourceRequest + +// CoreDataSourcesCreateMultipartRequestBody defines body for CoreDataSourcesCreate for multipart/form-data ContentType. +type CoreDataSourcesCreateMultipartRequestBody = WritableDataSourceRequest + +// CoreDataSourcesBulkUpdateJSONRequestBody defines body for CoreDataSourcesBulkUpdate for application/json ContentType. +type CoreDataSourcesBulkUpdateJSONRequestBody = CoreDataSourcesBulkUpdateJSONBody + +// CoreDataSourcesBulkUpdateMultipartRequestBody defines body for CoreDataSourcesBulkUpdate for multipart/form-data ContentType. +type CoreDataSourcesBulkUpdateMultipartRequestBody = CoreDataSourcesBulkUpdateMultipartBody + +// CoreDataSourcesPartialUpdateJSONRequestBody defines body for CoreDataSourcesPartialUpdate for application/json ContentType. +type CoreDataSourcesPartialUpdateJSONRequestBody = PatchedWritableDataSourceRequest + +// CoreDataSourcesPartialUpdateMultipartRequestBody defines body for CoreDataSourcesPartialUpdate for multipart/form-data ContentType. +type CoreDataSourcesPartialUpdateMultipartRequestBody = PatchedWritableDataSourceRequest + +// CoreDataSourcesUpdateJSONRequestBody defines body for CoreDataSourcesUpdate for application/json ContentType. +type CoreDataSourcesUpdateJSONRequestBody = WritableDataSourceRequest + +// CoreDataSourcesUpdateMultipartRequestBody defines body for CoreDataSourcesUpdate for multipart/form-data ContentType. +type CoreDataSourcesUpdateMultipartRequestBody = WritableDataSourceRequest + +// CoreDataSourcesSyncCreateJSONRequestBody defines body for CoreDataSourcesSyncCreate for application/json ContentType. +type CoreDataSourcesSyncCreateJSONRequestBody = WritableDataSourceRequest + +// CoreDataSourcesSyncCreateMultipartRequestBody defines body for CoreDataSourcesSyncCreate for multipart/form-data ContentType. +type CoreDataSourcesSyncCreateMultipartRequestBody = WritableDataSourceRequest + +// DcimCableTerminationsBulkDestroyJSONRequestBody defines body for DcimCableTerminationsBulkDestroy for application/json ContentType. +type DcimCableTerminationsBulkDestroyJSONRequestBody = DcimCableTerminationsBulkDestroyJSONBody + +// DcimCableTerminationsBulkDestroyMultipartRequestBody defines body for DcimCableTerminationsBulkDestroy for multipart/form-data ContentType. +type DcimCableTerminationsBulkDestroyMultipartRequestBody = DcimCableTerminationsBulkDestroyMultipartBody + +// DcimCableTerminationsBulkPartialUpdateJSONRequestBody defines body for DcimCableTerminationsBulkPartialUpdate for application/json ContentType. +type DcimCableTerminationsBulkPartialUpdateJSONRequestBody = DcimCableTerminationsBulkPartialUpdateJSONBody + +// DcimCableTerminationsBulkPartialUpdateMultipartRequestBody defines body for DcimCableTerminationsBulkPartialUpdate for multipart/form-data ContentType. +type DcimCableTerminationsBulkPartialUpdateMultipartRequestBody = DcimCableTerminationsBulkPartialUpdateMultipartBody + +// DcimCableTerminationsCreateJSONRequestBody defines body for DcimCableTerminationsCreate for application/json ContentType. +type DcimCableTerminationsCreateJSONRequestBody = CableTerminationRequest + +// DcimCableTerminationsCreateMultipartRequestBody defines body for DcimCableTerminationsCreate for multipart/form-data ContentType. +type DcimCableTerminationsCreateMultipartRequestBody = CableTerminationRequest + +// DcimCableTerminationsBulkUpdateJSONRequestBody defines body for DcimCableTerminationsBulkUpdate for application/json ContentType. +type DcimCableTerminationsBulkUpdateJSONRequestBody = DcimCableTerminationsBulkUpdateJSONBody + +// DcimCableTerminationsBulkUpdateMultipartRequestBody defines body for DcimCableTerminationsBulkUpdate for multipart/form-data ContentType. +type DcimCableTerminationsBulkUpdateMultipartRequestBody = DcimCableTerminationsBulkUpdateMultipartBody + +// DcimCableTerminationsPartialUpdateJSONRequestBody defines body for DcimCableTerminationsPartialUpdate for application/json ContentType. +type DcimCableTerminationsPartialUpdateJSONRequestBody = PatchedCableTerminationRequest + +// DcimCableTerminationsPartialUpdateMultipartRequestBody defines body for DcimCableTerminationsPartialUpdate for multipart/form-data ContentType. +type DcimCableTerminationsPartialUpdateMultipartRequestBody = PatchedCableTerminationRequest + +// DcimCableTerminationsUpdateJSONRequestBody defines body for DcimCableTerminationsUpdate for application/json ContentType. +type DcimCableTerminationsUpdateJSONRequestBody = CableTerminationRequest + +// DcimCableTerminationsUpdateMultipartRequestBody defines body for DcimCableTerminationsUpdate for multipart/form-data ContentType. +type DcimCableTerminationsUpdateMultipartRequestBody = CableTerminationRequest + +// DcimCablesBulkDestroyJSONRequestBody defines body for DcimCablesBulkDestroy for application/json ContentType. +type DcimCablesBulkDestroyJSONRequestBody = DcimCablesBulkDestroyJSONBody + +// DcimCablesBulkDestroyMultipartRequestBody defines body for DcimCablesBulkDestroy for multipart/form-data ContentType. +type DcimCablesBulkDestroyMultipartRequestBody = DcimCablesBulkDestroyMultipartBody + +// DcimCablesBulkPartialUpdateJSONRequestBody defines body for DcimCablesBulkPartialUpdate for application/json ContentType. +type DcimCablesBulkPartialUpdateJSONRequestBody = DcimCablesBulkPartialUpdateJSONBody + +// DcimCablesBulkPartialUpdateMultipartRequestBody defines body for DcimCablesBulkPartialUpdate for multipart/form-data ContentType. +type DcimCablesBulkPartialUpdateMultipartRequestBody = DcimCablesBulkPartialUpdateMultipartBody + +// DcimCablesCreateJSONRequestBody defines body for DcimCablesCreate for application/json ContentType. +type DcimCablesCreateJSONRequestBody = WritableCableRequest + +// DcimCablesCreateMultipartRequestBody defines body for DcimCablesCreate for multipart/form-data ContentType. +type DcimCablesCreateMultipartRequestBody = WritableCableRequest + +// DcimCablesBulkUpdateJSONRequestBody defines body for DcimCablesBulkUpdate for application/json ContentType. +type DcimCablesBulkUpdateJSONRequestBody = DcimCablesBulkUpdateJSONBody + +// DcimCablesBulkUpdateMultipartRequestBody defines body for DcimCablesBulkUpdate for multipart/form-data ContentType. +type DcimCablesBulkUpdateMultipartRequestBody = DcimCablesBulkUpdateMultipartBody + +// DcimCablesPartialUpdateJSONRequestBody defines body for DcimCablesPartialUpdate for application/json ContentType. +type DcimCablesPartialUpdateJSONRequestBody = PatchedWritableCableRequest + +// DcimCablesPartialUpdateMultipartRequestBody defines body for DcimCablesPartialUpdate for multipart/form-data ContentType. +type DcimCablesPartialUpdateMultipartRequestBody = PatchedWritableCableRequest + +// DcimCablesUpdateJSONRequestBody defines body for DcimCablesUpdate for application/json ContentType. +type DcimCablesUpdateJSONRequestBody = WritableCableRequest + +// DcimCablesUpdateMultipartRequestBody defines body for DcimCablesUpdate for multipart/form-data ContentType. +type DcimCablesUpdateMultipartRequestBody = WritableCableRequest + +// DcimConsolePortTemplatesBulkDestroyJSONRequestBody defines body for DcimConsolePortTemplatesBulkDestroy for application/json ContentType. +type DcimConsolePortTemplatesBulkDestroyJSONRequestBody = DcimConsolePortTemplatesBulkDestroyJSONBody + +// DcimConsolePortTemplatesBulkDestroyMultipartRequestBody defines body for DcimConsolePortTemplatesBulkDestroy for multipart/form-data ContentType. +type DcimConsolePortTemplatesBulkDestroyMultipartRequestBody = DcimConsolePortTemplatesBulkDestroyMultipartBody + +// DcimConsolePortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimConsolePortTemplatesBulkPartialUpdate for application/json ContentType. +type DcimConsolePortTemplatesBulkPartialUpdateJSONRequestBody = DcimConsolePortTemplatesBulkPartialUpdateJSONBody + +// DcimConsolePortTemplatesBulkPartialUpdateMultipartRequestBody defines body for DcimConsolePortTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type DcimConsolePortTemplatesBulkPartialUpdateMultipartRequestBody = DcimConsolePortTemplatesBulkPartialUpdateMultipartBody + +// DcimConsolePortTemplatesCreateJSONRequestBody defines body for DcimConsolePortTemplatesCreate for application/json ContentType. +type DcimConsolePortTemplatesCreateJSONRequestBody = WritableConsolePortTemplateRequest + +// DcimConsolePortTemplatesCreateMultipartRequestBody defines body for DcimConsolePortTemplatesCreate for multipart/form-data ContentType. +type DcimConsolePortTemplatesCreateMultipartRequestBody = WritableConsolePortTemplateRequest + +// DcimConsolePortTemplatesBulkUpdateJSONRequestBody defines body for DcimConsolePortTemplatesBulkUpdate for application/json ContentType. +type DcimConsolePortTemplatesBulkUpdateJSONRequestBody = DcimConsolePortTemplatesBulkUpdateJSONBody + +// DcimConsolePortTemplatesBulkUpdateMultipartRequestBody defines body for DcimConsolePortTemplatesBulkUpdate for multipart/form-data ContentType. +type DcimConsolePortTemplatesBulkUpdateMultipartRequestBody = DcimConsolePortTemplatesBulkUpdateMultipartBody + +// DcimConsolePortTemplatesPartialUpdateJSONRequestBody defines body for DcimConsolePortTemplatesPartialUpdate for application/json ContentType. +type DcimConsolePortTemplatesPartialUpdateJSONRequestBody = PatchedWritableConsolePortTemplateRequest + +// DcimConsolePortTemplatesPartialUpdateMultipartRequestBody defines body for DcimConsolePortTemplatesPartialUpdate for multipart/form-data ContentType. +type DcimConsolePortTemplatesPartialUpdateMultipartRequestBody = PatchedWritableConsolePortTemplateRequest + +// DcimConsolePortTemplatesUpdateJSONRequestBody defines body for DcimConsolePortTemplatesUpdate for application/json ContentType. +type DcimConsolePortTemplatesUpdateJSONRequestBody = WritableConsolePortTemplateRequest + +// DcimConsolePortTemplatesUpdateMultipartRequestBody defines body for DcimConsolePortTemplatesUpdate for multipart/form-data ContentType. +type DcimConsolePortTemplatesUpdateMultipartRequestBody = WritableConsolePortTemplateRequest + +// DcimConsolePortsBulkDestroyJSONRequestBody defines body for DcimConsolePortsBulkDestroy for application/json ContentType. +type DcimConsolePortsBulkDestroyJSONRequestBody = DcimConsolePortsBulkDestroyJSONBody + +// DcimConsolePortsBulkDestroyMultipartRequestBody defines body for DcimConsolePortsBulkDestroy for multipart/form-data ContentType. +type DcimConsolePortsBulkDestroyMultipartRequestBody = DcimConsolePortsBulkDestroyMultipartBody + +// DcimConsolePortsBulkPartialUpdateJSONRequestBody defines body for DcimConsolePortsBulkPartialUpdate for application/json ContentType. +type DcimConsolePortsBulkPartialUpdateJSONRequestBody = DcimConsolePortsBulkPartialUpdateJSONBody + +// DcimConsolePortsBulkPartialUpdateMultipartRequestBody defines body for DcimConsolePortsBulkPartialUpdate for multipart/form-data ContentType. +type DcimConsolePortsBulkPartialUpdateMultipartRequestBody = DcimConsolePortsBulkPartialUpdateMultipartBody + +// DcimConsolePortsCreateJSONRequestBody defines body for DcimConsolePortsCreate for application/json ContentType. +type DcimConsolePortsCreateJSONRequestBody = WritableConsolePortRequest + +// DcimConsolePortsCreateMultipartRequestBody defines body for DcimConsolePortsCreate for multipart/form-data ContentType. +type DcimConsolePortsCreateMultipartRequestBody = WritableConsolePortRequest + +// DcimConsolePortsBulkUpdateJSONRequestBody defines body for DcimConsolePortsBulkUpdate for application/json ContentType. +type DcimConsolePortsBulkUpdateJSONRequestBody = DcimConsolePortsBulkUpdateJSONBody + +// DcimConsolePortsBulkUpdateMultipartRequestBody defines body for DcimConsolePortsBulkUpdate for multipart/form-data ContentType. +type DcimConsolePortsBulkUpdateMultipartRequestBody = DcimConsolePortsBulkUpdateMultipartBody + +// DcimConsolePortsPartialUpdateJSONRequestBody defines body for DcimConsolePortsPartialUpdate for application/json ContentType. +type DcimConsolePortsPartialUpdateJSONRequestBody = PatchedWritableConsolePortRequest + +// DcimConsolePortsPartialUpdateMultipartRequestBody defines body for DcimConsolePortsPartialUpdate for multipart/form-data ContentType. +type DcimConsolePortsPartialUpdateMultipartRequestBody = PatchedWritableConsolePortRequest + +// DcimConsolePortsUpdateJSONRequestBody defines body for DcimConsolePortsUpdate for application/json ContentType. +type DcimConsolePortsUpdateJSONRequestBody = WritableConsolePortRequest + +// DcimConsolePortsUpdateMultipartRequestBody defines body for DcimConsolePortsUpdate for multipart/form-data ContentType. +type DcimConsolePortsUpdateMultipartRequestBody = WritableConsolePortRequest + +// DcimConsoleServerPortTemplatesBulkDestroyJSONRequestBody defines body for DcimConsoleServerPortTemplatesBulkDestroy for application/json ContentType. +type DcimConsoleServerPortTemplatesBulkDestroyJSONRequestBody = DcimConsoleServerPortTemplatesBulkDestroyJSONBody + +// DcimConsoleServerPortTemplatesBulkDestroyMultipartRequestBody defines body for DcimConsoleServerPortTemplatesBulkDestroy for multipart/form-data ContentType. +type DcimConsoleServerPortTemplatesBulkDestroyMultipartRequestBody = DcimConsoleServerPortTemplatesBulkDestroyMultipartBody + +// DcimConsoleServerPortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimConsoleServerPortTemplatesBulkPartialUpdate for application/json ContentType. +type DcimConsoleServerPortTemplatesBulkPartialUpdateJSONRequestBody = DcimConsoleServerPortTemplatesBulkPartialUpdateJSONBody + +// DcimConsoleServerPortTemplatesBulkPartialUpdateMultipartRequestBody defines body for DcimConsoleServerPortTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type DcimConsoleServerPortTemplatesBulkPartialUpdateMultipartRequestBody = DcimConsoleServerPortTemplatesBulkPartialUpdateMultipartBody + +// DcimConsoleServerPortTemplatesCreateJSONRequestBody defines body for DcimConsoleServerPortTemplatesCreate for application/json ContentType. +type DcimConsoleServerPortTemplatesCreateJSONRequestBody = WritableConsoleServerPortTemplateRequest + +// DcimConsoleServerPortTemplatesCreateMultipartRequestBody defines body for DcimConsoleServerPortTemplatesCreate for multipart/form-data ContentType. +type DcimConsoleServerPortTemplatesCreateMultipartRequestBody = WritableConsoleServerPortTemplateRequest + +// DcimConsoleServerPortTemplatesBulkUpdateJSONRequestBody defines body for DcimConsoleServerPortTemplatesBulkUpdate for application/json ContentType. +type DcimConsoleServerPortTemplatesBulkUpdateJSONRequestBody = DcimConsoleServerPortTemplatesBulkUpdateJSONBody + +// DcimConsoleServerPortTemplatesBulkUpdateMultipartRequestBody defines body for DcimConsoleServerPortTemplatesBulkUpdate for multipart/form-data ContentType. +type DcimConsoleServerPortTemplatesBulkUpdateMultipartRequestBody = DcimConsoleServerPortTemplatesBulkUpdateMultipartBody + +// DcimConsoleServerPortTemplatesPartialUpdateJSONRequestBody defines body for DcimConsoleServerPortTemplatesPartialUpdate for application/json ContentType. +type DcimConsoleServerPortTemplatesPartialUpdateJSONRequestBody = PatchedWritableConsoleServerPortTemplateRequest + +// DcimConsoleServerPortTemplatesPartialUpdateMultipartRequestBody defines body for DcimConsoleServerPortTemplatesPartialUpdate for multipart/form-data ContentType. +type DcimConsoleServerPortTemplatesPartialUpdateMultipartRequestBody = PatchedWritableConsoleServerPortTemplateRequest + +// DcimConsoleServerPortTemplatesUpdateJSONRequestBody defines body for DcimConsoleServerPortTemplatesUpdate for application/json ContentType. +type DcimConsoleServerPortTemplatesUpdateJSONRequestBody = WritableConsoleServerPortTemplateRequest + +// DcimConsoleServerPortTemplatesUpdateMultipartRequestBody defines body for DcimConsoleServerPortTemplatesUpdate for multipart/form-data ContentType. +type DcimConsoleServerPortTemplatesUpdateMultipartRequestBody = WritableConsoleServerPortTemplateRequest + +// DcimConsoleServerPortsBulkDestroyJSONRequestBody defines body for DcimConsoleServerPortsBulkDestroy for application/json ContentType. +type DcimConsoleServerPortsBulkDestroyJSONRequestBody = DcimConsoleServerPortsBulkDestroyJSONBody + +// DcimConsoleServerPortsBulkDestroyMultipartRequestBody defines body for DcimConsoleServerPortsBulkDestroy for multipart/form-data ContentType. +type DcimConsoleServerPortsBulkDestroyMultipartRequestBody = DcimConsoleServerPortsBulkDestroyMultipartBody + +// DcimConsoleServerPortsBulkPartialUpdateJSONRequestBody defines body for DcimConsoleServerPortsBulkPartialUpdate for application/json ContentType. +type DcimConsoleServerPortsBulkPartialUpdateJSONRequestBody = DcimConsoleServerPortsBulkPartialUpdateJSONBody + +// DcimConsoleServerPortsBulkPartialUpdateMultipartRequestBody defines body for DcimConsoleServerPortsBulkPartialUpdate for multipart/form-data ContentType. +type DcimConsoleServerPortsBulkPartialUpdateMultipartRequestBody = DcimConsoleServerPortsBulkPartialUpdateMultipartBody + +// DcimConsoleServerPortsCreateJSONRequestBody defines body for DcimConsoleServerPortsCreate for application/json ContentType. +type DcimConsoleServerPortsCreateJSONRequestBody = WritableConsoleServerPortRequest + +// DcimConsoleServerPortsCreateMultipartRequestBody defines body for DcimConsoleServerPortsCreate for multipart/form-data ContentType. +type DcimConsoleServerPortsCreateMultipartRequestBody = WritableConsoleServerPortRequest + +// DcimConsoleServerPortsBulkUpdateJSONRequestBody defines body for DcimConsoleServerPortsBulkUpdate for application/json ContentType. +type DcimConsoleServerPortsBulkUpdateJSONRequestBody = DcimConsoleServerPortsBulkUpdateJSONBody + +// DcimConsoleServerPortsBulkUpdateMultipartRequestBody defines body for DcimConsoleServerPortsBulkUpdate for multipart/form-data ContentType. +type DcimConsoleServerPortsBulkUpdateMultipartRequestBody = DcimConsoleServerPortsBulkUpdateMultipartBody + +// DcimConsoleServerPortsPartialUpdateJSONRequestBody defines body for DcimConsoleServerPortsPartialUpdate for application/json ContentType. +type DcimConsoleServerPortsPartialUpdateJSONRequestBody = PatchedWritableConsoleServerPortRequest + +// DcimConsoleServerPortsPartialUpdateMultipartRequestBody defines body for DcimConsoleServerPortsPartialUpdate for multipart/form-data ContentType. +type DcimConsoleServerPortsPartialUpdateMultipartRequestBody = PatchedWritableConsoleServerPortRequest + +// DcimConsoleServerPortsUpdateJSONRequestBody defines body for DcimConsoleServerPortsUpdate for application/json ContentType. +type DcimConsoleServerPortsUpdateJSONRequestBody = WritableConsoleServerPortRequest + +// DcimConsoleServerPortsUpdateMultipartRequestBody defines body for DcimConsoleServerPortsUpdate for multipart/form-data ContentType. +type DcimConsoleServerPortsUpdateMultipartRequestBody = WritableConsoleServerPortRequest + +// DcimDeviceBayTemplatesBulkDestroyJSONRequestBody defines body for DcimDeviceBayTemplatesBulkDestroy for application/json ContentType. +type DcimDeviceBayTemplatesBulkDestroyJSONRequestBody = DcimDeviceBayTemplatesBulkDestroyJSONBody + +// DcimDeviceBayTemplatesBulkDestroyMultipartRequestBody defines body for DcimDeviceBayTemplatesBulkDestroy for multipart/form-data ContentType. +type DcimDeviceBayTemplatesBulkDestroyMultipartRequestBody = DcimDeviceBayTemplatesBulkDestroyMultipartBody + +// DcimDeviceBayTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimDeviceBayTemplatesBulkPartialUpdate for application/json ContentType. +type DcimDeviceBayTemplatesBulkPartialUpdateJSONRequestBody = DcimDeviceBayTemplatesBulkPartialUpdateJSONBody + +// DcimDeviceBayTemplatesBulkPartialUpdateMultipartRequestBody defines body for DcimDeviceBayTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type DcimDeviceBayTemplatesBulkPartialUpdateMultipartRequestBody = DcimDeviceBayTemplatesBulkPartialUpdateMultipartBody + +// DcimDeviceBayTemplatesCreateJSONRequestBody defines body for DcimDeviceBayTemplatesCreate for application/json ContentType. +type DcimDeviceBayTemplatesCreateJSONRequestBody = WritableDeviceBayTemplateRequest + +// DcimDeviceBayTemplatesCreateMultipartRequestBody defines body for DcimDeviceBayTemplatesCreate for multipart/form-data ContentType. +type DcimDeviceBayTemplatesCreateMultipartRequestBody = WritableDeviceBayTemplateRequest + +// DcimDeviceBayTemplatesBulkUpdateJSONRequestBody defines body for DcimDeviceBayTemplatesBulkUpdate for application/json ContentType. +type DcimDeviceBayTemplatesBulkUpdateJSONRequestBody = DcimDeviceBayTemplatesBulkUpdateJSONBody + +// DcimDeviceBayTemplatesBulkUpdateMultipartRequestBody defines body for DcimDeviceBayTemplatesBulkUpdate for multipart/form-data ContentType. +type DcimDeviceBayTemplatesBulkUpdateMultipartRequestBody = DcimDeviceBayTemplatesBulkUpdateMultipartBody + +// DcimDeviceBayTemplatesPartialUpdateJSONRequestBody defines body for DcimDeviceBayTemplatesPartialUpdate for application/json ContentType. +type DcimDeviceBayTemplatesPartialUpdateJSONRequestBody = PatchedWritableDeviceBayTemplateRequest + +// DcimDeviceBayTemplatesPartialUpdateMultipartRequestBody defines body for DcimDeviceBayTemplatesPartialUpdate for multipart/form-data ContentType. +type DcimDeviceBayTemplatesPartialUpdateMultipartRequestBody = PatchedWritableDeviceBayTemplateRequest + +// DcimDeviceBayTemplatesUpdateJSONRequestBody defines body for DcimDeviceBayTemplatesUpdate for application/json ContentType. +type DcimDeviceBayTemplatesUpdateJSONRequestBody = WritableDeviceBayTemplateRequest + +// DcimDeviceBayTemplatesUpdateMultipartRequestBody defines body for DcimDeviceBayTemplatesUpdate for multipart/form-data ContentType. +type DcimDeviceBayTemplatesUpdateMultipartRequestBody = WritableDeviceBayTemplateRequest + +// DcimDeviceBaysBulkDestroyJSONRequestBody defines body for DcimDeviceBaysBulkDestroy for application/json ContentType. +type DcimDeviceBaysBulkDestroyJSONRequestBody = DcimDeviceBaysBulkDestroyJSONBody + +// DcimDeviceBaysBulkDestroyMultipartRequestBody defines body for DcimDeviceBaysBulkDestroy for multipart/form-data ContentType. +type DcimDeviceBaysBulkDestroyMultipartRequestBody = DcimDeviceBaysBulkDestroyMultipartBody + +// DcimDeviceBaysBulkPartialUpdateJSONRequestBody defines body for DcimDeviceBaysBulkPartialUpdate for application/json ContentType. +type DcimDeviceBaysBulkPartialUpdateJSONRequestBody = DcimDeviceBaysBulkPartialUpdateJSONBody + +// DcimDeviceBaysBulkPartialUpdateMultipartRequestBody defines body for DcimDeviceBaysBulkPartialUpdate for multipart/form-data ContentType. +type DcimDeviceBaysBulkPartialUpdateMultipartRequestBody = DcimDeviceBaysBulkPartialUpdateMultipartBody + +// DcimDeviceBaysCreateJSONRequestBody defines body for DcimDeviceBaysCreate for application/json ContentType. +type DcimDeviceBaysCreateJSONRequestBody = WritableDeviceBayRequest + +// DcimDeviceBaysCreateMultipartRequestBody defines body for DcimDeviceBaysCreate for multipart/form-data ContentType. +type DcimDeviceBaysCreateMultipartRequestBody = WritableDeviceBayRequest + +// DcimDeviceBaysBulkUpdateJSONRequestBody defines body for DcimDeviceBaysBulkUpdate for application/json ContentType. +type DcimDeviceBaysBulkUpdateJSONRequestBody = DcimDeviceBaysBulkUpdateJSONBody + +// DcimDeviceBaysBulkUpdateMultipartRequestBody defines body for DcimDeviceBaysBulkUpdate for multipart/form-data ContentType. +type DcimDeviceBaysBulkUpdateMultipartRequestBody = DcimDeviceBaysBulkUpdateMultipartBody + +// DcimDeviceBaysPartialUpdateJSONRequestBody defines body for DcimDeviceBaysPartialUpdate for application/json ContentType. +type DcimDeviceBaysPartialUpdateJSONRequestBody = PatchedWritableDeviceBayRequest + +// DcimDeviceBaysPartialUpdateMultipartRequestBody defines body for DcimDeviceBaysPartialUpdate for multipart/form-data ContentType. +type DcimDeviceBaysPartialUpdateMultipartRequestBody = PatchedWritableDeviceBayRequest + +// DcimDeviceBaysUpdateJSONRequestBody defines body for DcimDeviceBaysUpdate for application/json ContentType. +type DcimDeviceBaysUpdateJSONRequestBody = WritableDeviceBayRequest + +// DcimDeviceBaysUpdateMultipartRequestBody defines body for DcimDeviceBaysUpdate for multipart/form-data ContentType. +type DcimDeviceBaysUpdateMultipartRequestBody = WritableDeviceBayRequest + +// DcimDeviceRolesBulkDestroyJSONRequestBody defines body for DcimDeviceRolesBulkDestroy for application/json ContentType. +type DcimDeviceRolesBulkDestroyJSONRequestBody = DcimDeviceRolesBulkDestroyJSONBody + +// DcimDeviceRolesBulkDestroyMultipartRequestBody defines body for DcimDeviceRolesBulkDestroy for multipart/form-data ContentType. +type DcimDeviceRolesBulkDestroyMultipartRequestBody = DcimDeviceRolesBulkDestroyMultipartBody + +// DcimDeviceRolesBulkPartialUpdateJSONRequestBody defines body for DcimDeviceRolesBulkPartialUpdate for application/json ContentType. +type DcimDeviceRolesBulkPartialUpdateJSONRequestBody = DcimDeviceRolesBulkPartialUpdateJSONBody + +// DcimDeviceRolesBulkPartialUpdateMultipartRequestBody defines body for DcimDeviceRolesBulkPartialUpdate for multipart/form-data ContentType. +type DcimDeviceRolesBulkPartialUpdateMultipartRequestBody = DcimDeviceRolesBulkPartialUpdateMultipartBody + +// DcimDeviceRolesCreateJSONRequestBody defines body for DcimDeviceRolesCreate for application/json ContentType. +type DcimDeviceRolesCreateJSONRequestBody = WritableDeviceRoleRequest + +// DcimDeviceRolesCreateMultipartRequestBody defines body for DcimDeviceRolesCreate for multipart/form-data ContentType. +type DcimDeviceRolesCreateMultipartRequestBody = WritableDeviceRoleRequest + +// DcimDeviceRolesBulkUpdateJSONRequestBody defines body for DcimDeviceRolesBulkUpdate for application/json ContentType. +type DcimDeviceRolesBulkUpdateJSONRequestBody = DcimDeviceRolesBulkUpdateJSONBody + +// DcimDeviceRolesBulkUpdateMultipartRequestBody defines body for DcimDeviceRolesBulkUpdate for multipart/form-data ContentType. +type DcimDeviceRolesBulkUpdateMultipartRequestBody = DcimDeviceRolesBulkUpdateMultipartBody + +// DcimDeviceRolesPartialUpdateJSONRequestBody defines body for DcimDeviceRolesPartialUpdate for application/json ContentType. +type DcimDeviceRolesPartialUpdateJSONRequestBody = PatchedWritableDeviceRoleRequest + +// DcimDeviceRolesPartialUpdateMultipartRequestBody defines body for DcimDeviceRolesPartialUpdate for multipart/form-data ContentType. +type DcimDeviceRolesPartialUpdateMultipartRequestBody = PatchedWritableDeviceRoleRequest + +// DcimDeviceRolesUpdateJSONRequestBody defines body for DcimDeviceRolesUpdate for application/json ContentType. +type DcimDeviceRolesUpdateJSONRequestBody = WritableDeviceRoleRequest + +// DcimDeviceRolesUpdateMultipartRequestBody defines body for DcimDeviceRolesUpdate for multipart/form-data ContentType. +type DcimDeviceRolesUpdateMultipartRequestBody = WritableDeviceRoleRequest + +// DcimDeviceTypesBulkDestroyJSONRequestBody defines body for DcimDeviceTypesBulkDestroy for application/json ContentType. +type DcimDeviceTypesBulkDestroyJSONRequestBody = DcimDeviceTypesBulkDestroyJSONBody + +// DcimDeviceTypesBulkDestroyMultipartRequestBody defines body for DcimDeviceTypesBulkDestroy for multipart/form-data ContentType. +type DcimDeviceTypesBulkDestroyMultipartRequestBody = DcimDeviceTypesBulkDestroyMultipartBody + +// DcimDeviceTypesBulkPartialUpdateJSONRequestBody defines body for DcimDeviceTypesBulkPartialUpdate for application/json ContentType. +type DcimDeviceTypesBulkPartialUpdateJSONRequestBody = DcimDeviceTypesBulkPartialUpdateJSONBody + +// DcimDeviceTypesBulkPartialUpdateMultipartRequestBody defines body for DcimDeviceTypesBulkPartialUpdate for multipart/form-data ContentType. +type DcimDeviceTypesBulkPartialUpdateMultipartRequestBody = DcimDeviceTypesBulkPartialUpdateMultipartBody + +// DcimDeviceTypesCreateJSONRequestBody defines body for DcimDeviceTypesCreate for application/json ContentType. +type DcimDeviceTypesCreateJSONRequestBody = WritableDeviceTypeRequest + +// DcimDeviceTypesCreateMultipartRequestBody defines body for DcimDeviceTypesCreate for multipart/form-data ContentType. +type DcimDeviceTypesCreateMultipartRequestBody = WritableDeviceTypeRequest + +// DcimDeviceTypesBulkUpdateJSONRequestBody defines body for DcimDeviceTypesBulkUpdate for application/json ContentType. +type DcimDeviceTypesBulkUpdateJSONRequestBody = DcimDeviceTypesBulkUpdateJSONBody + +// DcimDeviceTypesBulkUpdateMultipartRequestBody defines body for DcimDeviceTypesBulkUpdate for multipart/form-data ContentType. +type DcimDeviceTypesBulkUpdateMultipartRequestBody = DcimDeviceTypesBulkUpdateMultipartBody + +// DcimDeviceTypesPartialUpdateJSONRequestBody defines body for DcimDeviceTypesPartialUpdate for application/json ContentType. +type DcimDeviceTypesPartialUpdateJSONRequestBody = PatchedWritableDeviceTypeRequest + +// DcimDeviceTypesPartialUpdateMultipartRequestBody defines body for DcimDeviceTypesPartialUpdate for multipart/form-data ContentType. +type DcimDeviceTypesPartialUpdateMultipartRequestBody = PatchedWritableDeviceTypeRequest + +// DcimDeviceTypesUpdateJSONRequestBody defines body for DcimDeviceTypesUpdate for application/json ContentType. +type DcimDeviceTypesUpdateJSONRequestBody = WritableDeviceTypeRequest + +// DcimDeviceTypesUpdateMultipartRequestBody defines body for DcimDeviceTypesUpdate for multipart/form-data ContentType. +type DcimDeviceTypesUpdateMultipartRequestBody = WritableDeviceTypeRequest + +// DcimDevicesBulkDestroyJSONRequestBody defines body for DcimDevicesBulkDestroy for application/json ContentType. +type DcimDevicesBulkDestroyJSONRequestBody = DcimDevicesBulkDestroyJSONBody + +// DcimDevicesBulkDestroyMultipartRequestBody defines body for DcimDevicesBulkDestroy for multipart/form-data ContentType. +type DcimDevicesBulkDestroyMultipartRequestBody = DcimDevicesBulkDestroyMultipartBody + +// DcimDevicesBulkPartialUpdateJSONRequestBody defines body for DcimDevicesBulkPartialUpdate for application/json ContentType. +type DcimDevicesBulkPartialUpdateJSONRequestBody = DcimDevicesBulkPartialUpdateJSONBody + +// DcimDevicesBulkPartialUpdateMultipartRequestBody defines body for DcimDevicesBulkPartialUpdate for multipart/form-data ContentType. +type DcimDevicesBulkPartialUpdateMultipartRequestBody = DcimDevicesBulkPartialUpdateMultipartBody + +// DcimDevicesCreateJSONRequestBody defines body for DcimDevicesCreate for application/json ContentType. +type DcimDevicesCreateJSONRequestBody = WritableDeviceWithConfigContextRequest + +// DcimDevicesCreateMultipartRequestBody defines body for DcimDevicesCreate for multipart/form-data ContentType. +type DcimDevicesCreateMultipartRequestBody = WritableDeviceWithConfigContextRequest + +// DcimDevicesBulkUpdateJSONRequestBody defines body for DcimDevicesBulkUpdate for application/json ContentType. +type DcimDevicesBulkUpdateJSONRequestBody = DcimDevicesBulkUpdateJSONBody + +// DcimDevicesBulkUpdateMultipartRequestBody defines body for DcimDevicesBulkUpdate for multipart/form-data ContentType. +type DcimDevicesBulkUpdateMultipartRequestBody = DcimDevicesBulkUpdateMultipartBody + +// DcimDevicesPartialUpdateJSONRequestBody defines body for DcimDevicesPartialUpdate for application/json ContentType. +type DcimDevicesPartialUpdateJSONRequestBody = PatchedWritableDeviceWithConfigContextRequest + +// DcimDevicesPartialUpdateMultipartRequestBody defines body for DcimDevicesPartialUpdate for multipart/form-data ContentType. +type DcimDevicesPartialUpdateMultipartRequestBody = PatchedWritableDeviceWithConfigContextRequest + +// DcimDevicesUpdateJSONRequestBody defines body for DcimDevicesUpdate for application/json ContentType. +type DcimDevicesUpdateJSONRequestBody = WritableDeviceWithConfigContextRequest + +// DcimDevicesUpdateMultipartRequestBody defines body for DcimDevicesUpdate for multipart/form-data ContentType. +type DcimDevicesUpdateMultipartRequestBody = WritableDeviceWithConfigContextRequest + +// DcimDevicesRenderConfigCreateJSONRequestBody defines body for DcimDevicesRenderConfigCreate for application/json ContentType. +type DcimDevicesRenderConfigCreateJSONRequestBody = WritableDeviceWithConfigContextRequest + +// DcimDevicesRenderConfigCreateMultipartRequestBody defines body for DcimDevicesRenderConfigCreate for multipart/form-data ContentType. +type DcimDevicesRenderConfigCreateMultipartRequestBody = WritableDeviceWithConfigContextRequest + +// DcimFrontPortTemplatesBulkDestroyJSONRequestBody defines body for DcimFrontPortTemplatesBulkDestroy for application/json ContentType. +type DcimFrontPortTemplatesBulkDestroyJSONRequestBody = DcimFrontPortTemplatesBulkDestroyJSONBody + +// DcimFrontPortTemplatesBulkDestroyMultipartRequestBody defines body for DcimFrontPortTemplatesBulkDestroy for multipart/form-data ContentType. +type DcimFrontPortTemplatesBulkDestroyMultipartRequestBody = DcimFrontPortTemplatesBulkDestroyMultipartBody + +// DcimFrontPortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimFrontPortTemplatesBulkPartialUpdate for application/json ContentType. +type DcimFrontPortTemplatesBulkPartialUpdateJSONRequestBody = DcimFrontPortTemplatesBulkPartialUpdateJSONBody + +// DcimFrontPortTemplatesBulkPartialUpdateMultipartRequestBody defines body for DcimFrontPortTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type DcimFrontPortTemplatesBulkPartialUpdateMultipartRequestBody = DcimFrontPortTemplatesBulkPartialUpdateMultipartBody + +// DcimFrontPortTemplatesCreateJSONRequestBody defines body for DcimFrontPortTemplatesCreate for application/json ContentType. +type DcimFrontPortTemplatesCreateJSONRequestBody = WritableFrontPortTemplateRequest + +// DcimFrontPortTemplatesCreateMultipartRequestBody defines body for DcimFrontPortTemplatesCreate for multipart/form-data ContentType. +type DcimFrontPortTemplatesCreateMultipartRequestBody = WritableFrontPortTemplateRequest + +// DcimFrontPortTemplatesBulkUpdateJSONRequestBody defines body for DcimFrontPortTemplatesBulkUpdate for application/json ContentType. +type DcimFrontPortTemplatesBulkUpdateJSONRequestBody = DcimFrontPortTemplatesBulkUpdateJSONBody + +// DcimFrontPortTemplatesBulkUpdateMultipartRequestBody defines body for DcimFrontPortTemplatesBulkUpdate for multipart/form-data ContentType. +type DcimFrontPortTemplatesBulkUpdateMultipartRequestBody = DcimFrontPortTemplatesBulkUpdateMultipartBody + +// DcimFrontPortTemplatesPartialUpdateJSONRequestBody defines body for DcimFrontPortTemplatesPartialUpdate for application/json ContentType. +type DcimFrontPortTemplatesPartialUpdateJSONRequestBody = PatchedWritableFrontPortTemplateRequest + +// DcimFrontPortTemplatesPartialUpdateMultipartRequestBody defines body for DcimFrontPortTemplatesPartialUpdate for multipart/form-data ContentType. +type DcimFrontPortTemplatesPartialUpdateMultipartRequestBody = PatchedWritableFrontPortTemplateRequest + +// DcimFrontPortTemplatesUpdateJSONRequestBody defines body for DcimFrontPortTemplatesUpdate for application/json ContentType. +type DcimFrontPortTemplatesUpdateJSONRequestBody = WritableFrontPortTemplateRequest + +// DcimFrontPortTemplatesUpdateMultipartRequestBody defines body for DcimFrontPortTemplatesUpdate for multipart/form-data ContentType. +type DcimFrontPortTemplatesUpdateMultipartRequestBody = WritableFrontPortTemplateRequest + +// DcimFrontPortsBulkDestroyJSONRequestBody defines body for DcimFrontPortsBulkDestroy for application/json ContentType. +type DcimFrontPortsBulkDestroyJSONRequestBody = DcimFrontPortsBulkDestroyJSONBody + +// DcimFrontPortsBulkDestroyMultipartRequestBody defines body for DcimFrontPortsBulkDestroy for multipart/form-data ContentType. +type DcimFrontPortsBulkDestroyMultipartRequestBody = DcimFrontPortsBulkDestroyMultipartBody + +// DcimFrontPortsBulkPartialUpdateJSONRequestBody defines body for DcimFrontPortsBulkPartialUpdate for application/json ContentType. +type DcimFrontPortsBulkPartialUpdateJSONRequestBody = DcimFrontPortsBulkPartialUpdateJSONBody + +// DcimFrontPortsBulkPartialUpdateMultipartRequestBody defines body for DcimFrontPortsBulkPartialUpdate for multipart/form-data ContentType. +type DcimFrontPortsBulkPartialUpdateMultipartRequestBody = DcimFrontPortsBulkPartialUpdateMultipartBody + +// DcimFrontPortsCreateJSONRequestBody defines body for DcimFrontPortsCreate for application/json ContentType. +type DcimFrontPortsCreateJSONRequestBody = WritableFrontPortRequest + +// DcimFrontPortsCreateMultipartRequestBody defines body for DcimFrontPortsCreate for multipart/form-data ContentType. +type DcimFrontPortsCreateMultipartRequestBody = WritableFrontPortRequest + +// DcimFrontPortsBulkUpdateJSONRequestBody defines body for DcimFrontPortsBulkUpdate for application/json ContentType. +type DcimFrontPortsBulkUpdateJSONRequestBody = DcimFrontPortsBulkUpdateJSONBody + +// DcimFrontPortsBulkUpdateMultipartRequestBody defines body for DcimFrontPortsBulkUpdate for multipart/form-data ContentType. +type DcimFrontPortsBulkUpdateMultipartRequestBody = DcimFrontPortsBulkUpdateMultipartBody + +// DcimFrontPortsPartialUpdateJSONRequestBody defines body for DcimFrontPortsPartialUpdate for application/json ContentType. +type DcimFrontPortsPartialUpdateJSONRequestBody = PatchedWritableFrontPortRequest + +// DcimFrontPortsPartialUpdateMultipartRequestBody defines body for DcimFrontPortsPartialUpdate for multipart/form-data ContentType. +type DcimFrontPortsPartialUpdateMultipartRequestBody = PatchedWritableFrontPortRequest + +// DcimFrontPortsUpdateJSONRequestBody defines body for DcimFrontPortsUpdate for application/json ContentType. +type DcimFrontPortsUpdateJSONRequestBody = WritableFrontPortRequest + +// DcimFrontPortsUpdateMultipartRequestBody defines body for DcimFrontPortsUpdate for multipart/form-data ContentType. +type DcimFrontPortsUpdateMultipartRequestBody = WritableFrontPortRequest + +// DcimInterfaceTemplatesBulkDestroyJSONRequestBody defines body for DcimInterfaceTemplatesBulkDestroy for application/json ContentType. +type DcimInterfaceTemplatesBulkDestroyJSONRequestBody = DcimInterfaceTemplatesBulkDestroyJSONBody + +// DcimInterfaceTemplatesBulkDestroyMultipartRequestBody defines body for DcimInterfaceTemplatesBulkDestroy for multipart/form-data ContentType. +type DcimInterfaceTemplatesBulkDestroyMultipartRequestBody = DcimInterfaceTemplatesBulkDestroyMultipartBody + +// DcimInterfaceTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimInterfaceTemplatesBulkPartialUpdate for application/json ContentType. +type DcimInterfaceTemplatesBulkPartialUpdateJSONRequestBody = DcimInterfaceTemplatesBulkPartialUpdateJSONBody + +// DcimInterfaceTemplatesBulkPartialUpdateMultipartRequestBody defines body for DcimInterfaceTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type DcimInterfaceTemplatesBulkPartialUpdateMultipartRequestBody = DcimInterfaceTemplatesBulkPartialUpdateMultipartBody + +// DcimInterfaceTemplatesCreateJSONRequestBody defines body for DcimInterfaceTemplatesCreate for application/json ContentType. +type DcimInterfaceTemplatesCreateJSONRequestBody = WritableInterfaceTemplateRequest + +// DcimInterfaceTemplatesCreateMultipartRequestBody defines body for DcimInterfaceTemplatesCreate for multipart/form-data ContentType. +type DcimInterfaceTemplatesCreateMultipartRequestBody = WritableInterfaceTemplateRequest + +// DcimInterfaceTemplatesBulkUpdateJSONRequestBody defines body for DcimInterfaceTemplatesBulkUpdate for application/json ContentType. +type DcimInterfaceTemplatesBulkUpdateJSONRequestBody = DcimInterfaceTemplatesBulkUpdateJSONBody + +// DcimInterfaceTemplatesBulkUpdateMultipartRequestBody defines body for DcimInterfaceTemplatesBulkUpdate for multipart/form-data ContentType. +type DcimInterfaceTemplatesBulkUpdateMultipartRequestBody = DcimInterfaceTemplatesBulkUpdateMultipartBody + +// DcimInterfaceTemplatesPartialUpdateJSONRequestBody defines body for DcimInterfaceTemplatesPartialUpdate for application/json ContentType. +type DcimInterfaceTemplatesPartialUpdateJSONRequestBody = PatchedWritableInterfaceTemplateRequest + +// DcimInterfaceTemplatesPartialUpdateMultipartRequestBody defines body for DcimInterfaceTemplatesPartialUpdate for multipart/form-data ContentType. +type DcimInterfaceTemplatesPartialUpdateMultipartRequestBody = PatchedWritableInterfaceTemplateRequest + +// DcimInterfaceTemplatesUpdateJSONRequestBody defines body for DcimInterfaceTemplatesUpdate for application/json ContentType. +type DcimInterfaceTemplatesUpdateJSONRequestBody = WritableInterfaceTemplateRequest + +// DcimInterfaceTemplatesUpdateMultipartRequestBody defines body for DcimInterfaceTemplatesUpdate for multipart/form-data ContentType. +type DcimInterfaceTemplatesUpdateMultipartRequestBody = WritableInterfaceTemplateRequest + +// DcimInterfacesBulkDestroyJSONRequestBody defines body for DcimInterfacesBulkDestroy for application/json ContentType. +type DcimInterfacesBulkDestroyJSONRequestBody = DcimInterfacesBulkDestroyJSONBody + +// DcimInterfacesBulkDestroyMultipartRequestBody defines body for DcimInterfacesBulkDestroy for multipart/form-data ContentType. +type DcimInterfacesBulkDestroyMultipartRequestBody = DcimInterfacesBulkDestroyMultipartBody + +// DcimInterfacesBulkPartialUpdateJSONRequestBody defines body for DcimInterfacesBulkPartialUpdate for application/json ContentType. +type DcimInterfacesBulkPartialUpdateJSONRequestBody = DcimInterfacesBulkPartialUpdateJSONBody + +// DcimInterfacesBulkPartialUpdateMultipartRequestBody defines body for DcimInterfacesBulkPartialUpdate for multipart/form-data ContentType. +type DcimInterfacesBulkPartialUpdateMultipartRequestBody = DcimInterfacesBulkPartialUpdateMultipartBody + +// DcimInterfacesCreateJSONRequestBody defines body for DcimInterfacesCreate for application/json ContentType. +type DcimInterfacesCreateJSONRequestBody = WritableInterfaceRequest + +// DcimInterfacesCreateMultipartRequestBody defines body for DcimInterfacesCreate for multipart/form-data ContentType. +type DcimInterfacesCreateMultipartRequestBody = WritableInterfaceRequest + +// DcimInterfacesBulkUpdateJSONRequestBody defines body for DcimInterfacesBulkUpdate for application/json ContentType. +type DcimInterfacesBulkUpdateJSONRequestBody = DcimInterfacesBulkUpdateJSONBody + +// DcimInterfacesBulkUpdateMultipartRequestBody defines body for DcimInterfacesBulkUpdate for multipart/form-data ContentType. +type DcimInterfacesBulkUpdateMultipartRequestBody = DcimInterfacesBulkUpdateMultipartBody + +// DcimInterfacesPartialUpdateJSONRequestBody defines body for DcimInterfacesPartialUpdate for application/json ContentType. +type DcimInterfacesPartialUpdateJSONRequestBody = PatchedWritableInterfaceRequest + +// DcimInterfacesPartialUpdateMultipartRequestBody defines body for DcimInterfacesPartialUpdate for multipart/form-data ContentType. +type DcimInterfacesPartialUpdateMultipartRequestBody = PatchedWritableInterfaceRequest + +// DcimInterfacesUpdateJSONRequestBody defines body for DcimInterfacesUpdate for application/json ContentType. +type DcimInterfacesUpdateJSONRequestBody = WritableInterfaceRequest + +// DcimInterfacesUpdateMultipartRequestBody defines body for DcimInterfacesUpdate for multipart/form-data ContentType. +type DcimInterfacesUpdateMultipartRequestBody = WritableInterfaceRequest + +// DcimInventoryItemRolesBulkDestroyJSONRequestBody defines body for DcimInventoryItemRolesBulkDestroy for application/json ContentType. +type DcimInventoryItemRolesBulkDestroyJSONRequestBody = DcimInventoryItemRolesBulkDestroyJSONBody + +// DcimInventoryItemRolesBulkDestroyMultipartRequestBody defines body for DcimInventoryItemRolesBulkDestroy for multipart/form-data ContentType. +type DcimInventoryItemRolesBulkDestroyMultipartRequestBody = DcimInventoryItemRolesBulkDestroyMultipartBody + +// DcimInventoryItemRolesBulkPartialUpdateJSONRequestBody defines body for DcimInventoryItemRolesBulkPartialUpdate for application/json ContentType. +type DcimInventoryItemRolesBulkPartialUpdateJSONRequestBody = DcimInventoryItemRolesBulkPartialUpdateJSONBody + +// DcimInventoryItemRolesBulkPartialUpdateMultipartRequestBody defines body for DcimInventoryItemRolesBulkPartialUpdate for multipart/form-data ContentType. +type DcimInventoryItemRolesBulkPartialUpdateMultipartRequestBody = DcimInventoryItemRolesBulkPartialUpdateMultipartBody + +// DcimInventoryItemRolesCreateJSONRequestBody defines body for DcimInventoryItemRolesCreate for application/json ContentType. +type DcimInventoryItemRolesCreateJSONRequestBody = InventoryItemRoleRequest + +// DcimInventoryItemRolesCreateMultipartRequestBody defines body for DcimInventoryItemRolesCreate for multipart/form-data ContentType. +type DcimInventoryItemRolesCreateMultipartRequestBody = InventoryItemRoleRequest + +// DcimInventoryItemRolesBulkUpdateJSONRequestBody defines body for DcimInventoryItemRolesBulkUpdate for application/json ContentType. +type DcimInventoryItemRolesBulkUpdateJSONRequestBody = DcimInventoryItemRolesBulkUpdateJSONBody + +// DcimInventoryItemRolesBulkUpdateMultipartRequestBody defines body for DcimInventoryItemRolesBulkUpdate for multipart/form-data ContentType. +type DcimInventoryItemRolesBulkUpdateMultipartRequestBody = DcimInventoryItemRolesBulkUpdateMultipartBody + +// DcimInventoryItemRolesPartialUpdateJSONRequestBody defines body for DcimInventoryItemRolesPartialUpdate for application/json ContentType. +type DcimInventoryItemRolesPartialUpdateJSONRequestBody = PatchedInventoryItemRoleRequest + +// DcimInventoryItemRolesPartialUpdateMultipartRequestBody defines body for DcimInventoryItemRolesPartialUpdate for multipart/form-data ContentType. +type DcimInventoryItemRolesPartialUpdateMultipartRequestBody = PatchedInventoryItemRoleRequest + +// DcimInventoryItemRolesUpdateJSONRequestBody defines body for DcimInventoryItemRolesUpdate for application/json ContentType. +type DcimInventoryItemRolesUpdateJSONRequestBody = InventoryItemRoleRequest + +// DcimInventoryItemRolesUpdateMultipartRequestBody defines body for DcimInventoryItemRolesUpdate for multipart/form-data ContentType. +type DcimInventoryItemRolesUpdateMultipartRequestBody = InventoryItemRoleRequest + +// DcimInventoryItemTemplatesBulkDestroyJSONRequestBody defines body for DcimInventoryItemTemplatesBulkDestroy for application/json ContentType. +type DcimInventoryItemTemplatesBulkDestroyJSONRequestBody = DcimInventoryItemTemplatesBulkDestroyJSONBody + +// DcimInventoryItemTemplatesBulkDestroyMultipartRequestBody defines body for DcimInventoryItemTemplatesBulkDestroy for multipart/form-data ContentType. +type DcimInventoryItemTemplatesBulkDestroyMultipartRequestBody = DcimInventoryItemTemplatesBulkDestroyMultipartBody + +// DcimInventoryItemTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimInventoryItemTemplatesBulkPartialUpdate for application/json ContentType. +type DcimInventoryItemTemplatesBulkPartialUpdateJSONRequestBody = DcimInventoryItemTemplatesBulkPartialUpdateJSONBody + +// DcimInventoryItemTemplatesBulkPartialUpdateMultipartRequestBody defines body for DcimInventoryItemTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type DcimInventoryItemTemplatesBulkPartialUpdateMultipartRequestBody = DcimInventoryItemTemplatesBulkPartialUpdateMultipartBody + +// DcimInventoryItemTemplatesCreateJSONRequestBody defines body for DcimInventoryItemTemplatesCreate for application/json ContentType. +type DcimInventoryItemTemplatesCreateJSONRequestBody = WritableInventoryItemTemplateRequest + +// DcimInventoryItemTemplatesCreateMultipartRequestBody defines body for DcimInventoryItemTemplatesCreate for multipart/form-data ContentType. +type DcimInventoryItemTemplatesCreateMultipartRequestBody = WritableInventoryItemTemplateRequest + +// DcimInventoryItemTemplatesBulkUpdateJSONRequestBody defines body for DcimInventoryItemTemplatesBulkUpdate for application/json ContentType. +type DcimInventoryItemTemplatesBulkUpdateJSONRequestBody = DcimInventoryItemTemplatesBulkUpdateJSONBody + +// DcimInventoryItemTemplatesBulkUpdateMultipartRequestBody defines body for DcimInventoryItemTemplatesBulkUpdate for multipart/form-data ContentType. +type DcimInventoryItemTemplatesBulkUpdateMultipartRequestBody = DcimInventoryItemTemplatesBulkUpdateMultipartBody + +// DcimInventoryItemTemplatesPartialUpdateJSONRequestBody defines body for DcimInventoryItemTemplatesPartialUpdate for application/json ContentType. +type DcimInventoryItemTemplatesPartialUpdateJSONRequestBody = PatchedWritableInventoryItemTemplateRequest + +// DcimInventoryItemTemplatesPartialUpdateMultipartRequestBody defines body for DcimInventoryItemTemplatesPartialUpdate for multipart/form-data ContentType. +type DcimInventoryItemTemplatesPartialUpdateMultipartRequestBody = PatchedWritableInventoryItemTemplateRequest + +// DcimInventoryItemTemplatesUpdateJSONRequestBody defines body for DcimInventoryItemTemplatesUpdate for application/json ContentType. +type DcimInventoryItemTemplatesUpdateJSONRequestBody = WritableInventoryItemTemplateRequest + +// DcimInventoryItemTemplatesUpdateMultipartRequestBody defines body for DcimInventoryItemTemplatesUpdate for multipart/form-data ContentType. +type DcimInventoryItemTemplatesUpdateMultipartRequestBody = WritableInventoryItemTemplateRequest + +// DcimInventoryItemsBulkDestroyJSONRequestBody defines body for DcimInventoryItemsBulkDestroy for application/json ContentType. +type DcimInventoryItemsBulkDestroyJSONRequestBody = DcimInventoryItemsBulkDestroyJSONBody + +// DcimInventoryItemsBulkDestroyMultipartRequestBody defines body for DcimInventoryItemsBulkDestroy for multipart/form-data ContentType. +type DcimInventoryItemsBulkDestroyMultipartRequestBody = DcimInventoryItemsBulkDestroyMultipartBody + +// DcimInventoryItemsBulkPartialUpdateJSONRequestBody defines body for DcimInventoryItemsBulkPartialUpdate for application/json ContentType. +type DcimInventoryItemsBulkPartialUpdateJSONRequestBody = DcimInventoryItemsBulkPartialUpdateJSONBody + +// DcimInventoryItemsBulkPartialUpdateMultipartRequestBody defines body for DcimInventoryItemsBulkPartialUpdate for multipart/form-data ContentType. +type DcimInventoryItemsBulkPartialUpdateMultipartRequestBody = DcimInventoryItemsBulkPartialUpdateMultipartBody + +// DcimInventoryItemsCreateJSONRequestBody defines body for DcimInventoryItemsCreate for application/json ContentType. +type DcimInventoryItemsCreateJSONRequestBody = WritableInventoryItemRequest + +// DcimInventoryItemsCreateMultipartRequestBody defines body for DcimInventoryItemsCreate for multipart/form-data ContentType. +type DcimInventoryItemsCreateMultipartRequestBody = WritableInventoryItemRequest + +// DcimInventoryItemsBulkUpdateJSONRequestBody defines body for DcimInventoryItemsBulkUpdate for application/json ContentType. +type DcimInventoryItemsBulkUpdateJSONRequestBody = DcimInventoryItemsBulkUpdateJSONBody + +// DcimInventoryItemsBulkUpdateMultipartRequestBody defines body for DcimInventoryItemsBulkUpdate for multipart/form-data ContentType. +type DcimInventoryItemsBulkUpdateMultipartRequestBody = DcimInventoryItemsBulkUpdateMultipartBody + +// DcimInventoryItemsPartialUpdateJSONRequestBody defines body for DcimInventoryItemsPartialUpdate for application/json ContentType. +type DcimInventoryItemsPartialUpdateJSONRequestBody = PatchedWritableInventoryItemRequest + +// DcimInventoryItemsPartialUpdateMultipartRequestBody defines body for DcimInventoryItemsPartialUpdate for multipart/form-data ContentType. +type DcimInventoryItemsPartialUpdateMultipartRequestBody = PatchedWritableInventoryItemRequest + +// DcimInventoryItemsUpdateJSONRequestBody defines body for DcimInventoryItemsUpdate for application/json ContentType. +type DcimInventoryItemsUpdateJSONRequestBody = WritableInventoryItemRequest + +// DcimInventoryItemsUpdateMultipartRequestBody defines body for DcimInventoryItemsUpdate for multipart/form-data ContentType. +type DcimInventoryItemsUpdateMultipartRequestBody = WritableInventoryItemRequest + +// DcimLocationsBulkDestroyJSONRequestBody defines body for DcimLocationsBulkDestroy for application/json ContentType. +type DcimLocationsBulkDestroyJSONRequestBody = DcimLocationsBulkDestroyJSONBody + +// DcimLocationsBulkDestroyMultipartRequestBody defines body for DcimLocationsBulkDestroy for multipart/form-data ContentType. +type DcimLocationsBulkDestroyMultipartRequestBody = DcimLocationsBulkDestroyMultipartBody + +// DcimLocationsBulkPartialUpdateJSONRequestBody defines body for DcimLocationsBulkPartialUpdate for application/json ContentType. +type DcimLocationsBulkPartialUpdateJSONRequestBody = DcimLocationsBulkPartialUpdateJSONBody + +// DcimLocationsBulkPartialUpdateMultipartRequestBody defines body for DcimLocationsBulkPartialUpdate for multipart/form-data ContentType. +type DcimLocationsBulkPartialUpdateMultipartRequestBody = DcimLocationsBulkPartialUpdateMultipartBody + +// DcimLocationsCreateJSONRequestBody defines body for DcimLocationsCreate for application/json ContentType. +type DcimLocationsCreateJSONRequestBody = WritableLocationRequest + +// DcimLocationsCreateMultipartRequestBody defines body for DcimLocationsCreate for multipart/form-data ContentType. +type DcimLocationsCreateMultipartRequestBody = WritableLocationRequest + +// DcimLocationsBulkUpdateJSONRequestBody defines body for DcimLocationsBulkUpdate for application/json ContentType. +type DcimLocationsBulkUpdateJSONRequestBody = DcimLocationsBulkUpdateJSONBody + +// DcimLocationsBulkUpdateMultipartRequestBody defines body for DcimLocationsBulkUpdate for multipart/form-data ContentType. +type DcimLocationsBulkUpdateMultipartRequestBody = DcimLocationsBulkUpdateMultipartBody + +// DcimLocationsPartialUpdateJSONRequestBody defines body for DcimLocationsPartialUpdate for application/json ContentType. +type DcimLocationsPartialUpdateJSONRequestBody = PatchedWritableLocationRequest + +// DcimLocationsPartialUpdateMultipartRequestBody defines body for DcimLocationsPartialUpdate for multipart/form-data ContentType. +type DcimLocationsPartialUpdateMultipartRequestBody = PatchedWritableLocationRequest + +// DcimLocationsUpdateJSONRequestBody defines body for DcimLocationsUpdate for application/json ContentType. +type DcimLocationsUpdateJSONRequestBody = WritableLocationRequest + +// DcimLocationsUpdateMultipartRequestBody defines body for DcimLocationsUpdate for multipart/form-data ContentType. +type DcimLocationsUpdateMultipartRequestBody = WritableLocationRequest + +// DcimManufacturersBulkDestroyJSONRequestBody defines body for DcimManufacturersBulkDestroy for application/json ContentType. +type DcimManufacturersBulkDestroyJSONRequestBody = DcimManufacturersBulkDestroyJSONBody + +// DcimManufacturersBulkDestroyMultipartRequestBody defines body for DcimManufacturersBulkDestroy for multipart/form-data ContentType. +type DcimManufacturersBulkDestroyMultipartRequestBody = DcimManufacturersBulkDestroyMultipartBody + +// DcimManufacturersBulkPartialUpdateJSONRequestBody defines body for DcimManufacturersBulkPartialUpdate for application/json ContentType. +type DcimManufacturersBulkPartialUpdateJSONRequestBody = DcimManufacturersBulkPartialUpdateJSONBody + +// DcimManufacturersBulkPartialUpdateMultipartRequestBody defines body for DcimManufacturersBulkPartialUpdate for multipart/form-data ContentType. +type DcimManufacturersBulkPartialUpdateMultipartRequestBody = DcimManufacturersBulkPartialUpdateMultipartBody + +// DcimManufacturersCreateJSONRequestBody defines body for DcimManufacturersCreate for application/json ContentType. +type DcimManufacturersCreateJSONRequestBody = ManufacturerRequest + +// DcimManufacturersCreateMultipartRequestBody defines body for DcimManufacturersCreate for multipart/form-data ContentType. +type DcimManufacturersCreateMultipartRequestBody = ManufacturerRequest + +// DcimManufacturersBulkUpdateJSONRequestBody defines body for DcimManufacturersBulkUpdate for application/json ContentType. +type DcimManufacturersBulkUpdateJSONRequestBody = DcimManufacturersBulkUpdateJSONBody + +// DcimManufacturersBulkUpdateMultipartRequestBody defines body for DcimManufacturersBulkUpdate for multipart/form-data ContentType. +type DcimManufacturersBulkUpdateMultipartRequestBody = DcimManufacturersBulkUpdateMultipartBody + +// DcimManufacturersPartialUpdateJSONRequestBody defines body for DcimManufacturersPartialUpdate for application/json ContentType. +type DcimManufacturersPartialUpdateJSONRequestBody = PatchedManufacturerRequest + +// DcimManufacturersPartialUpdateMultipartRequestBody defines body for DcimManufacturersPartialUpdate for multipart/form-data ContentType. +type DcimManufacturersPartialUpdateMultipartRequestBody = PatchedManufacturerRequest + +// DcimManufacturersUpdateJSONRequestBody defines body for DcimManufacturersUpdate for application/json ContentType. +type DcimManufacturersUpdateJSONRequestBody = ManufacturerRequest + +// DcimManufacturersUpdateMultipartRequestBody defines body for DcimManufacturersUpdate for multipart/form-data ContentType. +type DcimManufacturersUpdateMultipartRequestBody = ManufacturerRequest + +// DcimModuleBayTemplatesBulkDestroyJSONRequestBody defines body for DcimModuleBayTemplatesBulkDestroy for application/json ContentType. +type DcimModuleBayTemplatesBulkDestroyJSONRequestBody = DcimModuleBayTemplatesBulkDestroyJSONBody + +// DcimModuleBayTemplatesBulkDestroyMultipartRequestBody defines body for DcimModuleBayTemplatesBulkDestroy for multipart/form-data ContentType. +type DcimModuleBayTemplatesBulkDestroyMultipartRequestBody = DcimModuleBayTemplatesBulkDestroyMultipartBody + +// DcimModuleBayTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimModuleBayTemplatesBulkPartialUpdate for application/json ContentType. +type DcimModuleBayTemplatesBulkPartialUpdateJSONRequestBody = DcimModuleBayTemplatesBulkPartialUpdateJSONBody + +// DcimModuleBayTemplatesBulkPartialUpdateMultipartRequestBody defines body for DcimModuleBayTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type DcimModuleBayTemplatesBulkPartialUpdateMultipartRequestBody = DcimModuleBayTemplatesBulkPartialUpdateMultipartBody + +// DcimModuleBayTemplatesCreateJSONRequestBody defines body for DcimModuleBayTemplatesCreate for application/json ContentType. +type DcimModuleBayTemplatesCreateJSONRequestBody = WritableModuleBayTemplateRequest + +// DcimModuleBayTemplatesCreateMultipartRequestBody defines body for DcimModuleBayTemplatesCreate for multipart/form-data ContentType. +type DcimModuleBayTemplatesCreateMultipartRequestBody = WritableModuleBayTemplateRequest + +// DcimModuleBayTemplatesBulkUpdateJSONRequestBody defines body for DcimModuleBayTemplatesBulkUpdate for application/json ContentType. +type DcimModuleBayTemplatesBulkUpdateJSONRequestBody = DcimModuleBayTemplatesBulkUpdateJSONBody + +// DcimModuleBayTemplatesBulkUpdateMultipartRequestBody defines body for DcimModuleBayTemplatesBulkUpdate for multipart/form-data ContentType. +type DcimModuleBayTemplatesBulkUpdateMultipartRequestBody = DcimModuleBayTemplatesBulkUpdateMultipartBody + +// DcimModuleBayTemplatesPartialUpdateJSONRequestBody defines body for DcimModuleBayTemplatesPartialUpdate for application/json ContentType. +type DcimModuleBayTemplatesPartialUpdateJSONRequestBody = PatchedWritableModuleBayTemplateRequest + +// DcimModuleBayTemplatesPartialUpdateMultipartRequestBody defines body for DcimModuleBayTemplatesPartialUpdate for multipart/form-data ContentType. +type DcimModuleBayTemplatesPartialUpdateMultipartRequestBody = PatchedWritableModuleBayTemplateRequest + +// DcimModuleBayTemplatesUpdateJSONRequestBody defines body for DcimModuleBayTemplatesUpdate for application/json ContentType. +type DcimModuleBayTemplatesUpdateJSONRequestBody = WritableModuleBayTemplateRequest + +// DcimModuleBayTemplatesUpdateMultipartRequestBody defines body for DcimModuleBayTemplatesUpdate for multipart/form-data ContentType. +type DcimModuleBayTemplatesUpdateMultipartRequestBody = WritableModuleBayTemplateRequest + +// DcimModuleBaysBulkDestroyJSONRequestBody defines body for DcimModuleBaysBulkDestroy for application/json ContentType. +type DcimModuleBaysBulkDestroyJSONRequestBody = DcimModuleBaysBulkDestroyJSONBody + +// DcimModuleBaysBulkDestroyMultipartRequestBody defines body for DcimModuleBaysBulkDestroy for multipart/form-data ContentType. +type DcimModuleBaysBulkDestroyMultipartRequestBody = DcimModuleBaysBulkDestroyMultipartBody + +// DcimModuleBaysBulkPartialUpdateJSONRequestBody defines body for DcimModuleBaysBulkPartialUpdate for application/json ContentType. +type DcimModuleBaysBulkPartialUpdateJSONRequestBody = DcimModuleBaysBulkPartialUpdateJSONBody + +// DcimModuleBaysBulkPartialUpdateMultipartRequestBody defines body for DcimModuleBaysBulkPartialUpdate for multipart/form-data ContentType. +type DcimModuleBaysBulkPartialUpdateMultipartRequestBody = DcimModuleBaysBulkPartialUpdateMultipartBody + +// DcimModuleBaysCreateJSONRequestBody defines body for DcimModuleBaysCreate for application/json ContentType. +type DcimModuleBaysCreateJSONRequestBody = WritableModuleBayRequest + +// DcimModuleBaysCreateMultipartRequestBody defines body for DcimModuleBaysCreate for multipart/form-data ContentType. +type DcimModuleBaysCreateMultipartRequestBody = WritableModuleBayRequest + +// DcimModuleBaysBulkUpdateJSONRequestBody defines body for DcimModuleBaysBulkUpdate for application/json ContentType. +type DcimModuleBaysBulkUpdateJSONRequestBody = DcimModuleBaysBulkUpdateJSONBody + +// DcimModuleBaysBulkUpdateMultipartRequestBody defines body for DcimModuleBaysBulkUpdate for multipart/form-data ContentType. +type DcimModuleBaysBulkUpdateMultipartRequestBody = DcimModuleBaysBulkUpdateMultipartBody + +// DcimModuleBaysPartialUpdateJSONRequestBody defines body for DcimModuleBaysPartialUpdate for application/json ContentType. +type DcimModuleBaysPartialUpdateJSONRequestBody = PatchedWritableModuleBayRequest + +// DcimModuleBaysPartialUpdateMultipartRequestBody defines body for DcimModuleBaysPartialUpdate for multipart/form-data ContentType. +type DcimModuleBaysPartialUpdateMultipartRequestBody = PatchedWritableModuleBayRequest + +// DcimModuleBaysUpdateJSONRequestBody defines body for DcimModuleBaysUpdate for application/json ContentType. +type DcimModuleBaysUpdateJSONRequestBody = WritableModuleBayRequest + +// DcimModuleBaysUpdateMultipartRequestBody defines body for DcimModuleBaysUpdate for multipart/form-data ContentType. +type DcimModuleBaysUpdateMultipartRequestBody = WritableModuleBayRequest + +// DcimModuleTypesBulkDestroyJSONRequestBody defines body for DcimModuleTypesBulkDestroy for application/json ContentType. +type DcimModuleTypesBulkDestroyJSONRequestBody = DcimModuleTypesBulkDestroyJSONBody + +// DcimModuleTypesBulkDestroyMultipartRequestBody defines body for DcimModuleTypesBulkDestroy for multipart/form-data ContentType. +type DcimModuleTypesBulkDestroyMultipartRequestBody = DcimModuleTypesBulkDestroyMultipartBody + +// DcimModuleTypesBulkPartialUpdateJSONRequestBody defines body for DcimModuleTypesBulkPartialUpdate for application/json ContentType. +type DcimModuleTypesBulkPartialUpdateJSONRequestBody = DcimModuleTypesBulkPartialUpdateJSONBody + +// DcimModuleTypesBulkPartialUpdateMultipartRequestBody defines body for DcimModuleTypesBulkPartialUpdate for multipart/form-data ContentType. +type DcimModuleTypesBulkPartialUpdateMultipartRequestBody = DcimModuleTypesBulkPartialUpdateMultipartBody + +// DcimModuleTypesCreateJSONRequestBody defines body for DcimModuleTypesCreate for application/json ContentType. +type DcimModuleTypesCreateJSONRequestBody = WritableModuleTypeRequest + +// DcimModuleTypesCreateMultipartRequestBody defines body for DcimModuleTypesCreate for multipart/form-data ContentType. +type DcimModuleTypesCreateMultipartRequestBody = WritableModuleTypeRequest + +// DcimModuleTypesBulkUpdateJSONRequestBody defines body for DcimModuleTypesBulkUpdate for application/json ContentType. +type DcimModuleTypesBulkUpdateJSONRequestBody = DcimModuleTypesBulkUpdateJSONBody + +// DcimModuleTypesBulkUpdateMultipartRequestBody defines body for DcimModuleTypesBulkUpdate for multipart/form-data ContentType. +type DcimModuleTypesBulkUpdateMultipartRequestBody = DcimModuleTypesBulkUpdateMultipartBody + +// DcimModuleTypesPartialUpdateJSONRequestBody defines body for DcimModuleTypesPartialUpdate for application/json ContentType. +type DcimModuleTypesPartialUpdateJSONRequestBody = PatchedWritableModuleTypeRequest + +// DcimModuleTypesPartialUpdateMultipartRequestBody defines body for DcimModuleTypesPartialUpdate for multipart/form-data ContentType. +type DcimModuleTypesPartialUpdateMultipartRequestBody = PatchedWritableModuleTypeRequest + +// DcimModuleTypesUpdateJSONRequestBody defines body for DcimModuleTypesUpdate for application/json ContentType. +type DcimModuleTypesUpdateJSONRequestBody = WritableModuleTypeRequest + +// DcimModuleTypesUpdateMultipartRequestBody defines body for DcimModuleTypesUpdate for multipart/form-data ContentType. +type DcimModuleTypesUpdateMultipartRequestBody = WritableModuleTypeRequest + +// DcimModulesBulkDestroyJSONRequestBody defines body for DcimModulesBulkDestroy for application/json ContentType. +type DcimModulesBulkDestroyJSONRequestBody = DcimModulesBulkDestroyJSONBody + +// DcimModulesBulkDestroyMultipartRequestBody defines body for DcimModulesBulkDestroy for multipart/form-data ContentType. +type DcimModulesBulkDestroyMultipartRequestBody = DcimModulesBulkDestroyMultipartBody + +// DcimModulesBulkPartialUpdateJSONRequestBody defines body for DcimModulesBulkPartialUpdate for application/json ContentType. +type DcimModulesBulkPartialUpdateJSONRequestBody = DcimModulesBulkPartialUpdateJSONBody + +// DcimModulesBulkPartialUpdateMultipartRequestBody defines body for DcimModulesBulkPartialUpdate for multipart/form-data ContentType. +type DcimModulesBulkPartialUpdateMultipartRequestBody = DcimModulesBulkPartialUpdateMultipartBody + +// DcimModulesCreateJSONRequestBody defines body for DcimModulesCreate for application/json ContentType. +type DcimModulesCreateJSONRequestBody = WritableModuleRequest + +// DcimModulesCreateMultipartRequestBody defines body for DcimModulesCreate for multipart/form-data ContentType. +type DcimModulesCreateMultipartRequestBody = WritableModuleRequest + +// DcimModulesBulkUpdateJSONRequestBody defines body for DcimModulesBulkUpdate for application/json ContentType. +type DcimModulesBulkUpdateJSONRequestBody = DcimModulesBulkUpdateJSONBody + +// DcimModulesBulkUpdateMultipartRequestBody defines body for DcimModulesBulkUpdate for multipart/form-data ContentType. +type DcimModulesBulkUpdateMultipartRequestBody = DcimModulesBulkUpdateMultipartBody + +// DcimModulesPartialUpdateJSONRequestBody defines body for DcimModulesPartialUpdate for application/json ContentType. +type DcimModulesPartialUpdateJSONRequestBody = PatchedWritableModuleRequest + +// DcimModulesPartialUpdateMultipartRequestBody defines body for DcimModulesPartialUpdate for multipart/form-data ContentType. +type DcimModulesPartialUpdateMultipartRequestBody = PatchedWritableModuleRequest + +// DcimModulesUpdateJSONRequestBody defines body for DcimModulesUpdate for application/json ContentType. +type DcimModulesUpdateJSONRequestBody = WritableModuleRequest + +// DcimModulesUpdateMultipartRequestBody defines body for DcimModulesUpdate for multipart/form-data ContentType. +type DcimModulesUpdateMultipartRequestBody = WritableModuleRequest + +// DcimPlatformsBulkDestroyJSONRequestBody defines body for DcimPlatformsBulkDestroy for application/json ContentType. +type DcimPlatformsBulkDestroyJSONRequestBody = DcimPlatformsBulkDestroyJSONBody + +// DcimPlatformsBulkDestroyMultipartRequestBody defines body for DcimPlatformsBulkDestroy for multipart/form-data ContentType. +type DcimPlatformsBulkDestroyMultipartRequestBody = DcimPlatformsBulkDestroyMultipartBody + +// DcimPlatformsBulkPartialUpdateJSONRequestBody defines body for DcimPlatformsBulkPartialUpdate for application/json ContentType. +type DcimPlatformsBulkPartialUpdateJSONRequestBody = DcimPlatformsBulkPartialUpdateJSONBody + +// DcimPlatformsBulkPartialUpdateMultipartRequestBody defines body for DcimPlatformsBulkPartialUpdate for multipart/form-data ContentType. +type DcimPlatformsBulkPartialUpdateMultipartRequestBody = DcimPlatformsBulkPartialUpdateMultipartBody + +// DcimPlatformsCreateJSONRequestBody defines body for DcimPlatformsCreate for application/json ContentType. +type DcimPlatformsCreateJSONRequestBody = WritablePlatformRequest + +// DcimPlatformsCreateMultipartRequestBody defines body for DcimPlatformsCreate for multipart/form-data ContentType. +type DcimPlatformsCreateMultipartRequestBody = WritablePlatformRequest + +// DcimPlatformsBulkUpdateJSONRequestBody defines body for DcimPlatformsBulkUpdate for application/json ContentType. +type DcimPlatformsBulkUpdateJSONRequestBody = DcimPlatformsBulkUpdateJSONBody + +// DcimPlatformsBulkUpdateMultipartRequestBody defines body for DcimPlatformsBulkUpdate for multipart/form-data ContentType. +type DcimPlatformsBulkUpdateMultipartRequestBody = DcimPlatformsBulkUpdateMultipartBody + +// DcimPlatformsPartialUpdateJSONRequestBody defines body for DcimPlatformsPartialUpdate for application/json ContentType. +type DcimPlatformsPartialUpdateJSONRequestBody = PatchedWritablePlatformRequest + +// DcimPlatformsPartialUpdateMultipartRequestBody defines body for DcimPlatformsPartialUpdate for multipart/form-data ContentType. +type DcimPlatformsPartialUpdateMultipartRequestBody = PatchedWritablePlatformRequest + +// DcimPlatformsUpdateJSONRequestBody defines body for DcimPlatformsUpdate for application/json ContentType. +type DcimPlatformsUpdateJSONRequestBody = WritablePlatformRequest + +// DcimPlatformsUpdateMultipartRequestBody defines body for DcimPlatformsUpdate for multipart/form-data ContentType. +type DcimPlatformsUpdateMultipartRequestBody = WritablePlatformRequest + +// DcimPowerFeedsBulkDestroyJSONRequestBody defines body for DcimPowerFeedsBulkDestroy for application/json ContentType. +type DcimPowerFeedsBulkDestroyJSONRequestBody = DcimPowerFeedsBulkDestroyJSONBody + +// DcimPowerFeedsBulkDestroyMultipartRequestBody defines body for DcimPowerFeedsBulkDestroy for multipart/form-data ContentType. +type DcimPowerFeedsBulkDestroyMultipartRequestBody = DcimPowerFeedsBulkDestroyMultipartBody + +// DcimPowerFeedsBulkPartialUpdateJSONRequestBody defines body for DcimPowerFeedsBulkPartialUpdate for application/json ContentType. +type DcimPowerFeedsBulkPartialUpdateJSONRequestBody = DcimPowerFeedsBulkPartialUpdateJSONBody + +// DcimPowerFeedsBulkPartialUpdateMultipartRequestBody defines body for DcimPowerFeedsBulkPartialUpdate for multipart/form-data ContentType. +type DcimPowerFeedsBulkPartialUpdateMultipartRequestBody = DcimPowerFeedsBulkPartialUpdateMultipartBody + +// DcimPowerFeedsCreateJSONRequestBody defines body for DcimPowerFeedsCreate for application/json ContentType. +type DcimPowerFeedsCreateJSONRequestBody = WritablePowerFeedRequest + +// DcimPowerFeedsCreateMultipartRequestBody defines body for DcimPowerFeedsCreate for multipart/form-data ContentType. +type DcimPowerFeedsCreateMultipartRequestBody = WritablePowerFeedRequest + +// DcimPowerFeedsBulkUpdateJSONRequestBody defines body for DcimPowerFeedsBulkUpdate for application/json ContentType. +type DcimPowerFeedsBulkUpdateJSONRequestBody = DcimPowerFeedsBulkUpdateJSONBody + +// DcimPowerFeedsBulkUpdateMultipartRequestBody defines body for DcimPowerFeedsBulkUpdate for multipart/form-data ContentType. +type DcimPowerFeedsBulkUpdateMultipartRequestBody = DcimPowerFeedsBulkUpdateMultipartBody + +// DcimPowerFeedsPartialUpdateJSONRequestBody defines body for DcimPowerFeedsPartialUpdate for application/json ContentType. +type DcimPowerFeedsPartialUpdateJSONRequestBody = PatchedWritablePowerFeedRequest + +// DcimPowerFeedsPartialUpdateMultipartRequestBody defines body for DcimPowerFeedsPartialUpdate for multipart/form-data ContentType. +type DcimPowerFeedsPartialUpdateMultipartRequestBody = PatchedWritablePowerFeedRequest + +// DcimPowerFeedsUpdateJSONRequestBody defines body for DcimPowerFeedsUpdate for application/json ContentType. +type DcimPowerFeedsUpdateJSONRequestBody = WritablePowerFeedRequest + +// DcimPowerFeedsUpdateMultipartRequestBody defines body for DcimPowerFeedsUpdate for multipart/form-data ContentType. +type DcimPowerFeedsUpdateMultipartRequestBody = WritablePowerFeedRequest + +// DcimPowerOutletTemplatesBulkDestroyJSONRequestBody defines body for DcimPowerOutletTemplatesBulkDestroy for application/json ContentType. +type DcimPowerOutletTemplatesBulkDestroyJSONRequestBody = DcimPowerOutletTemplatesBulkDestroyJSONBody + +// DcimPowerOutletTemplatesBulkDestroyMultipartRequestBody defines body for DcimPowerOutletTemplatesBulkDestroy for multipart/form-data ContentType. +type DcimPowerOutletTemplatesBulkDestroyMultipartRequestBody = DcimPowerOutletTemplatesBulkDestroyMultipartBody + +// DcimPowerOutletTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimPowerOutletTemplatesBulkPartialUpdate for application/json ContentType. +type DcimPowerOutletTemplatesBulkPartialUpdateJSONRequestBody = DcimPowerOutletTemplatesBulkPartialUpdateJSONBody + +// DcimPowerOutletTemplatesBulkPartialUpdateMultipartRequestBody defines body for DcimPowerOutletTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type DcimPowerOutletTemplatesBulkPartialUpdateMultipartRequestBody = DcimPowerOutletTemplatesBulkPartialUpdateMultipartBody + +// DcimPowerOutletTemplatesCreateJSONRequestBody defines body for DcimPowerOutletTemplatesCreate for application/json ContentType. +type DcimPowerOutletTemplatesCreateJSONRequestBody = WritablePowerOutletTemplateRequest + +// DcimPowerOutletTemplatesCreateMultipartRequestBody defines body for DcimPowerOutletTemplatesCreate for multipart/form-data ContentType. +type DcimPowerOutletTemplatesCreateMultipartRequestBody = WritablePowerOutletTemplateRequest + +// DcimPowerOutletTemplatesBulkUpdateJSONRequestBody defines body for DcimPowerOutletTemplatesBulkUpdate for application/json ContentType. +type DcimPowerOutletTemplatesBulkUpdateJSONRequestBody = DcimPowerOutletTemplatesBulkUpdateJSONBody + +// DcimPowerOutletTemplatesBulkUpdateMultipartRequestBody defines body for DcimPowerOutletTemplatesBulkUpdate for multipart/form-data ContentType. +type DcimPowerOutletTemplatesBulkUpdateMultipartRequestBody = DcimPowerOutletTemplatesBulkUpdateMultipartBody + +// DcimPowerOutletTemplatesPartialUpdateJSONRequestBody defines body for DcimPowerOutletTemplatesPartialUpdate for application/json ContentType. +type DcimPowerOutletTemplatesPartialUpdateJSONRequestBody = PatchedWritablePowerOutletTemplateRequest + +// DcimPowerOutletTemplatesPartialUpdateMultipartRequestBody defines body for DcimPowerOutletTemplatesPartialUpdate for multipart/form-data ContentType. +type DcimPowerOutletTemplatesPartialUpdateMultipartRequestBody = PatchedWritablePowerOutletTemplateRequest + +// DcimPowerOutletTemplatesUpdateJSONRequestBody defines body for DcimPowerOutletTemplatesUpdate for application/json ContentType. +type DcimPowerOutletTemplatesUpdateJSONRequestBody = WritablePowerOutletTemplateRequest + +// DcimPowerOutletTemplatesUpdateMultipartRequestBody defines body for DcimPowerOutletTemplatesUpdate for multipart/form-data ContentType. +type DcimPowerOutletTemplatesUpdateMultipartRequestBody = WritablePowerOutletTemplateRequest + +// DcimPowerOutletsBulkDestroyJSONRequestBody defines body for DcimPowerOutletsBulkDestroy for application/json ContentType. +type DcimPowerOutletsBulkDestroyJSONRequestBody = DcimPowerOutletsBulkDestroyJSONBody + +// DcimPowerOutletsBulkDestroyMultipartRequestBody defines body for DcimPowerOutletsBulkDestroy for multipart/form-data ContentType. +type DcimPowerOutletsBulkDestroyMultipartRequestBody = DcimPowerOutletsBulkDestroyMultipartBody + +// DcimPowerOutletsBulkPartialUpdateJSONRequestBody defines body for DcimPowerOutletsBulkPartialUpdate for application/json ContentType. +type DcimPowerOutletsBulkPartialUpdateJSONRequestBody = DcimPowerOutletsBulkPartialUpdateJSONBody + +// DcimPowerOutletsBulkPartialUpdateMultipartRequestBody defines body for DcimPowerOutletsBulkPartialUpdate for multipart/form-data ContentType. +type DcimPowerOutletsBulkPartialUpdateMultipartRequestBody = DcimPowerOutletsBulkPartialUpdateMultipartBody + +// DcimPowerOutletsCreateJSONRequestBody defines body for DcimPowerOutletsCreate for application/json ContentType. +type DcimPowerOutletsCreateJSONRequestBody = WritablePowerOutletRequest + +// DcimPowerOutletsCreateMultipartRequestBody defines body for DcimPowerOutletsCreate for multipart/form-data ContentType. +type DcimPowerOutletsCreateMultipartRequestBody = WritablePowerOutletRequest + +// DcimPowerOutletsBulkUpdateJSONRequestBody defines body for DcimPowerOutletsBulkUpdate for application/json ContentType. +type DcimPowerOutletsBulkUpdateJSONRequestBody = DcimPowerOutletsBulkUpdateJSONBody + +// DcimPowerOutletsBulkUpdateMultipartRequestBody defines body for DcimPowerOutletsBulkUpdate for multipart/form-data ContentType. +type DcimPowerOutletsBulkUpdateMultipartRequestBody = DcimPowerOutletsBulkUpdateMultipartBody + +// DcimPowerOutletsPartialUpdateJSONRequestBody defines body for DcimPowerOutletsPartialUpdate for application/json ContentType. +type DcimPowerOutletsPartialUpdateJSONRequestBody = PatchedWritablePowerOutletRequest + +// DcimPowerOutletsPartialUpdateMultipartRequestBody defines body for DcimPowerOutletsPartialUpdate for multipart/form-data ContentType. +type DcimPowerOutletsPartialUpdateMultipartRequestBody = PatchedWritablePowerOutletRequest + +// DcimPowerOutletsUpdateJSONRequestBody defines body for DcimPowerOutletsUpdate for application/json ContentType. +type DcimPowerOutletsUpdateJSONRequestBody = WritablePowerOutletRequest + +// DcimPowerOutletsUpdateMultipartRequestBody defines body for DcimPowerOutletsUpdate for multipart/form-data ContentType. +type DcimPowerOutletsUpdateMultipartRequestBody = WritablePowerOutletRequest + +// DcimPowerPanelsBulkDestroyJSONRequestBody defines body for DcimPowerPanelsBulkDestroy for application/json ContentType. +type DcimPowerPanelsBulkDestroyJSONRequestBody = DcimPowerPanelsBulkDestroyJSONBody + +// DcimPowerPanelsBulkDestroyMultipartRequestBody defines body for DcimPowerPanelsBulkDestroy for multipart/form-data ContentType. +type DcimPowerPanelsBulkDestroyMultipartRequestBody = DcimPowerPanelsBulkDestroyMultipartBody + +// DcimPowerPanelsBulkPartialUpdateJSONRequestBody defines body for DcimPowerPanelsBulkPartialUpdate for application/json ContentType. +type DcimPowerPanelsBulkPartialUpdateJSONRequestBody = DcimPowerPanelsBulkPartialUpdateJSONBody + +// DcimPowerPanelsBulkPartialUpdateMultipartRequestBody defines body for DcimPowerPanelsBulkPartialUpdate for multipart/form-data ContentType. +type DcimPowerPanelsBulkPartialUpdateMultipartRequestBody = DcimPowerPanelsBulkPartialUpdateMultipartBody + +// DcimPowerPanelsCreateJSONRequestBody defines body for DcimPowerPanelsCreate for application/json ContentType. +type DcimPowerPanelsCreateJSONRequestBody = WritablePowerPanelRequest + +// DcimPowerPanelsCreateMultipartRequestBody defines body for DcimPowerPanelsCreate for multipart/form-data ContentType. +type DcimPowerPanelsCreateMultipartRequestBody = WritablePowerPanelRequest + +// DcimPowerPanelsBulkUpdateJSONRequestBody defines body for DcimPowerPanelsBulkUpdate for application/json ContentType. +type DcimPowerPanelsBulkUpdateJSONRequestBody = DcimPowerPanelsBulkUpdateJSONBody + +// DcimPowerPanelsBulkUpdateMultipartRequestBody defines body for DcimPowerPanelsBulkUpdate for multipart/form-data ContentType. +type DcimPowerPanelsBulkUpdateMultipartRequestBody = DcimPowerPanelsBulkUpdateMultipartBody + +// DcimPowerPanelsPartialUpdateJSONRequestBody defines body for DcimPowerPanelsPartialUpdate for application/json ContentType. +type DcimPowerPanelsPartialUpdateJSONRequestBody = PatchedWritablePowerPanelRequest + +// DcimPowerPanelsPartialUpdateMultipartRequestBody defines body for DcimPowerPanelsPartialUpdate for multipart/form-data ContentType. +type DcimPowerPanelsPartialUpdateMultipartRequestBody = PatchedWritablePowerPanelRequest + +// DcimPowerPanelsUpdateJSONRequestBody defines body for DcimPowerPanelsUpdate for application/json ContentType. +type DcimPowerPanelsUpdateJSONRequestBody = WritablePowerPanelRequest + +// DcimPowerPanelsUpdateMultipartRequestBody defines body for DcimPowerPanelsUpdate for multipart/form-data ContentType. +type DcimPowerPanelsUpdateMultipartRequestBody = WritablePowerPanelRequest + +// DcimPowerPortTemplatesBulkDestroyJSONRequestBody defines body for DcimPowerPortTemplatesBulkDestroy for application/json ContentType. +type DcimPowerPortTemplatesBulkDestroyJSONRequestBody = DcimPowerPortTemplatesBulkDestroyJSONBody + +// DcimPowerPortTemplatesBulkDestroyMultipartRequestBody defines body for DcimPowerPortTemplatesBulkDestroy for multipart/form-data ContentType. +type DcimPowerPortTemplatesBulkDestroyMultipartRequestBody = DcimPowerPortTemplatesBulkDestroyMultipartBody + +// DcimPowerPortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimPowerPortTemplatesBulkPartialUpdate for application/json ContentType. +type DcimPowerPortTemplatesBulkPartialUpdateJSONRequestBody = DcimPowerPortTemplatesBulkPartialUpdateJSONBody + +// DcimPowerPortTemplatesBulkPartialUpdateMultipartRequestBody defines body for DcimPowerPortTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type DcimPowerPortTemplatesBulkPartialUpdateMultipartRequestBody = DcimPowerPortTemplatesBulkPartialUpdateMultipartBody + +// DcimPowerPortTemplatesCreateJSONRequestBody defines body for DcimPowerPortTemplatesCreate for application/json ContentType. +type DcimPowerPortTemplatesCreateJSONRequestBody = WritablePowerPortTemplateRequest + +// DcimPowerPortTemplatesCreateMultipartRequestBody defines body for DcimPowerPortTemplatesCreate for multipart/form-data ContentType. +type DcimPowerPortTemplatesCreateMultipartRequestBody = WritablePowerPortTemplateRequest + +// DcimPowerPortTemplatesBulkUpdateJSONRequestBody defines body for DcimPowerPortTemplatesBulkUpdate for application/json ContentType. +type DcimPowerPortTemplatesBulkUpdateJSONRequestBody = DcimPowerPortTemplatesBulkUpdateJSONBody + +// DcimPowerPortTemplatesBulkUpdateMultipartRequestBody defines body for DcimPowerPortTemplatesBulkUpdate for multipart/form-data ContentType. +type DcimPowerPortTemplatesBulkUpdateMultipartRequestBody = DcimPowerPortTemplatesBulkUpdateMultipartBody + +// DcimPowerPortTemplatesPartialUpdateJSONRequestBody defines body for DcimPowerPortTemplatesPartialUpdate for application/json ContentType. +type DcimPowerPortTemplatesPartialUpdateJSONRequestBody = PatchedWritablePowerPortTemplateRequest + +// DcimPowerPortTemplatesPartialUpdateMultipartRequestBody defines body for DcimPowerPortTemplatesPartialUpdate for multipart/form-data ContentType. +type DcimPowerPortTemplatesPartialUpdateMultipartRequestBody = PatchedWritablePowerPortTemplateRequest + +// DcimPowerPortTemplatesUpdateJSONRequestBody defines body for DcimPowerPortTemplatesUpdate for application/json ContentType. +type DcimPowerPortTemplatesUpdateJSONRequestBody = WritablePowerPortTemplateRequest + +// DcimPowerPortTemplatesUpdateMultipartRequestBody defines body for DcimPowerPortTemplatesUpdate for multipart/form-data ContentType. +type DcimPowerPortTemplatesUpdateMultipartRequestBody = WritablePowerPortTemplateRequest + +// DcimPowerPortsBulkDestroyJSONRequestBody defines body for DcimPowerPortsBulkDestroy for application/json ContentType. +type DcimPowerPortsBulkDestroyJSONRequestBody = DcimPowerPortsBulkDestroyJSONBody + +// DcimPowerPortsBulkDestroyMultipartRequestBody defines body for DcimPowerPortsBulkDestroy for multipart/form-data ContentType. +type DcimPowerPortsBulkDestroyMultipartRequestBody = DcimPowerPortsBulkDestroyMultipartBody + +// DcimPowerPortsBulkPartialUpdateJSONRequestBody defines body for DcimPowerPortsBulkPartialUpdate for application/json ContentType. +type DcimPowerPortsBulkPartialUpdateJSONRequestBody = DcimPowerPortsBulkPartialUpdateJSONBody + +// DcimPowerPortsBulkPartialUpdateMultipartRequestBody defines body for DcimPowerPortsBulkPartialUpdate for multipart/form-data ContentType. +type DcimPowerPortsBulkPartialUpdateMultipartRequestBody = DcimPowerPortsBulkPartialUpdateMultipartBody + +// DcimPowerPortsCreateJSONRequestBody defines body for DcimPowerPortsCreate for application/json ContentType. +type DcimPowerPortsCreateJSONRequestBody = WritablePowerPortRequest + +// DcimPowerPortsCreateMultipartRequestBody defines body for DcimPowerPortsCreate for multipart/form-data ContentType. +type DcimPowerPortsCreateMultipartRequestBody = WritablePowerPortRequest + +// DcimPowerPortsBulkUpdateJSONRequestBody defines body for DcimPowerPortsBulkUpdate for application/json ContentType. +type DcimPowerPortsBulkUpdateJSONRequestBody = DcimPowerPortsBulkUpdateJSONBody + +// DcimPowerPortsBulkUpdateMultipartRequestBody defines body for DcimPowerPortsBulkUpdate for multipart/form-data ContentType. +type DcimPowerPortsBulkUpdateMultipartRequestBody = DcimPowerPortsBulkUpdateMultipartBody + +// DcimPowerPortsPartialUpdateJSONRequestBody defines body for DcimPowerPortsPartialUpdate for application/json ContentType. +type DcimPowerPortsPartialUpdateJSONRequestBody = PatchedWritablePowerPortRequest + +// DcimPowerPortsPartialUpdateMultipartRequestBody defines body for DcimPowerPortsPartialUpdate for multipart/form-data ContentType. +type DcimPowerPortsPartialUpdateMultipartRequestBody = PatchedWritablePowerPortRequest + +// DcimPowerPortsUpdateJSONRequestBody defines body for DcimPowerPortsUpdate for application/json ContentType. +type DcimPowerPortsUpdateJSONRequestBody = WritablePowerPortRequest + +// DcimPowerPortsUpdateMultipartRequestBody defines body for DcimPowerPortsUpdate for multipart/form-data ContentType. +type DcimPowerPortsUpdateMultipartRequestBody = WritablePowerPortRequest + +// DcimRackReservationsBulkDestroyJSONRequestBody defines body for DcimRackReservationsBulkDestroy for application/json ContentType. +type DcimRackReservationsBulkDestroyJSONRequestBody = DcimRackReservationsBulkDestroyJSONBody + +// DcimRackReservationsBulkDestroyMultipartRequestBody defines body for DcimRackReservationsBulkDestroy for multipart/form-data ContentType. +type DcimRackReservationsBulkDestroyMultipartRequestBody = DcimRackReservationsBulkDestroyMultipartBody + +// DcimRackReservationsBulkPartialUpdateJSONRequestBody defines body for DcimRackReservationsBulkPartialUpdate for application/json ContentType. +type DcimRackReservationsBulkPartialUpdateJSONRequestBody = DcimRackReservationsBulkPartialUpdateJSONBody + +// DcimRackReservationsBulkPartialUpdateMultipartRequestBody defines body for DcimRackReservationsBulkPartialUpdate for multipart/form-data ContentType. +type DcimRackReservationsBulkPartialUpdateMultipartRequestBody = DcimRackReservationsBulkPartialUpdateMultipartBody + +// DcimRackReservationsCreateJSONRequestBody defines body for DcimRackReservationsCreate for application/json ContentType. +type DcimRackReservationsCreateJSONRequestBody = WritableRackReservationRequest + +// DcimRackReservationsCreateMultipartRequestBody defines body for DcimRackReservationsCreate for multipart/form-data ContentType. +type DcimRackReservationsCreateMultipartRequestBody = WritableRackReservationRequest + +// DcimRackReservationsBulkUpdateJSONRequestBody defines body for DcimRackReservationsBulkUpdate for application/json ContentType. +type DcimRackReservationsBulkUpdateJSONRequestBody = DcimRackReservationsBulkUpdateJSONBody + +// DcimRackReservationsBulkUpdateMultipartRequestBody defines body for DcimRackReservationsBulkUpdate for multipart/form-data ContentType. +type DcimRackReservationsBulkUpdateMultipartRequestBody = DcimRackReservationsBulkUpdateMultipartBody + +// DcimRackReservationsPartialUpdateJSONRequestBody defines body for DcimRackReservationsPartialUpdate for application/json ContentType. +type DcimRackReservationsPartialUpdateJSONRequestBody = PatchedWritableRackReservationRequest + +// DcimRackReservationsPartialUpdateMultipartRequestBody defines body for DcimRackReservationsPartialUpdate for multipart/form-data ContentType. +type DcimRackReservationsPartialUpdateMultipartRequestBody = PatchedWritableRackReservationRequest + +// DcimRackReservationsUpdateJSONRequestBody defines body for DcimRackReservationsUpdate for application/json ContentType. +type DcimRackReservationsUpdateJSONRequestBody = WritableRackReservationRequest + +// DcimRackReservationsUpdateMultipartRequestBody defines body for DcimRackReservationsUpdate for multipart/form-data ContentType. +type DcimRackReservationsUpdateMultipartRequestBody = WritableRackReservationRequest + +// DcimRackRolesBulkDestroyJSONRequestBody defines body for DcimRackRolesBulkDestroy for application/json ContentType. +type DcimRackRolesBulkDestroyJSONRequestBody = DcimRackRolesBulkDestroyJSONBody + +// DcimRackRolesBulkDestroyMultipartRequestBody defines body for DcimRackRolesBulkDestroy for multipart/form-data ContentType. +type DcimRackRolesBulkDestroyMultipartRequestBody = DcimRackRolesBulkDestroyMultipartBody + +// DcimRackRolesBulkPartialUpdateJSONRequestBody defines body for DcimRackRolesBulkPartialUpdate for application/json ContentType. +type DcimRackRolesBulkPartialUpdateJSONRequestBody = DcimRackRolesBulkPartialUpdateJSONBody + +// DcimRackRolesBulkPartialUpdateMultipartRequestBody defines body for DcimRackRolesBulkPartialUpdate for multipart/form-data ContentType. +type DcimRackRolesBulkPartialUpdateMultipartRequestBody = DcimRackRolesBulkPartialUpdateMultipartBody + +// DcimRackRolesCreateJSONRequestBody defines body for DcimRackRolesCreate for application/json ContentType. +type DcimRackRolesCreateJSONRequestBody = RackRoleRequest + +// DcimRackRolesCreateMultipartRequestBody defines body for DcimRackRolesCreate for multipart/form-data ContentType. +type DcimRackRolesCreateMultipartRequestBody = RackRoleRequest + +// DcimRackRolesBulkUpdateJSONRequestBody defines body for DcimRackRolesBulkUpdate for application/json ContentType. +type DcimRackRolesBulkUpdateJSONRequestBody = DcimRackRolesBulkUpdateJSONBody + +// DcimRackRolesBulkUpdateMultipartRequestBody defines body for DcimRackRolesBulkUpdate for multipart/form-data ContentType. +type DcimRackRolesBulkUpdateMultipartRequestBody = DcimRackRolesBulkUpdateMultipartBody + +// DcimRackRolesPartialUpdateJSONRequestBody defines body for DcimRackRolesPartialUpdate for application/json ContentType. +type DcimRackRolesPartialUpdateJSONRequestBody = PatchedRackRoleRequest + +// DcimRackRolesPartialUpdateMultipartRequestBody defines body for DcimRackRolesPartialUpdate for multipart/form-data ContentType. +type DcimRackRolesPartialUpdateMultipartRequestBody = PatchedRackRoleRequest + +// DcimRackRolesUpdateJSONRequestBody defines body for DcimRackRolesUpdate for application/json ContentType. +type DcimRackRolesUpdateJSONRequestBody = RackRoleRequest + +// DcimRackRolesUpdateMultipartRequestBody defines body for DcimRackRolesUpdate for multipart/form-data ContentType. +type DcimRackRolesUpdateMultipartRequestBody = RackRoleRequest + +// DcimRacksBulkDestroyJSONRequestBody defines body for DcimRacksBulkDestroy for application/json ContentType. +type DcimRacksBulkDestroyJSONRequestBody = DcimRacksBulkDestroyJSONBody + +// DcimRacksBulkDestroyMultipartRequestBody defines body for DcimRacksBulkDestroy for multipart/form-data ContentType. +type DcimRacksBulkDestroyMultipartRequestBody = DcimRacksBulkDestroyMultipartBody + +// DcimRacksBulkPartialUpdateJSONRequestBody defines body for DcimRacksBulkPartialUpdate for application/json ContentType. +type DcimRacksBulkPartialUpdateJSONRequestBody = DcimRacksBulkPartialUpdateJSONBody + +// DcimRacksBulkPartialUpdateMultipartRequestBody defines body for DcimRacksBulkPartialUpdate for multipart/form-data ContentType. +type DcimRacksBulkPartialUpdateMultipartRequestBody = DcimRacksBulkPartialUpdateMultipartBody + +// DcimRacksCreateJSONRequestBody defines body for DcimRacksCreate for application/json ContentType. +type DcimRacksCreateJSONRequestBody = WritableRackRequest + +// DcimRacksCreateMultipartRequestBody defines body for DcimRacksCreate for multipart/form-data ContentType. +type DcimRacksCreateMultipartRequestBody = WritableRackRequest + +// DcimRacksBulkUpdateJSONRequestBody defines body for DcimRacksBulkUpdate for application/json ContentType. +type DcimRacksBulkUpdateJSONRequestBody = DcimRacksBulkUpdateJSONBody + +// DcimRacksBulkUpdateMultipartRequestBody defines body for DcimRacksBulkUpdate for multipart/form-data ContentType. +type DcimRacksBulkUpdateMultipartRequestBody = DcimRacksBulkUpdateMultipartBody + +// DcimRacksPartialUpdateJSONRequestBody defines body for DcimRacksPartialUpdate for application/json ContentType. +type DcimRacksPartialUpdateJSONRequestBody = PatchedWritableRackRequest + +// DcimRacksPartialUpdateMultipartRequestBody defines body for DcimRacksPartialUpdate for multipart/form-data ContentType. +type DcimRacksPartialUpdateMultipartRequestBody = PatchedWritableRackRequest + +// DcimRacksUpdateJSONRequestBody defines body for DcimRacksUpdate for application/json ContentType. +type DcimRacksUpdateJSONRequestBody = WritableRackRequest + +// DcimRacksUpdateMultipartRequestBody defines body for DcimRacksUpdate for multipart/form-data ContentType. +type DcimRacksUpdateMultipartRequestBody = WritableRackRequest + +// DcimRearPortTemplatesBulkDestroyJSONRequestBody defines body for DcimRearPortTemplatesBulkDestroy for application/json ContentType. +type DcimRearPortTemplatesBulkDestroyJSONRequestBody = DcimRearPortTemplatesBulkDestroyJSONBody + +// DcimRearPortTemplatesBulkDestroyMultipartRequestBody defines body for DcimRearPortTemplatesBulkDestroy for multipart/form-data ContentType. +type DcimRearPortTemplatesBulkDestroyMultipartRequestBody = DcimRearPortTemplatesBulkDestroyMultipartBody + +// DcimRearPortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimRearPortTemplatesBulkPartialUpdate for application/json ContentType. +type DcimRearPortTemplatesBulkPartialUpdateJSONRequestBody = DcimRearPortTemplatesBulkPartialUpdateJSONBody + +// DcimRearPortTemplatesBulkPartialUpdateMultipartRequestBody defines body for DcimRearPortTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type DcimRearPortTemplatesBulkPartialUpdateMultipartRequestBody = DcimRearPortTemplatesBulkPartialUpdateMultipartBody + +// DcimRearPortTemplatesCreateJSONRequestBody defines body for DcimRearPortTemplatesCreate for application/json ContentType. +type DcimRearPortTemplatesCreateJSONRequestBody = WritableRearPortTemplateRequest + +// DcimRearPortTemplatesCreateMultipartRequestBody defines body for DcimRearPortTemplatesCreate for multipart/form-data ContentType. +type DcimRearPortTemplatesCreateMultipartRequestBody = WritableRearPortTemplateRequest + +// DcimRearPortTemplatesBulkUpdateJSONRequestBody defines body for DcimRearPortTemplatesBulkUpdate for application/json ContentType. +type DcimRearPortTemplatesBulkUpdateJSONRequestBody = DcimRearPortTemplatesBulkUpdateJSONBody + +// DcimRearPortTemplatesBulkUpdateMultipartRequestBody defines body for DcimRearPortTemplatesBulkUpdate for multipart/form-data ContentType. +type DcimRearPortTemplatesBulkUpdateMultipartRequestBody = DcimRearPortTemplatesBulkUpdateMultipartBody + +// DcimRearPortTemplatesPartialUpdateJSONRequestBody defines body for DcimRearPortTemplatesPartialUpdate for application/json ContentType. +type DcimRearPortTemplatesPartialUpdateJSONRequestBody = PatchedWritableRearPortTemplateRequest + +// DcimRearPortTemplatesPartialUpdateMultipartRequestBody defines body for DcimRearPortTemplatesPartialUpdate for multipart/form-data ContentType. +type DcimRearPortTemplatesPartialUpdateMultipartRequestBody = PatchedWritableRearPortTemplateRequest + +// DcimRearPortTemplatesUpdateJSONRequestBody defines body for DcimRearPortTemplatesUpdate for application/json ContentType. +type DcimRearPortTemplatesUpdateJSONRequestBody = WritableRearPortTemplateRequest + +// DcimRearPortTemplatesUpdateMultipartRequestBody defines body for DcimRearPortTemplatesUpdate for multipart/form-data ContentType. +type DcimRearPortTemplatesUpdateMultipartRequestBody = WritableRearPortTemplateRequest + +// DcimRearPortsBulkDestroyJSONRequestBody defines body for DcimRearPortsBulkDestroy for application/json ContentType. +type DcimRearPortsBulkDestroyJSONRequestBody = DcimRearPortsBulkDestroyJSONBody + +// DcimRearPortsBulkDestroyMultipartRequestBody defines body for DcimRearPortsBulkDestroy for multipart/form-data ContentType. +type DcimRearPortsBulkDestroyMultipartRequestBody = DcimRearPortsBulkDestroyMultipartBody + +// DcimRearPortsBulkPartialUpdateJSONRequestBody defines body for DcimRearPortsBulkPartialUpdate for application/json ContentType. +type DcimRearPortsBulkPartialUpdateJSONRequestBody = DcimRearPortsBulkPartialUpdateJSONBody + +// DcimRearPortsBulkPartialUpdateMultipartRequestBody defines body for DcimRearPortsBulkPartialUpdate for multipart/form-data ContentType. +type DcimRearPortsBulkPartialUpdateMultipartRequestBody = DcimRearPortsBulkPartialUpdateMultipartBody + +// DcimRearPortsCreateJSONRequestBody defines body for DcimRearPortsCreate for application/json ContentType. +type DcimRearPortsCreateJSONRequestBody = WritableRearPortRequest + +// DcimRearPortsCreateMultipartRequestBody defines body for DcimRearPortsCreate for multipart/form-data ContentType. +type DcimRearPortsCreateMultipartRequestBody = WritableRearPortRequest + +// DcimRearPortsBulkUpdateJSONRequestBody defines body for DcimRearPortsBulkUpdate for application/json ContentType. +type DcimRearPortsBulkUpdateJSONRequestBody = DcimRearPortsBulkUpdateJSONBody + +// DcimRearPortsBulkUpdateMultipartRequestBody defines body for DcimRearPortsBulkUpdate for multipart/form-data ContentType. +type DcimRearPortsBulkUpdateMultipartRequestBody = DcimRearPortsBulkUpdateMultipartBody + +// DcimRearPortsPartialUpdateJSONRequestBody defines body for DcimRearPortsPartialUpdate for application/json ContentType. +type DcimRearPortsPartialUpdateJSONRequestBody = PatchedWritableRearPortRequest + +// DcimRearPortsPartialUpdateMultipartRequestBody defines body for DcimRearPortsPartialUpdate for multipart/form-data ContentType. +type DcimRearPortsPartialUpdateMultipartRequestBody = PatchedWritableRearPortRequest + +// DcimRearPortsUpdateJSONRequestBody defines body for DcimRearPortsUpdate for application/json ContentType. +type DcimRearPortsUpdateJSONRequestBody = WritableRearPortRequest + +// DcimRearPortsUpdateMultipartRequestBody defines body for DcimRearPortsUpdate for multipart/form-data ContentType. +type DcimRearPortsUpdateMultipartRequestBody = WritableRearPortRequest + +// DcimRegionsBulkDestroyJSONRequestBody defines body for DcimRegionsBulkDestroy for application/json ContentType. +type DcimRegionsBulkDestroyJSONRequestBody = DcimRegionsBulkDestroyJSONBody + +// DcimRegionsBulkDestroyMultipartRequestBody defines body for DcimRegionsBulkDestroy for multipart/form-data ContentType. +type DcimRegionsBulkDestroyMultipartRequestBody = DcimRegionsBulkDestroyMultipartBody + +// DcimRegionsBulkPartialUpdateJSONRequestBody defines body for DcimRegionsBulkPartialUpdate for application/json ContentType. +type DcimRegionsBulkPartialUpdateJSONRequestBody = DcimRegionsBulkPartialUpdateJSONBody + +// DcimRegionsBulkPartialUpdateMultipartRequestBody defines body for DcimRegionsBulkPartialUpdate for multipart/form-data ContentType. +type DcimRegionsBulkPartialUpdateMultipartRequestBody = DcimRegionsBulkPartialUpdateMultipartBody + +// DcimRegionsCreateJSONRequestBody defines body for DcimRegionsCreate for application/json ContentType. +type DcimRegionsCreateJSONRequestBody = WritableRegionRequest + +// DcimRegionsCreateMultipartRequestBody defines body for DcimRegionsCreate for multipart/form-data ContentType. +type DcimRegionsCreateMultipartRequestBody = WritableRegionRequest + +// DcimRegionsBulkUpdateJSONRequestBody defines body for DcimRegionsBulkUpdate for application/json ContentType. +type DcimRegionsBulkUpdateJSONRequestBody = DcimRegionsBulkUpdateJSONBody + +// DcimRegionsBulkUpdateMultipartRequestBody defines body for DcimRegionsBulkUpdate for multipart/form-data ContentType. +type DcimRegionsBulkUpdateMultipartRequestBody = DcimRegionsBulkUpdateMultipartBody + +// DcimRegionsPartialUpdateJSONRequestBody defines body for DcimRegionsPartialUpdate for application/json ContentType. +type DcimRegionsPartialUpdateJSONRequestBody = PatchedWritableRegionRequest + +// DcimRegionsPartialUpdateMultipartRequestBody defines body for DcimRegionsPartialUpdate for multipart/form-data ContentType. +type DcimRegionsPartialUpdateMultipartRequestBody = PatchedWritableRegionRequest + +// DcimRegionsUpdateJSONRequestBody defines body for DcimRegionsUpdate for application/json ContentType. +type DcimRegionsUpdateJSONRequestBody = WritableRegionRequest + +// DcimRegionsUpdateMultipartRequestBody defines body for DcimRegionsUpdate for multipart/form-data ContentType. +type DcimRegionsUpdateMultipartRequestBody = WritableRegionRequest + +// DcimSiteGroupsBulkDestroyJSONRequestBody defines body for DcimSiteGroupsBulkDestroy for application/json ContentType. +type DcimSiteGroupsBulkDestroyJSONRequestBody = DcimSiteGroupsBulkDestroyJSONBody + +// DcimSiteGroupsBulkDestroyMultipartRequestBody defines body for DcimSiteGroupsBulkDestroy for multipart/form-data ContentType. +type DcimSiteGroupsBulkDestroyMultipartRequestBody = DcimSiteGroupsBulkDestroyMultipartBody + +// DcimSiteGroupsBulkPartialUpdateJSONRequestBody defines body for DcimSiteGroupsBulkPartialUpdate for application/json ContentType. +type DcimSiteGroupsBulkPartialUpdateJSONRequestBody = DcimSiteGroupsBulkPartialUpdateJSONBody + +// DcimSiteGroupsBulkPartialUpdateMultipartRequestBody defines body for DcimSiteGroupsBulkPartialUpdate for multipart/form-data ContentType. +type DcimSiteGroupsBulkPartialUpdateMultipartRequestBody = DcimSiteGroupsBulkPartialUpdateMultipartBody + +// DcimSiteGroupsCreateJSONRequestBody defines body for DcimSiteGroupsCreate for application/json ContentType. +type DcimSiteGroupsCreateJSONRequestBody = WritableSiteGroupRequest + +// DcimSiteGroupsCreateMultipartRequestBody defines body for DcimSiteGroupsCreate for multipart/form-data ContentType. +type DcimSiteGroupsCreateMultipartRequestBody = WritableSiteGroupRequest + +// DcimSiteGroupsBulkUpdateJSONRequestBody defines body for DcimSiteGroupsBulkUpdate for application/json ContentType. +type DcimSiteGroupsBulkUpdateJSONRequestBody = DcimSiteGroupsBulkUpdateJSONBody + +// DcimSiteGroupsBulkUpdateMultipartRequestBody defines body for DcimSiteGroupsBulkUpdate for multipart/form-data ContentType. +type DcimSiteGroupsBulkUpdateMultipartRequestBody = DcimSiteGroupsBulkUpdateMultipartBody + +// DcimSiteGroupsPartialUpdateJSONRequestBody defines body for DcimSiteGroupsPartialUpdate for application/json ContentType. +type DcimSiteGroupsPartialUpdateJSONRequestBody = PatchedWritableSiteGroupRequest + +// DcimSiteGroupsPartialUpdateMultipartRequestBody defines body for DcimSiteGroupsPartialUpdate for multipart/form-data ContentType. +type DcimSiteGroupsPartialUpdateMultipartRequestBody = PatchedWritableSiteGroupRequest + +// DcimSiteGroupsUpdateJSONRequestBody defines body for DcimSiteGroupsUpdate for application/json ContentType. +type DcimSiteGroupsUpdateJSONRequestBody = WritableSiteGroupRequest + +// DcimSiteGroupsUpdateMultipartRequestBody defines body for DcimSiteGroupsUpdate for multipart/form-data ContentType. +type DcimSiteGroupsUpdateMultipartRequestBody = WritableSiteGroupRequest + +// DcimSitesBulkDestroyJSONRequestBody defines body for DcimSitesBulkDestroy for application/json ContentType. +type DcimSitesBulkDestroyJSONRequestBody = DcimSitesBulkDestroyJSONBody + +// DcimSitesBulkDestroyMultipartRequestBody defines body for DcimSitesBulkDestroy for multipart/form-data ContentType. +type DcimSitesBulkDestroyMultipartRequestBody = DcimSitesBulkDestroyMultipartBody + +// DcimSitesBulkPartialUpdateJSONRequestBody defines body for DcimSitesBulkPartialUpdate for application/json ContentType. +type DcimSitesBulkPartialUpdateJSONRequestBody = DcimSitesBulkPartialUpdateJSONBody + +// DcimSitesBulkPartialUpdateMultipartRequestBody defines body for DcimSitesBulkPartialUpdate for multipart/form-data ContentType. +type DcimSitesBulkPartialUpdateMultipartRequestBody = DcimSitesBulkPartialUpdateMultipartBody + +// DcimSitesCreateJSONRequestBody defines body for DcimSitesCreate for application/json ContentType. +type DcimSitesCreateJSONRequestBody = WritableSiteRequest + +// DcimSitesCreateMultipartRequestBody defines body for DcimSitesCreate for multipart/form-data ContentType. +type DcimSitesCreateMultipartRequestBody = WritableSiteRequest + +// DcimSitesBulkUpdateJSONRequestBody defines body for DcimSitesBulkUpdate for application/json ContentType. +type DcimSitesBulkUpdateJSONRequestBody = DcimSitesBulkUpdateJSONBody + +// DcimSitesBulkUpdateMultipartRequestBody defines body for DcimSitesBulkUpdate for multipart/form-data ContentType. +type DcimSitesBulkUpdateMultipartRequestBody = DcimSitesBulkUpdateMultipartBody + +// DcimSitesPartialUpdateJSONRequestBody defines body for DcimSitesPartialUpdate for application/json ContentType. +type DcimSitesPartialUpdateJSONRequestBody = PatchedWritableSiteRequest + +// DcimSitesPartialUpdateMultipartRequestBody defines body for DcimSitesPartialUpdate for multipart/form-data ContentType. +type DcimSitesPartialUpdateMultipartRequestBody = PatchedWritableSiteRequest + +// DcimSitesUpdateJSONRequestBody defines body for DcimSitesUpdate for application/json ContentType. +type DcimSitesUpdateJSONRequestBody = WritableSiteRequest + +// DcimSitesUpdateMultipartRequestBody defines body for DcimSitesUpdate for multipart/form-data ContentType. +type DcimSitesUpdateMultipartRequestBody = WritableSiteRequest + +// DcimVirtualChassisBulkDestroyJSONRequestBody defines body for DcimVirtualChassisBulkDestroy for application/json ContentType. +type DcimVirtualChassisBulkDestroyJSONRequestBody = DcimVirtualChassisBulkDestroyJSONBody + +// DcimVirtualChassisBulkDestroyMultipartRequestBody defines body for DcimVirtualChassisBulkDestroy for multipart/form-data ContentType. +type DcimVirtualChassisBulkDestroyMultipartRequestBody = DcimVirtualChassisBulkDestroyMultipartBody + +// DcimVirtualChassisBulkPartialUpdateJSONRequestBody defines body for DcimVirtualChassisBulkPartialUpdate for application/json ContentType. +type DcimVirtualChassisBulkPartialUpdateJSONRequestBody = DcimVirtualChassisBulkPartialUpdateJSONBody + +// DcimVirtualChassisBulkPartialUpdateMultipartRequestBody defines body for DcimVirtualChassisBulkPartialUpdate for multipart/form-data ContentType. +type DcimVirtualChassisBulkPartialUpdateMultipartRequestBody = DcimVirtualChassisBulkPartialUpdateMultipartBody + +// DcimVirtualChassisCreateJSONRequestBody defines body for DcimVirtualChassisCreate for application/json ContentType. +type DcimVirtualChassisCreateJSONRequestBody = WritableVirtualChassisRequest + +// DcimVirtualChassisCreateMultipartRequestBody defines body for DcimVirtualChassisCreate for multipart/form-data ContentType. +type DcimVirtualChassisCreateMultipartRequestBody = WritableVirtualChassisRequest + +// DcimVirtualChassisBulkUpdateJSONRequestBody defines body for DcimVirtualChassisBulkUpdate for application/json ContentType. +type DcimVirtualChassisBulkUpdateJSONRequestBody = DcimVirtualChassisBulkUpdateJSONBody + +// DcimVirtualChassisBulkUpdateMultipartRequestBody defines body for DcimVirtualChassisBulkUpdate for multipart/form-data ContentType. +type DcimVirtualChassisBulkUpdateMultipartRequestBody = DcimVirtualChassisBulkUpdateMultipartBody + +// DcimVirtualChassisPartialUpdateJSONRequestBody defines body for DcimVirtualChassisPartialUpdate for application/json ContentType. +type DcimVirtualChassisPartialUpdateJSONRequestBody = PatchedWritableVirtualChassisRequest + +// DcimVirtualChassisPartialUpdateMultipartRequestBody defines body for DcimVirtualChassisPartialUpdate for multipart/form-data ContentType. +type DcimVirtualChassisPartialUpdateMultipartRequestBody = PatchedWritableVirtualChassisRequest + +// DcimVirtualChassisUpdateJSONRequestBody defines body for DcimVirtualChassisUpdate for application/json ContentType. +type DcimVirtualChassisUpdateJSONRequestBody = WritableVirtualChassisRequest + +// DcimVirtualChassisUpdateMultipartRequestBody defines body for DcimVirtualChassisUpdate for multipart/form-data ContentType. +type DcimVirtualChassisUpdateMultipartRequestBody = WritableVirtualChassisRequest + +// DcimVirtualDeviceContextsBulkDestroyJSONRequestBody defines body for DcimVirtualDeviceContextsBulkDestroy for application/json ContentType. +type DcimVirtualDeviceContextsBulkDestroyJSONRequestBody = DcimVirtualDeviceContextsBulkDestroyJSONBody + +// DcimVirtualDeviceContextsBulkDestroyMultipartRequestBody defines body for DcimVirtualDeviceContextsBulkDestroy for multipart/form-data ContentType. +type DcimVirtualDeviceContextsBulkDestroyMultipartRequestBody = DcimVirtualDeviceContextsBulkDestroyMultipartBody + +// DcimVirtualDeviceContextsBulkPartialUpdateJSONRequestBody defines body for DcimVirtualDeviceContextsBulkPartialUpdate for application/json ContentType. +type DcimVirtualDeviceContextsBulkPartialUpdateJSONRequestBody = DcimVirtualDeviceContextsBulkPartialUpdateJSONBody + +// DcimVirtualDeviceContextsBulkPartialUpdateMultipartRequestBody defines body for DcimVirtualDeviceContextsBulkPartialUpdate for multipart/form-data ContentType. +type DcimVirtualDeviceContextsBulkPartialUpdateMultipartRequestBody = DcimVirtualDeviceContextsBulkPartialUpdateMultipartBody + +// DcimVirtualDeviceContextsCreateJSONRequestBody defines body for DcimVirtualDeviceContextsCreate for application/json ContentType. +type DcimVirtualDeviceContextsCreateJSONRequestBody = WritableVirtualDeviceContextRequest + +// DcimVirtualDeviceContextsCreateMultipartRequestBody defines body for DcimVirtualDeviceContextsCreate for multipart/form-data ContentType. +type DcimVirtualDeviceContextsCreateMultipartRequestBody = WritableVirtualDeviceContextRequest + +// DcimVirtualDeviceContextsBulkUpdateJSONRequestBody defines body for DcimVirtualDeviceContextsBulkUpdate for application/json ContentType. +type DcimVirtualDeviceContextsBulkUpdateJSONRequestBody = DcimVirtualDeviceContextsBulkUpdateJSONBody + +// DcimVirtualDeviceContextsBulkUpdateMultipartRequestBody defines body for DcimVirtualDeviceContextsBulkUpdate for multipart/form-data ContentType. +type DcimVirtualDeviceContextsBulkUpdateMultipartRequestBody = DcimVirtualDeviceContextsBulkUpdateMultipartBody + +// DcimVirtualDeviceContextsPartialUpdateJSONRequestBody defines body for DcimVirtualDeviceContextsPartialUpdate for application/json ContentType. +type DcimVirtualDeviceContextsPartialUpdateJSONRequestBody = PatchedWritableVirtualDeviceContextRequest + +// DcimVirtualDeviceContextsPartialUpdateMultipartRequestBody defines body for DcimVirtualDeviceContextsPartialUpdate for multipart/form-data ContentType. +type DcimVirtualDeviceContextsPartialUpdateMultipartRequestBody = PatchedWritableVirtualDeviceContextRequest + +// DcimVirtualDeviceContextsUpdateJSONRequestBody defines body for DcimVirtualDeviceContextsUpdate for application/json ContentType. +type DcimVirtualDeviceContextsUpdateJSONRequestBody = WritableVirtualDeviceContextRequest + +// DcimVirtualDeviceContextsUpdateMultipartRequestBody defines body for DcimVirtualDeviceContextsUpdate for multipart/form-data ContentType. +type DcimVirtualDeviceContextsUpdateMultipartRequestBody = WritableVirtualDeviceContextRequest + +// ExtrasBookmarksBulkDestroyJSONRequestBody defines body for ExtrasBookmarksBulkDestroy for application/json ContentType. +type ExtrasBookmarksBulkDestroyJSONRequestBody = ExtrasBookmarksBulkDestroyJSONBody + +// ExtrasBookmarksBulkDestroyMultipartRequestBody defines body for ExtrasBookmarksBulkDestroy for multipart/form-data ContentType. +type ExtrasBookmarksBulkDestroyMultipartRequestBody = ExtrasBookmarksBulkDestroyMultipartBody + +// ExtrasBookmarksBulkPartialUpdateJSONRequestBody defines body for ExtrasBookmarksBulkPartialUpdate for application/json ContentType. +type ExtrasBookmarksBulkPartialUpdateJSONRequestBody = ExtrasBookmarksBulkPartialUpdateJSONBody + +// ExtrasBookmarksBulkPartialUpdateMultipartRequestBody defines body for ExtrasBookmarksBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasBookmarksBulkPartialUpdateMultipartRequestBody = ExtrasBookmarksBulkPartialUpdateMultipartBody + +// ExtrasBookmarksCreateJSONRequestBody defines body for ExtrasBookmarksCreate for application/json ContentType. +type ExtrasBookmarksCreateJSONRequestBody = WritableBookmarkRequest + +// ExtrasBookmarksCreateMultipartRequestBody defines body for ExtrasBookmarksCreate for multipart/form-data ContentType. +type ExtrasBookmarksCreateMultipartRequestBody = WritableBookmarkRequest + +// ExtrasBookmarksBulkUpdateJSONRequestBody defines body for ExtrasBookmarksBulkUpdate for application/json ContentType. +type ExtrasBookmarksBulkUpdateJSONRequestBody = ExtrasBookmarksBulkUpdateJSONBody + +// ExtrasBookmarksBulkUpdateMultipartRequestBody defines body for ExtrasBookmarksBulkUpdate for multipart/form-data ContentType. +type ExtrasBookmarksBulkUpdateMultipartRequestBody = ExtrasBookmarksBulkUpdateMultipartBody + +// ExtrasBookmarksPartialUpdateJSONRequestBody defines body for ExtrasBookmarksPartialUpdate for application/json ContentType. +type ExtrasBookmarksPartialUpdateJSONRequestBody = PatchedWritableBookmarkRequest + +// ExtrasBookmarksPartialUpdateMultipartRequestBody defines body for ExtrasBookmarksPartialUpdate for multipart/form-data ContentType. +type ExtrasBookmarksPartialUpdateMultipartRequestBody = PatchedWritableBookmarkRequest + +// ExtrasBookmarksUpdateJSONRequestBody defines body for ExtrasBookmarksUpdate for application/json ContentType. +type ExtrasBookmarksUpdateJSONRequestBody = WritableBookmarkRequest + +// ExtrasBookmarksUpdateMultipartRequestBody defines body for ExtrasBookmarksUpdate for multipart/form-data ContentType. +type ExtrasBookmarksUpdateMultipartRequestBody = WritableBookmarkRequest + +// ExtrasConfigContextsBulkDestroyJSONRequestBody defines body for ExtrasConfigContextsBulkDestroy for application/json ContentType. +type ExtrasConfigContextsBulkDestroyJSONRequestBody = ExtrasConfigContextsBulkDestroyJSONBody + +// ExtrasConfigContextsBulkDestroyMultipartRequestBody defines body for ExtrasConfigContextsBulkDestroy for multipart/form-data ContentType. +type ExtrasConfigContextsBulkDestroyMultipartRequestBody = ExtrasConfigContextsBulkDestroyMultipartBody + +// ExtrasConfigContextsBulkPartialUpdateJSONRequestBody defines body for ExtrasConfigContextsBulkPartialUpdate for application/json ContentType. +type ExtrasConfigContextsBulkPartialUpdateJSONRequestBody = ExtrasConfigContextsBulkPartialUpdateJSONBody + +// ExtrasConfigContextsBulkPartialUpdateMultipartRequestBody defines body for ExtrasConfigContextsBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasConfigContextsBulkPartialUpdateMultipartRequestBody = ExtrasConfigContextsBulkPartialUpdateMultipartBody + +// ExtrasConfigContextsCreateJSONRequestBody defines body for ExtrasConfigContextsCreate for application/json ContentType. +type ExtrasConfigContextsCreateJSONRequestBody = WritableConfigContextRequest + +// ExtrasConfigContextsCreateMultipartRequestBody defines body for ExtrasConfigContextsCreate for multipart/form-data ContentType. +type ExtrasConfigContextsCreateMultipartRequestBody = WritableConfigContextRequest + +// ExtrasConfigContextsBulkUpdateJSONRequestBody defines body for ExtrasConfigContextsBulkUpdate for application/json ContentType. +type ExtrasConfigContextsBulkUpdateJSONRequestBody = ExtrasConfigContextsBulkUpdateJSONBody + +// ExtrasConfigContextsBulkUpdateMultipartRequestBody defines body for ExtrasConfigContextsBulkUpdate for multipart/form-data ContentType. +type ExtrasConfigContextsBulkUpdateMultipartRequestBody = ExtrasConfigContextsBulkUpdateMultipartBody + +// ExtrasConfigContextsPartialUpdateJSONRequestBody defines body for ExtrasConfigContextsPartialUpdate for application/json ContentType. +type ExtrasConfigContextsPartialUpdateJSONRequestBody = PatchedWritableConfigContextRequest + +// ExtrasConfigContextsPartialUpdateMultipartRequestBody defines body for ExtrasConfigContextsPartialUpdate for multipart/form-data ContentType. +type ExtrasConfigContextsPartialUpdateMultipartRequestBody = PatchedWritableConfigContextRequest + +// ExtrasConfigContextsUpdateJSONRequestBody defines body for ExtrasConfigContextsUpdate for application/json ContentType. +type ExtrasConfigContextsUpdateJSONRequestBody = WritableConfigContextRequest + +// ExtrasConfigContextsUpdateMultipartRequestBody defines body for ExtrasConfigContextsUpdate for multipart/form-data ContentType. +type ExtrasConfigContextsUpdateMultipartRequestBody = WritableConfigContextRequest + +// ExtrasConfigContextsSyncCreateJSONRequestBody defines body for ExtrasConfigContextsSyncCreate for application/json ContentType. +type ExtrasConfigContextsSyncCreateJSONRequestBody = WritableConfigContextRequest + +// ExtrasConfigContextsSyncCreateMultipartRequestBody defines body for ExtrasConfigContextsSyncCreate for multipart/form-data ContentType. +type ExtrasConfigContextsSyncCreateMultipartRequestBody = WritableConfigContextRequest + +// ExtrasConfigTemplatesBulkDestroyJSONRequestBody defines body for ExtrasConfigTemplatesBulkDestroy for application/json ContentType. +type ExtrasConfigTemplatesBulkDestroyJSONRequestBody = ExtrasConfigTemplatesBulkDestroyJSONBody + +// ExtrasConfigTemplatesBulkDestroyMultipartRequestBody defines body for ExtrasConfigTemplatesBulkDestroy for multipart/form-data ContentType. +type ExtrasConfigTemplatesBulkDestroyMultipartRequestBody = ExtrasConfigTemplatesBulkDestroyMultipartBody + +// ExtrasConfigTemplatesBulkPartialUpdateJSONRequestBody defines body for ExtrasConfigTemplatesBulkPartialUpdate for application/json ContentType. +type ExtrasConfigTemplatesBulkPartialUpdateJSONRequestBody = ExtrasConfigTemplatesBulkPartialUpdateJSONBody + +// ExtrasConfigTemplatesBulkPartialUpdateMultipartRequestBody defines body for ExtrasConfigTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasConfigTemplatesBulkPartialUpdateMultipartRequestBody = ExtrasConfigTemplatesBulkPartialUpdateMultipartBody + +// ExtrasConfigTemplatesCreateJSONRequestBody defines body for ExtrasConfigTemplatesCreate for application/json ContentType. +type ExtrasConfigTemplatesCreateJSONRequestBody = WritableConfigTemplateRequest + +// ExtrasConfigTemplatesCreateMultipartRequestBody defines body for ExtrasConfigTemplatesCreate for multipart/form-data ContentType. +type ExtrasConfigTemplatesCreateMultipartRequestBody = WritableConfigTemplateRequest + +// ExtrasConfigTemplatesBulkUpdateJSONRequestBody defines body for ExtrasConfigTemplatesBulkUpdate for application/json ContentType. +type ExtrasConfigTemplatesBulkUpdateJSONRequestBody = ExtrasConfigTemplatesBulkUpdateJSONBody + +// ExtrasConfigTemplatesBulkUpdateMultipartRequestBody defines body for ExtrasConfigTemplatesBulkUpdate for multipart/form-data ContentType. +type ExtrasConfigTemplatesBulkUpdateMultipartRequestBody = ExtrasConfigTemplatesBulkUpdateMultipartBody + +// ExtrasConfigTemplatesPartialUpdateJSONRequestBody defines body for ExtrasConfigTemplatesPartialUpdate for application/json ContentType. +type ExtrasConfigTemplatesPartialUpdateJSONRequestBody = PatchedWritableConfigTemplateRequest + +// ExtrasConfigTemplatesPartialUpdateMultipartRequestBody defines body for ExtrasConfigTemplatesPartialUpdate for multipart/form-data ContentType. +type ExtrasConfigTemplatesPartialUpdateMultipartRequestBody = PatchedWritableConfigTemplateRequest + +// ExtrasConfigTemplatesUpdateJSONRequestBody defines body for ExtrasConfigTemplatesUpdate for application/json ContentType. +type ExtrasConfigTemplatesUpdateJSONRequestBody = WritableConfigTemplateRequest + +// ExtrasConfigTemplatesUpdateMultipartRequestBody defines body for ExtrasConfigTemplatesUpdate for multipart/form-data ContentType. +type ExtrasConfigTemplatesUpdateMultipartRequestBody = WritableConfigTemplateRequest + +// ExtrasConfigTemplatesRenderCreateJSONRequestBody defines body for ExtrasConfigTemplatesRenderCreate for application/json ContentType. +type ExtrasConfigTemplatesRenderCreateJSONRequestBody = WritableConfigTemplateRequest + +// ExtrasConfigTemplatesRenderCreateMultipartRequestBody defines body for ExtrasConfigTemplatesRenderCreate for multipart/form-data ContentType. +type ExtrasConfigTemplatesRenderCreateMultipartRequestBody = WritableConfigTemplateRequest + +// ExtrasConfigTemplatesSyncCreateJSONRequestBody defines body for ExtrasConfigTemplatesSyncCreate for application/json ContentType. +type ExtrasConfigTemplatesSyncCreateJSONRequestBody = WritableConfigTemplateRequest + +// ExtrasConfigTemplatesSyncCreateMultipartRequestBody defines body for ExtrasConfigTemplatesSyncCreate for multipart/form-data ContentType. +type ExtrasConfigTemplatesSyncCreateMultipartRequestBody = WritableConfigTemplateRequest + +// ExtrasCustomFieldChoiceSetsBulkDestroyJSONRequestBody defines body for ExtrasCustomFieldChoiceSetsBulkDestroy for application/json ContentType. +type ExtrasCustomFieldChoiceSetsBulkDestroyJSONRequestBody = ExtrasCustomFieldChoiceSetsBulkDestroyJSONBody + +// ExtrasCustomFieldChoiceSetsBulkDestroyMultipartRequestBody defines body for ExtrasCustomFieldChoiceSetsBulkDestroy for multipart/form-data ContentType. +type ExtrasCustomFieldChoiceSetsBulkDestroyMultipartRequestBody = ExtrasCustomFieldChoiceSetsBulkDestroyMultipartBody + +// ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldChoiceSetsBulkPartialUpdate for application/json ContentType. +type ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONRequestBody = ExtrasCustomFieldChoiceSetsBulkPartialUpdateJSONBody + +// ExtrasCustomFieldChoiceSetsBulkPartialUpdateMultipartRequestBody defines body for ExtrasCustomFieldChoiceSetsBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldChoiceSetsBulkPartialUpdateMultipartRequestBody = ExtrasCustomFieldChoiceSetsBulkPartialUpdateMultipartBody + +// ExtrasCustomFieldChoiceSetsCreateJSONRequestBody defines body for ExtrasCustomFieldChoiceSetsCreate for application/json ContentType. +type ExtrasCustomFieldChoiceSetsCreateJSONRequestBody = WritableCustomFieldChoiceSetRequest + +// ExtrasCustomFieldChoiceSetsCreateMultipartRequestBody defines body for ExtrasCustomFieldChoiceSetsCreate for multipart/form-data ContentType. +type ExtrasCustomFieldChoiceSetsCreateMultipartRequestBody = WritableCustomFieldChoiceSetRequest + +// ExtrasCustomFieldChoiceSetsBulkUpdateJSONRequestBody defines body for ExtrasCustomFieldChoiceSetsBulkUpdate for application/json ContentType. +type ExtrasCustomFieldChoiceSetsBulkUpdateJSONRequestBody = ExtrasCustomFieldChoiceSetsBulkUpdateJSONBody + +// ExtrasCustomFieldChoiceSetsBulkUpdateMultipartRequestBody defines body for ExtrasCustomFieldChoiceSetsBulkUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldChoiceSetsBulkUpdateMultipartRequestBody = ExtrasCustomFieldChoiceSetsBulkUpdateMultipartBody + +// ExtrasCustomFieldChoiceSetsPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldChoiceSetsPartialUpdate for application/json ContentType. +type ExtrasCustomFieldChoiceSetsPartialUpdateJSONRequestBody = PatchedWritableCustomFieldChoiceSetRequest + +// ExtrasCustomFieldChoiceSetsPartialUpdateMultipartRequestBody defines body for ExtrasCustomFieldChoiceSetsPartialUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldChoiceSetsPartialUpdateMultipartRequestBody = PatchedWritableCustomFieldChoiceSetRequest + +// ExtrasCustomFieldChoiceSetsUpdateJSONRequestBody defines body for ExtrasCustomFieldChoiceSetsUpdate for application/json ContentType. +type ExtrasCustomFieldChoiceSetsUpdateJSONRequestBody = WritableCustomFieldChoiceSetRequest + +// ExtrasCustomFieldChoiceSetsUpdateMultipartRequestBody defines body for ExtrasCustomFieldChoiceSetsUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldChoiceSetsUpdateMultipartRequestBody = WritableCustomFieldChoiceSetRequest + +// ExtrasCustomFieldsBulkDestroyJSONRequestBody defines body for ExtrasCustomFieldsBulkDestroy for application/json ContentType. +type ExtrasCustomFieldsBulkDestroyJSONRequestBody = ExtrasCustomFieldsBulkDestroyJSONBody + +// ExtrasCustomFieldsBulkDestroyMultipartRequestBody defines body for ExtrasCustomFieldsBulkDestroy for multipart/form-data ContentType. +type ExtrasCustomFieldsBulkDestroyMultipartRequestBody = ExtrasCustomFieldsBulkDestroyMultipartBody + +// ExtrasCustomFieldsBulkPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldsBulkPartialUpdate for application/json ContentType. +type ExtrasCustomFieldsBulkPartialUpdateJSONRequestBody = ExtrasCustomFieldsBulkPartialUpdateJSONBody + +// ExtrasCustomFieldsBulkPartialUpdateMultipartRequestBody defines body for ExtrasCustomFieldsBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldsBulkPartialUpdateMultipartRequestBody = ExtrasCustomFieldsBulkPartialUpdateMultipartBody + +// ExtrasCustomFieldsCreateJSONRequestBody defines body for ExtrasCustomFieldsCreate for application/json ContentType. +type ExtrasCustomFieldsCreateJSONRequestBody = WritableCustomFieldRequest + +// ExtrasCustomFieldsCreateMultipartRequestBody defines body for ExtrasCustomFieldsCreate for multipart/form-data ContentType. +type ExtrasCustomFieldsCreateMultipartRequestBody = WritableCustomFieldRequest + +// ExtrasCustomFieldsBulkUpdateJSONRequestBody defines body for ExtrasCustomFieldsBulkUpdate for application/json ContentType. +type ExtrasCustomFieldsBulkUpdateJSONRequestBody = ExtrasCustomFieldsBulkUpdateJSONBody + +// ExtrasCustomFieldsBulkUpdateMultipartRequestBody defines body for ExtrasCustomFieldsBulkUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldsBulkUpdateMultipartRequestBody = ExtrasCustomFieldsBulkUpdateMultipartBody + +// ExtrasCustomFieldsPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldsPartialUpdate for application/json ContentType. +type ExtrasCustomFieldsPartialUpdateJSONRequestBody = PatchedWritableCustomFieldRequest + +// ExtrasCustomFieldsPartialUpdateMultipartRequestBody defines body for ExtrasCustomFieldsPartialUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldsPartialUpdateMultipartRequestBody = PatchedWritableCustomFieldRequest + +// ExtrasCustomFieldsUpdateJSONRequestBody defines body for ExtrasCustomFieldsUpdate for application/json ContentType. +type ExtrasCustomFieldsUpdateJSONRequestBody = WritableCustomFieldRequest + +// ExtrasCustomFieldsUpdateMultipartRequestBody defines body for ExtrasCustomFieldsUpdate for multipart/form-data ContentType. +type ExtrasCustomFieldsUpdateMultipartRequestBody = WritableCustomFieldRequest + +// ExtrasCustomLinksBulkDestroyJSONRequestBody defines body for ExtrasCustomLinksBulkDestroy for application/json ContentType. +type ExtrasCustomLinksBulkDestroyJSONRequestBody = ExtrasCustomLinksBulkDestroyJSONBody + +// ExtrasCustomLinksBulkDestroyMultipartRequestBody defines body for ExtrasCustomLinksBulkDestroy for multipart/form-data ContentType. +type ExtrasCustomLinksBulkDestroyMultipartRequestBody = ExtrasCustomLinksBulkDestroyMultipartBody + +// ExtrasCustomLinksBulkPartialUpdateJSONRequestBody defines body for ExtrasCustomLinksBulkPartialUpdate for application/json ContentType. +type ExtrasCustomLinksBulkPartialUpdateJSONRequestBody = ExtrasCustomLinksBulkPartialUpdateJSONBody + +// ExtrasCustomLinksBulkPartialUpdateMultipartRequestBody defines body for ExtrasCustomLinksBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasCustomLinksBulkPartialUpdateMultipartRequestBody = ExtrasCustomLinksBulkPartialUpdateMultipartBody + +// ExtrasCustomLinksCreateJSONRequestBody defines body for ExtrasCustomLinksCreate for application/json ContentType. +type ExtrasCustomLinksCreateJSONRequestBody = CustomLinkRequest + +// ExtrasCustomLinksCreateMultipartRequestBody defines body for ExtrasCustomLinksCreate for multipart/form-data ContentType. +type ExtrasCustomLinksCreateMultipartRequestBody = CustomLinkRequest + +// ExtrasCustomLinksBulkUpdateJSONRequestBody defines body for ExtrasCustomLinksBulkUpdate for application/json ContentType. +type ExtrasCustomLinksBulkUpdateJSONRequestBody = ExtrasCustomLinksBulkUpdateJSONBody + +// ExtrasCustomLinksBulkUpdateMultipartRequestBody defines body for ExtrasCustomLinksBulkUpdate for multipart/form-data ContentType. +type ExtrasCustomLinksBulkUpdateMultipartRequestBody = ExtrasCustomLinksBulkUpdateMultipartBody + +// ExtrasCustomLinksPartialUpdateJSONRequestBody defines body for ExtrasCustomLinksPartialUpdate for application/json ContentType. +type ExtrasCustomLinksPartialUpdateJSONRequestBody = PatchedCustomLinkRequest + +// ExtrasCustomLinksPartialUpdateMultipartRequestBody defines body for ExtrasCustomLinksPartialUpdate for multipart/form-data ContentType. +type ExtrasCustomLinksPartialUpdateMultipartRequestBody = PatchedCustomLinkRequest + +// ExtrasCustomLinksUpdateJSONRequestBody defines body for ExtrasCustomLinksUpdate for application/json ContentType. +type ExtrasCustomLinksUpdateJSONRequestBody = CustomLinkRequest + +// ExtrasCustomLinksUpdateMultipartRequestBody defines body for ExtrasCustomLinksUpdate for multipart/form-data ContentType. +type ExtrasCustomLinksUpdateMultipartRequestBody = CustomLinkRequest + +// ExtrasDashboardPartialUpdateJSONRequestBody defines body for ExtrasDashboardPartialUpdate for application/json ContentType. +type ExtrasDashboardPartialUpdateJSONRequestBody = PatchedDashboardRequest + +// ExtrasDashboardPartialUpdateMultipartRequestBody defines body for ExtrasDashboardPartialUpdate for multipart/form-data ContentType. +type ExtrasDashboardPartialUpdateMultipartRequestBody = PatchedDashboardRequest + +// ExtrasDashboardUpdateJSONRequestBody defines body for ExtrasDashboardUpdate for application/json ContentType. +type ExtrasDashboardUpdateJSONRequestBody = DashboardRequest + +// ExtrasDashboardUpdateMultipartRequestBody defines body for ExtrasDashboardUpdate for multipart/form-data ContentType. +type ExtrasDashboardUpdateMultipartRequestBody = DashboardRequest + +// ExtrasExportTemplatesBulkDestroyJSONRequestBody defines body for ExtrasExportTemplatesBulkDestroy for application/json ContentType. +type ExtrasExportTemplatesBulkDestroyJSONRequestBody = ExtrasExportTemplatesBulkDestroyJSONBody + +// ExtrasExportTemplatesBulkDestroyMultipartRequestBody defines body for ExtrasExportTemplatesBulkDestroy for multipart/form-data ContentType. +type ExtrasExportTemplatesBulkDestroyMultipartRequestBody = ExtrasExportTemplatesBulkDestroyMultipartBody + +// ExtrasExportTemplatesBulkPartialUpdateJSONRequestBody defines body for ExtrasExportTemplatesBulkPartialUpdate for application/json ContentType. +type ExtrasExportTemplatesBulkPartialUpdateJSONRequestBody = ExtrasExportTemplatesBulkPartialUpdateJSONBody + +// ExtrasExportTemplatesBulkPartialUpdateMultipartRequestBody defines body for ExtrasExportTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasExportTemplatesBulkPartialUpdateMultipartRequestBody = ExtrasExportTemplatesBulkPartialUpdateMultipartBody + +// ExtrasExportTemplatesCreateJSONRequestBody defines body for ExtrasExportTemplatesCreate for application/json ContentType. +type ExtrasExportTemplatesCreateJSONRequestBody = WritableExportTemplateRequest + +// ExtrasExportTemplatesCreateMultipartRequestBody defines body for ExtrasExportTemplatesCreate for multipart/form-data ContentType. +type ExtrasExportTemplatesCreateMultipartRequestBody = WritableExportTemplateRequest + +// ExtrasExportTemplatesBulkUpdateJSONRequestBody defines body for ExtrasExportTemplatesBulkUpdate for application/json ContentType. +type ExtrasExportTemplatesBulkUpdateJSONRequestBody = ExtrasExportTemplatesBulkUpdateJSONBody + +// ExtrasExportTemplatesBulkUpdateMultipartRequestBody defines body for ExtrasExportTemplatesBulkUpdate for multipart/form-data ContentType. +type ExtrasExportTemplatesBulkUpdateMultipartRequestBody = ExtrasExportTemplatesBulkUpdateMultipartBody + +// ExtrasExportTemplatesPartialUpdateJSONRequestBody defines body for ExtrasExportTemplatesPartialUpdate for application/json ContentType. +type ExtrasExportTemplatesPartialUpdateJSONRequestBody = PatchedWritableExportTemplateRequest + +// ExtrasExportTemplatesPartialUpdateMultipartRequestBody defines body for ExtrasExportTemplatesPartialUpdate for multipart/form-data ContentType. +type ExtrasExportTemplatesPartialUpdateMultipartRequestBody = PatchedWritableExportTemplateRequest + +// ExtrasExportTemplatesUpdateJSONRequestBody defines body for ExtrasExportTemplatesUpdate for application/json ContentType. +type ExtrasExportTemplatesUpdateJSONRequestBody = WritableExportTemplateRequest + +// ExtrasExportTemplatesUpdateMultipartRequestBody defines body for ExtrasExportTemplatesUpdate for multipart/form-data ContentType. +type ExtrasExportTemplatesUpdateMultipartRequestBody = WritableExportTemplateRequest + +// ExtrasExportTemplatesSyncCreateJSONRequestBody defines body for ExtrasExportTemplatesSyncCreate for application/json ContentType. +type ExtrasExportTemplatesSyncCreateJSONRequestBody = WritableExportTemplateRequest + +// ExtrasExportTemplatesSyncCreateMultipartRequestBody defines body for ExtrasExportTemplatesSyncCreate for multipart/form-data ContentType. +type ExtrasExportTemplatesSyncCreateMultipartRequestBody = WritableExportTemplateRequest + +// ExtrasImageAttachmentsBulkDestroyJSONRequestBody defines body for ExtrasImageAttachmentsBulkDestroy for application/json ContentType. +type ExtrasImageAttachmentsBulkDestroyJSONRequestBody = ExtrasImageAttachmentsBulkDestroyJSONBody + +// ExtrasImageAttachmentsBulkDestroyMultipartRequestBody defines body for ExtrasImageAttachmentsBulkDestroy for multipart/form-data ContentType. +type ExtrasImageAttachmentsBulkDestroyMultipartRequestBody = ExtrasImageAttachmentsBulkDestroyMultipartBody + +// ExtrasImageAttachmentsBulkPartialUpdateJSONRequestBody defines body for ExtrasImageAttachmentsBulkPartialUpdate for application/json ContentType. +type ExtrasImageAttachmentsBulkPartialUpdateJSONRequestBody = ExtrasImageAttachmentsBulkPartialUpdateJSONBody + +// ExtrasImageAttachmentsBulkPartialUpdateMultipartRequestBody defines body for ExtrasImageAttachmentsBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasImageAttachmentsBulkPartialUpdateMultipartRequestBody = ExtrasImageAttachmentsBulkPartialUpdateMultipartBody + +// ExtrasImageAttachmentsCreateJSONRequestBody defines body for ExtrasImageAttachmentsCreate for application/json ContentType. +type ExtrasImageAttachmentsCreateJSONRequestBody = ImageAttachmentRequest + +// ExtrasImageAttachmentsCreateMultipartRequestBody defines body for ExtrasImageAttachmentsCreate for multipart/form-data ContentType. +type ExtrasImageAttachmentsCreateMultipartRequestBody = ImageAttachmentRequest + +// ExtrasImageAttachmentsBulkUpdateJSONRequestBody defines body for ExtrasImageAttachmentsBulkUpdate for application/json ContentType. +type ExtrasImageAttachmentsBulkUpdateJSONRequestBody = ExtrasImageAttachmentsBulkUpdateJSONBody + +// ExtrasImageAttachmentsBulkUpdateMultipartRequestBody defines body for ExtrasImageAttachmentsBulkUpdate for multipart/form-data ContentType. +type ExtrasImageAttachmentsBulkUpdateMultipartRequestBody = ExtrasImageAttachmentsBulkUpdateMultipartBody + +// ExtrasImageAttachmentsPartialUpdateJSONRequestBody defines body for ExtrasImageAttachmentsPartialUpdate for application/json ContentType. +type ExtrasImageAttachmentsPartialUpdateJSONRequestBody = PatchedImageAttachmentRequest + +// ExtrasImageAttachmentsPartialUpdateMultipartRequestBody defines body for ExtrasImageAttachmentsPartialUpdate for multipart/form-data ContentType. +type ExtrasImageAttachmentsPartialUpdateMultipartRequestBody = PatchedImageAttachmentRequest + +// ExtrasImageAttachmentsUpdateJSONRequestBody defines body for ExtrasImageAttachmentsUpdate for application/json ContentType. +type ExtrasImageAttachmentsUpdateJSONRequestBody = ImageAttachmentRequest + +// ExtrasImageAttachmentsUpdateMultipartRequestBody defines body for ExtrasImageAttachmentsUpdate for multipart/form-data ContentType. +type ExtrasImageAttachmentsUpdateMultipartRequestBody = ImageAttachmentRequest + +// ExtrasJournalEntriesBulkDestroyJSONRequestBody defines body for ExtrasJournalEntriesBulkDestroy for application/json ContentType. +type ExtrasJournalEntriesBulkDestroyJSONRequestBody = ExtrasJournalEntriesBulkDestroyJSONBody + +// ExtrasJournalEntriesBulkDestroyMultipartRequestBody defines body for ExtrasJournalEntriesBulkDestroy for multipart/form-data ContentType. +type ExtrasJournalEntriesBulkDestroyMultipartRequestBody = ExtrasJournalEntriesBulkDestroyMultipartBody + +// ExtrasJournalEntriesBulkPartialUpdateJSONRequestBody defines body for ExtrasJournalEntriesBulkPartialUpdate for application/json ContentType. +type ExtrasJournalEntriesBulkPartialUpdateJSONRequestBody = ExtrasJournalEntriesBulkPartialUpdateJSONBody + +// ExtrasJournalEntriesBulkPartialUpdateMultipartRequestBody defines body for ExtrasJournalEntriesBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasJournalEntriesBulkPartialUpdateMultipartRequestBody = ExtrasJournalEntriesBulkPartialUpdateMultipartBody + +// ExtrasJournalEntriesCreateJSONRequestBody defines body for ExtrasJournalEntriesCreate for application/json ContentType. +type ExtrasJournalEntriesCreateJSONRequestBody = WritableJournalEntryRequest + +// ExtrasJournalEntriesCreateMultipartRequestBody defines body for ExtrasJournalEntriesCreate for multipart/form-data ContentType. +type ExtrasJournalEntriesCreateMultipartRequestBody = WritableJournalEntryRequest + +// ExtrasJournalEntriesBulkUpdateJSONRequestBody defines body for ExtrasJournalEntriesBulkUpdate for application/json ContentType. +type ExtrasJournalEntriesBulkUpdateJSONRequestBody = ExtrasJournalEntriesBulkUpdateJSONBody + +// ExtrasJournalEntriesBulkUpdateMultipartRequestBody defines body for ExtrasJournalEntriesBulkUpdate for multipart/form-data ContentType. +type ExtrasJournalEntriesBulkUpdateMultipartRequestBody = ExtrasJournalEntriesBulkUpdateMultipartBody + +// ExtrasJournalEntriesPartialUpdateJSONRequestBody defines body for ExtrasJournalEntriesPartialUpdate for application/json ContentType. +type ExtrasJournalEntriesPartialUpdateJSONRequestBody = PatchedWritableJournalEntryRequest + +// ExtrasJournalEntriesPartialUpdateMultipartRequestBody defines body for ExtrasJournalEntriesPartialUpdate for multipart/form-data ContentType. +type ExtrasJournalEntriesPartialUpdateMultipartRequestBody = PatchedWritableJournalEntryRequest + +// ExtrasJournalEntriesUpdateJSONRequestBody defines body for ExtrasJournalEntriesUpdate for application/json ContentType. +type ExtrasJournalEntriesUpdateJSONRequestBody = WritableJournalEntryRequest + +// ExtrasJournalEntriesUpdateMultipartRequestBody defines body for ExtrasJournalEntriesUpdate for multipart/form-data ContentType. +type ExtrasJournalEntriesUpdateMultipartRequestBody = WritableJournalEntryRequest + +// ExtrasSavedFiltersBulkDestroyJSONRequestBody defines body for ExtrasSavedFiltersBulkDestroy for application/json ContentType. +type ExtrasSavedFiltersBulkDestroyJSONRequestBody = ExtrasSavedFiltersBulkDestroyJSONBody + +// ExtrasSavedFiltersBulkDestroyMultipartRequestBody defines body for ExtrasSavedFiltersBulkDestroy for multipart/form-data ContentType. +type ExtrasSavedFiltersBulkDestroyMultipartRequestBody = ExtrasSavedFiltersBulkDestroyMultipartBody + +// ExtrasSavedFiltersBulkPartialUpdateJSONRequestBody defines body for ExtrasSavedFiltersBulkPartialUpdate for application/json ContentType. +type ExtrasSavedFiltersBulkPartialUpdateJSONRequestBody = ExtrasSavedFiltersBulkPartialUpdateJSONBody + +// ExtrasSavedFiltersBulkPartialUpdateMultipartRequestBody defines body for ExtrasSavedFiltersBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasSavedFiltersBulkPartialUpdateMultipartRequestBody = ExtrasSavedFiltersBulkPartialUpdateMultipartBody + +// ExtrasSavedFiltersCreateJSONRequestBody defines body for ExtrasSavedFiltersCreate for application/json ContentType. +type ExtrasSavedFiltersCreateJSONRequestBody = SavedFilterRequest + +// ExtrasSavedFiltersCreateMultipartRequestBody defines body for ExtrasSavedFiltersCreate for multipart/form-data ContentType. +type ExtrasSavedFiltersCreateMultipartRequestBody = SavedFilterRequest + +// ExtrasSavedFiltersBulkUpdateJSONRequestBody defines body for ExtrasSavedFiltersBulkUpdate for application/json ContentType. +type ExtrasSavedFiltersBulkUpdateJSONRequestBody = ExtrasSavedFiltersBulkUpdateJSONBody + +// ExtrasSavedFiltersBulkUpdateMultipartRequestBody defines body for ExtrasSavedFiltersBulkUpdate for multipart/form-data ContentType. +type ExtrasSavedFiltersBulkUpdateMultipartRequestBody = ExtrasSavedFiltersBulkUpdateMultipartBody + +// ExtrasSavedFiltersPartialUpdateJSONRequestBody defines body for ExtrasSavedFiltersPartialUpdate for application/json ContentType. +type ExtrasSavedFiltersPartialUpdateJSONRequestBody = PatchedSavedFilterRequest + +// ExtrasSavedFiltersPartialUpdateMultipartRequestBody defines body for ExtrasSavedFiltersPartialUpdate for multipart/form-data ContentType. +type ExtrasSavedFiltersPartialUpdateMultipartRequestBody = PatchedSavedFilterRequest + +// ExtrasSavedFiltersUpdateJSONRequestBody defines body for ExtrasSavedFiltersUpdate for application/json ContentType. +type ExtrasSavedFiltersUpdateJSONRequestBody = SavedFilterRequest + +// ExtrasSavedFiltersUpdateMultipartRequestBody defines body for ExtrasSavedFiltersUpdate for multipart/form-data ContentType. +type ExtrasSavedFiltersUpdateMultipartRequestBody = SavedFilterRequest + +// ExtrasTagsBulkDestroyJSONRequestBody defines body for ExtrasTagsBulkDestroy for application/json ContentType. +type ExtrasTagsBulkDestroyJSONRequestBody = ExtrasTagsBulkDestroyJSONBody + +// ExtrasTagsBulkDestroyMultipartRequestBody defines body for ExtrasTagsBulkDestroy for multipart/form-data ContentType. +type ExtrasTagsBulkDestroyMultipartRequestBody = ExtrasTagsBulkDestroyMultipartBody + +// ExtrasTagsBulkPartialUpdateJSONRequestBody defines body for ExtrasTagsBulkPartialUpdate for application/json ContentType. +type ExtrasTagsBulkPartialUpdateJSONRequestBody = ExtrasTagsBulkPartialUpdateJSONBody + +// ExtrasTagsBulkPartialUpdateMultipartRequestBody defines body for ExtrasTagsBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasTagsBulkPartialUpdateMultipartRequestBody = ExtrasTagsBulkPartialUpdateMultipartBody + +// ExtrasTagsCreateJSONRequestBody defines body for ExtrasTagsCreate for application/json ContentType. +type ExtrasTagsCreateJSONRequestBody = TagRequest + +// ExtrasTagsCreateMultipartRequestBody defines body for ExtrasTagsCreate for multipart/form-data ContentType. +type ExtrasTagsCreateMultipartRequestBody = TagRequest + +// ExtrasTagsBulkUpdateJSONRequestBody defines body for ExtrasTagsBulkUpdate for application/json ContentType. +type ExtrasTagsBulkUpdateJSONRequestBody = ExtrasTagsBulkUpdateJSONBody + +// ExtrasTagsBulkUpdateMultipartRequestBody defines body for ExtrasTagsBulkUpdate for multipart/form-data ContentType. +type ExtrasTagsBulkUpdateMultipartRequestBody = ExtrasTagsBulkUpdateMultipartBody + +// ExtrasTagsPartialUpdateJSONRequestBody defines body for ExtrasTagsPartialUpdate for application/json ContentType. +type ExtrasTagsPartialUpdateJSONRequestBody = PatchedTagRequest + +// ExtrasTagsPartialUpdateMultipartRequestBody defines body for ExtrasTagsPartialUpdate for multipart/form-data ContentType. +type ExtrasTagsPartialUpdateMultipartRequestBody = PatchedTagRequest + +// ExtrasTagsUpdateJSONRequestBody defines body for ExtrasTagsUpdate for application/json ContentType. +type ExtrasTagsUpdateJSONRequestBody = TagRequest + +// ExtrasTagsUpdateMultipartRequestBody defines body for ExtrasTagsUpdate for multipart/form-data ContentType. +type ExtrasTagsUpdateMultipartRequestBody = TagRequest + +// ExtrasWebhooksBulkDestroyJSONRequestBody defines body for ExtrasWebhooksBulkDestroy for application/json ContentType. +type ExtrasWebhooksBulkDestroyJSONRequestBody = ExtrasWebhooksBulkDestroyJSONBody + +// ExtrasWebhooksBulkDestroyMultipartRequestBody defines body for ExtrasWebhooksBulkDestroy for multipart/form-data ContentType. +type ExtrasWebhooksBulkDestroyMultipartRequestBody = ExtrasWebhooksBulkDestroyMultipartBody + +// ExtrasWebhooksBulkPartialUpdateJSONRequestBody defines body for ExtrasWebhooksBulkPartialUpdate for application/json ContentType. +type ExtrasWebhooksBulkPartialUpdateJSONRequestBody = ExtrasWebhooksBulkPartialUpdateJSONBody + +// ExtrasWebhooksBulkPartialUpdateMultipartRequestBody defines body for ExtrasWebhooksBulkPartialUpdate for multipart/form-data ContentType. +type ExtrasWebhooksBulkPartialUpdateMultipartRequestBody = ExtrasWebhooksBulkPartialUpdateMultipartBody + +// ExtrasWebhooksCreateJSONRequestBody defines body for ExtrasWebhooksCreate for application/json ContentType. +type ExtrasWebhooksCreateJSONRequestBody = WebhookRequest + +// ExtrasWebhooksCreateMultipartRequestBody defines body for ExtrasWebhooksCreate for multipart/form-data ContentType. +type ExtrasWebhooksCreateMultipartRequestBody = WebhookRequest + +// ExtrasWebhooksBulkUpdateJSONRequestBody defines body for ExtrasWebhooksBulkUpdate for application/json ContentType. +type ExtrasWebhooksBulkUpdateJSONRequestBody = ExtrasWebhooksBulkUpdateJSONBody + +// ExtrasWebhooksBulkUpdateMultipartRequestBody defines body for ExtrasWebhooksBulkUpdate for multipart/form-data ContentType. +type ExtrasWebhooksBulkUpdateMultipartRequestBody = ExtrasWebhooksBulkUpdateMultipartBody + +// ExtrasWebhooksPartialUpdateJSONRequestBody defines body for ExtrasWebhooksPartialUpdate for application/json ContentType. +type ExtrasWebhooksPartialUpdateJSONRequestBody = PatchedWebhookRequest + +// ExtrasWebhooksPartialUpdateMultipartRequestBody defines body for ExtrasWebhooksPartialUpdate for multipart/form-data ContentType. +type ExtrasWebhooksPartialUpdateMultipartRequestBody = PatchedWebhookRequest + +// ExtrasWebhooksUpdateJSONRequestBody defines body for ExtrasWebhooksUpdate for application/json ContentType. +type ExtrasWebhooksUpdateJSONRequestBody = WebhookRequest + +// ExtrasWebhooksUpdateMultipartRequestBody defines body for ExtrasWebhooksUpdate for multipart/form-data ContentType. +type ExtrasWebhooksUpdateMultipartRequestBody = WebhookRequest + +// IpamAggregatesBulkDestroyJSONRequestBody defines body for IpamAggregatesBulkDestroy for application/json ContentType. +type IpamAggregatesBulkDestroyJSONRequestBody = IpamAggregatesBulkDestroyJSONBody + +// IpamAggregatesBulkDestroyMultipartRequestBody defines body for IpamAggregatesBulkDestroy for multipart/form-data ContentType. +type IpamAggregatesBulkDestroyMultipartRequestBody = IpamAggregatesBulkDestroyMultipartBody + +// IpamAggregatesBulkPartialUpdateJSONRequestBody defines body for IpamAggregatesBulkPartialUpdate for application/json ContentType. +type IpamAggregatesBulkPartialUpdateJSONRequestBody = IpamAggregatesBulkPartialUpdateJSONBody + +// IpamAggregatesBulkPartialUpdateMultipartRequestBody defines body for IpamAggregatesBulkPartialUpdate for multipart/form-data ContentType. +type IpamAggregatesBulkPartialUpdateMultipartRequestBody = IpamAggregatesBulkPartialUpdateMultipartBody + +// IpamAggregatesCreateJSONRequestBody defines body for IpamAggregatesCreate for application/json ContentType. +type IpamAggregatesCreateJSONRequestBody = WritableAggregateRequest + +// IpamAggregatesCreateMultipartRequestBody defines body for IpamAggregatesCreate for multipart/form-data ContentType. +type IpamAggregatesCreateMultipartRequestBody = WritableAggregateRequest + +// IpamAggregatesBulkUpdateJSONRequestBody defines body for IpamAggregatesBulkUpdate for application/json ContentType. +type IpamAggregatesBulkUpdateJSONRequestBody = IpamAggregatesBulkUpdateJSONBody + +// IpamAggregatesBulkUpdateMultipartRequestBody defines body for IpamAggregatesBulkUpdate for multipart/form-data ContentType. +type IpamAggregatesBulkUpdateMultipartRequestBody = IpamAggregatesBulkUpdateMultipartBody + +// IpamAggregatesPartialUpdateJSONRequestBody defines body for IpamAggregatesPartialUpdate for application/json ContentType. +type IpamAggregatesPartialUpdateJSONRequestBody = PatchedWritableAggregateRequest + +// IpamAggregatesPartialUpdateMultipartRequestBody defines body for IpamAggregatesPartialUpdate for multipart/form-data ContentType. +type IpamAggregatesPartialUpdateMultipartRequestBody = PatchedWritableAggregateRequest + +// IpamAggregatesUpdateJSONRequestBody defines body for IpamAggregatesUpdate for application/json ContentType. +type IpamAggregatesUpdateJSONRequestBody = WritableAggregateRequest + +// IpamAggregatesUpdateMultipartRequestBody defines body for IpamAggregatesUpdate for multipart/form-data ContentType. +type IpamAggregatesUpdateMultipartRequestBody = WritableAggregateRequest + +// IpamAsnRangesBulkDestroyJSONRequestBody defines body for IpamAsnRangesBulkDestroy for application/json ContentType. +type IpamAsnRangesBulkDestroyJSONRequestBody = IpamAsnRangesBulkDestroyJSONBody + +// IpamAsnRangesBulkDestroyMultipartRequestBody defines body for IpamAsnRangesBulkDestroy for multipart/form-data ContentType. +type IpamAsnRangesBulkDestroyMultipartRequestBody = IpamAsnRangesBulkDestroyMultipartBody + +// IpamAsnRangesBulkPartialUpdateJSONRequestBody defines body for IpamAsnRangesBulkPartialUpdate for application/json ContentType. +type IpamAsnRangesBulkPartialUpdateJSONRequestBody = IpamAsnRangesBulkPartialUpdateJSONBody + +// IpamAsnRangesBulkPartialUpdateMultipartRequestBody defines body for IpamAsnRangesBulkPartialUpdate for multipart/form-data ContentType. +type IpamAsnRangesBulkPartialUpdateMultipartRequestBody = IpamAsnRangesBulkPartialUpdateMultipartBody + +// IpamAsnRangesCreateJSONRequestBody defines body for IpamAsnRangesCreate for application/json ContentType. +type IpamAsnRangesCreateJSONRequestBody = WritableASNRangeRequest + +// IpamAsnRangesCreateMultipartRequestBody defines body for IpamAsnRangesCreate for multipart/form-data ContentType. +type IpamAsnRangesCreateMultipartRequestBody = WritableASNRangeRequest + +// IpamAsnRangesBulkUpdateJSONRequestBody defines body for IpamAsnRangesBulkUpdate for application/json ContentType. +type IpamAsnRangesBulkUpdateJSONRequestBody = IpamAsnRangesBulkUpdateJSONBody + +// IpamAsnRangesBulkUpdateMultipartRequestBody defines body for IpamAsnRangesBulkUpdate for multipart/form-data ContentType. +type IpamAsnRangesBulkUpdateMultipartRequestBody = IpamAsnRangesBulkUpdateMultipartBody + +// IpamAsnRangesPartialUpdateJSONRequestBody defines body for IpamAsnRangesPartialUpdate for application/json ContentType. +type IpamAsnRangesPartialUpdateJSONRequestBody = PatchedWritableASNRangeRequest + +// IpamAsnRangesPartialUpdateMultipartRequestBody defines body for IpamAsnRangesPartialUpdate for multipart/form-data ContentType. +type IpamAsnRangesPartialUpdateMultipartRequestBody = PatchedWritableASNRangeRequest + +// IpamAsnRangesUpdateJSONRequestBody defines body for IpamAsnRangesUpdate for application/json ContentType. +type IpamAsnRangesUpdateJSONRequestBody = WritableASNRangeRequest + +// IpamAsnRangesUpdateMultipartRequestBody defines body for IpamAsnRangesUpdate for multipart/form-data ContentType. +type IpamAsnRangesUpdateMultipartRequestBody = WritableASNRangeRequest + +// IpamAsnRangesAvailableAsnsCreateJSONRequestBody defines body for IpamAsnRangesAvailableAsnsCreate for application/json ContentType. +type IpamAsnRangesAvailableAsnsCreateJSONRequestBody = IpamAsnRangesAvailableAsnsCreateJSONBody + +// IpamAsnRangesAvailableAsnsCreateMultipartRequestBody defines body for IpamAsnRangesAvailableAsnsCreate for multipart/form-data ContentType. +type IpamAsnRangesAvailableAsnsCreateMultipartRequestBody = IpamAsnRangesAvailableAsnsCreateMultipartBody + +// IpamAsnsBulkDestroyJSONRequestBody defines body for IpamAsnsBulkDestroy for application/json ContentType. +type IpamAsnsBulkDestroyJSONRequestBody = IpamAsnsBulkDestroyJSONBody + +// IpamAsnsBulkDestroyMultipartRequestBody defines body for IpamAsnsBulkDestroy for multipart/form-data ContentType. +type IpamAsnsBulkDestroyMultipartRequestBody = IpamAsnsBulkDestroyMultipartBody + +// IpamAsnsBulkPartialUpdateJSONRequestBody defines body for IpamAsnsBulkPartialUpdate for application/json ContentType. +type IpamAsnsBulkPartialUpdateJSONRequestBody = IpamAsnsBulkPartialUpdateJSONBody + +// IpamAsnsBulkPartialUpdateMultipartRequestBody defines body for IpamAsnsBulkPartialUpdate for multipart/form-data ContentType. +type IpamAsnsBulkPartialUpdateMultipartRequestBody = IpamAsnsBulkPartialUpdateMultipartBody + +// IpamAsnsCreateJSONRequestBody defines body for IpamAsnsCreate for application/json ContentType. +type IpamAsnsCreateJSONRequestBody = WritableASNRequest + +// IpamAsnsCreateMultipartRequestBody defines body for IpamAsnsCreate for multipart/form-data ContentType. +type IpamAsnsCreateMultipartRequestBody = WritableASNRequest + +// IpamAsnsBulkUpdateJSONRequestBody defines body for IpamAsnsBulkUpdate for application/json ContentType. +type IpamAsnsBulkUpdateJSONRequestBody = IpamAsnsBulkUpdateJSONBody + +// IpamAsnsBulkUpdateMultipartRequestBody defines body for IpamAsnsBulkUpdate for multipart/form-data ContentType. +type IpamAsnsBulkUpdateMultipartRequestBody = IpamAsnsBulkUpdateMultipartBody + +// IpamAsnsPartialUpdateJSONRequestBody defines body for IpamAsnsPartialUpdate for application/json ContentType. +type IpamAsnsPartialUpdateJSONRequestBody = PatchedWritableASNRequest + +// IpamAsnsPartialUpdateMultipartRequestBody defines body for IpamAsnsPartialUpdate for multipart/form-data ContentType. +type IpamAsnsPartialUpdateMultipartRequestBody = PatchedWritableASNRequest + +// IpamAsnsUpdateJSONRequestBody defines body for IpamAsnsUpdate for application/json ContentType. +type IpamAsnsUpdateJSONRequestBody = WritableASNRequest + +// IpamAsnsUpdateMultipartRequestBody defines body for IpamAsnsUpdate for multipart/form-data ContentType. +type IpamAsnsUpdateMultipartRequestBody = WritableASNRequest + +// IpamFhrpGroupAssignmentsBulkDestroyJSONRequestBody defines body for IpamFhrpGroupAssignmentsBulkDestroy for application/json ContentType. +type IpamFhrpGroupAssignmentsBulkDestroyJSONRequestBody = IpamFhrpGroupAssignmentsBulkDestroyJSONBody + +// IpamFhrpGroupAssignmentsBulkDestroyMultipartRequestBody defines body for IpamFhrpGroupAssignmentsBulkDestroy for multipart/form-data ContentType. +type IpamFhrpGroupAssignmentsBulkDestroyMultipartRequestBody = IpamFhrpGroupAssignmentsBulkDestroyMultipartBody + +// IpamFhrpGroupAssignmentsBulkPartialUpdateJSONRequestBody defines body for IpamFhrpGroupAssignmentsBulkPartialUpdate for application/json ContentType. +type IpamFhrpGroupAssignmentsBulkPartialUpdateJSONRequestBody = IpamFhrpGroupAssignmentsBulkPartialUpdateJSONBody + +// IpamFhrpGroupAssignmentsBulkPartialUpdateMultipartRequestBody defines body for IpamFhrpGroupAssignmentsBulkPartialUpdate for multipart/form-data ContentType. +type IpamFhrpGroupAssignmentsBulkPartialUpdateMultipartRequestBody = IpamFhrpGroupAssignmentsBulkPartialUpdateMultipartBody + +// IpamFhrpGroupAssignmentsCreateJSONRequestBody defines body for IpamFhrpGroupAssignmentsCreate for application/json ContentType. +type IpamFhrpGroupAssignmentsCreateJSONRequestBody = WritableFHRPGroupAssignmentRequest + +// IpamFhrpGroupAssignmentsCreateMultipartRequestBody defines body for IpamFhrpGroupAssignmentsCreate for multipart/form-data ContentType. +type IpamFhrpGroupAssignmentsCreateMultipartRequestBody = WritableFHRPGroupAssignmentRequest + +// IpamFhrpGroupAssignmentsBulkUpdateJSONRequestBody defines body for IpamFhrpGroupAssignmentsBulkUpdate for application/json ContentType. +type IpamFhrpGroupAssignmentsBulkUpdateJSONRequestBody = IpamFhrpGroupAssignmentsBulkUpdateJSONBody + +// IpamFhrpGroupAssignmentsBulkUpdateMultipartRequestBody defines body for IpamFhrpGroupAssignmentsBulkUpdate for multipart/form-data ContentType. +type IpamFhrpGroupAssignmentsBulkUpdateMultipartRequestBody = IpamFhrpGroupAssignmentsBulkUpdateMultipartBody + +// IpamFhrpGroupAssignmentsPartialUpdateJSONRequestBody defines body for IpamFhrpGroupAssignmentsPartialUpdate for application/json ContentType. +type IpamFhrpGroupAssignmentsPartialUpdateJSONRequestBody = PatchedWritableFHRPGroupAssignmentRequest + +// IpamFhrpGroupAssignmentsPartialUpdateMultipartRequestBody defines body for IpamFhrpGroupAssignmentsPartialUpdate for multipart/form-data ContentType. +type IpamFhrpGroupAssignmentsPartialUpdateMultipartRequestBody = PatchedWritableFHRPGroupAssignmentRequest + +// IpamFhrpGroupAssignmentsUpdateJSONRequestBody defines body for IpamFhrpGroupAssignmentsUpdate for application/json ContentType. +type IpamFhrpGroupAssignmentsUpdateJSONRequestBody = WritableFHRPGroupAssignmentRequest + +// IpamFhrpGroupAssignmentsUpdateMultipartRequestBody defines body for IpamFhrpGroupAssignmentsUpdate for multipart/form-data ContentType. +type IpamFhrpGroupAssignmentsUpdateMultipartRequestBody = WritableFHRPGroupAssignmentRequest + +// IpamFhrpGroupsBulkDestroyJSONRequestBody defines body for IpamFhrpGroupsBulkDestroy for application/json ContentType. +type IpamFhrpGroupsBulkDestroyJSONRequestBody = IpamFhrpGroupsBulkDestroyJSONBody + +// IpamFhrpGroupsBulkDestroyMultipartRequestBody defines body for IpamFhrpGroupsBulkDestroy for multipart/form-data ContentType. +type IpamFhrpGroupsBulkDestroyMultipartRequestBody = IpamFhrpGroupsBulkDestroyMultipartBody + +// IpamFhrpGroupsBulkPartialUpdateJSONRequestBody defines body for IpamFhrpGroupsBulkPartialUpdate for application/json ContentType. +type IpamFhrpGroupsBulkPartialUpdateJSONRequestBody = IpamFhrpGroupsBulkPartialUpdateJSONBody + +// IpamFhrpGroupsBulkPartialUpdateMultipartRequestBody defines body for IpamFhrpGroupsBulkPartialUpdate for multipart/form-data ContentType. +type IpamFhrpGroupsBulkPartialUpdateMultipartRequestBody = IpamFhrpGroupsBulkPartialUpdateMultipartBody + +// IpamFhrpGroupsCreateJSONRequestBody defines body for IpamFhrpGroupsCreate for application/json ContentType. +type IpamFhrpGroupsCreateJSONRequestBody = FHRPGroupRequest + +// IpamFhrpGroupsCreateMultipartRequestBody defines body for IpamFhrpGroupsCreate for multipart/form-data ContentType. +type IpamFhrpGroupsCreateMultipartRequestBody = FHRPGroupRequest + +// IpamFhrpGroupsBulkUpdateJSONRequestBody defines body for IpamFhrpGroupsBulkUpdate for application/json ContentType. +type IpamFhrpGroupsBulkUpdateJSONRequestBody = IpamFhrpGroupsBulkUpdateJSONBody + +// IpamFhrpGroupsBulkUpdateMultipartRequestBody defines body for IpamFhrpGroupsBulkUpdate for multipart/form-data ContentType. +type IpamFhrpGroupsBulkUpdateMultipartRequestBody = IpamFhrpGroupsBulkUpdateMultipartBody + +// IpamFhrpGroupsPartialUpdateJSONRequestBody defines body for IpamFhrpGroupsPartialUpdate for application/json ContentType. +type IpamFhrpGroupsPartialUpdateJSONRequestBody = PatchedFHRPGroupRequest + +// IpamFhrpGroupsPartialUpdateMultipartRequestBody defines body for IpamFhrpGroupsPartialUpdate for multipart/form-data ContentType. +type IpamFhrpGroupsPartialUpdateMultipartRequestBody = PatchedFHRPGroupRequest + +// IpamFhrpGroupsUpdateJSONRequestBody defines body for IpamFhrpGroupsUpdate for application/json ContentType. +type IpamFhrpGroupsUpdateJSONRequestBody = FHRPGroupRequest + +// IpamFhrpGroupsUpdateMultipartRequestBody defines body for IpamFhrpGroupsUpdate for multipart/form-data ContentType. +type IpamFhrpGroupsUpdateMultipartRequestBody = FHRPGroupRequest + +// IpamIpAddressesBulkDestroyJSONRequestBody defines body for IpamIpAddressesBulkDestroy for application/json ContentType. +type IpamIpAddressesBulkDestroyJSONRequestBody = IpamIpAddressesBulkDestroyJSONBody + +// IpamIpAddressesBulkDestroyMultipartRequestBody defines body for IpamIpAddressesBulkDestroy for multipart/form-data ContentType. +type IpamIpAddressesBulkDestroyMultipartRequestBody = IpamIpAddressesBulkDestroyMultipartBody + +// IpamIpAddressesBulkPartialUpdateJSONRequestBody defines body for IpamIpAddressesBulkPartialUpdate for application/json ContentType. +type IpamIpAddressesBulkPartialUpdateJSONRequestBody = IpamIpAddressesBulkPartialUpdateJSONBody + +// IpamIpAddressesBulkPartialUpdateMultipartRequestBody defines body for IpamIpAddressesBulkPartialUpdate for multipart/form-data ContentType. +type IpamIpAddressesBulkPartialUpdateMultipartRequestBody = IpamIpAddressesBulkPartialUpdateMultipartBody + +// IpamIpAddressesCreateJSONRequestBody defines body for IpamIpAddressesCreate for application/json ContentType. +type IpamIpAddressesCreateJSONRequestBody = WritableIPAddressRequest + +// IpamIpAddressesCreateMultipartRequestBody defines body for IpamIpAddressesCreate for multipart/form-data ContentType. +type IpamIpAddressesCreateMultipartRequestBody = WritableIPAddressRequest + +// IpamIpAddressesBulkUpdateJSONRequestBody defines body for IpamIpAddressesBulkUpdate for application/json ContentType. +type IpamIpAddressesBulkUpdateJSONRequestBody = IpamIpAddressesBulkUpdateJSONBody + +// IpamIpAddressesBulkUpdateMultipartRequestBody defines body for IpamIpAddressesBulkUpdate for multipart/form-data ContentType. +type IpamIpAddressesBulkUpdateMultipartRequestBody = IpamIpAddressesBulkUpdateMultipartBody + +// IpamIpAddressesPartialUpdateJSONRequestBody defines body for IpamIpAddressesPartialUpdate for application/json ContentType. +type IpamIpAddressesPartialUpdateJSONRequestBody = PatchedWritableIPAddressRequest + +// IpamIpAddressesPartialUpdateMultipartRequestBody defines body for IpamIpAddressesPartialUpdate for multipart/form-data ContentType. +type IpamIpAddressesPartialUpdateMultipartRequestBody = PatchedWritableIPAddressRequest + +// IpamIpAddressesUpdateJSONRequestBody defines body for IpamIpAddressesUpdate for application/json ContentType. +type IpamIpAddressesUpdateJSONRequestBody = WritableIPAddressRequest + +// IpamIpAddressesUpdateMultipartRequestBody defines body for IpamIpAddressesUpdate for multipart/form-data ContentType. +type IpamIpAddressesUpdateMultipartRequestBody = WritableIPAddressRequest + +// IpamIpRangesBulkDestroyJSONRequestBody defines body for IpamIpRangesBulkDestroy for application/json ContentType. +type IpamIpRangesBulkDestroyJSONRequestBody = IpamIpRangesBulkDestroyJSONBody + +// IpamIpRangesBulkDestroyMultipartRequestBody defines body for IpamIpRangesBulkDestroy for multipart/form-data ContentType. +type IpamIpRangesBulkDestroyMultipartRequestBody = IpamIpRangesBulkDestroyMultipartBody + +// IpamIpRangesBulkPartialUpdateJSONRequestBody defines body for IpamIpRangesBulkPartialUpdate for application/json ContentType. +type IpamIpRangesBulkPartialUpdateJSONRequestBody = IpamIpRangesBulkPartialUpdateJSONBody + +// IpamIpRangesBulkPartialUpdateMultipartRequestBody defines body for IpamIpRangesBulkPartialUpdate for multipart/form-data ContentType. +type IpamIpRangesBulkPartialUpdateMultipartRequestBody = IpamIpRangesBulkPartialUpdateMultipartBody + +// IpamIpRangesCreateJSONRequestBody defines body for IpamIpRangesCreate for application/json ContentType. +type IpamIpRangesCreateJSONRequestBody = WritableIPRangeRequest + +// IpamIpRangesCreateMultipartRequestBody defines body for IpamIpRangesCreate for multipart/form-data ContentType. +type IpamIpRangesCreateMultipartRequestBody = WritableIPRangeRequest + +// IpamIpRangesBulkUpdateJSONRequestBody defines body for IpamIpRangesBulkUpdate for application/json ContentType. +type IpamIpRangesBulkUpdateJSONRequestBody = IpamIpRangesBulkUpdateJSONBody + +// IpamIpRangesBulkUpdateMultipartRequestBody defines body for IpamIpRangesBulkUpdate for multipart/form-data ContentType. +type IpamIpRangesBulkUpdateMultipartRequestBody = IpamIpRangesBulkUpdateMultipartBody + +// IpamIpRangesPartialUpdateJSONRequestBody defines body for IpamIpRangesPartialUpdate for application/json ContentType. +type IpamIpRangesPartialUpdateJSONRequestBody = PatchedWritableIPRangeRequest + +// IpamIpRangesPartialUpdateMultipartRequestBody defines body for IpamIpRangesPartialUpdate for multipart/form-data ContentType. +type IpamIpRangesPartialUpdateMultipartRequestBody = PatchedWritableIPRangeRequest + +// IpamIpRangesUpdateJSONRequestBody defines body for IpamIpRangesUpdate for application/json ContentType. +type IpamIpRangesUpdateJSONRequestBody = WritableIPRangeRequest + +// IpamIpRangesUpdateMultipartRequestBody defines body for IpamIpRangesUpdate for multipart/form-data ContentType. +type IpamIpRangesUpdateMultipartRequestBody = WritableIPRangeRequest + +// IpamIpRangesAvailableIpsCreateJSONRequestBody defines body for IpamIpRangesAvailableIpsCreate for application/json ContentType. +type IpamIpRangesAvailableIpsCreateJSONRequestBody = IpamIpRangesAvailableIpsCreateJSONBody + +// IpamIpRangesAvailableIpsCreateMultipartRequestBody defines body for IpamIpRangesAvailableIpsCreate for multipart/form-data ContentType. +type IpamIpRangesAvailableIpsCreateMultipartRequestBody = IpamIpRangesAvailableIpsCreateMultipartBody + +// IpamL2vpnTerminationsBulkDestroyJSONRequestBody defines body for IpamL2vpnTerminationsBulkDestroy for application/json ContentType. +type IpamL2vpnTerminationsBulkDestroyJSONRequestBody = IpamL2vpnTerminationsBulkDestroyJSONBody + +// IpamL2vpnTerminationsBulkDestroyMultipartRequestBody defines body for IpamL2vpnTerminationsBulkDestroy for multipart/form-data ContentType. +type IpamL2vpnTerminationsBulkDestroyMultipartRequestBody = IpamL2vpnTerminationsBulkDestroyMultipartBody + +// IpamL2vpnTerminationsBulkPartialUpdateJSONRequestBody defines body for IpamL2vpnTerminationsBulkPartialUpdate for application/json ContentType. +type IpamL2vpnTerminationsBulkPartialUpdateJSONRequestBody = IpamL2vpnTerminationsBulkPartialUpdateJSONBody + +// IpamL2vpnTerminationsBulkPartialUpdateMultipartRequestBody defines body for IpamL2vpnTerminationsBulkPartialUpdate for multipart/form-data ContentType. +type IpamL2vpnTerminationsBulkPartialUpdateMultipartRequestBody = IpamL2vpnTerminationsBulkPartialUpdateMultipartBody + +// IpamL2vpnTerminationsCreateJSONRequestBody defines body for IpamL2vpnTerminationsCreate for application/json ContentType. +type IpamL2vpnTerminationsCreateJSONRequestBody = WritableL2VPNTerminationRequest + +// IpamL2vpnTerminationsCreateMultipartRequestBody defines body for IpamL2vpnTerminationsCreate for multipart/form-data ContentType. +type IpamL2vpnTerminationsCreateMultipartRequestBody = WritableL2VPNTerminationRequest + +// IpamL2vpnTerminationsBulkUpdateJSONRequestBody defines body for IpamL2vpnTerminationsBulkUpdate for application/json ContentType. +type IpamL2vpnTerminationsBulkUpdateJSONRequestBody = IpamL2vpnTerminationsBulkUpdateJSONBody + +// IpamL2vpnTerminationsBulkUpdateMultipartRequestBody defines body for IpamL2vpnTerminationsBulkUpdate for multipart/form-data ContentType. +type IpamL2vpnTerminationsBulkUpdateMultipartRequestBody = IpamL2vpnTerminationsBulkUpdateMultipartBody + +// IpamL2vpnTerminationsPartialUpdateJSONRequestBody defines body for IpamL2vpnTerminationsPartialUpdate for application/json ContentType. +type IpamL2vpnTerminationsPartialUpdateJSONRequestBody = PatchedWritableL2VPNTerminationRequest + +// IpamL2vpnTerminationsPartialUpdateMultipartRequestBody defines body for IpamL2vpnTerminationsPartialUpdate for multipart/form-data ContentType. +type IpamL2vpnTerminationsPartialUpdateMultipartRequestBody = PatchedWritableL2VPNTerminationRequest + +// IpamL2vpnTerminationsUpdateJSONRequestBody defines body for IpamL2vpnTerminationsUpdate for application/json ContentType. +type IpamL2vpnTerminationsUpdateJSONRequestBody = WritableL2VPNTerminationRequest + +// IpamL2vpnTerminationsUpdateMultipartRequestBody defines body for IpamL2vpnTerminationsUpdate for multipart/form-data ContentType. +type IpamL2vpnTerminationsUpdateMultipartRequestBody = WritableL2VPNTerminationRequest + +// IpamL2vpnsBulkDestroyJSONRequestBody defines body for IpamL2vpnsBulkDestroy for application/json ContentType. +type IpamL2vpnsBulkDestroyJSONRequestBody = IpamL2vpnsBulkDestroyJSONBody + +// IpamL2vpnsBulkDestroyMultipartRequestBody defines body for IpamL2vpnsBulkDestroy for multipart/form-data ContentType. +type IpamL2vpnsBulkDestroyMultipartRequestBody = IpamL2vpnsBulkDestroyMultipartBody + +// IpamL2vpnsBulkPartialUpdateJSONRequestBody defines body for IpamL2vpnsBulkPartialUpdate for application/json ContentType. +type IpamL2vpnsBulkPartialUpdateJSONRequestBody = IpamL2vpnsBulkPartialUpdateJSONBody + +// IpamL2vpnsBulkPartialUpdateMultipartRequestBody defines body for IpamL2vpnsBulkPartialUpdate for multipart/form-data ContentType. +type IpamL2vpnsBulkPartialUpdateMultipartRequestBody = IpamL2vpnsBulkPartialUpdateMultipartBody + +// IpamL2vpnsCreateJSONRequestBody defines body for IpamL2vpnsCreate for application/json ContentType. +type IpamL2vpnsCreateJSONRequestBody = WritableL2VPNRequest + +// IpamL2vpnsCreateMultipartRequestBody defines body for IpamL2vpnsCreate for multipart/form-data ContentType. +type IpamL2vpnsCreateMultipartRequestBody = WritableL2VPNRequest + +// IpamL2vpnsBulkUpdateJSONRequestBody defines body for IpamL2vpnsBulkUpdate for application/json ContentType. +type IpamL2vpnsBulkUpdateJSONRequestBody = IpamL2vpnsBulkUpdateJSONBody + +// IpamL2vpnsBulkUpdateMultipartRequestBody defines body for IpamL2vpnsBulkUpdate for multipart/form-data ContentType. +type IpamL2vpnsBulkUpdateMultipartRequestBody = IpamL2vpnsBulkUpdateMultipartBody + +// IpamL2vpnsPartialUpdateJSONRequestBody defines body for IpamL2vpnsPartialUpdate for application/json ContentType. +type IpamL2vpnsPartialUpdateJSONRequestBody = PatchedWritableL2VPNRequest + +// IpamL2vpnsPartialUpdateMultipartRequestBody defines body for IpamL2vpnsPartialUpdate for multipart/form-data ContentType. +type IpamL2vpnsPartialUpdateMultipartRequestBody = PatchedWritableL2VPNRequest + +// IpamL2vpnsUpdateJSONRequestBody defines body for IpamL2vpnsUpdate for application/json ContentType. +type IpamL2vpnsUpdateJSONRequestBody = WritableL2VPNRequest + +// IpamL2vpnsUpdateMultipartRequestBody defines body for IpamL2vpnsUpdate for multipart/form-data ContentType. +type IpamL2vpnsUpdateMultipartRequestBody = WritableL2VPNRequest + +// IpamPrefixesBulkDestroyJSONRequestBody defines body for IpamPrefixesBulkDestroy for application/json ContentType. +type IpamPrefixesBulkDestroyJSONRequestBody = IpamPrefixesBulkDestroyJSONBody + +// IpamPrefixesBulkDestroyMultipartRequestBody defines body for IpamPrefixesBulkDestroy for multipart/form-data ContentType. +type IpamPrefixesBulkDestroyMultipartRequestBody = IpamPrefixesBulkDestroyMultipartBody + +// IpamPrefixesBulkPartialUpdateJSONRequestBody defines body for IpamPrefixesBulkPartialUpdate for application/json ContentType. +type IpamPrefixesBulkPartialUpdateJSONRequestBody = IpamPrefixesBulkPartialUpdateJSONBody + +// IpamPrefixesBulkPartialUpdateMultipartRequestBody defines body for IpamPrefixesBulkPartialUpdate for multipart/form-data ContentType. +type IpamPrefixesBulkPartialUpdateMultipartRequestBody = IpamPrefixesBulkPartialUpdateMultipartBody + +// IpamPrefixesCreateJSONRequestBody defines body for IpamPrefixesCreate for application/json ContentType. +type IpamPrefixesCreateJSONRequestBody = WritablePrefixRequest + +// IpamPrefixesCreateMultipartRequestBody defines body for IpamPrefixesCreate for multipart/form-data ContentType. +type IpamPrefixesCreateMultipartRequestBody = WritablePrefixRequest + +// IpamPrefixesBulkUpdateJSONRequestBody defines body for IpamPrefixesBulkUpdate for application/json ContentType. +type IpamPrefixesBulkUpdateJSONRequestBody = IpamPrefixesBulkUpdateJSONBody + +// IpamPrefixesBulkUpdateMultipartRequestBody defines body for IpamPrefixesBulkUpdate for multipart/form-data ContentType. +type IpamPrefixesBulkUpdateMultipartRequestBody = IpamPrefixesBulkUpdateMultipartBody + +// IpamPrefixesPartialUpdateJSONRequestBody defines body for IpamPrefixesPartialUpdate for application/json ContentType. +type IpamPrefixesPartialUpdateJSONRequestBody = PatchedWritablePrefixRequest + +// IpamPrefixesPartialUpdateMultipartRequestBody defines body for IpamPrefixesPartialUpdate for multipart/form-data ContentType. +type IpamPrefixesPartialUpdateMultipartRequestBody = PatchedWritablePrefixRequest + +// IpamPrefixesUpdateJSONRequestBody defines body for IpamPrefixesUpdate for application/json ContentType. +type IpamPrefixesUpdateJSONRequestBody = WritablePrefixRequest + +// IpamPrefixesUpdateMultipartRequestBody defines body for IpamPrefixesUpdate for multipart/form-data ContentType. +type IpamPrefixesUpdateMultipartRequestBody = WritablePrefixRequest + +// IpamPrefixesAvailableIpsCreateJSONRequestBody defines body for IpamPrefixesAvailableIpsCreate for application/json ContentType. +type IpamPrefixesAvailableIpsCreateJSONRequestBody = IpamPrefixesAvailableIpsCreateJSONBody + +// IpamPrefixesAvailableIpsCreateMultipartRequestBody defines body for IpamPrefixesAvailableIpsCreate for multipart/form-data ContentType. +type IpamPrefixesAvailableIpsCreateMultipartRequestBody = IpamPrefixesAvailableIpsCreateMultipartBody + +// IpamPrefixesAvailablePrefixesCreateJSONRequestBody defines body for IpamPrefixesAvailablePrefixesCreate for application/json ContentType. +type IpamPrefixesAvailablePrefixesCreateJSONRequestBody = IpamPrefixesAvailablePrefixesCreateJSONBody + +// IpamPrefixesAvailablePrefixesCreateMultipartRequestBody defines body for IpamPrefixesAvailablePrefixesCreate for multipart/form-data ContentType. +type IpamPrefixesAvailablePrefixesCreateMultipartRequestBody = IpamPrefixesAvailablePrefixesCreateMultipartBody + +// IpamRirsBulkDestroyJSONRequestBody defines body for IpamRirsBulkDestroy for application/json ContentType. +type IpamRirsBulkDestroyJSONRequestBody = IpamRirsBulkDestroyJSONBody + +// IpamRirsBulkDestroyMultipartRequestBody defines body for IpamRirsBulkDestroy for multipart/form-data ContentType. +type IpamRirsBulkDestroyMultipartRequestBody = IpamRirsBulkDestroyMultipartBody + +// IpamRirsBulkPartialUpdateJSONRequestBody defines body for IpamRirsBulkPartialUpdate for application/json ContentType. +type IpamRirsBulkPartialUpdateJSONRequestBody = IpamRirsBulkPartialUpdateJSONBody + +// IpamRirsBulkPartialUpdateMultipartRequestBody defines body for IpamRirsBulkPartialUpdate for multipart/form-data ContentType. +type IpamRirsBulkPartialUpdateMultipartRequestBody = IpamRirsBulkPartialUpdateMultipartBody + +// IpamRirsCreateJSONRequestBody defines body for IpamRirsCreate for application/json ContentType. +type IpamRirsCreateJSONRequestBody = RIRRequest + +// IpamRirsCreateMultipartRequestBody defines body for IpamRirsCreate for multipart/form-data ContentType. +type IpamRirsCreateMultipartRequestBody = RIRRequest + +// IpamRirsBulkUpdateJSONRequestBody defines body for IpamRirsBulkUpdate for application/json ContentType. +type IpamRirsBulkUpdateJSONRequestBody = IpamRirsBulkUpdateJSONBody + +// IpamRirsBulkUpdateMultipartRequestBody defines body for IpamRirsBulkUpdate for multipart/form-data ContentType. +type IpamRirsBulkUpdateMultipartRequestBody = IpamRirsBulkUpdateMultipartBody + +// IpamRirsPartialUpdateJSONRequestBody defines body for IpamRirsPartialUpdate for application/json ContentType. +type IpamRirsPartialUpdateJSONRequestBody = PatchedRIRRequest + +// IpamRirsPartialUpdateMultipartRequestBody defines body for IpamRirsPartialUpdate for multipart/form-data ContentType. +type IpamRirsPartialUpdateMultipartRequestBody = PatchedRIRRequest + +// IpamRirsUpdateJSONRequestBody defines body for IpamRirsUpdate for application/json ContentType. +type IpamRirsUpdateJSONRequestBody = RIRRequest + +// IpamRirsUpdateMultipartRequestBody defines body for IpamRirsUpdate for multipart/form-data ContentType. +type IpamRirsUpdateMultipartRequestBody = RIRRequest + +// IpamRolesBulkDestroyJSONRequestBody defines body for IpamRolesBulkDestroy for application/json ContentType. +type IpamRolesBulkDestroyJSONRequestBody = IpamRolesBulkDestroyJSONBody + +// IpamRolesBulkDestroyMultipartRequestBody defines body for IpamRolesBulkDestroy for multipart/form-data ContentType. +type IpamRolesBulkDestroyMultipartRequestBody = IpamRolesBulkDestroyMultipartBody + +// IpamRolesBulkPartialUpdateJSONRequestBody defines body for IpamRolesBulkPartialUpdate for application/json ContentType. +type IpamRolesBulkPartialUpdateJSONRequestBody = IpamRolesBulkPartialUpdateJSONBody + +// IpamRolesBulkPartialUpdateMultipartRequestBody defines body for IpamRolesBulkPartialUpdate for multipart/form-data ContentType. +type IpamRolesBulkPartialUpdateMultipartRequestBody = IpamRolesBulkPartialUpdateMultipartBody + +// IpamRolesCreateJSONRequestBody defines body for IpamRolesCreate for application/json ContentType. +type IpamRolesCreateJSONRequestBody = RoleRequest + +// IpamRolesCreateMultipartRequestBody defines body for IpamRolesCreate for multipart/form-data ContentType. +type IpamRolesCreateMultipartRequestBody = RoleRequest + +// IpamRolesBulkUpdateJSONRequestBody defines body for IpamRolesBulkUpdate for application/json ContentType. +type IpamRolesBulkUpdateJSONRequestBody = IpamRolesBulkUpdateJSONBody + +// IpamRolesBulkUpdateMultipartRequestBody defines body for IpamRolesBulkUpdate for multipart/form-data ContentType. +type IpamRolesBulkUpdateMultipartRequestBody = IpamRolesBulkUpdateMultipartBody + +// IpamRolesPartialUpdateJSONRequestBody defines body for IpamRolesPartialUpdate for application/json ContentType. +type IpamRolesPartialUpdateJSONRequestBody = PatchedRoleRequest + +// IpamRolesPartialUpdateMultipartRequestBody defines body for IpamRolesPartialUpdate for multipart/form-data ContentType. +type IpamRolesPartialUpdateMultipartRequestBody = PatchedRoleRequest + +// IpamRolesUpdateJSONRequestBody defines body for IpamRolesUpdate for application/json ContentType. +type IpamRolesUpdateJSONRequestBody = RoleRequest + +// IpamRolesUpdateMultipartRequestBody defines body for IpamRolesUpdate for multipart/form-data ContentType. +type IpamRolesUpdateMultipartRequestBody = RoleRequest + +// IpamRouteTargetsBulkDestroyJSONRequestBody defines body for IpamRouteTargetsBulkDestroy for application/json ContentType. +type IpamRouteTargetsBulkDestroyJSONRequestBody = IpamRouteTargetsBulkDestroyJSONBody + +// IpamRouteTargetsBulkDestroyMultipartRequestBody defines body for IpamRouteTargetsBulkDestroy for multipart/form-data ContentType. +type IpamRouteTargetsBulkDestroyMultipartRequestBody = IpamRouteTargetsBulkDestroyMultipartBody + +// IpamRouteTargetsBulkPartialUpdateJSONRequestBody defines body for IpamRouteTargetsBulkPartialUpdate for application/json ContentType. +type IpamRouteTargetsBulkPartialUpdateJSONRequestBody = IpamRouteTargetsBulkPartialUpdateJSONBody + +// IpamRouteTargetsBulkPartialUpdateMultipartRequestBody defines body for IpamRouteTargetsBulkPartialUpdate for multipart/form-data ContentType. +type IpamRouteTargetsBulkPartialUpdateMultipartRequestBody = IpamRouteTargetsBulkPartialUpdateMultipartBody + +// IpamRouteTargetsCreateJSONRequestBody defines body for IpamRouteTargetsCreate for application/json ContentType. +type IpamRouteTargetsCreateJSONRequestBody = WritableRouteTargetRequest + +// IpamRouteTargetsCreateMultipartRequestBody defines body for IpamRouteTargetsCreate for multipart/form-data ContentType. +type IpamRouteTargetsCreateMultipartRequestBody = WritableRouteTargetRequest + +// IpamRouteTargetsBulkUpdateJSONRequestBody defines body for IpamRouteTargetsBulkUpdate for application/json ContentType. +type IpamRouteTargetsBulkUpdateJSONRequestBody = IpamRouteTargetsBulkUpdateJSONBody + +// IpamRouteTargetsBulkUpdateMultipartRequestBody defines body for IpamRouteTargetsBulkUpdate for multipart/form-data ContentType. +type IpamRouteTargetsBulkUpdateMultipartRequestBody = IpamRouteTargetsBulkUpdateMultipartBody + +// IpamRouteTargetsPartialUpdateJSONRequestBody defines body for IpamRouteTargetsPartialUpdate for application/json ContentType. +type IpamRouteTargetsPartialUpdateJSONRequestBody = PatchedWritableRouteTargetRequest + +// IpamRouteTargetsPartialUpdateMultipartRequestBody defines body for IpamRouteTargetsPartialUpdate for multipart/form-data ContentType. +type IpamRouteTargetsPartialUpdateMultipartRequestBody = PatchedWritableRouteTargetRequest + +// IpamRouteTargetsUpdateJSONRequestBody defines body for IpamRouteTargetsUpdate for application/json ContentType. +type IpamRouteTargetsUpdateJSONRequestBody = WritableRouteTargetRequest + +// IpamRouteTargetsUpdateMultipartRequestBody defines body for IpamRouteTargetsUpdate for multipart/form-data ContentType. +type IpamRouteTargetsUpdateMultipartRequestBody = WritableRouteTargetRequest + +// IpamServiceTemplatesBulkDestroyJSONRequestBody defines body for IpamServiceTemplatesBulkDestroy for application/json ContentType. +type IpamServiceTemplatesBulkDestroyJSONRequestBody = IpamServiceTemplatesBulkDestroyJSONBody + +// IpamServiceTemplatesBulkDestroyMultipartRequestBody defines body for IpamServiceTemplatesBulkDestroy for multipart/form-data ContentType. +type IpamServiceTemplatesBulkDestroyMultipartRequestBody = IpamServiceTemplatesBulkDestroyMultipartBody + +// IpamServiceTemplatesBulkPartialUpdateJSONRequestBody defines body for IpamServiceTemplatesBulkPartialUpdate for application/json ContentType. +type IpamServiceTemplatesBulkPartialUpdateJSONRequestBody = IpamServiceTemplatesBulkPartialUpdateJSONBody + +// IpamServiceTemplatesBulkPartialUpdateMultipartRequestBody defines body for IpamServiceTemplatesBulkPartialUpdate for multipart/form-data ContentType. +type IpamServiceTemplatesBulkPartialUpdateMultipartRequestBody = IpamServiceTemplatesBulkPartialUpdateMultipartBody + +// IpamServiceTemplatesCreateJSONRequestBody defines body for IpamServiceTemplatesCreate for application/json ContentType. +type IpamServiceTemplatesCreateJSONRequestBody = WritableServiceTemplateRequest + +// IpamServiceTemplatesCreateMultipartRequestBody defines body for IpamServiceTemplatesCreate for multipart/form-data ContentType. +type IpamServiceTemplatesCreateMultipartRequestBody = WritableServiceTemplateRequest + +// IpamServiceTemplatesBulkUpdateJSONRequestBody defines body for IpamServiceTemplatesBulkUpdate for application/json ContentType. +type IpamServiceTemplatesBulkUpdateJSONRequestBody = IpamServiceTemplatesBulkUpdateJSONBody + +// IpamServiceTemplatesBulkUpdateMultipartRequestBody defines body for IpamServiceTemplatesBulkUpdate for multipart/form-data ContentType. +type IpamServiceTemplatesBulkUpdateMultipartRequestBody = IpamServiceTemplatesBulkUpdateMultipartBody + +// IpamServiceTemplatesPartialUpdateJSONRequestBody defines body for IpamServiceTemplatesPartialUpdate for application/json ContentType. +type IpamServiceTemplatesPartialUpdateJSONRequestBody = PatchedWritableServiceTemplateRequest + +// IpamServiceTemplatesPartialUpdateMultipartRequestBody defines body for IpamServiceTemplatesPartialUpdate for multipart/form-data ContentType. +type IpamServiceTemplatesPartialUpdateMultipartRequestBody = PatchedWritableServiceTemplateRequest + +// IpamServiceTemplatesUpdateJSONRequestBody defines body for IpamServiceTemplatesUpdate for application/json ContentType. +type IpamServiceTemplatesUpdateJSONRequestBody = WritableServiceTemplateRequest + +// IpamServiceTemplatesUpdateMultipartRequestBody defines body for IpamServiceTemplatesUpdate for multipart/form-data ContentType. +type IpamServiceTemplatesUpdateMultipartRequestBody = WritableServiceTemplateRequest + +// IpamServicesBulkDestroyJSONRequestBody defines body for IpamServicesBulkDestroy for application/json ContentType. +type IpamServicesBulkDestroyJSONRequestBody = IpamServicesBulkDestroyJSONBody + +// IpamServicesBulkDestroyMultipartRequestBody defines body for IpamServicesBulkDestroy for multipart/form-data ContentType. +type IpamServicesBulkDestroyMultipartRequestBody = IpamServicesBulkDestroyMultipartBody + +// IpamServicesBulkPartialUpdateJSONRequestBody defines body for IpamServicesBulkPartialUpdate for application/json ContentType. +type IpamServicesBulkPartialUpdateJSONRequestBody = IpamServicesBulkPartialUpdateJSONBody + +// IpamServicesBulkPartialUpdateMultipartRequestBody defines body for IpamServicesBulkPartialUpdate for multipart/form-data ContentType. +type IpamServicesBulkPartialUpdateMultipartRequestBody = IpamServicesBulkPartialUpdateMultipartBody + +// IpamServicesCreateJSONRequestBody defines body for IpamServicesCreate for application/json ContentType. +type IpamServicesCreateJSONRequestBody = WritableServiceRequest + +// IpamServicesCreateMultipartRequestBody defines body for IpamServicesCreate for multipart/form-data ContentType. +type IpamServicesCreateMultipartRequestBody = WritableServiceRequest + +// IpamServicesBulkUpdateJSONRequestBody defines body for IpamServicesBulkUpdate for application/json ContentType. +type IpamServicesBulkUpdateJSONRequestBody = IpamServicesBulkUpdateJSONBody + +// IpamServicesBulkUpdateMultipartRequestBody defines body for IpamServicesBulkUpdate for multipart/form-data ContentType. +type IpamServicesBulkUpdateMultipartRequestBody = IpamServicesBulkUpdateMultipartBody + +// IpamServicesPartialUpdateJSONRequestBody defines body for IpamServicesPartialUpdate for application/json ContentType. +type IpamServicesPartialUpdateJSONRequestBody = PatchedWritableServiceRequest + +// IpamServicesPartialUpdateMultipartRequestBody defines body for IpamServicesPartialUpdate for multipart/form-data ContentType. +type IpamServicesPartialUpdateMultipartRequestBody = PatchedWritableServiceRequest + +// IpamServicesUpdateJSONRequestBody defines body for IpamServicesUpdate for application/json ContentType. +type IpamServicesUpdateJSONRequestBody = WritableServiceRequest + +// IpamServicesUpdateMultipartRequestBody defines body for IpamServicesUpdate for multipart/form-data ContentType. +type IpamServicesUpdateMultipartRequestBody = WritableServiceRequest + +// IpamVlanGroupsBulkDestroyJSONRequestBody defines body for IpamVlanGroupsBulkDestroy for application/json ContentType. +type IpamVlanGroupsBulkDestroyJSONRequestBody = IpamVlanGroupsBulkDestroyJSONBody + +// IpamVlanGroupsBulkDestroyMultipartRequestBody defines body for IpamVlanGroupsBulkDestroy for multipart/form-data ContentType. +type IpamVlanGroupsBulkDestroyMultipartRequestBody = IpamVlanGroupsBulkDestroyMultipartBody + +// IpamVlanGroupsBulkPartialUpdateJSONRequestBody defines body for IpamVlanGroupsBulkPartialUpdate for application/json ContentType. +type IpamVlanGroupsBulkPartialUpdateJSONRequestBody = IpamVlanGroupsBulkPartialUpdateJSONBody + +// IpamVlanGroupsBulkPartialUpdateMultipartRequestBody defines body for IpamVlanGroupsBulkPartialUpdate for multipart/form-data ContentType. +type IpamVlanGroupsBulkPartialUpdateMultipartRequestBody = IpamVlanGroupsBulkPartialUpdateMultipartBody + +// IpamVlanGroupsCreateJSONRequestBody defines body for IpamVlanGroupsCreate for application/json ContentType. +type IpamVlanGroupsCreateJSONRequestBody = VLANGroupRequest + +// IpamVlanGroupsCreateMultipartRequestBody defines body for IpamVlanGroupsCreate for multipart/form-data ContentType. +type IpamVlanGroupsCreateMultipartRequestBody = VLANGroupRequest + +// IpamVlanGroupsBulkUpdateJSONRequestBody defines body for IpamVlanGroupsBulkUpdate for application/json ContentType. +type IpamVlanGroupsBulkUpdateJSONRequestBody = IpamVlanGroupsBulkUpdateJSONBody + +// IpamVlanGroupsBulkUpdateMultipartRequestBody defines body for IpamVlanGroupsBulkUpdate for multipart/form-data ContentType. +type IpamVlanGroupsBulkUpdateMultipartRequestBody = IpamVlanGroupsBulkUpdateMultipartBody + +// IpamVlanGroupsPartialUpdateJSONRequestBody defines body for IpamVlanGroupsPartialUpdate for application/json ContentType. +type IpamVlanGroupsPartialUpdateJSONRequestBody = PatchedVLANGroupRequest + +// IpamVlanGroupsPartialUpdateMultipartRequestBody defines body for IpamVlanGroupsPartialUpdate for multipart/form-data ContentType. +type IpamVlanGroupsPartialUpdateMultipartRequestBody = PatchedVLANGroupRequest + +// IpamVlanGroupsUpdateJSONRequestBody defines body for IpamVlanGroupsUpdate for application/json ContentType. +type IpamVlanGroupsUpdateJSONRequestBody = VLANGroupRequest + +// IpamVlanGroupsUpdateMultipartRequestBody defines body for IpamVlanGroupsUpdate for multipart/form-data ContentType. +type IpamVlanGroupsUpdateMultipartRequestBody = VLANGroupRequest + +// IpamVlanGroupsAvailableVlansCreateJSONRequestBody defines body for IpamVlanGroupsAvailableVlansCreate for application/json ContentType. +type IpamVlanGroupsAvailableVlansCreateJSONRequestBody = IpamVlanGroupsAvailableVlansCreateJSONBody + +// IpamVlanGroupsAvailableVlansCreateMultipartRequestBody defines body for IpamVlanGroupsAvailableVlansCreate for multipart/form-data ContentType. +type IpamVlanGroupsAvailableVlansCreateMultipartRequestBody = IpamVlanGroupsAvailableVlansCreateMultipartBody + +// IpamVlansBulkDestroyJSONRequestBody defines body for IpamVlansBulkDestroy for application/json ContentType. +type IpamVlansBulkDestroyJSONRequestBody = IpamVlansBulkDestroyJSONBody + +// IpamVlansBulkDestroyMultipartRequestBody defines body for IpamVlansBulkDestroy for multipart/form-data ContentType. +type IpamVlansBulkDestroyMultipartRequestBody = IpamVlansBulkDestroyMultipartBody + +// IpamVlansBulkPartialUpdateJSONRequestBody defines body for IpamVlansBulkPartialUpdate for application/json ContentType. +type IpamVlansBulkPartialUpdateJSONRequestBody = IpamVlansBulkPartialUpdateJSONBody + +// IpamVlansBulkPartialUpdateMultipartRequestBody defines body for IpamVlansBulkPartialUpdate for multipart/form-data ContentType. +type IpamVlansBulkPartialUpdateMultipartRequestBody = IpamVlansBulkPartialUpdateMultipartBody + +// IpamVlansCreateJSONRequestBody defines body for IpamVlansCreate for application/json ContentType. +type IpamVlansCreateJSONRequestBody = WritableVLANRequest + +// IpamVlansCreateMultipartRequestBody defines body for IpamVlansCreate for multipart/form-data ContentType. +type IpamVlansCreateMultipartRequestBody = WritableVLANRequest + +// IpamVlansBulkUpdateJSONRequestBody defines body for IpamVlansBulkUpdate for application/json ContentType. +type IpamVlansBulkUpdateJSONRequestBody = IpamVlansBulkUpdateJSONBody + +// IpamVlansBulkUpdateMultipartRequestBody defines body for IpamVlansBulkUpdate for multipart/form-data ContentType. +type IpamVlansBulkUpdateMultipartRequestBody = IpamVlansBulkUpdateMultipartBody + +// IpamVlansPartialUpdateJSONRequestBody defines body for IpamVlansPartialUpdate for application/json ContentType. +type IpamVlansPartialUpdateJSONRequestBody = PatchedWritableVLANRequest + +// IpamVlansPartialUpdateMultipartRequestBody defines body for IpamVlansPartialUpdate for multipart/form-data ContentType. +type IpamVlansPartialUpdateMultipartRequestBody = PatchedWritableVLANRequest + +// IpamVlansUpdateJSONRequestBody defines body for IpamVlansUpdate for application/json ContentType. +type IpamVlansUpdateJSONRequestBody = WritableVLANRequest + +// IpamVlansUpdateMultipartRequestBody defines body for IpamVlansUpdate for multipart/form-data ContentType. +type IpamVlansUpdateMultipartRequestBody = WritableVLANRequest + +// IpamVrfsBulkDestroyJSONRequestBody defines body for IpamVrfsBulkDestroy for application/json ContentType. +type IpamVrfsBulkDestroyJSONRequestBody = IpamVrfsBulkDestroyJSONBody + +// IpamVrfsBulkDestroyMultipartRequestBody defines body for IpamVrfsBulkDestroy for multipart/form-data ContentType. +type IpamVrfsBulkDestroyMultipartRequestBody = IpamVrfsBulkDestroyMultipartBody + +// IpamVrfsBulkPartialUpdateJSONRequestBody defines body for IpamVrfsBulkPartialUpdate for application/json ContentType. +type IpamVrfsBulkPartialUpdateJSONRequestBody = IpamVrfsBulkPartialUpdateJSONBody + +// IpamVrfsBulkPartialUpdateMultipartRequestBody defines body for IpamVrfsBulkPartialUpdate for multipart/form-data ContentType. +type IpamVrfsBulkPartialUpdateMultipartRequestBody = IpamVrfsBulkPartialUpdateMultipartBody + +// IpamVrfsCreateJSONRequestBody defines body for IpamVrfsCreate for application/json ContentType. +type IpamVrfsCreateJSONRequestBody = WritableVRFRequest + +// IpamVrfsCreateMultipartRequestBody defines body for IpamVrfsCreate for multipart/form-data ContentType. +type IpamVrfsCreateMultipartRequestBody = WritableVRFRequest + +// IpamVrfsBulkUpdateJSONRequestBody defines body for IpamVrfsBulkUpdate for application/json ContentType. +type IpamVrfsBulkUpdateJSONRequestBody = IpamVrfsBulkUpdateJSONBody + +// IpamVrfsBulkUpdateMultipartRequestBody defines body for IpamVrfsBulkUpdate for multipart/form-data ContentType. +type IpamVrfsBulkUpdateMultipartRequestBody = IpamVrfsBulkUpdateMultipartBody + +// IpamVrfsPartialUpdateJSONRequestBody defines body for IpamVrfsPartialUpdate for application/json ContentType. +type IpamVrfsPartialUpdateJSONRequestBody = PatchedWritableVRFRequest + +// IpamVrfsPartialUpdateMultipartRequestBody defines body for IpamVrfsPartialUpdate for multipart/form-data ContentType. +type IpamVrfsPartialUpdateMultipartRequestBody = PatchedWritableVRFRequest + +// IpamVrfsUpdateJSONRequestBody defines body for IpamVrfsUpdate for application/json ContentType. +type IpamVrfsUpdateJSONRequestBody = WritableVRFRequest + +// IpamVrfsUpdateMultipartRequestBody defines body for IpamVrfsUpdate for multipart/form-data ContentType. +type IpamVrfsUpdateMultipartRequestBody = WritableVRFRequest + +// TenancyContactAssignmentsBulkDestroyJSONRequestBody defines body for TenancyContactAssignmentsBulkDestroy for application/json ContentType. +type TenancyContactAssignmentsBulkDestroyJSONRequestBody = TenancyContactAssignmentsBulkDestroyJSONBody + +// TenancyContactAssignmentsBulkDestroyMultipartRequestBody defines body for TenancyContactAssignmentsBulkDestroy for multipart/form-data ContentType. +type TenancyContactAssignmentsBulkDestroyMultipartRequestBody = TenancyContactAssignmentsBulkDestroyMultipartBody + +// TenancyContactAssignmentsBulkPartialUpdateJSONRequestBody defines body for TenancyContactAssignmentsBulkPartialUpdate for application/json ContentType. +type TenancyContactAssignmentsBulkPartialUpdateJSONRequestBody = TenancyContactAssignmentsBulkPartialUpdateJSONBody + +// TenancyContactAssignmentsBulkPartialUpdateMultipartRequestBody defines body for TenancyContactAssignmentsBulkPartialUpdate for multipart/form-data ContentType. +type TenancyContactAssignmentsBulkPartialUpdateMultipartRequestBody = TenancyContactAssignmentsBulkPartialUpdateMultipartBody + +// TenancyContactAssignmentsCreateJSONRequestBody defines body for TenancyContactAssignmentsCreate for application/json ContentType. +type TenancyContactAssignmentsCreateJSONRequestBody = WritableContactAssignmentRequest + +// TenancyContactAssignmentsCreateMultipartRequestBody defines body for TenancyContactAssignmentsCreate for multipart/form-data ContentType. +type TenancyContactAssignmentsCreateMultipartRequestBody = WritableContactAssignmentRequest + +// TenancyContactAssignmentsBulkUpdateJSONRequestBody defines body for TenancyContactAssignmentsBulkUpdate for application/json ContentType. +type TenancyContactAssignmentsBulkUpdateJSONRequestBody = TenancyContactAssignmentsBulkUpdateJSONBody + +// TenancyContactAssignmentsBulkUpdateMultipartRequestBody defines body for TenancyContactAssignmentsBulkUpdate for multipart/form-data ContentType. +type TenancyContactAssignmentsBulkUpdateMultipartRequestBody = TenancyContactAssignmentsBulkUpdateMultipartBody + +// TenancyContactAssignmentsPartialUpdateJSONRequestBody defines body for TenancyContactAssignmentsPartialUpdate for application/json ContentType. +type TenancyContactAssignmentsPartialUpdateJSONRequestBody = PatchedWritableContactAssignmentRequest + +// TenancyContactAssignmentsPartialUpdateMultipartRequestBody defines body for TenancyContactAssignmentsPartialUpdate for multipart/form-data ContentType. +type TenancyContactAssignmentsPartialUpdateMultipartRequestBody = PatchedWritableContactAssignmentRequest + +// TenancyContactAssignmentsUpdateJSONRequestBody defines body for TenancyContactAssignmentsUpdate for application/json ContentType. +type TenancyContactAssignmentsUpdateJSONRequestBody = WritableContactAssignmentRequest + +// TenancyContactAssignmentsUpdateMultipartRequestBody defines body for TenancyContactAssignmentsUpdate for multipart/form-data ContentType. +type TenancyContactAssignmentsUpdateMultipartRequestBody = WritableContactAssignmentRequest + +// TenancyContactGroupsBulkDestroyJSONRequestBody defines body for TenancyContactGroupsBulkDestroy for application/json ContentType. +type TenancyContactGroupsBulkDestroyJSONRequestBody = TenancyContactGroupsBulkDestroyJSONBody + +// TenancyContactGroupsBulkDestroyMultipartRequestBody defines body for TenancyContactGroupsBulkDestroy for multipart/form-data ContentType. +type TenancyContactGroupsBulkDestroyMultipartRequestBody = TenancyContactGroupsBulkDestroyMultipartBody + +// TenancyContactGroupsBulkPartialUpdateJSONRequestBody defines body for TenancyContactGroupsBulkPartialUpdate for application/json ContentType. +type TenancyContactGroupsBulkPartialUpdateJSONRequestBody = TenancyContactGroupsBulkPartialUpdateJSONBody + +// TenancyContactGroupsBulkPartialUpdateMultipartRequestBody defines body for TenancyContactGroupsBulkPartialUpdate for multipart/form-data ContentType. +type TenancyContactGroupsBulkPartialUpdateMultipartRequestBody = TenancyContactGroupsBulkPartialUpdateMultipartBody + +// TenancyContactGroupsCreateJSONRequestBody defines body for TenancyContactGroupsCreate for application/json ContentType. +type TenancyContactGroupsCreateJSONRequestBody = WritableContactGroupRequest + +// TenancyContactGroupsCreateMultipartRequestBody defines body for TenancyContactGroupsCreate for multipart/form-data ContentType. +type TenancyContactGroupsCreateMultipartRequestBody = WritableContactGroupRequest + +// TenancyContactGroupsBulkUpdateJSONRequestBody defines body for TenancyContactGroupsBulkUpdate for application/json ContentType. +type TenancyContactGroupsBulkUpdateJSONRequestBody = TenancyContactGroupsBulkUpdateJSONBody + +// TenancyContactGroupsBulkUpdateMultipartRequestBody defines body for TenancyContactGroupsBulkUpdate for multipart/form-data ContentType. +type TenancyContactGroupsBulkUpdateMultipartRequestBody = TenancyContactGroupsBulkUpdateMultipartBody + +// TenancyContactGroupsPartialUpdateJSONRequestBody defines body for TenancyContactGroupsPartialUpdate for application/json ContentType. +type TenancyContactGroupsPartialUpdateJSONRequestBody = PatchedWritableContactGroupRequest + +// TenancyContactGroupsPartialUpdateMultipartRequestBody defines body for TenancyContactGroupsPartialUpdate for multipart/form-data ContentType. +type TenancyContactGroupsPartialUpdateMultipartRequestBody = PatchedWritableContactGroupRequest + +// TenancyContactGroupsUpdateJSONRequestBody defines body for TenancyContactGroupsUpdate for application/json ContentType. +type TenancyContactGroupsUpdateJSONRequestBody = WritableContactGroupRequest + +// TenancyContactGroupsUpdateMultipartRequestBody defines body for TenancyContactGroupsUpdate for multipart/form-data ContentType. +type TenancyContactGroupsUpdateMultipartRequestBody = WritableContactGroupRequest + +// TenancyContactRolesBulkDestroyJSONRequestBody defines body for TenancyContactRolesBulkDestroy for application/json ContentType. +type TenancyContactRolesBulkDestroyJSONRequestBody = TenancyContactRolesBulkDestroyJSONBody + +// TenancyContactRolesBulkDestroyMultipartRequestBody defines body for TenancyContactRolesBulkDestroy for multipart/form-data ContentType. +type TenancyContactRolesBulkDestroyMultipartRequestBody = TenancyContactRolesBulkDestroyMultipartBody + +// TenancyContactRolesBulkPartialUpdateJSONRequestBody defines body for TenancyContactRolesBulkPartialUpdate for application/json ContentType. +type TenancyContactRolesBulkPartialUpdateJSONRequestBody = TenancyContactRolesBulkPartialUpdateJSONBody + +// TenancyContactRolesBulkPartialUpdateMultipartRequestBody defines body for TenancyContactRolesBulkPartialUpdate for multipart/form-data ContentType. +type TenancyContactRolesBulkPartialUpdateMultipartRequestBody = TenancyContactRolesBulkPartialUpdateMultipartBody + +// TenancyContactRolesCreateJSONRequestBody defines body for TenancyContactRolesCreate for application/json ContentType. +type TenancyContactRolesCreateJSONRequestBody = ContactRoleRequest + +// TenancyContactRolesCreateMultipartRequestBody defines body for TenancyContactRolesCreate for multipart/form-data ContentType. +type TenancyContactRolesCreateMultipartRequestBody = ContactRoleRequest + +// TenancyContactRolesBulkUpdateJSONRequestBody defines body for TenancyContactRolesBulkUpdate for application/json ContentType. +type TenancyContactRolesBulkUpdateJSONRequestBody = TenancyContactRolesBulkUpdateJSONBody + +// TenancyContactRolesBulkUpdateMultipartRequestBody defines body for TenancyContactRolesBulkUpdate for multipart/form-data ContentType. +type TenancyContactRolesBulkUpdateMultipartRequestBody = TenancyContactRolesBulkUpdateMultipartBody + +// TenancyContactRolesPartialUpdateJSONRequestBody defines body for TenancyContactRolesPartialUpdate for application/json ContentType. +type TenancyContactRolesPartialUpdateJSONRequestBody = PatchedContactRoleRequest + +// TenancyContactRolesPartialUpdateMultipartRequestBody defines body for TenancyContactRolesPartialUpdate for multipart/form-data ContentType. +type TenancyContactRolesPartialUpdateMultipartRequestBody = PatchedContactRoleRequest + +// TenancyContactRolesUpdateJSONRequestBody defines body for TenancyContactRolesUpdate for application/json ContentType. +type TenancyContactRolesUpdateJSONRequestBody = ContactRoleRequest + +// TenancyContactRolesUpdateMultipartRequestBody defines body for TenancyContactRolesUpdate for multipart/form-data ContentType. +type TenancyContactRolesUpdateMultipartRequestBody = ContactRoleRequest + +// TenancyContactsBulkDestroyJSONRequestBody defines body for TenancyContactsBulkDestroy for application/json ContentType. +type TenancyContactsBulkDestroyJSONRequestBody = TenancyContactsBulkDestroyJSONBody + +// TenancyContactsBulkDestroyMultipartRequestBody defines body for TenancyContactsBulkDestroy for multipart/form-data ContentType. +type TenancyContactsBulkDestroyMultipartRequestBody = TenancyContactsBulkDestroyMultipartBody + +// TenancyContactsBulkPartialUpdateJSONRequestBody defines body for TenancyContactsBulkPartialUpdate for application/json ContentType. +type TenancyContactsBulkPartialUpdateJSONRequestBody = TenancyContactsBulkPartialUpdateJSONBody + +// TenancyContactsBulkPartialUpdateMultipartRequestBody defines body for TenancyContactsBulkPartialUpdate for multipart/form-data ContentType. +type TenancyContactsBulkPartialUpdateMultipartRequestBody = TenancyContactsBulkPartialUpdateMultipartBody + +// TenancyContactsCreateJSONRequestBody defines body for TenancyContactsCreate for application/json ContentType. +type TenancyContactsCreateJSONRequestBody = WritableContactRequest + +// TenancyContactsCreateMultipartRequestBody defines body for TenancyContactsCreate for multipart/form-data ContentType. +type TenancyContactsCreateMultipartRequestBody = WritableContactRequest + +// TenancyContactsBulkUpdateJSONRequestBody defines body for TenancyContactsBulkUpdate for application/json ContentType. +type TenancyContactsBulkUpdateJSONRequestBody = TenancyContactsBulkUpdateJSONBody + +// TenancyContactsBulkUpdateMultipartRequestBody defines body for TenancyContactsBulkUpdate for multipart/form-data ContentType. +type TenancyContactsBulkUpdateMultipartRequestBody = TenancyContactsBulkUpdateMultipartBody + +// TenancyContactsPartialUpdateJSONRequestBody defines body for TenancyContactsPartialUpdate for application/json ContentType. +type TenancyContactsPartialUpdateJSONRequestBody = PatchedWritableContactRequest + +// TenancyContactsPartialUpdateMultipartRequestBody defines body for TenancyContactsPartialUpdate for multipart/form-data ContentType. +type TenancyContactsPartialUpdateMultipartRequestBody = PatchedWritableContactRequest + +// TenancyContactsUpdateJSONRequestBody defines body for TenancyContactsUpdate for application/json ContentType. +type TenancyContactsUpdateJSONRequestBody = WritableContactRequest + +// TenancyContactsUpdateMultipartRequestBody defines body for TenancyContactsUpdate for multipart/form-data ContentType. +type TenancyContactsUpdateMultipartRequestBody = WritableContactRequest + +// TenancyTenantGroupsBulkDestroyJSONRequestBody defines body for TenancyTenantGroupsBulkDestroy for application/json ContentType. +type TenancyTenantGroupsBulkDestroyJSONRequestBody = TenancyTenantGroupsBulkDestroyJSONBody + +// TenancyTenantGroupsBulkDestroyMultipartRequestBody defines body for TenancyTenantGroupsBulkDestroy for multipart/form-data ContentType. +type TenancyTenantGroupsBulkDestroyMultipartRequestBody = TenancyTenantGroupsBulkDestroyMultipartBody + +// TenancyTenantGroupsBulkPartialUpdateJSONRequestBody defines body for TenancyTenantGroupsBulkPartialUpdate for application/json ContentType. +type TenancyTenantGroupsBulkPartialUpdateJSONRequestBody = TenancyTenantGroupsBulkPartialUpdateJSONBody + +// TenancyTenantGroupsBulkPartialUpdateMultipartRequestBody defines body for TenancyTenantGroupsBulkPartialUpdate for multipart/form-data ContentType. +type TenancyTenantGroupsBulkPartialUpdateMultipartRequestBody = TenancyTenantGroupsBulkPartialUpdateMultipartBody + +// TenancyTenantGroupsCreateJSONRequestBody defines body for TenancyTenantGroupsCreate for application/json ContentType. +type TenancyTenantGroupsCreateJSONRequestBody = WritableTenantGroupRequest + +// TenancyTenantGroupsCreateMultipartRequestBody defines body for TenancyTenantGroupsCreate for multipart/form-data ContentType. +type TenancyTenantGroupsCreateMultipartRequestBody = WritableTenantGroupRequest + +// TenancyTenantGroupsBulkUpdateJSONRequestBody defines body for TenancyTenantGroupsBulkUpdate for application/json ContentType. +type TenancyTenantGroupsBulkUpdateJSONRequestBody = TenancyTenantGroupsBulkUpdateJSONBody + +// TenancyTenantGroupsBulkUpdateMultipartRequestBody defines body for TenancyTenantGroupsBulkUpdate for multipart/form-data ContentType. +type TenancyTenantGroupsBulkUpdateMultipartRequestBody = TenancyTenantGroupsBulkUpdateMultipartBody + +// TenancyTenantGroupsPartialUpdateJSONRequestBody defines body for TenancyTenantGroupsPartialUpdate for application/json ContentType. +type TenancyTenantGroupsPartialUpdateJSONRequestBody = PatchedWritableTenantGroupRequest + +// TenancyTenantGroupsPartialUpdateMultipartRequestBody defines body for TenancyTenantGroupsPartialUpdate for multipart/form-data ContentType. +type TenancyTenantGroupsPartialUpdateMultipartRequestBody = PatchedWritableTenantGroupRequest + +// TenancyTenantGroupsUpdateJSONRequestBody defines body for TenancyTenantGroupsUpdate for application/json ContentType. +type TenancyTenantGroupsUpdateJSONRequestBody = WritableTenantGroupRequest + +// TenancyTenantGroupsUpdateMultipartRequestBody defines body for TenancyTenantGroupsUpdate for multipart/form-data ContentType. +type TenancyTenantGroupsUpdateMultipartRequestBody = WritableTenantGroupRequest + +// TenancyTenantsBulkDestroyJSONRequestBody defines body for TenancyTenantsBulkDestroy for application/json ContentType. +type TenancyTenantsBulkDestroyJSONRequestBody = TenancyTenantsBulkDestroyJSONBody + +// TenancyTenantsBulkDestroyMultipartRequestBody defines body for TenancyTenantsBulkDestroy for multipart/form-data ContentType. +type TenancyTenantsBulkDestroyMultipartRequestBody = TenancyTenantsBulkDestroyMultipartBody + +// TenancyTenantsBulkPartialUpdateJSONRequestBody defines body for TenancyTenantsBulkPartialUpdate for application/json ContentType. +type TenancyTenantsBulkPartialUpdateJSONRequestBody = TenancyTenantsBulkPartialUpdateJSONBody + +// TenancyTenantsBulkPartialUpdateMultipartRequestBody defines body for TenancyTenantsBulkPartialUpdate for multipart/form-data ContentType. +type TenancyTenantsBulkPartialUpdateMultipartRequestBody = TenancyTenantsBulkPartialUpdateMultipartBody + +// TenancyTenantsCreateJSONRequestBody defines body for TenancyTenantsCreate for application/json ContentType. +type TenancyTenantsCreateJSONRequestBody = WritableTenantRequest + +// TenancyTenantsCreateMultipartRequestBody defines body for TenancyTenantsCreate for multipart/form-data ContentType. +type TenancyTenantsCreateMultipartRequestBody = WritableTenantRequest + +// TenancyTenantsBulkUpdateJSONRequestBody defines body for TenancyTenantsBulkUpdate for application/json ContentType. +type TenancyTenantsBulkUpdateJSONRequestBody = TenancyTenantsBulkUpdateJSONBody + +// TenancyTenantsBulkUpdateMultipartRequestBody defines body for TenancyTenantsBulkUpdate for multipart/form-data ContentType. +type TenancyTenantsBulkUpdateMultipartRequestBody = TenancyTenantsBulkUpdateMultipartBody + +// TenancyTenantsPartialUpdateJSONRequestBody defines body for TenancyTenantsPartialUpdate for application/json ContentType. +type TenancyTenantsPartialUpdateJSONRequestBody = PatchedWritableTenantRequest + +// TenancyTenantsPartialUpdateMultipartRequestBody defines body for TenancyTenantsPartialUpdate for multipart/form-data ContentType. +type TenancyTenantsPartialUpdateMultipartRequestBody = PatchedWritableTenantRequest + +// TenancyTenantsUpdateJSONRequestBody defines body for TenancyTenantsUpdate for application/json ContentType. +type TenancyTenantsUpdateJSONRequestBody = WritableTenantRequest + +// TenancyTenantsUpdateMultipartRequestBody defines body for TenancyTenantsUpdate for multipart/form-data ContentType. +type TenancyTenantsUpdateMultipartRequestBody = WritableTenantRequest + +// UsersGroupsBulkDestroyJSONRequestBody defines body for UsersGroupsBulkDestroy for application/json ContentType. +type UsersGroupsBulkDestroyJSONRequestBody = UsersGroupsBulkDestroyJSONBody + +// UsersGroupsBulkDestroyMultipartRequestBody defines body for UsersGroupsBulkDestroy for multipart/form-data ContentType. +type UsersGroupsBulkDestroyMultipartRequestBody = UsersGroupsBulkDestroyMultipartBody + +// UsersGroupsBulkPartialUpdateJSONRequestBody defines body for UsersGroupsBulkPartialUpdate for application/json ContentType. +type UsersGroupsBulkPartialUpdateJSONRequestBody = UsersGroupsBulkPartialUpdateJSONBody + +// UsersGroupsBulkPartialUpdateMultipartRequestBody defines body for UsersGroupsBulkPartialUpdate for multipart/form-data ContentType. +type UsersGroupsBulkPartialUpdateMultipartRequestBody = UsersGroupsBulkPartialUpdateMultipartBody + +// UsersGroupsCreateJSONRequestBody defines body for UsersGroupsCreate for application/json ContentType. +type UsersGroupsCreateJSONRequestBody = GroupRequest + +// UsersGroupsCreateMultipartRequestBody defines body for UsersGroupsCreate for multipart/form-data ContentType. +type UsersGroupsCreateMultipartRequestBody = GroupRequest + +// UsersGroupsBulkUpdateJSONRequestBody defines body for UsersGroupsBulkUpdate for application/json ContentType. +type UsersGroupsBulkUpdateJSONRequestBody = UsersGroupsBulkUpdateJSONBody + +// UsersGroupsBulkUpdateMultipartRequestBody defines body for UsersGroupsBulkUpdate for multipart/form-data ContentType. +type UsersGroupsBulkUpdateMultipartRequestBody = UsersGroupsBulkUpdateMultipartBody + +// UsersGroupsPartialUpdateJSONRequestBody defines body for UsersGroupsPartialUpdate for application/json ContentType. +type UsersGroupsPartialUpdateJSONRequestBody = PatchedGroupRequest + +// UsersGroupsPartialUpdateMultipartRequestBody defines body for UsersGroupsPartialUpdate for multipart/form-data ContentType. +type UsersGroupsPartialUpdateMultipartRequestBody = PatchedGroupRequest + +// UsersGroupsUpdateJSONRequestBody defines body for UsersGroupsUpdate for application/json ContentType. +type UsersGroupsUpdateJSONRequestBody = GroupRequest + +// UsersGroupsUpdateMultipartRequestBody defines body for UsersGroupsUpdate for multipart/form-data ContentType. +type UsersGroupsUpdateMultipartRequestBody = GroupRequest + +// UsersPermissionsBulkDestroyJSONRequestBody defines body for UsersPermissionsBulkDestroy for application/json ContentType. +type UsersPermissionsBulkDestroyJSONRequestBody = UsersPermissionsBulkDestroyJSONBody + +// UsersPermissionsBulkDestroyMultipartRequestBody defines body for UsersPermissionsBulkDestroy for multipart/form-data ContentType. +type UsersPermissionsBulkDestroyMultipartRequestBody = UsersPermissionsBulkDestroyMultipartBody + +// UsersPermissionsBulkPartialUpdateJSONRequestBody defines body for UsersPermissionsBulkPartialUpdate for application/json ContentType. +type UsersPermissionsBulkPartialUpdateJSONRequestBody = UsersPermissionsBulkPartialUpdateJSONBody + +// UsersPermissionsBulkPartialUpdateMultipartRequestBody defines body for UsersPermissionsBulkPartialUpdate for multipart/form-data ContentType. +type UsersPermissionsBulkPartialUpdateMultipartRequestBody = UsersPermissionsBulkPartialUpdateMultipartBody + +// UsersPermissionsCreateJSONRequestBody defines body for UsersPermissionsCreate for application/json ContentType. +type UsersPermissionsCreateJSONRequestBody = WritableObjectPermissionRequest + +// UsersPermissionsCreateMultipartRequestBody defines body for UsersPermissionsCreate for multipart/form-data ContentType. +type UsersPermissionsCreateMultipartRequestBody = WritableObjectPermissionRequest + +// UsersPermissionsBulkUpdateJSONRequestBody defines body for UsersPermissionsBulkUpdate for application/json ContentType. +type UsersPermissionsBulkUpdateJSONRequestBody = UsersPermissionsBulkUpdateJSONBody + +// UsersPermissionsBulkUpdateMultipartRequestBody defines body for UsersPermissionsBulkUpdate for multipart/form-data ContentType. +type UsersPermissionsBulkUpdateMultipartRequestBody = UsersPermissionsBulkUpdateMultipartBody + +// UsersPermissionsPartialUpdateJSONRequestBody defines body for UsersPermissionsPartialUpdate for application/json ContentType. +type UsersPermissionsPartialUpdateJSONRequestBody = PatchedWritableObjectPermissionRequest + +// UsersPermissionsPartialUpdateMultipartRequestBody defines body for UsersPermissionsPartialUpdate for multipart/form-data ContentType. +type UsersPermissionsPartialUpdateMultipartRequestBody = PatchedWritableObjectPermissionRequest + +// UsersPermissionsUpdateJSONRequestBody defines body for UsersPermissionsUpdate for application/json ContentType. +type UsersPermissionsUpdateJSONRequestBody = WritableObjectPermissionRequest + +// UsersPermissionsUpdateMultipartRequestBody defines body for UsersPermissionsUpdate for multipart/form-data ContentType. +type UsersPermissionsUpdateMultipartRequestBody = WritableObjectPermissionRequest + +// UsersTokensBulkDestroyJSONRequestBody defines body for UsersTokensBulkDestroy for application/json ContentType. +type UsersTokensBulkDestroyJSONRequestBody = UsersTokensBulkDestroyJSONBody + +// UsersTokensBulkDestroyMultipartRequestBody defines body for UsersTokensBulkDestroy for multipart/form-data ContentType. +type UsersTokensBulkDestroyMultipartRequestBody = UsersTokensBulkDestroyMultipartBody + +// UsersTokensBulkPartialUpdateJSONRequestBody defines body for UsersTokensBulkPartialUpdate for application/json ContentType. +type UsersTokensBulkPartialUpdateJSONRequestBody = UsersTokensBulkPartialUpdateJSONBody + +// UsersTokensBulkPartialUpdateMultipartRequestBody defines body for UsersTokensBulkPartialUpdate for multipart/form-data ContentType. +type UsersTokensBulkPartialUpdateMultipartRequestBody = UsersTokensBulkPartialUpdateMultipartBody + +// UsersTokensCreateJSONRequestBody defines body for UsersTokensCreate for application/json ContentType. +type UsersTokensCreateJSONRequestBody = WritableTokenRequest + +// UsersTokensCreateMultipartRequestBody defines body for UsersTokensCreate for multipart/form-data ContentType. +type UsersTokensCreateMultipartRequestBody = WritableTokenRequest + +// UsersTokensBulkUpdateJSONRequestBody defines body for UsersTokensBulkUpdate for application/json ContentType. +type UsersTokensBulkUpdateJSONRequestBody = UsersTokensBulkUpdateJSONBody + +// UsersTokensBulkUpdateMultipartRequestBody defines body for UsersTokensBulkUpdate for multipart/form-data ContentType. +type UsersTokensBulkUpdateMultipartRequestBody = UsersTokensBulkUpdateMultipartBody + +// UsersTokensProvisionCreateJSONRequestBody defines body for UsersTokensProvisionCreate for application/json ContentType. +type UsersTokensProvisionCreateJSONRequestBody = TokenProvisionRequest + +// UsersTokensProvisionCreateMultipartRequestBody defines body for UsersTokensProvisionCreate for multipart/form-data ContentType. +type UsersTokensProvisionCreateMultipartRequestBody = TokenProvisionRequest + +// UsersTokensPartialUpdateJSONRequestBody defines body for UsersTokensPartialUpdate for application/json ContentType. +type UsersTokensPartialUpdateJSONRequestBody = PatchedWritableTokenRequest + +// UsersTokensPartialUpdateMultipartRequestBody defines body for UsersTokensPartialUpdate for multipart/form-data ContentType. +type UsersTokensPartialUpdateMultipartRequestBody = PatchedWritableTokenRequest + +// UsersTokensUpdateJSONRequestBody defines body for UsersTokensUpdate for application/json ContentType. +type UsersTokensUpdateJSONRequestBody = WritableTokenRequest + +// UsersTokensUpdateMultipartRequestBody defines body for UsersTokensUpdate for multipart/form-data ContentType. +type UsersTokensUpdateMultipartRequestBody = WritableTokenRequest + +// UsersUsersBulkDestroyJSONRequestBody defines body for UsersUsersBulkDestroy for application/json ContentType. +type UsersUsersBulkDestroyJSONRequestBody = UsersUsersBulkDestroyJSONBody + +// UsersUsersBulkDestroyMultipartRequestBody defines body for UsersUsersBulkDestroy for multipart/form-data ContentType. +type UsersUsersBulkDestroyMultipartRequestBody = UsersUsersBulkDestroyMultipartBody + +// UsersUsersBulkPartialUpdateJSONRequestBody defines body for UsersUsersBulkPartialUpdate for application/json ContentType. +type UsersUsersBulkPartialUpdateJSONRequestBody = UsersUsersBulkPartialUpdateJSONBody + +// UsersUsersBulkPartialUpdateMultipartRequestBody defines body for UsersUsersBulkPartialUpdate for multipart/form-data ContentType. +type UsersUsersBulkPartialUpdateMultipartRequestBody = UsersUsersBulkPartialUpdateMultipartBody + +// UsersUsersCreateJSONRequestBody defines body for UsersUsersCreate for application/json ContentType. +type UsersUsersCreateJSONRequestBody = WritableUserRequest + +// UsersUsersCreateMultipartRequestBody defines body for UsersUsersCreate for multipart/form-data ContentType. +type UsersUsersCreateMultipartRequestBody = WritableUserRequest + +// UsersUsersBulkUpdateJSONRequestBody defines body for UsersUsersBulkUpdate for application/json ContentType. +type UsersUsersBulkUpdateJSONRequestBody = UsersUsersBulkUpdateJSONBody + +// UsersUsersBulkUpdateMultipartRequestBody defines body for UsersUsersBulkUpdate for multipart/form-data ContentType. +type UsersUsersBulkUpdateMultipartRequestBody = UsersUsersBulkUpdateMultipartBody + +// UsersUsersPartialUpdateJSONRequestBody defines body for UsersUsersPartialUpdate for application/json ContentType. +type UsersUsersPartialUpdateJSONRequestBody = PatchedWritableUserRequest + +// UsersUsersPartialUpdateMultipartRequestBody defines body for UsersUsersPartialUpdate for multipart/form-data ContentType. +type UsersUsersPartialUpdateMultipartRequestBody = PatchedWritableUserRequest + +// UsersUsersUpdateJSONRequestBody defines body for UsersUsersUpdate for application/json ContentType. +type UsersUsersUpdateJSONRequestBody = WritableUserRequest + +// UsersUsersUpdateMultipartRequestBody defines body for UsersUsersUpdate for multipart/form-data ContentType. +type UsersUsersUpdateMultipartRequestBody = WritableUserRequest + +// VirtualizationClusterGroupsBulkDestroyJSONRequestBody defines body for VirtualizationClusterGroupsBulkDestroy for application/json ContentType. +type VirtualizationClusterGroupsBulkDestroyJSONRequestBody = VirtualizationClusterGroupsBulkDestroyJSONBody + +// VirtualizationClusterGroupsBulkDestroyMultipartRequestBody defines body for VirtualizationClusterGroupsBulkDestroy for multipart/form-data ContentType. +type VirtualizationClusterGroupsBulkDestroyMultipartRequestBody = VirtualizationClusterGroupsBulkDestroyMultipartBody + +// VirtualizationClusterGroupsBulkPartialUpdateJSONRequestBody defines body for VirtualizationClusterGroupsBulkPartialUpdate for application/json ContentType. +type VirtualizationClusterGroupsBulkPartialUpdateJSONRequestBody = VirtualizationClusterGroupsBulkPartialUpdateJSONBody + +// VirtualizationClusterGroupsBulkPartialUpdateMultipartRequestBody defines body for VirtualizationClusterGroupsBulkPartialUpdate for multipart/form-data ContentType. +type VirtualizationClusterGroupsBulkPartialUpdateMultipartRequestBody = VirtualizationClusterGroupsBulkPartialUpdateMultipartBody + +// VirtualizationClusterGroupsCreateJSONRequestBody defines body for VirtualizationClusterGroupsCreate for application/json ContentType. +type VirtualizationClusterGroupsCreateJSONRequestBody = ClusterGroupRequest + +// VirtualizationClusterGroupsCreateMultipartRequestBody defines body for VirtualizationClusterGroupsCreate for multipart/form-data ContentType. +type VirtualizationClusterGroupsCreateMultipartRequestBody = ClusterGroupRequest + +// VirtualizationClusterGroupsBulkUpdateJSONRequestBody defines body for VirtualizationClusterGroupsBulkUpdate for application/json ContentType. +type VirtualizationClusterGroupsBulkUpdateJSONRequestBody = VirtualizationClusterGroupsBulkUpdateJSONBody + +// VirtualizationClusterGroupsBulkUpdateMultipartRequestBody defines body for VirtualizationClusterGroupsBulkUpdate for multipart/form-data ContentType. +type VirtualizationClusterGroupsBulkUpdateMultipartRequestBody = VirtualizationClusterGroupsBulkUpdateMultipartBody + +// VirtualizationClusterGroupsPartialUpdateJSONRequestBody defines body for VirtualizationClusterGroupsPartialUpdate for application/json ContentType. +type VirtualizationClusterGroupsPartialUpdateJSONRequestBody = PatchedClusterGroupRequest + +// VirtualizationClusterGroupsPartialUpdateMultipartRequestBody defines body for VirtualizationClusterGroupsPartialUpdate for multipart/form-data ContentType. +type VirtualizationClusterGroupsPartialUpdateMultipartRequestBody = PatchedClusterGroupRequest + +// VirtualizationClusterGroupsUpdateJSONRequestBody defines body for VirtualizationClusterGroupsUpdate for application/json ContentType. +type VirtualizationClusterGroupsUpdateJSONRequestBody = ClusterGroupRequest + +// VirtualizationClusterGroupsUpdateMultipartRequestBody defines body for VirtualizationClusterGroupsUpdate for multipart/form-data ContentType. +type VirtualizationClusterGroupsUpdateMultipartRequestBody = ClusterGroupRequest + +// VirtualizationClusterTypesBulkDestroyJSONRequestBody defines body for VirtualizationClusterTypesBulkDestroy for application/json ContentType. +type VirtualizationClusterTypesBulkDestroyJSONRequestBody = VirtualizationClusterTypesBulkDestroyJSONBody + +// VirtualizationClusterTypesBulkDestroyMultipartRequestBody defines body for VirtualizationClusterTypesBulkDestroy for multipart/form-data ContentType. +type VirtualizationClusterTypesBulkDestroyMultipartRequestBody = VirtualizationClusterTypesBulkDestroyMultipartBody + +// VirtualizationClusterTypesBulkPartialUpdateJSONRequestBody defines body for VirtualizationClusterTypesBulkPartialUpdate for application/json ContentType. +type VirtualizationClusterTypesBulkPartialUpdateJSONRequestBody = VirtualizationClusterTypesBulkPartialUpdateJSONBody + +// VirtualizationClusterTypesBulkPartialUpdateMultipartRequestBody defines body for VirtualizationClusterTypesBulkPartialUpdate for multipart/form-data ContentType. +type VirtualizationClusterTypesBulkPartialUpdateMultipartRequestBody = VirtualizationClusterTypesBulkPartialUpdateMultipartBody + +// VirtualizationClusterTypesCreateJSONRequestBody defines body for VirtualizationClusterTypesCreate for application/json ContentType. +type VirtualizationClusterTypesCreateJSONRequestBody = ClusterTypeRequest + +// VirtualizationClusterTypesCreateMultipartRequestBody defines body for VirtualizationClusterTypesCreate for multipart/form-data ContentType. +type VirtualizationClusterTypesCreateMultipartRequestBody = ClusterTypeRequest + +// VirtualizationClusterTypesBulkUpdateJSONRequestBody defines body for VirtualizationClusterTypesBulkUpdate for application/json ContentType. +type VirtualizationClusterTypesBulkUpdateJSONRequestBody = VirtualizationClusterTypesBulkUpdateJSONBody + +// VirtualizationClusterTypesBulkUpdateMultipartRequestBody defines body for VirtualizationClusterTypesBulkUpdate for multipart/form-data ContentType. +type VirtualizationClusterTypesBulkUpdateMultipartRequestBody = VirtualizationClusterTypesBulkUpdateMultipartBody + +// VirtualizationClusterTypesPartialUpdateJSONRequestBody defines body for VirtualizationClusterTypesPartialUpdate for application/json ContentType. +type VirtualizationClusterTypesPartialUpdateJSONRequestBody = PatchedClusterTypeRequest + +// VirtualizationClusterTypesPartialUpdateMultipartRequestBody defines body for VirtualizationClusterTypesPartialUpdate for multipart/form-data ContentType. +type VirtualizationClusterTypesPartialUpdateMultipartRequestBody = PatchedClusterTypeRequest + +// VirtualizationClusterTypesUpdateJSONRequestBody defines body for VirtualizationClusterTypesUpdate for application/json ContentType. +type VirtualizationClusterTypesUpdateJSONRequestBody = ClusterTypeRequest + +// VirtualizationClusterTypesUpdateMultipartRequestBody defines body for VirtualizationClusterTypesUpdate for multipart/form-data ContentType. +type VirtualizationClusterTypesUpdateMultipartRequestBody = ClusterTypeRequest + +// VirtualizationClustersBulkDestroyJSONRequestBody defines body for VirtualizationClustersBulkDestroy for application/json ContentType. +type VirtualizationClustersBulkDestroyJSONRequestBody = VirtualizationClustersBulkDestroyJSONBody + +// VirtualizationClustersBulkDestroyMultipartRequestBody defines body for VirtualizationClustersBulkDestroy for multipart/form-data ContentType. +type VirtualizationClustersBulkDestroyMultipartRequestBody = VirtualizationClustersBulkDestroyMultipartBody + +// VirtualizationClustersBulkPartialUpdateJSONRequestBody defines body for VirtualizationClustersBulkPartialUpdate for application/json ContentType. +type VirtualizationClustersBulkPartialUpdateJSONRequestBody = VirtualizationClustersBulkPartialUpdateJSONBody + +// VirtualizationClustersBulkPartialUpdateMultipartRequestBody defines body for VirtualizationClustersBulkPartialUpdate for multipart/form-data ContentType. +type VirtualizationClustersBulkPartialUpdateMultipartRequestBody = VirtualizationClustersBulkPartialUpdateMultipartBody + +// VirtualizationClustersCreateJSONRequestBody defines body for VirtualizationClustersCreate for application/json ContentType. +type VirtualizationClustersCreateJSONRequestBody = WritableClusterRequest + +// VirtualizationClustersCreateMultipartRequestBody defines body for VirtualizationClustersCreate for multipart/form-data ContentType. +type VirtualizationClustersCreateMultipartRequestBody = WritableClusterRequest + +// VirtualizationClustersBulkUpdateJSONRequestBody defines body for VirtualizationClustersBulkUpdate for application/json ContentType. +type VirtualizationClustersBulkUpdateJSONRequestBody = VirtualizationClustersBulkUpdateJSONBody + +// VirtualizationClustersBulkUpdateMultipartRequestBody defines body for VirtualizationClustersBulkUpdate for multipart/form-data ContentType. +type VirtualizationClustersBulkUpdateMultipartRequestBody = VirtualizationClustersBulkUpdateMultipartBody + +// VirtualizationClustersPartialUpdateJSONRequestBody defines body for VirtualizationClustersPartialUpdate for application/json ContentType. +type VirtualizationClustersPartialUpdateJSONRequestBody = PatchedWritableClusterRequest + +// VirtualizationClustersPartialUpdateMultipartRequestBody defines body for VirtualizationClustersPartialUpdate for multipart/form-data ContentType. +type VirtualizationClustersPartialUpdateMultipartRequestBody = PatchedWritableClusterRequest + +// VirtualizationClustersUpdateJSONRequestBody defines body for VirtualizationClustersUpdate for application/json ContentType. +type VirtualizationClustersUpdateJSONRequestBody = WritableClusterRequest + +// VirtualizationClustersUpdateMultipartRequestBody defines body for VirtualizationClustersUpdate for multipart/form-data ContentType. +type VirtualizationClustersUpdateMultipartRequestBody = WritableClusterRequest + +// VirtualizationInterfacesBulkDestroyJSONRequestBody defines body for VirtualizationInterfacesBulkDestroy for application/json ContentType. +type VirtualizationInterfacesBulkDestroyJSONRequestBody = VirtualizationInterfacesBulkDestroyJSONBody + +// VirtualizationInterfacesBulkDestroyMultipartRequestBody defines body for VirtualizationInterfacesBulkDestroy for multipart/form-data ContentType. +type VirtualizationInterfacesBulkDestroyMultipartRequestBody = VirtualizationInterfacesBulkDestroyMultipartBody + +// VirtualizationInterfacesBulkPartialUpdateJSONRequestBody defines body for VirtualizationInterfacesBulkPartialUpdate for application/json ContentType. +type VirtualizationInterfacesBulkPartialUpdateJSONRequestBody = VirtualizationInterfacesBulkPartialUpdateJSONBody + +// VirtualizationInterfacesBulkPartialUpdateMultipartRequestBody defines body for VirtualizationInterfacesBulkPartialUpdate for multipart/form-data ContentType. +type VirtualizationInterfacesBulkPartialUpdateMultipartRequestBody = VirtualizationInterfacesBulkPartialUpdateMultipartBody + +// VirtualizationInterfacesCreateJSONRequestBody defines body for VirtualizationInterfacesCreate for application/json ContentType. +type VirtualizationInterfacesCreateJSONRequestBody = WritableVMInterfaceRequest + +// VirtualizationInterfacesCreateMultipartRequestBody defines body for VirtualizationInterfacesCreate for multipart/form-data ContentType. +type VirtualizationInterfacesCreateMultipartRequestBody = WritableVMInterfaceRequest + +// VirtualizationInterfacesBulkUpdateJSONRequestBody defines body for VirtualizationInterfacesBulkUpdate for application/json ContentType. +type VirtualizationInterfacesBulkUpdateJSONRequestBody = VirtualizationInterfacesBulkUpdateJSONBody + +// VirtualizationInterfacesBulkUpdateMultipartRequestBody defines body for VirtualizationInterfacesBulkUpdate for multipart/form-data ContentType. +type VirtualizationInterfacesBulkUpdateMultipartRequestBody = VirtualizationInterfacesBulkUpdateMultipartBody + +// VirtualizationInterfacesPartialUpdateJSONRequestBody defines body for VirtualizationInterfacesPartialUpdate for application/json ContentType. +type VirtualizationInterfacesPartialUpdateJSONRequestBody = PatchedWritableVMInterfaceRequest + +// VirtualizationInterfacesPartialUpdateMultipartRequestBody defines body for VirtualizationInterfacesPartialUpdate for multipart/form-data ContentType. +type VirtualizationInterfacesPartialUpdateMultipartRequestBody = PatchedWritableVMInterfaceRequest + +// VirtualizationInterfacesUpdateJSONRequestBody defines body for VirtualizationInterfacesUpdate for application/json ContentType. +type VirtualizationInterfacesUpdateJSONRequestBody = WritableVMInterfaceRequest + +// VirtualizationInterfacesUpdateMultipartRequestBody defines body for VirtualizationInterfacesUpdate for multipart/form-data ContentType. +type VirtualizationInterfacesUpdateMultipartRequestBody = WritableVMInterfaceRequest + +// VirtualizationVirtualMachinesBulkDestroyJSONRequestBody defines body for VirtualizationVirtualMachinesBulkDestroy for application/json ContentType. +type VirtualizationVirtualMachinesBulkDestroyJSONRequestBody = VirtualizationVirtualMachinesBulkDestroyJSONBody + +// VirtualizationVirtualMachinesBulkDestroyMultipartRequestBody defines body for VirtualizationVirtualMachinesBulkDestroy for multipart/form-data ContentType. +type VirtualizationVirtualMachinesBulkDestroyMultipartRequestBody = VirtualizationVirtualMachinesBulkDestroyMultipartBody + +// VirtualizationVirtualMachinesBulkPartialUpdateJSONRequestBody defines body for VirtualizationVirtualMachinesBulkPartialUpdate for application/json ContentType. +type VirtualizationVirtualMachinesBulkPartialUpdateJSONRequestBody = VirtualizationVirtualMachinesBulkPartialUpdateJSONBody + +// VirtualizationVirtualMachinesBulkPartialUpdateMultipartRequestBody defines body for VirtualizationVirtualMachinesBulkPartialUpdate for multipart/form-data ContentType. +type VirtualizationVirtualMachinesBulkPartialUpdateMultipartRequestBody = VirtualizationVirtualMachinesBulkPartialUpdateMultipartBody + +// VirtualizationVirtualMachinesCreateJSONRequestBody defines body for VirtualizationVirtualMachinesCreate for application/json ContentType. +type VirtualizationVirtualMachinesCreateJSONRequestBody = WritableVirtualMachineWithConfigContextRequest + +// VirtualizationVirtualMachinesCreateMultipartRequestBody defines body for VirtualizationVirtualMachinesCreate for multipart/form-data ContentType. +type VirtualizationVirtualMachinesCreateMultipartRequestBody = WritableVirtualMachineWithConfigContextRequest + +// VirtualizationVirtualMachinesBulkUpdateJSONRequestBody defines body for VirtualizationVirtualMachinesBulkUpdate for application/json ContentType. +type VirtualizationVirtualMachinesBulkUpdateJSONRequestBody = VirtualizationVirtualMachinesBulkUpdateJSONBody + +// VirtualizationVirtualMachinesBulkUpdateMultipartRequestBody defines body for VirtualizationVirtualMachinesBulkUpdate for multipart/form-data ContentType. +type VirtualizationVirtualMachinesBulkUpdateMultipartRequestBody = VirtualizationVirtualMachinesBulkUpdateMultipartBody + +// VirtualizationVirtualMachinesPartialUpdateJSONRequestBody defines body for VirtualizationVirtualMachinesPartialUpdate for application/json ContentType. +type VirtualizationVirtualMachinesPartialUpdateJSONRequestBody = PatchedWritableVirtualMachineWithConfigContextRequest + +// VirtualizationVirtualMachinesPartialUpdateMultipartRequestBody defines body for VirtualizationVirtualMachinesPartialUpdate for multipart/form-data ContentType. +type VirtualizationVirtualMachinesPartialUpdateMultipartRequestBody = PatchedWritableVirtualMachineWithConfigContextRequest + +// VirtualizationVirtualMachinesUpdateJSONRequestBody defines body for VirtualizationVirtualMachinesUpdate for application/json ContentType. +type VirtualizationVirtualMachinesUpdateJSONRequestBody = WritableVirtualMachineWithConfigContextRequest + +// VirtualizationVirtualMachinesUpdateMultipartRequestBody defines body for VirtualizationVirtualMachinesUpdate for multipart/form-data ContentType. +type VirtualizationVirtualMachinesUpdateMultipartRequestBody = WritableVirtualMachineWithConfigContextRequest + +// WirelessWirelessLanGroupsBulkDestroyJSONRequestBody defines body for WirelessWirelessLanGroupsBulkDestroy for application/json ContentType. +type WirelessWirelessLanGroupsBulkDestroyJSONRequestBody = WirelessWirelessLanGroupsBulkDestroyJSONBody + +// WirelessWirelessLanGroupsBulkDestroyMultipartRequestBody defines body for WirelessWirelessLanGroupsBulkDestroy for multipart/form-data ContentType. +type WirelessWirelessLanGroupsBulkDestroyMultipartRequestBody = WirelessWirelessLanGroupsBulkDestroyMultipartBody + +// WirelessWirelessLanGroupsBulkPartialUpdateJSONRequestBody defines body for WirelessWirelessLanGroupsBulkPartialUpdate for application/json ContentType. +type WirelessWirelessLanGroupsBulkPartialUpdateJSONRequestBody = WirelessWirelessLanGroupsBulkPartialUpdateJSONBody + +// WirelessWirelessLanGroupsBulkPartialUpdateMultipartRequestBody defines body for WirelessWirelessLanGroupsBulkPartialUpdate for multipart/form-data ContentType. +type WirelessWirelessLanGroupsBulkPartialUpdateMultipartRequestBody = WirelessWirelessLanGroupsBulkPartialUpdateMultipartBody + +// WirelessWirelessLanGroupsCreateJSONRequestBody defines body for WirelessWirelessLanGroupsCreate for application/json ContentType. +type WirelessWirelessLanGroupsCreateJSONRequestBody = WritableWirelessLANGroupRequest + +// WirelessWirelessLanGroupsCreateMultipartRequestBody defines body for WirelessWirelessLanGroupsCreate for multipart/form-data ContentType. +type WirelessWirelessLanGroupsCreateMultipartRequestBody = WritableWirelessLANGroupRequest + +// WirelessWirelessLanGroupsBulkUpdateJSONRequestBody defines body for WirelessWirelessLanGroupsBulkUpdate for application/json ContentType. +type WirelessWirelessLanGroupsBulkUpdateJSONRequestBody = WirelessWirelessLanGroupsBulkUpdateJSONBody + +// WirelessWirelessLanGroupsBulkUpdateMultipartRequestBody defines body for WirelessWirelessLanGroupsBulkUpdate for multipart/form-data ContentType. +type WirelessWirelessLanGroupsBulkUpdateMultipartRequestBody = WirelessWirelessLanGroupsBulkUpdateMultipartBody + +// WirelessWirelessLanGroupsPartialUpdateJSONRequestBody defines body for WirelessWirelessLanGroupsPartialUpdate for application/json ContentType. +type WirelessWirelessLanGroupsPartialUpdateJSONRequestBody = PatchedWritableWirelessLANGroupRequest + +// WirelessWirelessLanGroupsPartialUpdateMultipartRequestBody defines body for WirelessWirelessLanGroupsPartialUpdate for multipart/form-data ContentType. +type WirelessWirelessLanGroupsPartialUpdateMultipartRequestBody = PatchedWritableWirelessLANGroupRequest + +// WirelessWirelessLanGroupsUpdateJSONRequestBody defines body for WirelessWirelessLanGroupsUpdate for application/json ContentType. +type WirelessWirelessLanGroupsUpdateJSONRequestBody = WritableWirelessLANGroupRequest + +// WirelessWirelessLanGroupsUpdateMultipartRequestBody defines body for WirelessWirelessLanGroupsUpdate for multipart/form-data ContentType. +type WirelessWirelessLanGroupsUpdateMultipartRequestBody = WritableWirelessLANGroupRequest + +// WirelessWirelessLansBulkDestroyJSONRequestBody defines body for WirelessWirelessLansBulkDestroy for application/json ContentType. +type WirelessWirelessLansBulkDestroyJSONRequestBody = WirelessWirelessLansBulkDestroyJSONBody + +// WirelessWirelessLansBulkDestroyMultipartRequestBody defines body for WirelessWirelessLansBulkDestroy for multipart/form-data ContentType. +type WirelessWirelessLansBulkDestroyMultipartRequestBody = WirelessWirelessLansBulkDestroyMultipartBody + +// WirelessWirelessLansBulkPartialUpdateJSONRequestBody defines body for WirelessWirelessLansBulkPartialUpdate for application/json ContentType. +type WirelessWirelessLansBulkPartialUpdateJSONRequestBody = WirelessWirelessLansBulkPartialUpdateJSONBody + +// WirelessWirelessLansBulkPartialUpdateMultipartRequestBody defines body for WirelessWirelessLansBulkPartialUpdate for multipart/form-data ContentType. +type WirelessWirelessLansBulkPartialUpdateMultipartRequestBody = WirelessWirelessLansBulkPartialUpdateMultipartBody + +// WirelessWirelessLansCreateJSONRequestBody defines body for WirelessWirelessLansCreate for application/json ContentType. +type WirelessWirelessLansCreateJSONRequestBody = WritableWirelessLANRequest + +// WirelessWirelessLansCreateMultipartRequestBody defines body for WirelessWirelessLansCreate for multipart/form-data ContentType. +type WirelessWirelessLansCreateMultipartRequestBody = WritableWirelessLANRequest + +// WirelessWirelessLansBulkUpdateJSONRequestBody defines body for WirelessWirelessLansBulkUpdate for application/json ContentType. +type WirelessWirelessLansBulkUpdateJSONRequestBody = WirelessWirelessLansBulkUpdateJSONBody + +// WirelessWirelessLansBulkUpdateMultipartRequestBody defines body for WirelessWirelessLansBulkUpdate for multipart/form-data ContentType. +type WirelessWirelessLansBulkUpdateMultipartRequestBody = WirelessWirelessLansBulkUpdateMultipartBody + +// WirelessWirelessLansPartialUpdateJSONRequestBody defines body for WirelessWirelessLansPartialUpdate for application/json ContentType. +type WirelessWirelessLansPartialUpdateJSONRequestBody = PatchedWritableWirelessLANRequest + +// WirelessWirelessLansPartialUpdateMultipartRequestBody defines body for WirelessWirelessLansPartialUpdate for multipart/form-data ContentType. +type WirelessWirelessLansPartialUpdateMultipartRequestBody = PatchedWritableWirelessLANRequest + +// WirelessWirelessLansUpdateJSONRequestBody defines body for WirelessWirelessLansUpdate for application/json ContentType. +type WirelessWirelessLansUpdateJSONRequestBody = WritableWirelessLANRequest + +// WirelessWirelessLansUpdateMultipartRequestBody defines body for WirelessWirelessLansUpdate for multipart/form-data ContentType. +type WirelessWirelessLansUpdateMultipartRequestBody = WritableWirelessLANRequest + +// WirelessWirelessLinksBulkDestroyJSONRequestBody defines body for WirelessWirelessLinksBulkDestroy for application/json ContentType. +type WirelessWirelessLinksBulkDestroyJSONRequestBody = WirelessWirelessLinksBulkDestroyJSONBody + +// WirelessWirelessLinksBulkDestroyMultipartRequestBody defines body for WirelessWirelessLinksBulkDestroy for multipart/form-data ContentType. +type WirelessWirelessLinksBulkDestroyMultipartRequestBody = WirelessWirelessLinksBulkDestroyMultipartBody + +// WirelessWirelessLinksBulkPartialUpdateJSONRequestBody defines body for WirelessWirelessLinksBulkPartialUpdate for application/json ContentType. +type WirelessWirelessLinksBulkPartialUpdateJSONRequestBody = WirelessWirelessLinksBulkPartialUpdateJSONBody + +// WirelessWirelessLinksBulkPartialUpdateMultipartRequestBody defines body for WirelessWirelessLinksBulkPartialUpdate for multipart/form-data ContentType. +type WirelessWirelessLinksBulkPartialUpdateMultipartRequestBody = WirelessWirelessLinksBulkPartialUpdateMultipartBody + +// WirelessWirelessLinksCreateJSONRequestBody defines body for WirelessWirelessLinksCreate for application/json ContentType. +type WirelessWirelessLinksCreateJSONRequestBody = WritableWirelessLinkRequest + +// WirelessWirelessLinksCreateMultipartRequestBody defines body for WirelessWirelessLinksCreate for multipart/form-data ContentType. +type WirelessWirelessLinksCreateMultipartRequestBody = WritableWirelessLinkRequest + +// WirelessWirelessLinksBulkUpdateJSONRequestBody defines body for WirelessWirelessLinksBulkUpdate for application/json ContentType. +type WirelessWirelessLinksBulkUpdateJSONRequestBody = WirelessWirelessLinksBulkUpdateJSONBody + +// WirelessWirelessLinksBulkUpdateMultipartRequestBody defines body for WirelessWirelessLinksBulkUpdate for multipart/form-data ContentType. +type WirelessWirelessLinksBulkUpdateMultipartRequestBody = WirelessWirelessLinksBulkUpdateMultipartBody + +// WirelessWirelessLinksPartialUpdateJSONRequestBody defines body for WirelessWirelessLinksPartialUpdate for application/json ContentType. +type WirelessWirelessLinksPartialUpdateJSONRequestBody = PatchedWritableWirelessLinkRequest + +// WirelessWirelessLinksPartialUpdateMultipartRequestBody defines body for WirelessWirelessLinksPartialUpdate for multipart/form-data ContentType. +type WirelessWirelessLinksPartialUpdateMultipartRequestBody = PatchedWritableWirelessLinkRequest + +// WirelessWirelessLinksUpdateJSONRequestBody defines body for WirelessWirelessLinksUpdate for application/json ContentType. +type WirelessWirelessLinksUpdateJSONRequestBody = WritableWirelessLinkRequest + +// WirelessWirelessLinksUpdateMultipartRequestBody defines body for WirelessWirelessLinksUpdate for multipart/form-data ContentType. +type WirelessWirelessLinksUpdateMultipartRequestBody = WritableWirelessLinkRequest